C# Class SteamDroidServer.Steam.Steam3

Steam client, handles the connection with the Steam network
Afficher le fichier Open project: FlyingPie/SteamDroid Class Usage Examples

Méthodes publiques

Méthode Description
AddHandler ( ICallbackHandler handler ) : void

Adds a handler

Authorize ( String username, String password ) : bool

Authorizes against an open connection using the specified username and password

Connect ( String authcode ) : void

Connects using the specified authcode

Connect ( String username, String password ) : void

Connects using the specified username and password

Connect ( String username, String password, String authcode ) : void

Connects using the specified username, password and authcode

Disconnect ( ) : void

Disconnects from the Steam network

RemoveHandler ( ICallbackHandler handler ) : void

Removes a handler

Steam3 ( ) : System
Update ( ) : void

Updates the Steam client and passes any pending callbacks

Private Methods

Méthode Description
Initialize ( ) : void

Initializes the Steam client

Push ( SteamKit2.CallbackMsg msg ) : void

Pushes a callback to registered handlers

SteamThread ( ) : void

Updates the Steam client while connected

Method Details

AddHandler() public méthode

Adds a handler
public AddHandler ( ICallbackHandler handler ) : void
handler ICallbackHandler The handler to add
Résultat void

Authorize() public méthode

Authorizes against an open connection using the specified username and password
public Authorize ( String username, String password ) : bool
username String The username to use
password String The password to use
Résultat bool

Connect() public méthode

Connects using the specified authcode
public Connect ( String authcode ) : void
authcode String The authcode to use
Résultat void

Connect() public méthode

Connects using the specified username and password
public Connect ( String username, String password ) : void
username String
password String
Résultat void

Connect() public méthode

Connects using the specified username, password and authcode
public Connect ( String username, String password, String authcode ) : void
username String The username to use
password String The password to use
authcode String The authcode to use
Résultat void

Disconnect() public méthode

Disconnects from the Steam network
public Disconnect ( ) : void
Résultat void

RemoveHandler() public méthode

Removes a handler
public RemoveHandler ( ICallbackHandler handler ) : void
handler ICallbackHandler The handler to remove
Résultat void

Steam3() public méthode

public Steam3 ( ) : System
Résultat System

Update() public méthode

Updates the Steam client and passes any pending callbacks
public Update ( ) : void
Résultat void