Cooldown

open fun Cooldown(cooldownId: UUID, cooldownType: Cooldown.Type, cooldownOwner: UUID, cooldownExpiry: Long)(source)

Constructs a new `Cooldown` instance.

Parameters

cooldownId

the unique ID of the cooldown

cooldownType

the type of cooldown (e.g., "home", "buffs", etc.)

cooldownOwner

the UUID of the owner of the cooldown

cooldownExpiry

the time when the cooldown will expire

Throws

if `cooldownType` or `cooldownOwner` is `null`