GW2v2PvpRank

@Serializable
data class GW2v2PvpRank(val id: Int, val finisherId: Int, val name: String, val icon: String, val minRank: Int, val maxRank: Int, val levels: List<GW2v2PvpRank.Level>)

Information about a PvP rank.

Parameters

id

the PvP rank's ID

finisherId

the rank finisher's ID

name

the rank's localized name

icon

a render service URL for the rank's icon

minRank

the minimum PvP level required for the rank

maxRank

the maximum PvP level for the rank

levels

the rank's levels

Constructors

Link copied to clipboard
constructor(id: Int, finisherId: Int, name: String, icon: String, minRank: Int, maxRank: Int, levels: List<GW2v2PvpRank.Level>)

Types

Link copied to clipboard
@Serializable
data class Level(val minRank: Int, val maxRank: Int, val points: Int)

Information about a PvP rank's level.

Properties

Link copied to clipboard
@SerialName(value = "finisher_id")
val finisherId: Int

This field holds the rank finisher's ID.

Link copied to clipboard

This field holds a render service URL for the rank's icon.

Link copied to clipboard
val id: Int

This field holds the PvP rank's ID.

Link copied to clipboard

This field holds the rank's levels.

Link copied to clipboard
@SerialName(value = "max_rank")
val maxRank: Int

This field holds the maximum PvP level for the rank.

Link copied to clipboard
@SerialName(value = "min_rank")
val minRank: Int

This field holds the minimum PvP level required for the rank.

Link copied to clipboard

This field holds the rank's localized name.