GlobalCooldownSetting

@Serializable
data class GlobalCooldownSetting(val isEnabled: Boolean = false, val globalCooldownSeconds: Int = 0)

Global cooldown setting for a CustomReward.

Constructors

Link copied to clipboard
constructor(isEnabled: Boolean = false, globalCooldownSeconds: Int = 0)

Properties

Link copied to clipboard
@SerialName(value = "global_cooldown_seconds")
val globalCooldownSeconds: Int

the cooldown period in seconds.

Link copied to clipboard
@SerialName(value = "is_enabled")
val isEnabled: Boolean

whether the cooldown is enabled.