AgentRegistry class
AgentRegistry
Inheritance
Base: IScriptable
Derived
None.
Properties
| Property | Type | |
|---|---|---|
isInitialized | bool | scripted |
agents | Agent[] | scripted |
agentsLock | ScriptReentrantRWLock | scripted |
maxReprimandsPerNPC | int | scripted |
maxReprimandsPerDEVICE | int | scripted |
Functions
bool IsInitialized()RTTIbool IsReady()RTTIvoid RegisterAgent(DeviceLink agentPS, SecurityAreaControllerPS[] areas)RTTIvoid UnregisterAgent(game.PersistentID agentID)RTTIbool IsAgent(game.PersistentID id)RTTIbool GetAgent(game.PersistentID id, Agent recordCopy)RTTIgame.PersistentID[] GetAgentsIDs()RTTIAgent[] GetAgents()RTTIAgent[] GetAgents(SecurityAreaControllerPS[] filter)RTTIgame.PersistentID[] GetAgentsIDs(SecurityAreaControllerPS[] filter)RTTIvoid AddArea(SecurityAreaControllerPS area, game.DeviceComponentPS[] agents)RTTIvoid RemoveArea(OnDisableAreaData[] data)RTTIAgent[] GetTurrets()RTTIAgent[] GetSensors()RTTIint HowManyTimesEntityReprimandedByThisAgentAlready(ent.EntityID target, game.PersistentID agentID)RTTIint HowManyTimesEntityReprimandedByThisAgentAlready(game.Object tresspasser, game.PersistentID agent)RTTIbool HasEntityBeenSpottedTooManyTimes(game.PersistentID agent, ent.EntityID target)RTTIvoid StoreReprimand(game.PersistentID agentID, ent.EntityID target, int reprimandID, CName targetAttitude)RTTIvoid WipeReprimandData(ent.EntityID target)RTTIbool IsReprimandOngoing()RTTIent.EntityID GetReprimandReceiver(game.PersistentID agentID)RTTIbool IsReprimandOngoingAgainst(ent.EntityID suspect)RTTIbool GetReprimandPerformer(ent.EntityID target, Agent agent)RTTIvoid ReleaseFromReprimandAgainst(ent.EntityID target, game.PersistentID? agent)RTTIvoid ReleaseAllReprimands(Agent[] agents)RTTIvoid CleanUpOnNewAttitudeGroup(ScriptGameInstance gameInstance, CName newGroup)RTTIvoid SaveAgent_NoLock(Agent agent)RTTISecuritySystemOutputData[] GetValidAgents(ESecuritySystemState state, SecurityAreaControllerPS[] breachedAreas)RTTIDeviceLink[] GetAgentAreas(game.PersistentID id)RTTIAgent[] GetSupportedAgents()RTTIvoid ClearSupport()RTTIbool IsIndexOutOfBound(int index)RTTIstatic AgentRegistry? Construct()staticRTTI global