Package-level declarations

Types

Link copied to clipboard

Leaderboard game mode

Link copied to clipboard
data class Leaderboard(val seasonId: String, val gameMode: GameMode, val platformRegion: PlatformRegion, val placements: List<LeaderboardPlacement>)

Leaderboard objects show the current rank of the top 500 players for a game mode.

Link copied to clipboard
data class LeaderboardPlacement(val playerId: String, val playerName: String, val rank: Int, val rankPoints: Int, val wins: Int, val games: Int, val averageDamage: Int, val kills: Int, val kda: Int, val averageRank: Double, val averageKill: Double, val tier: String, val subTier: String)

Functions

Link copied to clipboard
suspend fun PubgApi.getLeaderboard(seasonId: String, gameMode: GameMode, platformRegion: PlatformRegion = PlatformRegion.PC_SA): Leaderboard

Returns the Leaderboard by their season id, game mode and platform region.