GameMap

@Serializable
data class GameMap(val type: String, val scores: List<Int>, val objectives: List<GW2v1WvwMatchDetails.GameMap.Objective>, val bonuses: List<GW2v1WvwMatchDetails.GameMap.Bonus>)

Map-specific information about scores.

Parameters

type

the map's type (i.e. "Center", "RedHome", "BlueHome", or "GreenHome")

scores

the scores

objectives

the map's objectives

bonuses

the bonuses granted by this map

Constructors

Link copied to clipboard

Types

Link copied to clipboard
@Serializable
data class Bonus(val type: String, val owner: String)

Information about a bonus.

Link copied to clipboard
@Serializable
data class Objective(val id: Int, val owner: String, val ownerGuild: String? = null)

Information about an objective.

Properties

Link copied to clipboard

This field holds the bonuses granted by this map.

Link copied to clipboard

This field holds the map's objectives.

Link copied to clipboard

This field holds the scores.

Link copied to clipboard

This field holds the map's type (i.e. "Center", "RedHome", "BlueHome", or "GreenHome").