class
Target
- 3 properties
- 6 functions
Extends IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
target | WeakHandle<game.Object> | 0x0 | scripted |
isInteresting | bool | 0x10 | scripted |
isVisible | bool | 0x11 | scripted |
Functions
void CreateTarget(WeakHandle<game.Object> currentTarget, bool interesting, bool visible)RTTIre.Hooks.PlaceVoid( "Target", "CreateTarget;GameObjectBoolBool", (Target_CreateTarget x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Target_CreateTarget( Target self, WeakHandle<game.Object> currentTarget, bool interesting, bool visible );WeakHandle<game.Object> GetTarget()RTTIbool IsInteresting()RTTIre.Hooks.Place( "Target", "IsInteresting;", (Target_IsInteresting x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Target_IsInteresting( Target self );bool IsVisible()RTTIre.Hooks.Place( "Target", "IsVisible;", (Target_IsVisible x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Target_IsVisible( Target self );void SetIsInteresting(bool interestingChange)RTTIre.Hooks.PlaceVoid( "Target", "SetIsInteresting;Bool", (Target_SetIsInteresting x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Target_SetIsInteresting( Target self, bool interestingChange );void SetIsVisible(bool _isVisible)RTTIre.Hooks.PlaceVoid( "Target", "SetIsVisible;Bool", (Target_SetIsVisible x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Target_SetIsVisible( Target self, bool _isVisible );