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 ​
Name | Type |
---|---|
uid | string |
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 ​
Name | Type |
---|---|
door | DynamicDoor |
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 ​
Name | Type |
---|---|
uid | string |
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 ​
Name | Type |
---|---|
door | dDynamicDoor |
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 ​
Name | Type |
---|---|
player | Player |
door | DoorInfo |
Returns ​
Promise
<void
>