Class GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>Abstract
Type Parameters
-
ID extends number
-
INSTANCE_ARGS extends any[] = []
-
DATA = any
Constructors
constructor
- new GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>(id: ID, random: Random<IRandomGenerator<any>>, ...args: INSTANCE_ARGS): GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>
-
Type Parameters
-
ID extends number
-
INSTANCE_ARGS extends any[] = []
-
DATA = any
Parameters
-
id: ID
-
-
Rest
...args: INSTANCE_ARGS
Properties
Protected
Readonly
args
args: INSTANCE_ARGS
Readonly
id
id: ID
options
Readonly
random
Methods
clearData
- clearData(): GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>
-
getData
- getData(): undefined | DATA
-
Returns undefined | DATA
Protected
Abstract
getDefaultTitle
- getDefaultTitle(): default
-
getTitle
- getTitle(): default
-
setData
- setData(data?: DATA): GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>
-