class
NPCLocomotionTypePrereq
- 2 properties
- 3 functions
Extends game.IScriptablePrereq game.IPrereq IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
locomotionMode | game.data.LocomotionMode[] | 0x0 | scripted |
invert | bool | 0x10 | scripted |
Functions
void Initialize(TDBID recordID)overrideRTTIre.Hooks.PlaceVoid( "NPCLocomotionTypePrereq", "Initialize;TweakDBID", (NPCLocomotionTypePrereq_Initialize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCLocomotionTypePrereq_Initialize( NPCLocomotionTypePrereq self, TDBID recordID );bool OnRegister(game.PrereqState state, ScriptGameInstance game, IScriptable context)overrideRTTIre.Hooks.Place( "NPCLocomotionTypePrereq", "OnRegister;PrereqStateGameInstanceIScriptable", (NPCLocomotionTypePrereq_OnRegister x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCLocomotionTypePrereq_OnRegister( NPCLocomotionTypePrereq self, game.PrereqState? state, ScriptGameInstance game, IScriptable? context );bool Evaluate(game.Object owner, int value)RTTIre.Hooks.Place( "NPCLocomotionTypePrereq", "Evaluate;GameObjectInt32", (NPCLocomotionTypePrereq_Evaluate x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCLocomotionTypePrereq_Evaluate( NPCLocomotionTypePrereq self, game.Object? owner, int value );