DayZ 1.24
|
Static Protected Member Functions | |
static void | TeleportAtCursor () |
static void | TeleportAtCursorEx () |
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) |
void | OnRPCSetPlayerPosition (PlayerBase player, ParamsReadContext ctx) |
void | OnRPCSetPlayerDirection (PlayerBase player, ParamsReadContext ctx) |
Static Protected Attributes | |
static const float | TELEPORT_DISTANCE_MAX = 1000 |
static const float | TELEPORT_DISTANCE_MAX_EX = 500 |
Definition at line 1 of file DeveloperTeleport.c.
|
inlinestaticprotected |
Definition at line 134 of file DeveloperTeleport.c.
References OnRPCSetPlayerDirection(), and OnRPCSetPlayerPosition().
Referenced by PluginBase::OnRPC().
|
inlinestaticprotected |
Definition at line 157 of file DeveloperTeleport.c.
References SetPlayerDirection().
Referenced by OnRPC().
|
inlinestaticprotected |
Definition at line 144 of file DeveloperTeleport.c.
References SetPlayerPosition().
Referenced by OnRPC().
|
inlinestaticprotected |
Definition at line 113 of file DeveloperTeleport.c.
References GetGame().
Referenced by OnRPCSetPlayerDirection(), and TeleportAtCursorEx().
|
inlinestaticprotected |
Definition at line 78 of file DeveloperTeleport.c.
References dBodySetAngularVelocity(), GetGame(), Math::PI, Math::RAD2DEG, Math::RandomFloat(), SetVelocity(), and vector::Zero.
Referenced by OnRPCSetPlayerPosition(), PluginBase::Teleport(), TeleportAtCursor(), and TeleportAtCursorEx().
Definition at line 5 of file DeveloperTeleport.c.
References Class::CastTo(), vector::Distance(), DiagMenu::GetBool(), GetGame(), GetPlayer(), DeveloperFreeCamera::IsFreeCameraEnabled(), Debug::LogWarning(), DayZPhysics::RaycastRV(), SetPlayerPosition(), and TELEPORT_DISTANCE_MAX.
Definition at line 41 of file DeveloperTeleport.c.
References Class::CastTo(), DiagMenu::GetBool(), GetGame(), GetPlayer(), DeveloperFreeCamera::IsFreeCameraEnabled(), SetPlayerDirection(), SetPlayerPosition(), DayZPhysics::SphereCastBullet(), and TELEPORT_DISTANCE_MAX_EX.
Referenced by DeveloperFreeCamera::DisableFreeCamera(), and PluginBase::TeleportAtCursor().
Definition at line 3 of file DeveloperTeleport.c.
Referenced by TeleportAtCursor().
Definition at line 40 of file DeveloperTeleport.c.
Referenced by TeleportAtCursorEx().