class game
TargetingComponent
game.TargetingComponent
- 5 properties
- 2 functions
Extends ent.IPlacedComponent ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
isPrimary | bool | 0x1B0 | |
isDirectional | bool | 0x1B2 | |
aimAssistData | TDBID[] | 0x120 | |
isEnabled | bool | 0x8B | |
alwaysInTestRange | bool | 0x1B1 |
Functions
bool IsAimAssistEnabled()RTTIre.Hooks.Place( "gameTargetingComponent", "IsAimAssistEnabled", (TargetingComponent_IsAimAssistEnabled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct TargetingComponent_IsAimAssistEnabled( game.TargetingComponent self );void OnTargetHit()RTTIre.Hooks.PlaceVoid( "gameTargetingComponent", "OnTargetHit", (TargetingComponent_OnTargetHit x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct TargetingComponent_OnTargetHit( game.TargetingComponent self );