Skip to content
On this page

Athena.controllers.dynamicDoors.system

Functions

cleanup

Usage

Athena.controllers.dynamicDoors.system.cleanup(uid): void

Remove a Dynamic Door, but do not remove from the database.

Export

Parameters

NameType
uidstring

Returns

void

Defined in

server/controllers/dynamicDoors/system.ts:55


create

Usage

Athena.controllers.dynamicDoors.system.create(door): Promise<void>

Create a dynamic door and adds it to the database

Ignores already pre-created doors.

Export

Parameters

NameType
doorDynamicDoor

Returns

Promise<void>

Defined in

server/controllers/dynamicDoors/system.ts:198


deleteDoor

Usage

Athena.controllers.dynamicDoors.system.deleteDoor(uid): Promise<void>

Delete a Dynamic Door from the Database & in-game

Export

Parameters

NameType
uidstring

Returns

Promise<void>

Defined in

server/controllers/dynamicDoors/system.ts:221


generate

Usage

Athena.controllers.dynamicDoors.system.generate(door): void

Generates a dynamic door based on its properties and builds it in both directions.

Parameters

NameType
doordDynamicDoor

Returns

void

Defined in

server/controllers/dynamicDoors/system.ts:73


goto

Usage

Athena.controllers.dynamicDoors.system.goto(player, door): Promise<void>

Load into a door, if the door IPL fails to load, the player will not move.

The door is the place you are going to.

Export

Parameters

NameType
playerPlayer
doorDoorInfo

Returns

Promise<void>

Defined in

server/controllers/dynamicDoors/system.ts:97

Created by Stuyk | Est. 2020