class
CCTVCamera
- 4 properties
- 7 functions
Extends game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
mesh | ent.MeshComponent? | 0xF0 | scripted |
camera | game.CameraComponent? | 0x100 | scripted |
isControlled | bool | 0x110 | scripted |
cachedPuppetID | ent.EntityID | 0x118 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "CCTVCamera", "OnRequestComponents", (CCTVCamera_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CCTVCamera_OnRequestComponents( CCTVCamera self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "CCTVCamera", "OnTakeControl", (CCTVCamera_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CCTVCamera_OnTakeControl( CCTVCamera self, ent.EntityResolveComponentsInterface ri );void Rotate(float deltaYaw)RTTIre.Hooks.PlaceVoid( "CCTVCamera", "Rotate;Float", (CCTVCamera_Rotate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CCTVCamera_Rotate( CCTVCamera self, float deltaYaw );void TakeControl(bool val)RTTIre.Hooks.PlaceVoid( "CCTVCamera", "TakeControl;Bool", (CCTVCamera_TakeControl x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CCTVCamera_TakeControl( CCTVCamera self, bool val );bool OnAreaEnter(ent.AreaEnteredEvent trigger)RTTIre.Hooks.Place( "CCTVCamera", "OnAreaEnter", (CCTVCamera_OnAreaEnter x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CCTVCamera_OnAreaEnter( CCTVCamera self, ent.AreaEnteredEvent? trigger );bool OnAreaExit(ent.AreaExitedEvent trigger)RTTIre.Hooks.Place( "CCTVCamera", "OnAreaExit", (CCTVCamera_OnAreaExit x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CCTVCamera_OnAreaExit( CCTVCamera self, ent.AreaExitedEvent? trigger );bool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIre.Hooks.Place( "CCTVCamera", "OnAction", (CCTVCamera_OnAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CCTVCamera_OnAction( CCTVCamera self, game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer );