struct
Agent
- 6 properties
- 21 functions
- 80 bytes
Properties
| Property | Type | Offset | |
|---|---|---|---|
link | DeviceLink | 0x0 | scripted |
reprimands | ReprimandData[] | 0x18 | scripted |
supportingAgents | game.PersistentID[] | 0x28 | scripted |
areas | DeviceLink[] | 0x38 | scripted |
incomingFilter | EFilterType | 0x48 | scripted |
cachedDelayDuration | float | 0x4C | scripted |
Functions
static void SetIncomingFilter(Agent self, SecurityAreaControllerPS area)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::SetIncomingFilter;script_ref<Agent>SecurityAreaControllerPS", (Agent_SetIncomingFilter x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_SetIncomingFilter( Agent self, SecurityAreaControllerPS? area );static void RemoveArea(Agent self, SecurityAreaControllerPS[] remainingAreas)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::RemoveArea;script_ref<Agent>script_ref<array<SecurityAreaControllerPS>>", (Agent_RemoveArea x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_RemoveArea( Agent self, SecurityAreaControllerPS[] remainingAreas );static bool IsValid(Agent self)staticRTTI globalre.Hooks.Place( "Agent", "Agent::IsValid;Agent", (Agent_IsValid x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_IsValid( Agent self );static bool IsPerformingReprimandAgainst(Agent self, ent.EntityID target)staticRTTI globalre.Hooks.Place( "Agent", "Agent::IsPerformingReprimandAgainst;script_ref<Agent>EntityID", (Agent_IsPerformingReprimandAgainst x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_IsPerformingReprimandAgainst( Agent self, ent.EntityID target );static void GetAreas(Agent self, DeviceLink[] areas)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::GetAreas;script_ref<Agent>script_ref<array<DeviceLink>>", (Agent_GetAreas x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_GetAreas( Agent self, DeviceLink[] areas );static void AddArea(Agent self, SecurityAreaControllerPS area)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::AddArea;script_ref<Agent>SecurityAreaControllerPS", (Agent_AddArea x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_AddArea( Agent self, SecurityAreaControllerPS? area );static void ClearSupport(Agent self)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::ClearSupport;script_ref<Agent>", (Agent_ClearSupport x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_ClearSupport( Agent self );static bool AddSupport(Agent self, game.PersistentID id, bool shouldAdd)staticRTTI globalre.Hooks.Place( "Agent", "Agent::AddSupport;script_ref<Agent>PersistentIDBool", (Agent_AddSupport x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_AddSupport( Agent self, game.PersistentID id, bool shouldAdd );static void SetIncomingFilter(Agent self, SecurityAreaControllerPS[] areas)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::SetIncomingFilter;script_ref<Agent>script_ref<array<SecurityAreaControllerPS>>", (Agent_SetIncomingFilter2 x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_SetIncomingFilter2( Agent self, SecurityAreaControllerPS[] areas );static void ForceRelaseReprimands(Agent self)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::ForceRelaseReprimands;script_ref<Agent>", (Agent_ForceRelaseReprimands x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_ForceRelaseReprimands( Agent self );static bool IsPerformingReprimand(Agent self)staticRTTI globalre.Hooks.Place( "Agent", "Agent::IsPerformingReprimand;script_ref<Agent>", (Agent_IsPerformingReprimand x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_IsPerformingReprimand( Agent self );static void StoreReprimand(Agent self, ReprimandData reprimandData)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::StoreReprimand;script_ref<Agent>ReprimandData", (Agent_StoreReprimand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_StoreReprimand( Agent self, ReprimandData reprimandData );static int GetReprimandsCount(Agent self, ent.EntityID target)staticRTTI globalre.Hooks.Place( "Agent", "Agent::GetReprimandsCount;script_ref<Agent>EntityID", (Agent_GetReprimandsCount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_GetReprimandsCount( Agent self, ent.EntityID target );static bool HasSupport(Agent self)staticRTTI globalre.Hooks.Place( "Agent", "Agent::HasSupport;script_ref<Agent>", (Agent_HasSupport x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_HasSupport( Agent self );static void WipeReprimand(Agent self, CName attGroup, game.CAttitudeManager attSystem)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::WipeReprimand;script_ref<Agent>CNameAttitudeSystem", (Agent_WipeReprimand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_WipeReprimand( Agent self, CName attGroup, game.CAttitudeManager? attSystem );static void ReleaseFromReprimand(Agent self, ent.EntityID target)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::ReleaseFromReprimand;script_ref<Agent>EntityID", (Agent_ReleaseFromReprimand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_ReleaseFromReprimand( Agent self, ent.EntityID target );static Agent Construct(DeviceLink link, SecurityAreaControllerPS[] areas)staticRTTI globalre.Hooks.Place( "Agent", "Agent::Construct;DeviceLinkscript_ref<array<SecurityAreaControllerPS>>", (Agent_Construct x) => { return re.Hooks.CallOriginal<re.msgpack.Agent>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_Construct( DeviceLink link, SecurityAreaControllerPS[] areas );static ent.EntityID GetReprimandReceiver(Agent self)staticRTTI globalre.Hooks.Place( "Agent", "Agent::GetReprimandReceiver;script_ref<Agent>", (Agent_GetReprimandReceiver x) => { return re.Hooks.CallOriginal<re.msgpack.ent.EntityID>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_GetReprimandReceiver( Agent self );static bool IsEligible(Agent self, ESecuritySystemState state, SecurityAreaControllerPS[] breachedAreas, EFilterType inputsOutgoingFilter, out EBreachOrigin breachOrigin)staticRTTI globalre.Hooks.Place( "Agent", "Agent::IsEligible;script_ref<Agent>ESecuritySystemStatescript_ref<array<SecurityAreaControllerPS>>EFilterTypeEBreachOrigin", (Agent_IsEligible x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Agent_IsEligible( Agent self, ESecuritySystemState state, SecurityAreaControllerPS[] breachedAreas, EFilterType inputsOutgoingFilter, EBreachOrigin breachOrigin );static void WipeReprimand(Agent self, ent.EntityID target)staticRTTI globalre.Hooks.PlaceVoid( "Agent", "Agent::WipeReprimand;script_ref<Agent>EntityID", (Agent_WipeReprimand2 x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Agent_WipeReprimand2( Agent self, ent.EntityID target );