Skip to content
On this page

Athena.controllers.dynamicDoors.cooldowns

Functions

clearCooldown

Usage

Athena.controllers.dynamicDoors.cooldowns.clearCooldown(player): void

Clear cooldown for triggering the door event.

Export

Parameters

NameType
playerPlayer

Returns

void

Defined in

server/controllers/dynamicDoors/cooldowns.ts:45


getExpiration

Usage

Athena.controllers.dynamicDoors.cooldowns.getExpiration(player): any

Get expiration time of a cooldown

Export

Parameters

NameType
playerPlayer

Returns

any

Defined in

server/controllers/dynamicDoors/cooldowns.ts:56


isCooldownDone

Usage

Athena.controllers.dynamicDoors.cooldowns.isCooldownDone(player): boolean

Check if a cooldown is completed.

Export

Parameters

NameType
playerPlayer

Returns

boolean

Defined in

server/controllers/dynamicDoors/cooldowns.ts:31


updateCooldown

Usage

Athena.controllers.dynamicDoors.cooldowns.updateCooldown(player): void

Register a cooldown, with predetermiend

Export

Parameters

NameType
playerPlayer

Returns

void

Defined in

server/controllers/dynamicDoors/cooldowns.ts:20

Created by Stuyk | Est. 2020