class
WireRepairable
- 5 properties
- 8 functions
Extends game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
isBroken | bool | 0xF0 | scripted |
dependableEntities | NodeRef[] | 0xF8 | scripted |
interaction | game.interactions.Component? | 0x108 | scripted |
brokenmesh | ent.IVisualComponent? | 0x118 | scripted |
fixedmesh | ent.IVisualComponent? | 0x128 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "WireRepairable", "OnRequestComponents", (WireRepairable_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_OnRequestComponents( WireRepairable self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "WireRepairable", "OnTakeControl", (WireRepairable_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_OnTakeControl( WireRepairable self, ent.EntityResolveComponentsInterface ri );bool OnGameAttached()overrideRTTIre.Hooks.Place( "WireRepairable", "OnGameAttached", (WireRepairable_OnGameAttached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_OnGameAttached( WireRepairable self );bool OnInteractionActivated(game.interactions.InteractionActivationEvent evt)RTTIre.Hooks.Place( "WireRepairable", "OnInteractionActivated", (WireRepairable_OnInteractionActivated x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_OnInteractionActivated( WireRepairable self, game.interactions.InteractionActivationEvent? evt );bool OnBasicInteraction(game.interactions.ChoiceEvent choiceEvent)RTTIre.Hooks.Place( "WireRepairable", "OnBasicInteraction", (WireRepairable_OnBasicInteraction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_OnBasicInteraction( WireRepairable self, game.interactions.ChoiceEvent? choiceEvent );bool OnVisionModeVisual(game.VisionModeVisualEvent evt)RTTIre.Hooks.Place( "WireRepairable", "OnVisionModeVisual", (WireRepairable_OnVisionModeVisual x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_OnVisionModeVisual( WireRepairable self, game.VisionModeVisualEvent? evt );bool ChangeState(bool newstate)RTTIre.Hooks.Place( "WireRepairable", "ChangeState;Bool", (WireRepairable_ChangeState x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_ChangeState( WireRepairable self, bool newstate );void ChangeWiringBrokenOnConnectedPanels(bool newWiringBroken)RTTIre.Hooks.PlaceVoid( "WireRepairable", "ChangeWiringBrokenOnConnectedPanels;Bool", (WireRepairable_ChangeWiringBrokenOnConnectedPanels x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WireRepairable_ChangeWiringBrokenOnConnectedPanels( WireRepairable self, bool newWiringBroken );