GW2v2PvpStats

@Serializable
data class GW2v2PvpStats(val pvpRank: Int, val pvpRankPoints: Int, val pvpRankRollovers: Int, val aggregate: GW2v2PvpStats.Stats, val professions: Map<String, GW2v2PvpStats.Stats>, val ladders: Map<String, GW2v2PvpStats.Stats>)

Information about an account's PvP stats.

Parameters

pvpRank

the account's PvP rank

pvpRankPoints

the account's PvP rank points

pvpRankRollovers

the number of times the account leveled up after reaching rank 80

aggregate

the aggregated statistics

professions

the stats by profession ID

ladders

the stats by ladder (e.g. "ranked", "unranked")

Constructors

Link copied to clipboard
constructor(pvpRank: Int, pvpRankPoints: Int, pvpRankRollovers: Int, aggregate: GW2v2PvpStats.Stats, professions: Map<String, GW2v2PvpStats.Stats>, ladders: Map<String, GW2v2PvpStats.Stats>)

Types

Link copied to clipboard
@Serializable
data class Stats(val wins: Int, val losses: Int, val desertions: Int, val byes: Int, val forfeits: Int)

Information about category-specific PvP stats.

Properties

Link copied to clipboard

This field holds the aggregated statistics.

Link copied to clipboard

This field holds the stats by ladder (e.g. "ranked", "unranked").

Link copied to clipboard

This field holds the stats by profession ID.

Link copied to clipboard
@SerialName(value = "pvp_rank")
val pvpRank: Int

This field holds the account's PvP rank.

Link copied to clipboard
@SerialName(value = "pvp_rank_points")
val pvpRankPoints: Int

This field holds the account's PvP rank points.

Link copied to clipboard
@SerialName(value = "pvp_rank_rollovers")
val pvpRankRollovers: Int

This field holds the number of times the account leveled up after reaching rank 80.