class
RoadBlockTrap
- 1 property
- 9 functions
Extends InteractiveMasterDevice InteractiveDevice Device game.DeviceBase game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
areaComponent | game.StaticTriggerAreaComponent? | 0x3D0 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "RoadBlockTrap", "OnRequestComponents", (RoadBlockTrap_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_OnRequestComponents( RoadBlockTrap self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "RoadBlockTrap", "OnTakeControl", (RoadBlockTrap_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_OnTakeControl( RoadBlockTrap self, ent.EntityResolveComponentsInterface ri );bool OnActivateDevice(ActivateDevice evt)RTTIre.Hooks.Place( "RoadBlockTrap", "OnActivateDevice", (RoadBlockTrap_OnActivateDevice x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_OnActivateDevice( RoadBlockTrap self, ActivateDevice? evt );bool OnAreaEnter(ent.AreaEnteredEvent evt)overrideRTTIre.Hooks.Place( "RoadBlockTrap", "OnAreaEnter", (RoadBlockTrap_OnAreaEnter x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_OnAreaEnter( RoadBlockTrap self, ent.AreaEnteredEvent? evt );bool OnAreaExit(ent.AreaExitedEvent evt)overrideRTTIre.Hooks.Place( "RoadBlockTrap", "OnAreaExit", (RoadBlockTrap_OnAreaExit x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_OnAreaExit( RoadBlockTrap self, ent.AreaExitedEvent? evt );bool IsPlayerInside()RTTIre.Hooks.Place( "RoadBlockTrap", "IsPlayerInside;", (RoadBlockTrap_IsPlayerInside x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_IsPlayerInside( RoadBlockTrap self );RoadBlockTrapController? GetController()overrideRTTIre.Hooks.Place( "RoadBlockTrap", "GetController;", (RoadBlockTrap_GetController x) => { return re.Hooks.CallOriginal<re.msgpack.RoadBlockTrapController>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_GetController( RoadBlockTrap self );RoadBlockTrapControllerPS? GetDevicePS()overrideRTTIre.Hooks.Place( "RoadBlockTrap", "GetDevicePS;", (RoadBlockTrap_GetDevicePS x) => { return re.Hooks.CallOriginal<re.msgpack.RoadBlockTrapControllerPS>(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_GetDevicePS( RoadBlockTrap self );void TrapPlayer(WeakHandle<PlayerPuppet> player)RTTIre.Hooks.PlaceVoid( "RoadBlockTrap", "TrapPlayer;PlayerPuppet", (RoadBlockTrap_TrapPlayer x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct RoadBlockTrap_TrapPlayer( RoadBlockTrap self, WeakHandle<PlayerPuppet> player );