SteamUserStats

This handler handles Steam user statistic related actions.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun createLeaderboard(appId: Int, name: String, sortMethod: ELeaderboardSortMethod, displayType: ELeaderboardDisplayType): AsyncJobSingle<FindOrCreateLeaderboardCallback>

Asks the Steam back-end for a leaderboard by name, and will create it if it's not yet. Results are returned in a FindOrCreateLeaderboardCallback. The returned AsyncJobSingle can also be awaited to retrieve the callback result.

Link copied to clipboard

Asks the Steam back-end for a leaderboard by name for a given appid. Results are returned in a FindOrCreateLeaderboardCallback. The returned AsyncJobSingle can also be awaited to retrieve the callback result.

Link copied to clipboard
fun getLeaderboardEntries(appId: Int, id: Int, rangeStart: Int, rangeEnd: Int, dataRequest: ELeaderboardDataRequest): AsyncJobSingle<LeaderboardEntriesCallback>

Asks the Steam back-end for a set of rows in the leaderboard. Results are returned in a LeaderboardEntriesCallback. The returned AsyncJobSingle can also be awaited to retrieve the callback result.

Link copied to clipboard

Retrieves the number of current players for a given app id. Results are returned in a NumberOfPlayersCallback.

Link copied to clipboard
open override fun handleMsg(packetMsg: IPacketMsg)

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

Link copied to clipboard
fun setup(client: SteamClient)