Athena.player.setter ​
Functions ​
account ​
Usage
Athena.player.setter.account(player
, accountData
): Promise
<void
>
Set the current account data for this player.
Parameters ​
Name | Type |
---|---|
player | Player |
accountData | Account |
Returns ​
Promise
<void
>
Defined in ​
actionMenu ​
Usage
Athena.player.setter.actionMenu(player
, actionMenu
): any
Parameters ​
Name | Type |
---|---|
player | Player |
actionMenu | ActionMenu |
Returns ​
any
Defined in ​
override ​
Usage
Athena.player.setter.override(functionName
, callback
): any
Used to override any setter functions
Parameters ​
Name | Type |
---|---|
functionName | "account" |
callback | (player : Player , accountData : Account ) => Promise <void > |
Returns ​
any
Defined in ​
Usage
Athena.player.setter.override(functionName
, callback
): any
Used to override any setter functions
Parameters ​
Name | Type |
---|---|
functionName | "actionMenu" |
callback | (player : Player , actionMenu : ActionMenu ) => any |
Returns ​
any
Defined in ​
Usage
Athena.player.setter.override(functionName
, callback
): any
Used to override any setter functions
Parameters ​
Name | Type |
---|---|
functionName | "respawned" |
callback | (player : Player , position : IVector3 ) => void |
Returns ​
any
Defined in ​
respawned ​
Usage
Athena.player.setter.respawned(player
, position
): void
Set this player as respawned.
Parameters ​
Name | Type | Description |
---|---|---|
player | Player | - |
position | IVector3 | Use null to find closest hospital. |
Returns ​
void