class
AgentRegistry
- 5 properties
- 36 functions
Extends IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
isInitialized | bool | 0x0 | scripted |
agents | Agent[] | 0x8 | scripted |
agentsLock | ScriptReentrantRWLock | 0x18 | scripted |
maxReprimandsPerNPC | int | 0x28 | scripted |
maxReprimandsPerDEVICE | int | 0x2C | scripted |
Functions
bool IsInitialized()RTTIre.Hooks.Place( "AgentRegistry", "IsInitialized;", (AgentRegistry_IsInitialized x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_IsInitialized( AgentRegistry self );bool IsReady()RTTIre.Hooks.Place( "AgentRegistry", "IsReady;", (AgentRegistry_IsReady x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_IsReady( AgentRegistry self );void RegisterAgent(DeviceLink agentPS, SecurityAreaControllerPS[] areas)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "RegisterAgent;DeviceLinkscript_ref<array<SecurityAreaControllerPS>>", (AgentRegistry_RegisterAgent x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_RegisterAgent( AgentRegistry self, DeviceLink agentPS, SecurityAreaControllerPS[] areas );void UnregisterAgent(game.PersistentID agentID)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "UnregisterAgent;PersistentID", (AgentRegistry_UnregisterAgent x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_UnregisterAgent( AgentRegistry self, game.PersistentID agentID );bool IsAgent(game.PersistentID id)RTTIre.Hooks.Place( "AgentRegistry", "IsAgent;PersistentID", (AgentRegistry_IsAgent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_IsAgent( AgentRegistry self, game.PersistentID id );bool GetAgent(game.PersistentID id, Agent recordCopy)RTTIre.Hooks.Place( "AgentRegistry", "GetAgent;PersistentIDscript_ref<Agent>", (AgentRegistry_GetAgent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_GetAgent( AgentRegistry self, game.PersistentID id, Agent recordCopy );game.PersistentID[] GetAgentsIDs()RTTIAgent[] GetAgents()RTTIAgent[] GetAgents(SecurityAreaControllerPS[] filter)RTTIgame.PersistentID[] GetAgentsIDs(SecurityAreaControllerPS[] filter)RTTIvoid AddArea(SecurityAreaControllerPS area, game.DeviceComponentPS[] agents)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "AddArea;SecurityAreaControllerPSscript_ref<array<DeviceComponentPS>>", (AgentRegistry_AddArea x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_AddArea( AgentRegistry self, SecurityAreaControllerPS? area, game.DeviceComponentPS[] agents );void RemoveArea(OnDisableAreaData[] data)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "RemoveArea;script_ref<array<OnDisableAreaData>>", (AgentRegistry_RemoveArea x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_RemoveArea( AgentRegistry self, OnDisableAreaData[] data );Agent[] GetTurrets()RTTIAgent[] GetSensors()RTTIint HowManyTimesEntityReprimandedByThisAgentAlready(ent.EntityID target, game.PersistentID agentID)RTTIre.Hooks.Place( "AgentRegistry", "HowManyTimesEntityReprimandedByThisAgentAlready;EntityIDPersistentID", (AgentRegistry_HowManyTimesEntityReprimandedByThisAgentAlready x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_HowManyTimesEntityReprimandedByThisAgentAlready( AgentRegistry self, ent.EntityID target, game.PersistentID agentID );int HowManyTimesEntityReprimandedByThisAgentAlready(game.Object tresspasser, game.PersistentID agent)RTTIre.Hooks.Place( "AgentRegistry", "HowManyTimesEntityReprimandedByThisAgentAlready;GameObjectPersistentID", (AgentRegistry_HowManyTimesEntityReprimandedByThisAgentAlready2 x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_HowManyTimesEntityReprimandedByThisAgentAlready2( AgentRegistry self, game.Object? tresspasser, game.PersistentID agent );bool HasEntityBeenSpottedTooManyTimes(game.PersistentID agent, ent.EntityID target)RTTIre.Hooks.Place( "AgentRegistry", "HasEntityBeenSpottedTooManyTimes;PersistentIDEntityID", (AgentRegistry_HasEntityBeenSpottedTooManyTimes x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_HasEntityBeenSpottedTooManyTimes( AgentRegistry self, game.PersistentID agent, ent.EntityID target );void StoreReprimand(game.PersistentID agentID, ent.EntityID target, int reprimandID, CName targetAttitude)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "StoreReprimand;PersistentIDEntityIDInt32CName", (AgentRegistry_StoreReprimand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_StoreReprimand( AgentRegistry self, game.PersistentID agentID, ent.EntityID target, int reprimandID, CName targetAttitude );void WipeReprimandData(ent.EntityID target)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "WipeReprimandData;EntityID", (AgentRegistry_WipeReprimandData x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_WipeReprimandData( AgentRegistry self, ent.EntityID target );bool IsReprimandOngoing()RTTIre.Hooks.Place( "AgentRegistry", "IsReprimandOngoing;", (AgentRegistry_IsReprimandOngoing x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_IsReprimandOngoing( AgentRegistry self );ent.EntityID GetReprimandReceiver(game.PersistentID agentID)RTTIre.Hooks.Place( "AgentRegistry", "GetReprimandReceiver;PersistentID", (AgentRegistry_GetReprimandReceiver x) => { return re.Hooks.CallOriginal<re.msgpack.ent.EntityID>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_GetReprimandReceiver( AgentRegistry self, game.PersistentID agentID );bool IsReprimandOngoingAgainst(ent.EntityID suspect)RTTIre.Hooks.Place( "AgentRegistry", "IsReprimandOngoingAgainst;EntityID", (AgentRegistry_IsReprimandOngoingAgainst x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_IsReprimandOngoingAgainst( AgentRegistry self, ent.EntityID suspect );bool GetReprimandPerformer(ent.EntityID target, Agent agent)RTTIre.Hooks.Place( "AgentRegistry", "GetReprimandPerformer;EntityIDscript_ref<Agent>", (AgentRegistry_GetReprimandPerformer x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_GetReprimandPerformer( AgentRegistry self, ent.EntityID target, Agent agent );void ReleaseFromReprimandAgainst(ent.EntityID target, game.PersistentID? agent)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "ReleaseFromReprimandAgainst;EntityIDPersistentID", (AgentRegistry_ReleaseFromReprimandAgainst x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_ReleaseFromReprimandAgainst( AgentRegistry self, ent.EntityID target, game.PersistentID? agent );void ReleaseAllReprimands(Agent[] agents)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "ReleaseAllReprimands;script_ref<array<Agent>>", (AgentRegistry_ReleaseAllReprimands x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_ReleaseAllReprimands( AgentRegistry self, Agent[] agents );void CleanUpOnNewAttitudeGroup(ScriptGameInstance gameInstance, CName newGroup)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "CleanUpOnNewAttitudeGroup;GameInstanceCName", (AgentRegistry_CleanUpOnNewAttitudeGroup x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_CleanUpOnNewAttitudeGroup( AgentRegistry self, ScriptGameInstance gameInstance, CName newGroup );void SaveAgent_NoLock(Agent agent)RTTIre.Hooks.PlaceVoid( "AgentRegistry", "SaveAgent_NoLock;script_ref<Agent>", (AgentRegistry_SaveAgent_NoLock x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_SaveAgent_NoLock( AgentRegistry self, Agent agent );bool GetAgentIndex(game.PersistentID id, out int index)RTTIre.Hooks.Place( "AgentRegistry", "GetAgentIndex;PersistentIDInt32", (AgentRegistry_GetAgentIndex x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_GetAgentIndex( AgentRegistry self, game.PersistentID id, int index );bool GetAgentIndex_NoLock(game.PersistentID id, out int index)RTTIre.Hooks.Place( "AgentRegistry", "GetAgentIndex_NoLock;PersistentIDInt32", (AgentRegistry_GetAgentIndex_NoLock x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_GetAgentIndex_NoLock( AgentRegistry self, game.PersistentID id, int index );SecuritySystemOutputData[] GetValidAgents(ESecuritySystemState state, SecurityAreaControllerPS[] breachedAreas)RTTIDeviceLink[] GetAgentAreas(game.PersistentID id)RTTIAgent[] GetSupportedAgents()RTTIvoid ClearSupport()RTTIre.Hooks.PlaceVoid( "AgentRegistry", "ClearSupport;", (AgentRegistry_ClearSupport x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_ClearSupport( AgentRegistry self );bool ProcessOnPlayerSpotted(PlayerSpotted evt, Agent[] modifiedAgents, out bool hasAnySupport)RTTIre.Hooks.Place( "AgentRegistry", "ProcessOnPlayerSpotted;PlayerSpottedscript_ref<array<Agent>>Bool", (AgentRegistry_ProcessOnPlayerSpotted x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_ProcessOnPlayerSpotted( AgentRegistry self, PlayerSpotted? evt, Agent[] modifiedAgents, bool hasAnySupport );bool IsIndexOutOfBound(int index)RTTIre.Hooks.Place( "AgentRegistry", "IsIndexOutOfBound;Int32", (AgentRegistry_IsIndexOutOfBound x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_IsIndexOutOfBound( AgentRegistry self, int index );static AgentRegistry? Construct()staticRTTI globalre.Hooks.Place( "AgentRegistry", "AgentRegistry::Construct;", (AgentRegistry_Construct x) => { return re.Hooks.CallOriginal<re.msgpack.AgentRegistry>(); } ); [Msgpack.Gen] public readonly partial record struct AgentRegistry_Construct();