BattleInfo

data class BattleInfo(val battleID: String = "", val config: BattleConfig = BattleConfig(), val startTime: Long = 0, val endTime: Long = 0)

PK information

Overview

PK information, containing PK ID, configuration information, start time, and end time.

PropertyTypeDescription
battleIDStringPK ID
configBattleConfigPK configuration information
startTimeLongPK start timestamp (unit: seconds)
endTimeLongPK end timestamp (unit: seconds)

Constructors

Link copied to clipboard
constructor(battleID: String = "", config: BattleConfig = BattleConfig(), startTime: Long = 0, endTime: Long = 0)

Properties

Link copied to clipboard

PK ID.

Link copied to clipboard

PK configuration information set when sending a PK request.

Link copied to clipboard
val endTime: Long = 0

PK end marker timestamp (unit: seconds).

Link copied to clipboard
val startTime: Long = 0

PK start marker timestamp (unit: seconds).