C# Класс SteamKit2.SteamUser

This handler handles all user log on/log off related actions and callbacks.
Наследование: ClientMsgHandler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

HandleMsg() публичный Метод

Handles a client message. This should not be called directly.
public HandleMsg ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg The packet message that contains the data.
Результат void

LogOff() публичный Метод

Logs the user off of the Steam3 network. This method does not disconnect the client. Results are returned in a LoggedOffCallback.
public LogOff ( ) : void
Результат void

LogOn() публичный Метод

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.
Результат void

LogOnAnonymous() публичный Метод

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
Результат void

SendMachineAuthResponse() публичный Метод

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.
Результат void