Athena.systems.tick ​
Functions ​
onTick ​
Usage
Athena.systems.tick.onTick(player
): Promise
<void
>
Used to save the player every once in a while.
Parameters ​
Name | Type | Description |
---|---|---|
player | Player | An alt:V Player Entity |
Returns ​
Promise
<void
>
Defined in ​
override ​
Usage
Athena.systems.tick.override(functionName
, callback
): any
Used to override player tick functionality
Parameters ​
Name | Type |
---|---|
functionName | "onTick" |
callback | (player : Player ) => Promise <void > |
Returns ​
any
Defined in ​
Usage
Athena.systems.tick.override(functionName
, callback
): any
Used to override player tick functionality
Parameters ​
Name | Type |
---|---|
functionName | "handlePing" |
callback | (player : Player ) => void |
Returns ​
any