This is a handler for user account-related functionality. Initialize it by passing a SteamClient instance to the constructor.
var steamUser = new Steam.SteamUser(steamClient);
Sets SteamClient#steamID
to the default value for user accounts and sends a ClientLogon message. logOnDetails
is a CMsgClientLogon
object. It's used as-is except protocol_version
is set to the currently implemented protocol version.
Requests a nonce for WebAPI's AuthenticateUser method. The first argument to callback
will be a CMsgClientRequestWebAPIAuthenticateUserNonceResponse
object.
Tells Steam you are playing game(s). gamesPlayed
is a CMsgClientGamesPlayed
object.
CMsgClientUpdateMachineAuth
callback
Call callback
with a CMsgClientUpdateMachineAuthResponse
object to accept this sentry update.
- New count (can be zero)
Your number of pending incoming trade offers has changed.