class
DetonateC4
- 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( "DetonateC4", "SetProperties;", (DetonateC4_SetProperties x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DetonateC4_SetProperties( DetonateC4 self );string GetTweakDBChoiceRecord()overrideRTTIre.Hooks.Place( "DetonateC4", "GetTweakDBChoiceRecord;", (DetonateC4_GetTweakDBChoiceRecord x) => { return re.Hooks.CallOriginal<re.msgpack.Str>(); } ); [Msgpack.Gen] public readonly partial record struct DetonateC4_GetTweakDBChoiceRecord( DetonateC4 self );static bool IsDefaultConditionMet(ScriptableDeviceComponentPS device, game.GetActionsContext context)staticoverrideRTTI globalre.Hooks.Place( "DetonateC4", "DetonateC4::IsDefaultConditionMet;ScriptableDeviceComponentPSscript_ref<GetActionsContext>", (DetonateC4_IsDefaultConditionMet x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DetonateC4_IsDefaultConditionMet( ScriptableDeviceComponentPS? device, game.GetActionsContext context );static bool IsAvailable(ScriptableDeviceComponentPS device)staticoverrideRTTI globalre.Hooks.Place( "DetonateC4", "DetonateC4::IsAvailable;ScriptableDeviceComponentPS", (DetonateC4_IsAvailable x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DetonateC4_IsAvailable( ScriptableDeviceComponentPS? device );