C# Class SteamKit2.SteamUser

This handler handles all user log on/log off related actions and callbacks.
Inheritance: ClientMsgHandler
ファイルを表示 Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
HandleMsg ( IPacketMsg packetMsg ) : void

Handles a client message. This should not be called directly.

LogOff ( ) : void

Logs the user off of the Steam3 network. This method does not disconnect the client. Results are returned in a LoggedOffCallback.

LogOn ( LogOnDetails details ) : void

Logs the client into the Steam3 network. The client should already have been connected at this point. Results are returned in a LoggedOnCallback.

LogOnAnonymous ( ) : void

Logs the client into the Steam3 network as an anonymous user. The client should already have been connected at this point. Results are returned in a LoggedOnCallback.

SendMachineAuthResponse ( MachineAuthDetails details ) : void

Sends a machine auth response. This should normally be used in response to a UpdateMachineAuthCallback.

Private Methods

Method Description
HandleAccountInfo ( IPacketMsg packetMsg ) : void
HandleLogOnResponse ( IPacketMsg packetMsg ) : void
HandleLoggedOff ( IPacketMsg packetMsg ) : void
HandleLoginKey ( IPacketMsg packetMsg ) : void
HandleSessionToken ( IPacketMsg packetMsg ) : void
HandleUpdateMachineAuth ( IPacketMsg packetMsg ) : void
HandleWalletInfo ( IPacketMsg packetMsg ) : void
SteamUser ( ) : System

Method Details

HandleMsg() public method

Handles a client message. This should not be called directly.
public HandleMsg ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg The packet message that contains the data.
return void

LogOff() public method

Logs the user off of the Steam3 network. This method does not disconnect the client. Results are returned in a LoggedOffCallback.
public LogOff ( ) : void
return void

LogOn() public method

Logs the client into the Steam3 network. The client should already have been connected at this point. Results are returned in a LoggedOnCallback.
No logon details were provided. Username or password are not set within .
public LogOn ( LogOnDetails details ) : void
details LogOnDetails The details to use for logging on.
return void

LogOnAnonymous() public method

Logs the client into the Steam3 network as an anonymous user. The client should already have been connected at this point. Results are returned in a LoggedOnCallback.
public LogOnAnonymous ( ) : void
return void

SendMachineAuthResponse() public method

Sends a machine auth response. This should normally be used in response to a UpdateMachineAuthCallback.
public SendMachineAuthResponse ( MachineAuthDetails details ) : void
details MachineAuthDetails The details pertaining to the response.
return void