class
GenericDevice
- 2 properties
- 22 functions
Extends InteractiveDevice Device game.DeviceBase game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
offMeshConnectionComponent | AIOffMeshConnectionComponent? | 0x3D0 | scripted |
currentSpiderbotAction | CustomDeviceAction? | 0x3E0 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "GenericDevice", "OnRequestComponents", (GenericDevice_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnRequestComponents( GenericDevice self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "GenericDevice", "OnTakeControl", (GenericDevice_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnTakeControl( GenericDevice self, ent.EntityResolveComponentsInterface ri );void ResolveGameplayState()overrideRTTIre.Hooks.PlaceVoid( "GenericDevice", "ResolveGameplayState;", (GenericDevice_ResolveGameplayState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_ResolveGameplayState( GenericDevice self );bool OnDetach()overrideRTTIre.Hooks.Place( "GenericDevice", "OnDetach", (GenericDevice_OnDetach x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnDetach( GenericDevice self );bool OnCustomAction(CustomDeviceAction evt)RTTIre.Hooks.Place( "GenericDevice", "OnCustomAction", (GenericDevice_OnCustomAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnCustomAction( GenericDevice self, CustomDeviceAction? evt );bool OnQuestToggleCustomAction(QuestToggleCustomAction evt)RTTIre.Hooks.Place( "GenericDevice", "OnQuestToggleCustomAction", (GenericDevice_OnQuestToggleCustomAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnQuestToggleCustomAction( GenericDevice self, QuestToggleCustomAction? evt );bool OnToggleCustomActionEvent(ToggleCustomActionEvent evt)RTTIre.Hooks.Place( "GenericDevice", "OnToggleCustomActionEvent", (GenericDevice_OnToggleCustomActionEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnToggleCustomActionEvent( GenericDevice self, ToggleCustomActionEvent? evt );bool OnQuestCustomAction(QuestCustomAction evt)RTTIre.Hooks.Place( "GenericDevice", "OnQuestCustomAction", (GenericDevice_OnQuestCustomAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnQuestCustomAction( GenericDevice self, QuestCustomAction? evt );bool OnActivateDevice(ActivateDevice evt)RTTIre.Hooks.Place( "GenericDevice", "OnActivateDevice", (GenericDevice_OnActivateDevice x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnActivateDevice( GenericDevice self, ActivateDevice? evt );void InitializeQuestDBCallbacks()RTTIre.Hooks.PlaceVoid( "GenericDevice", "InitializeQuestDBCallbacks;", (GenericDevice_InitializeQuestDBCallbacks x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_InitializeQuestDBCallbacks( GenericDevice self );void UnInitializeQuestDBCallbacks()RTTIre.Hooks.PlaceVoid( "GenericDevice", "UnInitializeQuestDBCallbacks;", (GenericDevice_UnInitializeQuestDBCallbacks x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_UnInitializeQuestDBCallbacks( GenericDevice self );GenericDeviceControllerPS? GetDevicePS()overrideRTTIre.Hooks.Place( "GenericDevice", "GetDevicePS;", (GenericDevice_GetDevicePS x) => { return re.Hooks.CallOriginal<re.msgpack.GenericDeviceControllerPS>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_GetDevicePS( GenericDevice self );GenericDeviceController? GetController()overrideRTTIre.Hooks.Place( "GenericDevice", "GetController;", (GenericDevice_GetController x) => { return re.Hooks.CallOriginal<re.msgpack.GenericDeviceController>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_GetController( GenericDevice self );bool OnFactChanged(game.FactChangedEvent evt)overrideRTTIre.Hooks.Place( "GenericDevice", "OnFactChanged", (GenericDevice_OnFactChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnFactChanged( GenericDevice self, game.FactChangedEvent? evt );void ResolveCustomAction(CName actionID)RTTIre.Hooks.PlaceVoid( "GenericDevice", "ResolveCustomAction;CName", (GenericDevice_ResolveCustomAction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_ResolveCustomAction( GenericDevice self, CName actionID );void RestoreCustomActionOperations()RTTIre.Hooks.PlaceVoid( "GenericDevice", "RestoreCustomActionOperations;", (GenericDevice_RestoreCustomActionOperations x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_RestoreCustomActionOperations( GenericDevice self );void SendSpiderbotOrderEvent(game.Object player, game.Object? locationOverride)RTTIre.Hooks.PlaceVoid( "GenericDevice", "SendSpiderbotOrderEvent;GameObjectGameObject", (GenericDevice_SendSpiderbotOrderEvent x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_SendSpiderbotOrderEvent( GenericDevice self, game.Object? player, game.Object? locationOverride );void SaveCurrentSpiderbotAction(CustomDeviceAction evt)RTTIre.Hooks.PlaceVoid( "GenericDevice", "SaveCurrentSpiderbotAction;CustomDeviceAction", (GenericDevice_SaveCurrentSpiderbotAction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_SaveCurrentSpiderbotAction( GenericDevice self, CustomDeviceAction? evt );bool OnSpiderbotOrderCompletedEvent(SpiderbotOrderCompletedEvent evt)overrideRTTIre.Hooks.Place( "GenericDevice", "OnSpiderbotOrderCompletedEvent", (GenericDevice_OnSpiderbotOrderCompletedEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_OnSpiderbotOrderCompletedEvent( GenericDevice self, SpiderbotOrderCompletedEvent? evt );EGameplayRole DeterminGameplayRole()overrideRTTIre.Hooks.Place( "GenericDevice", "DeterminGameplayRole;", (GenericDevice_DeterminGameplayRole x) => { return re.Hooks.CallOriginal<re.msgpack.EGameplayRole>(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_DeterminGameplayRole( GenericDevice self );void EnableOffMeshConnections(bool player, bool npc)overrideRTTIre.Hooks.PlaceVoid( "GenericDevice", "EnableOffMeshConnections;BoolBool", (GenericDevice_EnableOffMeshConnections x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_EnableOffMeshConnections( GenericDevice self, bool player, bool npc );void DisableOffMeshConnections(bool player, bool npc)overrideRTTIre.Hooks.PlaceVoid( "GenericDevice", "DisableOffMeshConnections;BoolBool", (GenericDevice_DisableOffMeshConnections x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct GenericDevice_DisableOffMeshConnections( GenericDevice self, bool player, bool npc );