C# Class SteamKit2.SteamUserStats

This handler handles Steam user statistic related actions.
Inheritance: ClientMsgHandler
Exibir arquivo Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
GetNumberOfCurrentPlayers ( GameID gameId ) : JobID

Retrieves the number of current players or a given GameID. Results are returned in a NumberOfPlayersCallback from a SteamClient.JobCallback<T>.

HandleMsg ( IPacketMsg packetMsg ) : void

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

HandleNumberOfPlayersResponse ( IPacketMsg packetMsg ) : void

Method Details

GetNumberOfCurrentPlayers() public method

Retrieves the number of current players or a given GameID. Results are returned in a NumberOfPlayersCallback from a SteamClient.JobCallback<T>.
public GetNumberOfCurrentPlayers ( GameID gameId ) : JobID
gameId GameID The GameID to request the number of players for.
return JobID

HandleMsg() public method

Handles a client message. This should not be called directly.
public HandleMsg ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg The instance containing the event data.
return void

HandleNumberOfPlayersResponse() public method

public HandleNumberOfPlayersResponse ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg
return void