C# Класс SteamKit2.SteamUserStats

This handler handles Steam user statistic related actions.
Наследование: ClientMsgHandler
Показать файл Открыть проект Примеры использования класса

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

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

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

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

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

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

Handles a client message. This should not be called directly.
public HandleMsg ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg The instance containing the event data.
Результат void

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

public HandleNumberOfPlayersResponse ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg
Результат void