class
InspectableObjectComponent
- 6 properties
- 7 functions
Extends game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
factToAdd | CName | 0x0 | scripted |
itemID | string | 0x8 | scripted |
offset | float | 0x28 | scripted |
adsOffset | float | 0x2C | scripted |
timeToScan | float | 0x30 | scripted |
slot | string | 0x38 | scripted |
Functions
InspectableObjectComponentPS? GetPS()overrideRTTIre.Hooks.Place( "InspectableObjectComponent", "GetPS", (InspectableObjectComponent_GetPS x) => { return re.Hooks.CallOriginal<re.msgpack.InspectableObjectComponentPS>(); } ); [Msgpack.Gen] public readonly partial record struct InspectableObjectComponent_GetPS( InspectableObjectComponent self );void InspectObject(game.Object activator)RTTIre.Hooks.PlaceVoid( "InspectableObjectComponent", "InspectObject;GameObject", (InspectableObjectComponent_InspectObject x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectableObjectComponent_InspectObject( InspectableObjectComponent self, game.Object? activator );bool OnInspectEvent(ObjectInspectEvent evt)RTTIre.Hooks.Place( "InspectableObjectComponent", "OnInspectEvent", (InspectableObjectComponent_OnInspectEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectableObjectComponent_OnInspectEvent( InspectableObjectComponent self, ObjectInspectEvent? evt );void GiveInspectableItem(game.Object activator)RTTIre.Hooks.PlaceVoid( "InspectableObjectComponent", "GiveInspectableItem;GameObject", (InspectableObjectComponent_GiveInspectableItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectableObjectComponent_GiveInspectableItem( InspectableObjectComponent self, game.Object? activator );bool OnInspectItem(InspectItemInspectionEvent evt)RTTIre.Hooks.Place( "InspectableObjectComponent", "OnInspectItem", (InspectableObjectComponent_OnInspectItem x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectableObjectComponent_OnInspectItem( InspectableObjectComponent self, InspectItemInspectionEvent? evt );bool OnLootItem(InspectItemInspectionEvent evt)RTTIre.Hooks.Place( "InspectableObjectComponent", "OnLootItem", (InspectableObjectComponent_OnLootItem x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectableObjectComponent_OnLootItem( InspectableObjectComponent self, InspectItemInspectionEvent? evt );void SetInspectableObjectState(bool b)RTTIre.Hooks.PlaceVoid( "InspectableObjectComponent", "SetInspectableObjectState;Bool", (InspectableObjectComponent_SetInspectableObjectState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectableObjectComponent_SetInspectableObjectState( InspectableObjectComponent self, bool b );