C# Класс SteamDroidServer.Steam.Steam3

Steam client, handles the connection with the Steam network
Показать файл Открыть проект Примеры использования класса

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

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

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

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

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

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

Adds a handler
public AddHandler ( ICallbackHandler handler ) : void
handler ICallbackHandler The handler to add
Результат void

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

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

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

Connects using the specified authcode
public Connect ( String authcode ) : void
authcode String The authcode to use
Результат void

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

Connects using the specified username and password
public Connect ( String username, String password ) : void
username String
password String
Результат void

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

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

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

Disconnects from the Steam network
public Disconnect ( ) : void
Результат void

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

Removes a handler
public RemoveHandler ( ICallbackHandler handler ) : void
handler ICallbackHandler The handler to remove
Результат void

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

public Steam3 ( ) : System
Результат System

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

Updates the Steam client and passes any pending callbacks
public Update ( ) : void
Результат void