GW2v2WvwMatch

@Serializable
data class GW2v2WvwMatch(val id: String, val startTime: String, val endTime: String, val scores: Map<String, Int>, val worlds: Map<String, Int>, val allWorlds: Map<String, List<Int>>, val deaths: Map<String, Int>, val kills: Map<String, Int>, val victoryPoints: Map<String, Int>, val skirmishes: List<GW2v2WvwMatch.Skirmish>, val maps: List<GW2v2WvwMatch.GameMap>)

General information about a WvW match.

Parameters

id

the match's ID

startTime

the ISO-8601 standard timestamp of when the match's start

endTime

the ISO-8601 standard timestamp of when the match's end

scores

the total scores by team color

worlds

the IDs of the three primary servers by team color

allWorlds

the IDs of the servers by team color

deaths

the total deaths by team color

kills

the total kills by team color

victoryPoints

the victory points by team color

skirmishes

the match's skirmishes

maps

the total scores by map

Constructors

Link copied to clipboard
constructor(id: String, startTime: String, endTime: String, scores: Map<String, Int>, worlds: Map<String, Int>, allWorlds: Map<String, List<Int>>, deaths: Map<String, Int>, kills: Map<String, Int>, victoryPoints: Map<String, Int>, skirmishes: List<GW2v2WvwMatch.Skirmish>, maps: List<GW2v2WvwMatch.GameMap>)

Types

Link copied to clipboard
@Serializable
data class GameMap(val id: Int, val type: String, val scores: Map<String, Int>, val deaths: Map<String, Int>, val kills: Map<String, Int>, val objectives: List<GW2v2WvwMatch.GameMap.Objective>, val bonuses: List<GW2v2WvwMatch.GameMap.Bonus>)

Map-specific information about scores.

Link copied to clipboard
@Serializable
data class Skirmish(val id: Int, val scores: Map<String, Int>, val mapScores: List<GW2v2WvwMatch.Skirmish.MapScores>)

Information about skirmish scores.

Properties

Link copied to clipboard
@SerialName(value = "all_worlds")
val allWorlds: Map<String, List<Int>>

This field holds the IDs of the servers by team color.

Link copied to clipboard

This field holds the total deaths by team color.

Link copied to clipboard
@SerialName(value = "end_time")
val endTime: String

This field holds the ISO-8601 standard timestamp of when the match's end.

Link copied to clipboard
val id: String

This field holds the match's ID.

Link copied to clipboard

This field holds the total kills by team color.

Link copied to clipboard

This field holds the total scores by map.

Link copied to clipboard

This field holds the total scores by team color.

Link copied to clipboard

This field holds the match's skirmishes.

Link copied to clipboard
@SerialName(value = "start_time")
val startTime: String

This field holds the ISO-8601 standard timestamp of when the match's start.

Link copied to clipboard
@SerialName(value = "victory_points")
val victoryPoints: Map<String, Int>

This field holds the victory points by team color.

Link copied to clipboard

This field holds the IDs of the three primary servers by team color.