Map

@Serializable
data class Map(val id: Int, val name: String, val minLevel: Int, val maxLevel: Int, val defaultFloor: Int, val type: MapType, val floors: List<Int>, val regionId: Int, val regionName: String?, val continentId: Int, val continentName: String? = null, val mapRect: Rectangle, val continentRect: Rectangle)

Data model for map info returned by the /maps endpoint

Constructors

Link copied to clipboard
constructor(id: Int, name: String, minLevel: Int, maxLevel: Int, defaultFloor: Int, type: MapType, floors: List<Int>, regionId: Int, regionName: String?, continentId: Int, continentName: String? = null, mapRect: Rectangle, continentRect: Rectangle)

Properties

Link copied to clipboard
@SerialName(value = "continent_id")
val continentId: Int
Link copied to clipboard
@SerialName(value = "continent_name")
val continentName: String? = null
Link copied to clipboard
@SerialName(value = "continent_rect")
val continentRect: Rectangle
Link copied to clipboard
@SerialName(value = "default_floor")
val defaultFloor: Int
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
@SerialName(value = "map_rect")
val mapRect: Rectangle
Link copied to clipboard
@SerialName(value = "max_level")
val maxLevel: Int
Link copied to clipboard
@SerialName(value = "min_level")
val minLevel: Int
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "region_id")
val regionId: Int
Link copied to clipboard
@SerialName(value = "region_name")
val regionName: String?
Link copied to clipboard