StatPrereq class
StatPrereq
Inheritance
Base: game.IScriptablePrereq
Derived
None.
Properties
| Property | Type | |
|---|---|---|
notifyOnAnyChange | bool | scripted |
notifyOnlyOnStateFulfilled | bool | scripted |
statType | game.data.StatType | scripted |
valueToCheck | float | scripted |
comparisonType | EComparisonType | scripted |
statModifiersUsed | bool | scripted |
statPrereqRecordID | TDBID | scripted |
objToCheck | CName | scripted |
Functions
bool OnRegister(game.PrereqState state, ScriptGameInstance game, IScriptable context)overrideRTTIvoid OnUnregister(game.PrereqState state, ScriptGameInstance game, IScriptable context)overrideRTTIvoid Initialize(TDBID recordID)overrideRTTIbool IsFulfilled(ScriptGameInstance game, IScriptable context)overrideRTTIbool IsFulfilled(ScriptGameInstance game, IScriptable context, game.StatsObjectID itemStatsID)RTTIvoid OnApplied(game.PrereqState state, ScriptGameInstance game, IScriptable context)overrideRTTIgame.Object? GetObjectToCheck(IScriptable context, ScriptGameInstance game)RTTI