Guilds
3.5.6.9-SNAPSHOT
Guilds
/
me.glaremasters.guilds.database.cooldowns
/
CooldownAdapter
Cooldown
Adapter
open
class
CooldownAdapter
(
source
)
Constructors
Functions
Constructors
Cooldown
Adapter
Link copied to clipboard
open
fun
CooldownAdapter
(
guilds
:
Guilds
,
adapter
:
DatabaseAdapter
)
Functions
cooldown
Exists
Link copied to clipboard
open
fun
cooldownExists
(
cooldown
:
Cooldown
)
:
Boolean
open
fun
cooldownExists
(
cooldownType
:
Cooldown.Type
,
cooldownOwner
:
UUID
)
:
Boolean
create
Container
Link copied to clipboard
open
fun
createContainer
(
)
create
Cooldown
Link copied to clipboard
open
fun
createCooldown
(
cooldown
:
Cooldown
)
open
fun
createCooldown
(
cooldownType
:
Cooldown.Type
,
cooldownOwner
:
UUID
,
cooldownExpiry
:
Long
)
delete
Cooldown
Link copied to clipboard
open
fun
deleteCooldown
(
cooldown
:
Cooldown
)
open
fun
deleteCooldown
(
cooldownType
:
Cooldown.Type
,
cooldownOwner
:
UUID
)
get
All
Cooldowns
Link copied to clipboard
open
fun
getAllCooldowns
(
)
:
List
<
Cooldown
>
save
Cooldowns
Link copied to clipboard
open
fun
saveCooldowns
(
cooldowns
:
Collection
<
Cooldown
>
)