GW2v2WvwObjective

@Serializable
data class GW2v2WvwObjective(val id: String, val name: String, val type: String, val sectorId: Int, val mapId: Int, val mapType: String, val coord: List<Double>? = null, val labelCoord: List<Double>? = null, val marker: String? = null, val chatLink: String, val upgradeId: Int? = null)

Information about an objective in the World versus World game mode.

Parameters

id

the ID of the objective

name

the name of the objective

type

the type of the objective

sectorId

the map sector the objective can be found in

mapId

the ID of the map the objective can be found on

mapType

the type of the map the objective can be found on

coord

an array of three numbers representing the X, Y and Z coordinates of the objectives marker on the map

labelCoord

an array of two numbers representing the X and Y coordinates of the sector centroid

marker

the icon link

chatLink

the chat code for the objective

upgradeId

the ID of the upgrades available for the objective

Constructors

Link copied to clipboard
constructor(id: String, name: String, type: String, sectorId: Int, mapId: Int, mapType: String, coord: List<Double>? = null, labelCoord: List<Double>? = null, marker: String? = null, chatLink: String, upgradeId: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "chat_link")
val chatLink: String

This field holds the chat code for the objective.

Link copied to clipboard
val coord: List<Double>? = null

This field holds an array of three numbers representing the X, Y and Z coordinates of the objectives marker on the map.

Link copied to clipboard
val id: String

This field holds the ID of the objective.

Link copied to clipboard
@SerialName(value = "label_coord")
val labelCoord: List<Double>? = null

This field holds an array of two numbers representing the X and Y coordinates of the sector centroid.

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

This field holds the ID of the map the objective can be found on.

Link copied to clipboard
@SerialName(value = "map_type")
val mapType: String

This field holds the type of the map the objective can be found on.

Link copied to clipboard
val marker: String? = null

This field holds the icon link.

Link copied to clipboard

This field holds the name of the objective.

Link copied to clipboard
@SerialName(value = "sector_id")
val sectorId: Int

This field holds the map sector the objective can be found in.

Link copied to clipboard

This field holds the type of the objective.

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

This field holds the ID of the upgrades available for the objective.