class
HealthConsumable
- 4 properties
- 5 functions
Extends game.CpoPickableItem game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
interactionComponent | game.interactions.Component? | 0xF0 | scripted |
meshComponent | ent.MeshComponent? | 0x100 | scripted |
disappearAfterEquip | bool | 0x110 | scripted |
respawnTime | float | 0x114 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "HealthConsumable", "OnRequestComponents", (HealthConsumable_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct HealthConsumable_OnRequestComponents( HealthConsumable self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "HealthConsumable", "OnTakeControl", (HealthConsumable_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct HealthConsumable_OnTakeControl( HealthConsumable self, ent.EntityResolveComponentsInterface ri );bool OnGameAttached()overrideRTTIre.Hooks.Place( "HealthConsumable", "OnGameAttached", (HealthConsumable_OnGameAttached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct HealthConsumable_OnGameAttached( HealthConsumable self );bool OnInteractionChoiceEvent(game.interactions.ChoiceEvent evt)RTTIre.Hooks.Place( "HealthConsumable", "OnInteractionChoiceEvent", (HealthConsumable_OnInteractionChoiceEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct HealthConsumable_OnInteractionChoiceEvent( HealthConsumable self, game.interactions.ChoiceEvent? evt );bool OnTurnOn(RespawnHealthConsumable evt)RTTIre.Hooks.Place( "HealthConsumable", "OnTurnOn", (HealthConsumable_OnTurnOn x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct HealthConsumable_OnTurnOn( HealthConsumable self, RespawnHealthConsumable? evt );