class
InspectionComponent
- 15 properties
- 31 functions
Extends game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
slot | string | 0x0 | scripted |
cumulatedObjRotationX | float | 0x20 | scripted |
cumulatedObjRotationY | float | 0x24 | scripted |
maxObjOffset | float | 0x28 | scripted |
minObjOffset | float | 0x2C | scripted |
zoomSpeed | float | 0x30 | scripted |
timeToScan | float | 0x34 | scripted |
isPlayerInspecting | bool | 0x38 | scripted |
activeClue | string | 0x40 | scripted |
isScanAvailable | bool | 0x60 | scripted |
scanningInProgress | bool | 0x61 | scripted |
objectScanned | bool | 0x62 | scripted |
animFeature | AnimFeature_Inspection? | 0x68 | scripted |
listener | IScriptable? | 0x78 | scripted |
lastInspectedObjID | ent.EntityID | 0x88 | scripted |
Functions
bool OnTakeControl(ent.EntityResolveComponentsInterface ri)RTTIre.Hooks.Place( "InspectionComponent", "OnTakeControl", (InspectionComponent_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_OnTakeControl( InspectionComponent self, ent.EntityResolveComponentsInterface ri );bool OnInspectionEvent(InspectionEvent evt)RTTIre.Hooks.Place( "InspectionComponent", "OnInspectionEvent", (InspectionComponent_OnInspectionEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_OnInspectionEvent( InspectionComponent self, InspectionEvent? evt );bool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIre.Hooks.Place( "InspectionComponent", "OnAction", (InspectionComponent_OnAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_OnAction( InspectionComponent self, game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer );void RotateInInspection(float deltaX, float deltaY)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "RotateInInspection;FloatFloat", (InspectionComponent_RotateInInspection x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_RotateInInspection( InspectionComponent self, float deltaX, float deltaY );void RotateInInspectionByMouse(float deltaX, float deltaY)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "RotateInInspectionByMouse;FloatFloat", (InspectionComponent_RotateInInspectionByMouse x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_RotateInInspectionByMouse( InspectionComponent self, float deltaX, float deltaY );void ProcessZoom(float val)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ProcessZoom;Float", (InspectionComponent_ProcessZoom x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ProcessZoom( InspectionComponent self, float val );void ToggleInspection(bool enabled)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ToggleInspection;Bool", (InspectionComponent_ToggleInspection x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ToggleInspection( InspectionComponent self, bool enabled );bool OnInspectTrigger(InspectionTriggerEvent evt)RTTIre.Hooks.Place( "InspectionComponent", "OnInspectTrigger", (InspectionComponent_OnInspectTrigger x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_OnInspectTrigger( InspectionComponent self, InspectionTriggerEvent? evt );bool OnPreScanEvent(ScanEvent evt)RTTIre.Hooks.Place( "InspectionComponent", "OnPreScanEvent", (InspectionComponent_OnPreScanEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_OnPreScanEvent( InspectionComponent self, ScanEvent? evt );void DisplayScanningUI(bool show)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "DisplayScanningUI;Bool", (InspectionComponent_DisplayScanningUI x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_DisplayScanningUI( InspectionComponent self, bool show );void ScanInspectableItem()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ScanInspectableItem;", (InspectionComponent_ScanInspectableItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ScanInspectableItem( InspectionComponent self );void OnUpdate(float deltaTime)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "OnUpdate;Float", (InspectionComponent_OnUpdate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_OnUpdate( InspectionComponent self, float deltaTime );void SetObjectOffsets(float offset, float adsOffset)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "SetObjectOffsets;FloatFloat", (InspectionComponent_SetObjectOffsets x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_SetObjectOffsets( InspectionComponent self, float offset, float adsOffset );void SetTimeToScan(float timeVal)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "SetTimeToScan;Float", (InspectionComponent_SetTimeToScan x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_SetTimeToScan( InspectionComponent self, float timeVal );void SetInputListening(bool enabled)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "SetInputListening;Bool", (InspectionComponent_SetInputListening x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_SetInputListening( InspectionComponent self, bool enabled );void ResetScanningState()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ResetScanningState;", (InspectionComponent_ResetScanningState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ResetScanningState( InspectionComponent self );void ExitInspect()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ExitInspect;", (InspectionComponent_ExitInspect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ExitInspect( InspectionComponent self );void ToggleExitInspect()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ToggleExitInspect;", (InspectionComponent_ToggleExitInspect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ToggleExitInspect( InspectionComponent self );void LootInspectItem()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "LootInspectItem;", (InspectionComponent_LootInspectItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_LootInspectItem( InspectionComponent self );void ToggleInspectObject(bool show)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ToggleInspectObject;Bool", (InspectionComponent_ToggleInspectObject x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ToggleInspectObject( InspectionComponent self, bool show );void PlaceItemInInspectSlot(string itemTDBIDString, float offset)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "PlaceItemInInspectSlot;script_ref<String>Float", (InspectionComponent_PlaceItemInInspectSlot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_PlaceItemInInspectSlot( InspectionComponent self, string itemTDBIDString, float offset );void CleanupInspectSlot(bool wasLooted)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "CleanupInspectSlot;Bool", (InspectionComponent_CleanupInspectSlot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_CleanupInspectSlot( InspectionComponent self, bool wasLooted );void EmptyInspectSlot()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "EmptyInspectSlot;", (InspectionComponent_EmptyInspectSlot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_EmptyInspectSlot( InspectionComponent self );void RemoveInspectedItem()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "RemoveInspectedItem;", (InspectionComponent_RemoveInspectedItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_RemoveInspectedItem( InspectionComponent self );void ResetAnimFeature()RTTIre.Hooks.PlaceVoid( "InspectionComponent", "ResetAnimFeature;", (InspectionComponent_ResetAnimFeature x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_ResetAnimFeature( InspectionComponent self );void SetInspectionStage(int stage)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "SetInspectionStage;Int32", (InspectionComponent_SetInspectionStage x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_SetInspectionStage( InspectionComponent self, int stage );bool GetIsPlayerInspecting()RTTIre.Hooks.Place( "InspectionComponent", "GetIsPlayerInspecting;", (InspectionComponent_GetIsPlayerInspecting x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_GetIsPlayerInspecting( InspectionComponent self );void SetIsPlayerInspecting(bool enabled)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "SetIsPlayerInspecting;Bool", (InspectionComponent_SetIsPlayerInspecting x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_SetIsPlayerInspecting( InspectionComponent self, bool enabled );ent.EntityID GetLastInspectedObjectID()RTTIre.Hooks.Place( "InspectionComponent", "GetLastInspectedObjectID;", (InspectionComponent_GetLastInspectedObjectID x) => { return re.Hooks.CallOriginal<re.msgpack.ent.EntityID>(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_GetLastInspectedObjectID( InspectionComponent self );void SetLastInspectedObjectID(ent.EntityID newID)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "SetLastInspectedObjectID;EntityID", (InspectionComponent_SetLastInspectedObjectID x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_SetLastInspectedObjectID( InspectionComponent self, ent.EntityID newID );void RememberInspectedObjID(ent.EntityID id)RTTIre.Hooks.PlaceVoid( "InspectionComponent", "RememberInspectedObjID;EntityID", (InspectionComponent_RememberInspectedObjID x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InspectionComponent_RememberInspectedObjID( InspectionComponent self, ent.EntityID id );