class
CustomDeviceAction
- 0 properties
- 7 functions
Extends ActionBool ScriptableDeviceAction BaseScriptableAction game.device.Action red.Event IScriptable ISerializable
Properties
None.
Functions
void SetProperties(CName customActionName, CName displayName)RTTIre.Hooks.PlaceVoid( "CustomDeviceAction", "SetProperties;CNameCName", (CustomDeviceAction_SetProperties x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CustomDeviceAction_SetProperties( CustomDeviceAction self, CName customActionName, CName displayName );void SetObjectActionID(TDBID id)overrideRTTIre.Hooks.PlaceVoid( "CustomDeviceAction", "SetObjectActionID;TweakDBID", (CustomDeviceAction_SetObjectActionID x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CustomDeviceAction_SetObjectActionID( CustomDeviceAction self, TDBID id );bool IsCustomClearanceValid(game.device.Clearance clearance)RTTIre.Hooks.Place( "CustomDeviceAction", "IsCustomClearanceValid;Clearance", (CustomDeviceAction_IsCustomClearanceValid x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CustomDeviceAction_IsCustomClearanceValid( CustomDeviceAction self, game.device.Clearance? clearance );float GetActivationTime()overrideRTTIre.Hooks.Place( "CustomDeviceAction", "GetActivationTime;", (CustomDeviceAction_GetActivationTime x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct CustomDeviceAction_GetActivationTime( CustomDeviceAction self );static bool IsClearanceValid(game.device.Clearance clearance)staticoverrideRTTI globalre.Hooks.Place( "CustomDeviceAction", "CustomDeviceAction::IsClearanceValid;Clearance", (CustomDeviceAction_IsClearanceValid x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CustomDeviceAction_IsClearanceValid( game.device.Clearance? clearance );static bool IsDefaultConditionMet(ScriptableDeviceComponentPS device, game.GetActionsContext context, SDeviceActionCustomData actionData)staticRTTI globalre.Hooks.Place( "CustomDeviceAction", "CustomDeviceAction::IsDefaultConditionMet;ScriptableDeviceComponentPSscript_ref<GetActionsContext>script_ref<SDeviceActionCustomData>", (CustomDeviceAction_IsDefaultConditionMet x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CustomDeviceAction_IsDefaultConditionMet( ScriptableDeviceComponentPS? device, game.GetActionsContext context, SDeviceActionCustomData actionData );static bool IsAvailable(ScriptableDeviceComponentPS device, SDeviceActionCustomData actionData)staticRTTI globalre.Hooks.Place( "CustomDeviceAction", "CustomDeviceAction::IsAvailable;ScriptableDeviceComponentPSscript_ref<SDeviceActionCustomData>", (CustomDeviceAction_IsAvailable x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CustomDeviceAction_IsAvailable( ScriptableDeviceComponentPS? device, SDeviceActionCustomData actionData );