class cp
PlayerSystem
cp.PlayerSystem
- 0 properties
- 17 functions
Extends game.PlayerSystem game.IPlayerSystem game.IGameSystem IScriptable ISerializable
Properties
None.
Functions
uint FindPlayerControlledObjects(Vector4 position, float radius, bool includeLocalPlayers, bool includeRemotePlayers, out game.Object[] outPlayerGameObjects)RTTIre.Hooks.Place( "cpPlayerSystem", "FindPlayerControlledObjects", (PlayerSystem_FindPlayerControlledObjects x) => { return re.Hooks.CallOriginal<re.msgpack.Uint>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_FindPlayerControlledObjects( cp.PlayerSystem self, Vector4 position, float radius, bool includeLocalPlayers, bool includeRemotePlayers, game.Object[] outPlayerGameObjects );ScriptGameInstance GetGameInstance()RTTIre.Hooks.Place( "cpPlayerSystem", "GetGameInstance", (PlayerSystem_GetGameInstance x) => { return re.Hooks.CallOriginal<re.msgpack.ScriptGameInstance>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_GetGameInstance( cp.PlayerSystem self );game.Object? GetLocalPlayerControlledGameObject()RTTIre.Hooks.Place( "cpPlayerSystem", "GetLocalPlayerControlledGameObject", (PlayerSystem_GetLocalPlayerControlledGameObject x) => { return re.Hooks.CallOriginal<re.msgpack.game.GameObject>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_GetLocalPlayerControlledGameObject( cp.PlayerSystem self );game.Object? GetLocalPlayerMainGameObject()RTTIre.Hooks.Place( "cpPlayerSystem", "GetLocalPlayerMainGameObject", (PlayerSystem_GetLocalPlayerMainGameObject x) => { return re.Hooks.CallOriginal<re.msgpack.game.GameObject>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_GetLocalPlayerMainGameObject( cp.PlayerSystem self );bool IsCPOControlSchemeForced()RTTIre.Hooks.Place( "cpPlayerSystem", "IsCPOControlSchemeForced", (PlayerSystem_IsCPOControlSchemeForced x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_IsCPOControlSchemeForced( cp.PlayerSystem self );bool IsInFreeCamera()RTTIre.Hooks.Place( "cpPlayerSystem", "IsInFreeCamera", (PlayerSystem_IsInFreeCamera x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_IsInFreeCamera( cp.PlayerSystem self );void LocalPlayerControlExistingObject(ent.EntityID entityID)RTTIre.Hooks.PlaceVoid( "cpPlayerSystem", "LocalPlayerControlExistingObject", (PlayerSystem_LocalPlayerControlExistingObject x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_LocalPlayerControlExistingObject( cp.PlayerSystem self, ent.EntityID entityID );uint RegisterPlayerPuppetAttachedCallback(IScriptable objectt, CName func)RTTIre.Hooks.Place( "cpPlayerSystem", "RegisterPlayerPuppetAttachedCallback", (PlayerSystem_RegisterPlayerPuppetAttachedCallback x) => { return re.Hooks.CallOriginal<re.msgpack.Uint>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_RegisterPlayerPuppetAttachedCallback( cp.PlayerSystem self, IScriptable? objectt, CName func );uint RegisterPlayerPuppetDetachedCallback(IScriptable objectt, CName func)RTTIre.Hooks.Place( "cpPlayerSystem", "RegisterPlayerPuppetDetachedCallback", (PlayerSystem_RegisterPlayerPuppetDetachedCallback x) => { return re.Hooks.CallOriginal<re.msgpack.Uint>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_RegisterPlayerPuppetDetachedCallback( cp.PlayerSystem self, IScriptable? objectt, CName func );void SetFreeCameraTransform(Transform newTransform)RTTIre.Hooks.PlaceVoid( "cpPlayerSystem", "SetFreeCameraTransform", (PlayerSystem_SetFreeCameraTransform x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_SetFreeCameraTransform( cp.PlayerSystem self, Transform newTransform );void UnregisterPlayerPuppetAttachedCallback(uint callbackID)RTTIre.Hooks.PlaceVoid( "cpPlayerSystem", "UnregisterPlayerPuppetAttachedCallback", (PlayerSystem_UnregisterPlayerPuppetAttachedCallback x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_UnregisterPlayerPuppetAttachedCallback( cp.PlayerSystem self, uint callbackID );void UnregisterPlayerPuppetDetachedCallback(uint callbackID)RTTIre.Hooks.PlaceVoid( "cpPlayerSystem", "UnregisterPlayerPuppetDetachedCallback", (PlayerSystem_UnregisterPlayerPuppetDetachedCallback x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_UnregisterPlayerPuppetDetachedCallback( cp.PlayerSystem self, uint callbackID );string GetPossessedByJohnnyFactName()RTTIre.Hooks.Place( "cpPlayerSystem", "GetPossessedByJohnnyFactName;", (PlayerSystem_GetPossessedByJohnnyFactName x) => { return re.Hooks.CallOriginal<re.msgpack.Str>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_GetPossessedByJohnnyFactName( cp.PlayerSystem self );bool OnGameRestored()RTTIre.Hooks.Place( "cpPlayerSystem", "OnGameRestored", (PlayerSystem_OnGameRestored x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_OnGameRestored( cp.PlayerSystem self );bool OnShutdown()RTTIre.Hooks.Place( "cpPlayerSystem", "OnShutdown", (PlayerSystem_OnShutdown x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_OnShutdown( cp.PlayerSystem self );bool OnLocalPlayerChanged(WeakHandle<game.Object> controlledObject)RTTIre.Hooks.Place( "cpPlayerSystem", "OnLocalPlayerChanged", (PlayerSystem_OnLocalPlayerChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_OnLocalPlayerChanged( cp.PlayerSystem self, WeakHandle<game.Object> controlledObject );bool OnLocalPlayerPossesionChanged(game.data.PlayerPossesion playerPossesion)RTTIre.Hooks.Place( "cpPlayerSystem", "OnLocalPlayerPossesionChanged", (PlayerSystem_OnLocalPlayerPossesionChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerSystem_OnLocalPlayerPossesionChanged( cp.PlayerSystem self, game.data.PlayerPossesion playerPossesion );