Athena.systems.job.utility ​
Functions ​
cloneObjective ​
Usage
Athena.systems.job.utility.cloneObjective(objectiveData
): player
Cleanly clones an objective and rebinds all callbacks.
Parameters ​
Name | Type |
---|---|
objectiveData | Objective |
Returns ​
Defined in ​
server/systems/job/utility.ts:11
override ​
Usage
Athena.systems.job.utility.override(functionName
, callback
): any
Used to override job objective trigger functionality
Parameters ​
Name | Type |
---|---|
functionName | "cloneObjective" |
callback | (objectiveData : Objective ) => player |
Returns ​
any