BattleConfig

data class BattleConfig(var duration: Int = 0, var needResponse: Boolean = false, var extensionInfo: String = "")

PK configuration information set when sending a PK request

Overview

PK configuration information for setting PK duration, whether response is needed, and other parameters.

PropertyTypeDescription
durationIntPK duration (unit: seconds)
needResponseBooleanWhether the invitee needs to reply with accept/reject
extensionInfoStringExtension information

Constructors

Link copied to clipboard
constructor(duration: Int = 0, needResponse: Boolean = false, extensionInfo: String = "")

Properties

Link copied to clipboard

PK duration (unit: seconds).

Link copied to clipboard

Extension information.

Link copied to clipboard

Whether the invitee needs to reply with accept/reject.