BotResult

data class BotResult(val id: Int, val name: String, val version: String, val isTeam: Boolean, val rank: Int, val totalScore: Int, val survival: Int, val lastSurvivorBonus: Int, val bulletDamage: Int, val bulletKillBonus: Int, val ramDamage: Int, val ramKillBonus: Int, val firstPlaces: Int, val secondPlaces: Int, val thirdPlaces: Int)

Score and ranking data for a single bot participant.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, version: String, isTeam: Boolean, rank: Int, totalScore: Int, survival: Int, lastSurvivorBonus: Int, bulletDamage: Int, bulletKillBonus: Int, ramDamage: Int, ramKillBonus: Int, firstPlaces: Int, secondPlaces: Int, thirdPlaces: Int)

Properties

Link copied to clipboard

score from bullet damage dealt

Link copied to clipboard

bonus awarded for killing an opponent with a bullet

Link copied to clipboard

number of rounds won (1st place)

Link copied to clipboard
val id: Int

the bot's session identifier assigned by the server

Link copied to clipboard

whether this entry represents a team

Link copied to clipboard

bonus awarded to the last surviving bot each round

Link copied to clipboard

the bot's name as declared in its configuration

Link copied to clipboard

score from ramming damage dealt

Link copied to clipboard

bonus awarded for killing an opponent by ramming

Link copied to clipboard
val rank: Int

final placement (1 = winner)

Link copied to clipboard

number of rounds finished in 2nd place

Link copied to clipboard

score from surviving rounds

Link copied to clipboard

number of rounds finished in 3rd place

Link copied to clipboard

sum of all scoring components

Link copied to clipboard

the bot's version string