class
ScriptedReactionSystem
- 5 properties
- 10 functions
Extends game.ScriptableSystem game.IScriptableSystem IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
fleeingNPCs | int | 0x0 | scripted |
runners | WeakHandle<ent.Entity>[] | 0x8 | scripted |
registeredTimeout | float | 0x18 | scripted |
callInAction | bool | 0x1C | scripted |
policeCaller | WeakHandle<ent.Entity> | 0x20 | scripted |
Functions
void OnRegisterFleeingNPC(RegisterFleeingNPC request)RTTIre.Hooks.PlaceVoid( "ScriptedReactionSystem", "OnRegisterFleeingNPC;RegisterFleeingNPC", (ScriptedReactionSystem_OnRegisterFleeingNPC x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_OnRegisterFleeingNPC( ScriptedReactionSystem self, RegisterFleeingNPC? request );void OnUnregisterFleeingNPC(UnregisterFleeingNPC request)RTTIre.Hooks.PlaceVoid( "ScriptedReactionSystem", "OnUnregisterFleeingNPC;UnregisterFleeingNPC", (ScriptedReactionSystem_OnUnregisterFleeingNPC x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_OnUnregisterFleeingNPC( ScriptedReactionSystem self, UnregisterFleeingNPC? request );int GetFleeingNPCsCount()RTTIre.Hooks.Place( "ScriptedReactionSystem", "GetFleeingNPCsCount;", (ScriptedReactionSystem_GetFleeingNPCsCount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_GetFleeingNPCsCount( ScriptedReactionSystem self );int GetFleeingNPCsCountInDistance(Vector4 position, float distance)RTTIre.Hooks.Place( "ScriptedReactionSystem", "GetFleeingNPCsCountInDistance;Vector4Float", (ScriptedReactionSystem_GetFleeingNPCsCountInDistance x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_GetFleeingNPCsCountInDistance( ScriptedReactionSystem self, Vector4 position, float distance );float GetRegisterTimeout()RTTIre.Hooks.Place( "ScriptedReactionSystem", "GetRegisterTimeout;", (ScriptedReactionSystem_GetRegisterTimeout x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_GetRegisterTimeout( ScriptedReactionSystem self );bool IsRegistered(ent.Entity runner)RTTIre.Hooks.Place( "ScriptedReactionSystem", "IsRegistered;Entity", (ScriptedReactionSystem_IsRegistered x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_IsRegistered( ScriptedReactionSystem self, ent.Entity? runner );void OnRegisterPoliceCaller(RegisterPoliceCaller request)RTTIre.Hooks.PlaceVoid( "ScriptedReactionSystem", "OnRegisterPoliceCaller;RegisterPoliceCaller", (ScriptedReactionSystem_OnRegisterPoliceCaller x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_OnRegisterPoliceCaller( ScriptedReactionSystem self, RegisterPoliceCaller? request );void OnUnregisterPoliceCaller(UnregisterPoliceCaller request)RTTIre.Hooks.PlaceVoid( "ScriptedReactionSystem", "OnUnregisterPoliceCaller;UnregisterPoliceCaller", (ScriptedReactionSystem_OnUnregisterPoliceCaller x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_OnUnregisterPoliceCaller( ScriptedReactionSystem self, UnregisterPoliceCaller? request );bool IsCallerCloser(ent.Entity newCaller, Vector4 crimePosition)RTTIre.Hooks.Place( "ScriptedReactionSystem", "IsCallerCloser;EntityVector4", (ScriptedReactionSystem_IsCallerCloser x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_IsCallerCloser( ScriptedReactionSystem self, ent.Entity? newCaller, Vector4 crimePosition );bool IsCaller(ent.Entity entity)RTTIre.Hooks.Place( "ScriptedReactionSystem", "IsCaller;Entity", (ScriptedReactionSystem_IsCaller x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ScriptedReactionSystem_IsCaller( ScriptedReactionSystem self, ent.Entity? entity );