class
CurrentStanceNPCStatePrereq
- 2 properties
- 2 functions
Extends game.IScriptablePrereq game.IPrereq IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
valueToCheck | game.data.NPCStanceState | 0x0 | scripted |
invert | bool | 0x4 | scripted |
Functions
void Initialize(TDBID record)overrideRTTIre.Hooks.PlaceVoid( "CurrentStanceNPCStatePrereq", "Initialize;TweakDBID", (CurrentStanceNPCStatePrereq_Initialize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CurrentStanceNPCStatePrereq_Initialize( CurrentStanceNPCStatePrereq self, TDBID record );bool IsFulfilled(ScriptGameInstance game, IScriptable context)overrideRTTIre.Hooks.Place( "CurrentStanceNPCStatePrereq", "IsFulfilled", (CurrentStanceNPCStatePrereq_IsFulfilled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CurrentStanceNPCStatePrereq_IsFulfilled( CurrentStanceNPCStatePrereq self, ScriptGameInstance game, IScriptable? context );