Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BestPvpStanding(val totalPoints: Int, val division: Int, val tier: Int, val points: Int, val repeats: Int)

Data model for best pvp standing

Link copied to clipboard
@Serializable
data class CurrentPvpStanding(val totalPoints: Int, val division: Int, val tier: Int, val points: Int, val repeats: Int, val rating: Int, val decay: Int)

Data model for current pvp standing

Link copied to clipboard
@Serializable
data class LadderStats(val ranked: WinLossStats?, val unranked: WinLossStats?)

Data model for ladder stats object

Link copied to clipboard
@Serializable
data class ProfessionsStats(val guardian: WinLossStats? = null, val warrior: WinLossStats? = null, val engineer: WinLossStats? = null, val ranger: WinLossStats? = null, val thief: WinLossStats? = null, val elementalist: WinLossStats? = null, val mesmer: WinLossStats? = null, val necromancer: WinLossStats? = null, val revenant: WinLossStats? = null)

Data model for profession stats

Link copied to clipboard
@Serializable
data class PvpStanding(val current: CurrentPvpStanding, val best: BestPvpStanding, val seasonId: String)

Data model for pvp standings object

Link copied to clipboard
@Serializable
data class PvpStats(val pvpRank: Int, val pvpRankPoints: Int, val pvpRankRollovers: Int, val aggregate: WinLossStats, val professions: ProfessionsStats, val ladders: LadderStats)

Data model of account pvp stats

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

Data model for pvp statistics