class
DoorProximityDetector
- 3 properties
- 18 functions
Extends ProximityDetector Device game.DeviceBase game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
triggeredAlarmID | game.DelayID | 0x390 | scripted |
blinkInterval | float | 0x398 | scripted |
authorizationLevel | ESecurityAccessLevel | 0x39C | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "DoorProximityDetector", "OnRequestComponents", (DoorProximityDetector_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_OnRequestComponents( DoorProximityDetector self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "DoorProximityDetector", "OnTakeControl", (DoorProximityDetector_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_OnTakeControl( DoorProximityDetector self, ent.EntityResolveComponentsInterface ri );bool OnGameAttached()overrideRTTIre.Hooks.Place( "DoorProximityDetector", "OnGameAttached", (DoorProximityDetector_OnGameAttached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_OnGameAttached( DoorProximityDetector self );bool OnDetach()overrideRTTIre.Hooks.Place( "DoorProximityDetector", "OnDetach", (DoorProximityDetector_OnDetach x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_OnDetach( DoorProximityDetector self );DoorProximityDetectorControllerPS? GetDevicePS()overrideRTTIre.Hooks.Place( "DoorProximityDetector", "GetDevicePS;", (DoorProximityDetector_GetDevicePS x) => { return re.Hooks.CallOriginal<re.msgpack.DoorProximityDetectorControllerPS>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_GetDevicePS( DoorProximityDetector self );DoorProximityDetectorController? GetController()overrideRTTIre.Hooks.Place( "DoorProximityDetector", "GetController;", (DoorProximityDetector_GetController x) => { return re.Hooks.CallOriginal<re.msgpack.DoorProximityDetectorController>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_GetController( DoorProximityDetector self );void TurnOffDevice()overrideRTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "TurnOffDevice;", (DoorProximityDetector_TurnOffDevice x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_TurnOffDevice( DoorProximityDetector self );void TurnOnDevice()overrideRTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "TurnOnDevice;", (DoorProximityDetector_TurnOnDevice x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_TurnOnDevice( DoorProximityDetector self );void LockDevice(bool shouldLock)overrideRTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "LockDevice;Bool", (DoorProximityDetector_LockDevice x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_LockDevice( DoorProximityDetector self, bool shouldLock );bool IsPlayerAuthorized()RTTIre.Hooks.Place( "DoorProximityDetector", "IsPlayerAuthorized;", (DoorProximityDetector_IsPlayerAuthorized x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_IsPlayerAuthorized( DoorProximityDetector self );void SetAppearanceState(DoorProximityDetectorAppearanceStateType appearanceState)RTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "SetAppearanceState;DoorProximityDetectorAppearanceStateType", (DoorProximityDetector_SetAppearanceState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_SetAppearanceState( DoorProximityDetector self, DoorProximityDetectorAppearanceStateType appearanceState );void TriggerAlarmBehavior(bool yes)RTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "TriggerAlarmBehavior;Bool", (DoorProximityDetector_TriggerAlarmBehavior x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_TriggerAlarmBehavior( DoorProximityDetector self, bool yes );bool OnSecuritySystemOutput(SecuritySystemOutput evt)overrideRTTIre.Hooks.Place( "DoorProximityDetector", "OnSecuritySystemOutput", (DoorProximityDetector_OnSecuritySystemOutput x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_OnSecuritySystemOutput( DoorProximityDetector self, SecuritySystemOutput? evt );bool IsAlarmTriggered()RTTIre.Hooks.Place( "DoorProximityDetector", "IsAlarmTriggered;", (DoorProximityDetector_IsAlarmTriggered x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_IsAlarmTriggered( DoorProximityDetector self );bool OnAlarmBlink(AlarmEvent evt)RTTIre.Hooks.Place( "DoorProximityDetector", "OnAlarmBlink", (DoorProximityDetector_OnAlarmBlink x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_OnAlarmBlink( DoorProximityDetector self, AlarmEvent? evt );void CancelAlarmCallback()RTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "CancelAlarmCallback;", (DoorProximityDetector_CancelAlarmCallback x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_CancelAlarmCallback( DoorProximityDetector self );void StartGlitching(EGlitchState glitchState, float? intensity)overrideRTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "StartGlitching;EGlitchStateFloat", (DoorProximityDetector_StartGlitching x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_StartGlitching( DoorProximityDetector self, EGlitchState glitchState, float? intensity );void StopGlitching()overrideRTTIre.Hooks.PlaceVoid( "DoorProximityDetector", "StopGlitching;", (DoorProximityDetector_StopGlitching x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DoorProximityDetector_StopGlitching( DoorProximityDetector self );