GameMap

@Serializable
data class GameMap(val id: Int, val type: String, val deaths: Map<String, Int>, val kills: Map<String, Int>)

Map-specific information about scores.

Parameters

id

the map's ID

type

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

deaths

the deaths by team color

kills

the deaths by team color

Constructors

Link copied to clipboard
constructor(id: Int, type: String, deaths: Map<String, Int>, kills: Map<String, Int>)

Properties

Link copied to clipboard

This field holds the deaths by team color.

Link copied to clipboard
val id: Int

This field holds the map's ID.

Link copied to clipboard

This field holds the deaths by team color.

Link copied to clipboard

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