class
FakeFeature
- 5 properties
- 14 functions
Extends game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
choices | SFakeFeatureChoice[] | 0xF0 | scripted |
interaction | game.interactions.Component? | 0x100 | scripted |
components | ent.IPlacedComponent?[] | 0x110 | scripted |
scaningComponent | game.ScanningComponent? | 0x120 | scripted |
was_used | bool | 0x130 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "FakeFeature", "OnRequestComponents", (FakeFeature_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_OnRequestComponents( FakeFeature self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "FakeFeature", "OnTakeControl", (FakeFeature_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_OnTakeControl( FakeFeature self, ent.EntityResolveComponentsInterface ri );bool OnGameAttached()overrideRTTIre.Hooks.Place( "FakeFeature", "OnGameAttached", (FakeFeature_OnGameAttached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_OnGameAttached( FakeFeature self );bool OnDetach()overrideRTTIre.Hooks.Place( "FakeFeature", "OnDetach", (FakeFeature_OnDetach x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_OnDetach( FakeFeature self );bool OnInteractionChoice(game.interactions.ChoiceEvent choiceEvent)RTTIre.Hooks.Place( "FakeFeature", "OnInteractionChoice", (FakeFeature_OnInteractionChoice x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_OnInteractionChoice( FakeFeature self, game.interactions.ChoiceEvent? choiceEvent );bool OnEnabledFactChangeTrigerred(game.FactChangedEvent evt)RTTIre.Hooks.Place( "FakeFeature", "OnEnabledFactChangeTrigerred", (FakeFeature_OnEnabledFactChangeTrigerred x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_OnEnabledFactChangeTrigerred( FakeFeature self, game.FactChangedEvent? evt );void RefreshChoices()RTTIre.Hooks.PlaceVoid( "FakeFeature", "RefreshChoices;", (FakeFeature_RefreshChoices x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_RefreshChoices( FakeFeature self );void InitializeChoices()RTTIre.Hooks.PlaceVoid( "FakeFeature", "InitializeChoices;", (FakeFeature_InitializeChoices x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_InitializeChoices( FakeFeature self );void UnInitializeChoices()RTTIre.Hooks.PlaceVoid( "FakeFeature", "UnInitializeChoices;", (FakeFeature_UnInitializeChoices x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_UnInitializeChoices( FakeFeature self );game.interactions.Choice CreateChoice(string choiceID, int data)RTTIre.Hooks.Place( "FakeFeature", "CreateChoice;script_ref<String>Int32", (FakeFeature_CreateChoice x) => { return re.Hooks.CallOriginal<re.msgpack.game.interactions.GameInteractionsChoice>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_CreateChoice( FakeFeature self, string choiceID, int data );void ResolveChoice(int choiceID)RTTIre.Hooks.PlaceVoid( "FakeFeature", "ResolveChoice;Int32", (FakeFeature_ResolveChoice x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_ResolveChoice( FakeFeature self, int choiceID );void ResolveFact(SFactOperationData factData)RTTIre.Hooks.PlaceVoid( "FakeFeature", "ResolveFact;SFactOperationData", (FakeFeature_ResolveFact x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_ResolveFact( FakeFeature self, SFactOperationData factData );void ResolveComponents(int choiceID)RTTIre.Hooks.PlaceVoid( "FakeFeature", "ResolveComponents;Int32", (FakeFeature_ResolveComponents x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_ResolveComponents( FakeFeature self, int choiceID );bool OnItemTooltip(game.interactions.InteractionActivationEvent evt)RTTIre.Hooks.Place( "FakeFeature", "OnItemTooltip", (FakeFeature_OnItemTooltip x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct FakeFeature_OnItemTooltip( FakeFeature self, game.interactions.InteractionActivationEvent? evt );