GW2v2GuildTeam

@Serializable
data class GW2v2GuildTeam(val id: Int, val members: List<GW2v2GuildTeam.Member>, val name: String, val aggregate: GW2v2GuildTeam.Stats, val ladders: Map<String, GW2v2GuildTeam.Stats>, val games: List<GW2v2GuildTeam.PvpGame>, val seasons: List<GW2v2GuildTeam.SeasonStats>)

Information about a guild's PvP team.

Parameters

id

the team's ID (only unique within the guild)

members

the team's members

name

the team's name

aggregate

the aggregated statistics

ladders

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

games

the team's recent PvP games

seasons

the team's season-specific stats

Constructors

Link copied to clipboard

Types

Link copied to clipboard
@Serializable
data class Member(val name: String, val role: String)

Information about a team member.

Link copied to clipboard
@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.

Link copied to clipboard
@Serializable
data class SeasonStats(val id: String, val wins: Int, val losses: Int, val rating: Int)

Information about a team's PvP season.

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 team's recent PvP games.

Link copied to clipboard
val id: Int

This field holds the team's ID (only unique within the guild).

Link copied to clipboard

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

Link copied to clipboard

This field holds the team's members.

Link copied to clipboard

This field holds the team's name.

Link copied to clipboard

This field holds the team's season-specific stats.