class
Activator
- 9 properties
- 16 functions
Extends InteractiveMasterDevice InteractiveDevice Device game.DeviceBase game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
animFeature | AnimFeature_SimpleDevice? | 0x3D0 | scripted |
hitCount | int | 0x3E0 | scripted |
meshComponent | ent.MeshComponent? | 0x3E8 | scripted |
meshAppearence | CName | 0x3F8 | scripted |
meshAppearenceBreaking | CName | 0x400 | scripted |
meshAppearenceBroken | CName | 0x408 | scripted |
defaultDelay | float | 0x410 | scripted |
yellowDelay | float | 0x414 | scripted |
redDelay | float | 0x418 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "Activator", "OnRequestComponents", (Activator_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnRequestComponents( Activator self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "Activator", "OnTakeControl", (Activator_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnTakeControl( Activator self, ent.EntityResolveComponentsInterface ri );ActivatorController? GetController()overrideRTTIre.Hooks.Place( "Activator", "GetController;", (Activator_GetController x) => { return re.Hooks.CallOriginal<re.msgpack.ActivatorController>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_GetController( Activator self );ActivatorControllerPS? GetDevicePS()overrideRTTIre.Hooks.Place( "Activator", "GetDevicePS;", (Activator_GetDevicePS x) => { return re.Hooks.CallOriginal<re.msgpack.ActivatorControllerPS>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_GetDevicePS( Activator self );void EnterWorkspot(game.Object activator, bool? freeCamera, CName? componentName, CName? deviceData)overrideRTTIre.Hooks.PlaceVoid( "Activator", "EnterWorkspot;GameObjectBoolCNameCName", (Activator_EnterWorkspot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Activator_EnterWorkspot( Activator self, game.Object? activator, bool? freeCamera, CName? componentName, CName? deviceData );bool OnDisassembleDevice(DisassembleDevice evt)overrideRTTIre.Hooks.Place( "Activator", "OnDisassembleDevice", (Activator_OnDisassembleDevice x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnDisassembleDevice( Activator self, DisassembleDevice? evt );bool OnSpiderbotActivateActivator(SpiderbotActivateActivator evt)RTTIre.Hooks.Place( "Activator", "OnSpiderbotActivateActivator", (Activator_OnSpiderbotActivateActivator x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnSpiderbotActivateActivator( Activator self, SpiderbotActivateActivator? evt );bool OnSpiderbotOrderCompletedEvent(SpiderbotOrderCompletedEvent evt)overrideRTTIre.Hooks.Place( "Activator", "OnSpiderbotOrderCompletedEvent", (Activator_OnSpiderbotOrderCompletedEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnSpiderbotOrderCompletedEvent( Activator self, SpiderbotOrderCompletedEvent? evt );bool OnToggleActivation(ToggleActivation evt)overrideRTTIre.Hooks.Place( "Activator", "OnToggleActivation", (Activator_OnToggleActivation x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnToggleActivation( Activator self, ToggleActivation? evt );bool OnDelayApperanceSwitchEvent(panel.ApperanceSwitchEvent evt)RTTIre.Hooks.Place( "Activator", "OnDelayApperanceSwitchEvent", (Activator_OnDelayApperanceSwitchEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnDelayApperanceSwitchEvent( Activator self, panel.ApperanceSwitchEvent? evt );bool OnWorkspotFinished(CName componentName)overrideRTTIre.Hooks.Place( "Activator", "OnWorkspotFinished", (Activator_OnWorkspotFinished x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnWorkspotFinished( Activator self, CName componentName );void UpdateAnimState()RTTIre.Hooks.PlaceVoid( "Activator", "UpdateAnimState;", (Activator_UpdateAnimState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Activator_UpdateAnimState( Activator self );void DelayApperanceSwitchEvent(CName newApperance, float time)RTTIre.Hooks.PlaceVoid( "Activator", "DelayApperanceSwitchEvent;CNameFloat", (Activator_DelayApperanceSwitchEvent x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Activator_DelayApperanceSwitchEvent( Activator self, CName newApperance, float time );bool OnHit(game.events.HitEvent evt)overrideRTTIre.Hooks.Place( "Activator", "OnHit", (Activator_OnHit x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_OnHit( Activator self, game.events.HitEvent? evt );EGameplayRole DeterminGameplayRole()overrideRTTIre.Hooks.Place( "Activator", "DeterminGameplayRole;", (Activator_DeterminGameplayRole x) => { return re.Hooks.CallOriginal<re.msgpack.EGameplayRole>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_DeterminGameplayRole( Activator self );EGameplayRole GetCurrentGameplayRole()overrideRTTIre.Hooks.Place( "Activator", "GetCurrentGameplayRole;", (Activator_GetCurrentGameplayRole x) => { return re.Hooks.CallOriginal<re.msgpack.EGameplayRole>(); } ); [Msgpack.Gen] public readonly partial record struct Activator_GetCurrentGameplayRole( Activator self );