GameMap

@Serializable
data class GameMap(val mapName: String, val type: String, val minLevel: Int, val maxLevel: Int, val defaultFloor: GW2FloorId, val floors: List<Int>, val regionId: GW2RegionId, val regionName: String? = null, val continentId: GW2ContinentId, val continentName: String? = null, val mapRect: List<List<Int>>, val continentRect: List<List<Int>>)

Information about a map.

Parameters

mapName

the map's localized name

type

the type of map

minLevel

the minimum level of the map

maxLevel

the maximum level of the map

defaultFloor

the ID of the map's default floor

floors

the IDs of the floors available on the map

regionId

the ID of the region the map belongs to

regionName

the name of the region the map belongs to

continentId

the ID of the continent the map belongs to

continentName

the name of the continent the map belongs to

mapRect

the dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners

continentRect

the dimensions of the map within the continent coordinate system, given as the coordinates of the upper-left (NW) and lower-right (SE) corners

Constructors

Link copied to clipboard
constructor(mapName: String, type: String, minLevel: Int, maxLevel: Int, defaultFloor: GW2FloorId, floors: List<Int>, regionId: GW2RegionId, regionName: String? = null, continentId: GW2ContinentId, continentName: String? = null, mapRect: List<List<Int>>, continentRect: List<List<Int>>)

Properties

Link copied to clipboard
@SerialName(value = "continent_id")
val continentId: GW2ContinentId

This field holds the ID of the continent the map belongs to.

Link copied to clipboard
@SerialName(value = "continent_name")
val continentName: String? = null

This field holds the name of the continent the map belongs to.

Link copied to clipboard
@SerialName(value = "continent_rect")
val continentRect: List<List<Int>>

This field holds the dimensions of the map within the continent coordinate system, given as the coordinates of the upper-left (NW) and lower-right (SE) corners.

Link copied to clipboard
@SerialName(value = "default_floor")
val defaultFloor: GW2FloorId

This field holds the ID of the map's default floor.

Link copied to clipboard

This field holds the IDs of the floors available on the map.

Link copied to clipboard
@SerialName(value = "map_name")
val mapName: String

This field holds the map's localized name.

Link copied to clipboard
@SerialName(value = "map_rect")
val mapRect: List<List<Int>>

This field holds the dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners.

Link copied to clipboard
@SerialName(value = "max_level")
val maxLevel: Int

This field holds the maximum level of the map.

Link copied to clipboard
@SerialName(value = "min_level")
val minLevel: Int

This field holds the minimum level of the map.

Link copied to clipboard
@SerialName(value = "region_id")
val regionId: GW2RegionId

This field holds the ID of the region the map belongs to.

Link copied to clipboard
@SerialName(value = "region_name")
val regionName: String? = null

This field holds the name of the region the map belongs to.

Link copied to clipboard

This field holds the type of map.