C# Class SteamDroidServer.Steam.Steam3

Steam client, handles the connection with the Steam network
ファイルを表示 Open project: FlyingPie/SteamDroid Class Usage Examples

Public Methods

Method 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

Method 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 method

Adds a handler
public AddHandler ( ICallbackHandler handler ) : void
handler ICallbackHandler The handler to add
return void

Authorize() public method

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
return bool

Connect() public method

Connects using the specified authcode
public Connect ( String authcode ) : void
authcode String The authcode to use
return void

Connect() public method

Connects using the specified username and password
public Connect ( String username, String password ) : void
username String
password String
return void

Connect() public method

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
return void

Disconnect() public method

Disconnects from the Steam network
public Disconnect ( ) : void
return void

RemoveHandler() public method

Removes a handler
public RemoveHandler ( ICallbackHandler handler ) : void
handler ICallbackHandler The handler to remove
return void

Steam3() public method

public Steam3 ( ) : System
return System

Update() public method

Updates the Steam client and passes any pending callbacks
public Update ( ) : void
return void