PvpGame

@Serializable
data class PvpGame(val id: String, val mapId: Int, val started: String, val ended: String, val result: String, val team: String, val ratingType: String, val ratingChange: Int? = null, val season: String? = null, val scores: GW2v2GuildTeam.PvpGame.Scores)

Information about a team's PvP game.

Parameters

id

the game's ID

mapId

the map's ID

started

the ISO-8601 standard timestamp of when the game started

ended

the ISO-8601 standard timestamp of when the game ended

result

the game's result for the team ("Victory" or "Defeat")

team

the team's color ("Blue" or "Red")

ratingType

the type of rating of the game

ratingChange

the change in rating for the team

season

the ID of the game's PvP season

scores

the game's final scores

Constructors

Link copied to clipboard
constructor(id: String, mapId: Int, started: String, ended: String, result: String, team: String, ratingType: String, ratingChange: Int? = null, season: String? = null, scores: GW2v2GuildTeam.PvpGame.Scores)

Types

Link copied to clipboard
@Serializable
data class Scores(val red: Int, val blue: Int)

Information about a PvP game's scores.

Properties

Link copied to clipboard

This field holds the ISO-8601 standard timestamp of when the game ended.

Link copied to clipboard
val id: String

This field holds the game's ID.

Link copied to clipboard
@SerialName(value = "map_id")
val mapId: Int

This field holds the map's ID.

Link copied to clipboard
@SerialName(value = "rating_change")
val ratingChange: Int? = null

This field holds the change in rating for the team.

Link copied to clipboard
@SerialName(value = "rating_type")
val ratingType: String

This field holds the type of rating of the game.

Link copied to clipboard

This field holds the game's result for the team ("Victory" or "Defeat").

Link copied to clipboard

This field holds the game's final scores.

Link copied to clipboard
val season: String? = null

This field holds the ID of the game's PvP season.

Link copied to clipboard

This field holds the ISO-8601 standard timestamp of when the game started.

Link copied to clipboard

This field holds the team's color ("Blue" or "Red").