class
SimpleSwitchControllerPS
- 3 properties
- 15 functions
Extends MasterControllerPS ScriptableDeviceComponentPS SharedGameplayPS game.DeviceComponentPS game.ComponentPS game.PersistentState IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
switchAction | ESwitchAction | 0x298 | scripted |
nameForON | TDBID | 0x29C | scripted |
nameForOFF | TDBID | 0x2A4 | scripted |
Functions
bool OnInstantiated()overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "OnInstantiated", (SimpleSwitchControllerPS_OnInstantiated x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_OnInstantiated( SimpleSwitchControllerPS self );void Initialize()overrideRTTIre.Hooks.PlaceVoid( "SimpleSwitchControllerPS", "Initialize;", (SimpleSwitchControllerPS_Initialize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_Initialize( SimpleSwitchControllerPS self );EDeviceStatus GetExpectedSlaveState()overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "GetExpectedSlaveState;", (SimpleSwitchControllerPS_GetExpectedSlaveState x) => { return re.Hooks.CallOriginal<re.msgpack.EDeviceStatus>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_GetExpectedSlaveState( SimpleSwitchControllerPS self );game.device.Clearance? GetClearance()overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "GetClearance", (SimpleSwitchControllerPS_GetClearance x) => { return re.Hooks.CallOriginal<re.msgpack.game.device.Clearance>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_GetClearance( SimpleSwitchControllerPS self );bool IsLightSwitch()RTTIre.Hooks.Place( "SimpleSwitchControllerPS", "IsLightSwitch;", (SimpleSwitchControllerPS_IsLightSwitch x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_IsLightSwitch( SimpleSwitchControllerPS self );bool GetActions(out game.device.Action[] outActions, game.GetActionsContext context)overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "GetActions;array<DeviceAction>GetActionsContext", (SimpleSwitchControllerPS_GetActions x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_GetActions( SimpleSwitchControllerPS self, game.device.Action[] outActions, game.GetActionsContext context );bool CanCreateAnyQuickHackActions()overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "CanCreateAnyQuickHackActions;", (SimpleSwitchControllerPS_CanCreateAnyQuickHackActions x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_CanCreateAnyQuickHackActions( SimpleSwitchControllerPS self );void GetQuickHackActions(out game.device.Action[] outActions, game.GetActionsContext context)overrideRTTIre.Hooks.PlaceVoid( "SimpleSwitchControllerPS", "GetQuickHackActions;array<DeviceAction>script_ref<GetActionsContext>", (SimpleSwitchControllerPS_GetQuickHackActions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_GetQuickHackActions( SimpleSwitchControllerPS self, game.device.Action[] outActions, game.GetActionsContext context );EntityNotificationType OnRefreshSlavesEvent(RefreshSlavesEvent evt)overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "OnRefreshSlavesEvent;RefreshSlavesEvent", (SimpleSwitchControllerPS_OnRefreshSlavesEvent x) => { return re.Hooks.CallOriginal<re.msgpack.EntityNotificationType>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_OnRefreshSlavesEvent( SimpleSwitchControllerPS self, RefreshSlavesEvent? evt );void RefreshSlaves(bool? onInitialize)RTTIre.Hooks.PlaceVoid( "SimpleSwitchControllerPS", "RefreshSlaves;Bool", (SimpleSwitchControllerPS_RefreshSlaves x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_RefreshSlaves( SimpleSwitchControllerPS self, bool? onInitialize );ScriptableDeviceAction? GetAction()RTTIre.Hooks.Place( "SimpleSwitchControllerPS", "GetAction;", (SimpleSwitchControllerPS_GetAction x) => { return re.Hooks.CallOriginal<re.msgpack.ScriptableDeviceAction>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_GetAction( SimpleSwitchControllerPS self );ToggleON? ActionToggleON()overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "ActionToggleON;", (SimpleSwitchControllerPS_ActionToggleON x) => { return re.Hooks.CallOriginal<re.msgpack.ToggleON>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_ActionToggleON( SimpleSwitchControllerPS self );EntityNotificationType OnToggleON(ToggleON evt)overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "OnToggleON;ToggleON", (SimpleSwitchControllerPS_OnToggleON x) => { return re.Hooks.CallOriginal<re.msgpack.EntityNotificationType>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_OnToggleON( SimpleSwitchControllerPS self, ToggleON? evt );EntityNotificationType OnQuestForceON(QuestForceON evt)overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "OnQuestForceON;QuestForceON", (SimpleSwitchControllerPS_OnQuestForceON x) => { return re.Hooks.CallOriginal<re.msgpack.EntityNotificationType>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_OnQuestForceON( SimpleSwitchControllerPS self, QuestForceON? evt );EntityNotificationType OnQuestForceOFF(QuestForceOFF evt)overrideRTTIre.Hooks.Place( "SimpleSwitchControllerPS", "OnQuestForceOFF;QuestForceOFF", (SimpleSwitchControllerPS_OnQuestForceOFF x) => { return re.Hooks.CallOriginal<re.msgpack.EntityNotificationType>(); } ); [Msgpack.Gen] public readonly partial record struct SimpleSwitchControllerPS_OnQuestForceOFF( SimpleSwitchControllerPS self, QuestForceOFF? evt );