class
PlayerSpotted
- 4 properties
- 5 functions
Extends red.Event IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
comesFromNPC | bool | 0x0 | scripted |
ownerID | game.PersistentID | 0x8 | scripted |
doesSee | bool | 0x18 | scripted |
agentAreas | SecurityAreaControllerPS?[] | 0x20 | scripted |
Functions
bool GetComesFromNPC()RTTIre.Hooks.Place( "PlayerSpotted", "GetComesFromNPC;", (PlayerSpotted_GetComesFromNPC x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSpotted_GetComesFromNPC( PlayerSpotted self );game.PersistentID GetOwnerID()RTTIre.Hooks.Place( "PlayerSpotted", "GetOwnerID;", (PlayerSpotted_GetOwnerID x) => { return re.Hooks.CallOriginal<re.msgpack.game.PersistentID>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSpotted_GetOwnerID( PlayerSpotted self );bool DoesSee()RTTIre.Hooks.Place( "PlayerSpotted", "DoesSee;", (PlayerSpotted_DoesSee x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSpotted_DoesSee( PlayerSpotted self );SecurityAreaControllerPS?[] GetAgentAreas()RTTIstatic PlayerSpotted? Construct(bool isReporterNPC, game.PersistentID owner, bool doSee, SecurityAreaControllerPS[] areas)staticRTTI globalre.Hooks.Place( "PlayerSpotted", "PlayerSpotted::Construct;BoolPersistentIDBoolscript_ref<array<SecurityAreaControllerPS>>", (PlayerSpotted_Construct x) => { return re.Hooks.CallOriginal<re.msgpack.PlayerSpotted>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSpotted_Construct( bool isReporterNPC, game.PersistentID owner, bool doSee, SecurityAreaControllerPS[] areas );