C# Class SteamKit2.SteamUserStats

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat JobID

HandleMsg() public méthode

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

HandleNumberOfPlayersResponse() public méthode

public HandleNumberOfPlayersResponse ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg
Résultat void