class
ActivateC4
- 1 property
- 4 functions
Extends ActionBool ScriptableDeviceAction BaseScriptableAction game.device.Action red.Event IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
itemID | game.ItemID | 0x280 | scripted |
Functions
void SetProperties()RTTIre.Hooks.PlaceVoid( "ActivateC4", "SetProperties;", (ActivateC4_SetProperties x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ActivateC4_SetProperties( ActivateC4 self );string GetTweakDBChoiceRecord()overrideRTTIre.Hooks.Place( "ActivateC4", "GetTweakDBChoiceRecord;", (ActivateC4_GetTweakDBChoiceRecord x) => { return re.Hooks.CallOriginal<re.msgpack.Str>(); } ); [Msgpack.Gen] public readonly partial record struct ActivateC4_GetTweakDBChoiceRecord( ActivateC4 self );static bool IsAvailable(ScriptableDeviceComponentPS device)staticoverrideRTTI globalre.Hooks.Place( "ActivateC4", "ActivateC4::IsAvailable;ScriptableDeviceComponentPS", (ActivateC4_IsAvailable x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ActivateC4_IsAvailable( ScriptableDeviceComponentPS? device );static bool IsDefaultConditionMet(ScriptableDeviceComponentPS device, game.GetActionsContext context)staticoverrideRTTI globalre.Hooks.Place( "ActivateC4", "ActivateC4::IsDefaultConditionMet;ScriptableDeviceComponentPSscript_ref<GetActionsContext>", (ActivateC4_IsDefaultConditionMet x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ActivateC4_IsDefaultConditionMet( ScriptableDeviceComponentPS? device, game.GetActionsContext context );