class
FullSystemRestart
- 1 property
- 4 functions
Extends ActionBool ScriptableDeviceAction BaseScriptableAction game.device.Action red.Event IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
restartDuration | int | 0x280 | scripted |
Functions
void SetProperties(bool isRestarting, int duration)RTTIre.Hooks.PlaceVoid( "FullSystemRestart", "SetProperties;BoolInt32", (FullSystemRestart_SetProperties x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct FullSystemRestart_SetProperties( FullSystemRestart self, bool isRestarting, int duration );static bool IsDefaultConditionMet(ScriptableDeviceComponentPS device, game.GetActionsContext context)staticoverrideRTTI globalre.Hooks.Place( "FullSystemRestart", "FullSystemRestart::IsDefaultConditionMet;ScriptableDeviceComponentPSscript_ref<GetActionsContext>", (FullSystemRestart_IsDefaultConditionMet x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FullSystemRestart_IsDefaultConditionMet( ScriptableDeviceComponentPS? device, game.GetActionsContext context );static bool IsClearanceValid(game.device.Clearance requesterClearancer)staticoverrideRTTI globalre.Hooks.Place( "FullSystemRestart", "FullSystemRestart::IsClearanceValid;Clearance", (FullSystemRestart_IsClearanceValid x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FullSystemRestart_IsClearanceValid( game.device.Clearance? requesterClearancer );static bool IsAvailable(ScriptableDeviceComponentPS device)staticoverrideRTTI globalre.Hooks.Place( "FullSystemRestart", "FullSystemRestart::IsAvailable;ScriptableDeviceComponentPS", (FullSystemRestart_IsAvailable x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FullSystemRestart_IsAvailable( ScriptableDeviceComponentPS? device );