Static Private Member Functions | |
| static void | TeleportAtCursor () |
| static void | TeleportAtCursorEx () |
| static Object | GetPlayerRootForTeleporting (PlayerBase player) |
| static void | SetPlayerPosition (PlayerBase player, vector position, bool breakSync=false) |
| static void | SetPlayerDirection (PlayerBase player, vector direction) |
| static void | OnRPC (PlayerBase player, int rpc_type, ParamsReadContext ctx) |
| static protected void | OnRPCSetPlayerPosition (PlayerBase player, ParamsReadContext ctx) |
| static protected void | OnRPCSetPlayerDirection (PlayerBase player, ParamsReadContext ctx) |
Static Private Attributes | |
| static protected const float | TELEPORT_DISTANCE_MAX = 1000 |
| static protected const float | TELEPORT_DISTANCE_MAX_EX = 500 |
|
inlinestaticprivate |
References Class::CastTo(), and HumanCommandVehicle::GetTransport().
Referenced by SetPlayerDirection(), and SetPlayerPosition().
|
inlinestaticprivate |
References OnRPCSetPlayerDirection(), and OnRPCSetPlayerPosition().
Referenced by PluginBase::OnRPC().
|
inlinestaticprivate |
References Serializer::Read(), and SetPlayerDirection().
Referenced by OnRPC().
|
inlinestaticprivate |
References Serializer::Read(), and SetPlayerPosition().
Referenced by OnRPC().
|
inlinestaticprivate |
References g_Game, and GetPlayerRootForTeleporting().
Referenced by OnRPCSetPlayerDirection(), PluginBase::SetDirection(), and TeleportAtCursorEx().
|
inlinestaticprivate |
References dBodySetAngularVelocity(), g_Game, GetPlayerRootForTeleporting(), Math::PI, Math::RAD2DEG, Math::RandomFloat(), SetVelocity(), and vector::Zero.
Referenced by OnRPCSetPlayerPosition(), PluginBase::Teleport(), TeleportAtCursor(), and TeleportAtCursorEx().
|
inlinestaticprivate |
|
inlinestaticprivate |
|
staticprivate |
Referenced by TeleportAtCursor().
|
staticprivate |
Referenced by TeleportAtCursorEx().