AgentRegistry
classscriptedClass
extends IScriptable › ISerializable
Properties 5
| Name | Type | Flags |
|---|---|---|
agents | array<Agent> | scriptedprotectedpersistentsavable |
agentsLock | RWLock | scriptedpublic |
isInitialized | Bool | scriptedprotectedpersistentsavable |
maxReprimandsPerDEVICE | Int32 | scriptedpublic |
maxReprimandsPerNPC | Int32 | scriptedpublic |
Methods 35
public final func AddArea(area: ref<SecurityAreaControllerPS>, agents: script_ref<array<ref<DeviceComponentPS>>>)scripted
public final func CleanUpOnNewAttitudeGroup(gameInstance: GameInstance, newGroup: CName)scripted
public final func ClearSupport()scripted
public final const func GetAgent(id: PersistentID, recordCopy: script_ref<Agent>) -> Boolscripted
public final const func GetAgentAreas(id: PersistentID) -> array<DeviceLink>scripted
protected final const func GetAgentIndex(id: PersistentID, out index: Int32) -> Boolscripted
protected final const func GetAgentIndex_NoLock(id: PersistentID, out index: Int32) -> Boolscripted
public final const func GetAgents() -> array<Agent>scripted
public final const func GetAgents(filter: script_ref<array<ref<SecurityAreaControllerPS>>>) -> array<Agent>scripted
public final const func GetAgentsIDs() -> array<PersistentID>scripted
public final const func GetAgentsIDs(filter: script_ref<array<ref<SecurityAreaControllerPS>>>) -> array<PersistentID>scripted
public final const func GetReprimandPerformer(target: EntityID, agent: script_ref<Agent>) -> Boolscripted
public final const func GetReprimandReceiver(agentID: PersistentID) -> EntityIDscripted
public final const func GetSensors() -> array<Agent>scripted
public final const func GetSupportedAgents() -> array<Agent>scripted
public final const func GetTurrets() -> array<Agent>scripted
public final const func GetValidAgents(state: ESecuritySystemState, breachedAreas: script_ref<array<ref<SecurityAreaControllerPS>>>) -> array<SecuritySystemOutputData>scripted
public final const func HasEntityBeenSpottedTooManyTimes(agent: PersistentID, target: EntityID) -> Boolscripted
public final const func HowManyTimesEntityReprimandedByThisAgentAlready(target: EntityID, agentID: PersistentID) -> Int32scripted
public final const func HowManyTimesEntityReprimandedByThisAgentAlready(tresspasser: ref<GameObject>, agent: PersistentID) -> Int32scripted
public final const func IsAgent(id: PersistentID) -> Boolscripted
private final const func IsIndexOutOfBound(index: Int32) -> Boolscripted
private final const func IsInitialized() -> Boolscripted
public final const func IsReady() -> Boolscripted
public final const func IsReprimandOngoing() -> Boolscripted
public final const func IsReprimandOngoingAgainst(suspect: EntityID) -> Boolscripted
public final func ProcessOnPlayerSpotted(evt: ref<PlayerSpotted>, modifiedAgents: script_ref<array<Agent>>, out hasAnySupport: Bool) -> Boolscripted
public final func RegisterAgent(agentPS: DeviceLink, areas: script_ref<array<ref<SecurityAreaControllerPS>>>)scripted
public final func ReleaseAllReprimands(agents: script_ref<array<Agent>>)scripted
public final func ReleaseFromReprimandAgainst(target: EntityID, opt agent: PersistentID)scripted
public final func RemoveArea(data: script_ref<array<OnDisableAreaData>>)scripted
protected final func SaveAgent_NoLock(agent: script_ref<Agent>)scripted
public final func StoreReprimand(agentID: PersistentID, target: EntityID, reprimandID: Int32, targetAttitude: CName)scripted
public final func UnregisterAgent(agentID: PersistentID)scripted
public final func WipeReprimandData(target: EntityID)scripted