#include <l_localplayer.h>
|
template<> |
bool | readParam (lua_State *L, int index) |
|
static bool | isNaN (lua_State *L, int idx) |
|
template<typename T > |
static T | readParam (lua_State *L, int index) |
| Read a value using a template type T from Lua State L and index. More...
|
|
template<typename T > |
static T | readParam (lua_State *L, int index, const T &default_value) |
| Read a value using a template type T from Lua State L and index. More...
|
|
◆ LuaLocalPlayer()
◆ ~LuaLocalPlayer()
LuaLocalPlayer::~LuaLocalPlayer |
( |
| ) |
|
|
default |
◆ checkobject()
LuaLocalPlayer * LuaLocalPlayer::checkobject |
( |
lua_State * |
L, |
|
|
int |
narg |
|
) |
| |
|
static |
◆ create()
void LuaLocalPlayer::create |
( |
lua_State * |
L, |
|
|
LocalPlayer * |
m |
|
) |
| |
|
static |
◆ gc_object()
int LuaLocalPlayer::gc_object |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ getobject() [1/2]
LocalPlayer * LuaLocalPlayer::getobject |
( |
lua_State * |
L, |
|
|
int |
narg |
|
) |
| |
|
static |
◆ getobject() [2/2]
References m_localplayer.
Referenced by getobject(), l_get_armor_groups(), l_get_breath(), l_get_control(), l_get_hp(), l_get_last_look_horizontal(), l_get_last_look_vertical(), l_get_last_pos(), l_get_last_velocity(), l_get_liquid_viscosity(), l_get_movement(), l_get_movement_acceleration(), l_get_movement_speed(), l_get_name(), l_get_physics_override(), l_get_pos(), l_get_velocity(), l_get_wield_index(), l_get_wielded_item(), l_hud_add(), l_hud_change(), l_hud_get(), l_hud_remove(), l_is_attached(), l_is_climbing(), l_is_in_liquid(), l_is_in_liquid_stable(), l_is_touching_ground(), and l_swimming_vertical().
◆ l_get_armor_groups()
int LuaLocalPlayer::l_get_armor_groups |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_breath()
int LuaLocalPlayer::l_get_breath |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_control()
int LuaLocalPlayer::l_get_control |
( |
lua_State * |
L | ) |
|
|
staticprivate |
References PlayerControl::aux1, PlayerControl::dig, PlayerControl::down, getobject(), Player::getPlayerControl(), PlayerControl::jump, PlayerControl::left, PlayerControl::place, PlayerControl::right, PlayerControl::sneak, PlayerControl::up, and PlayerControl::zoom.
◆ l_get_hp()
int LuaLocalPlayer::l_get_hp |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_last_look_horizontal()
int LuaLocalPlayer::l_get_last_look_horizontal |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_last_look_vertical()
int LuaLocalPlayer::l_get_last_look_vertical |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_last_pos()
int LuaLocalPlayer::l_get_last_pos |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_last_velocity()
int LuaLocalPlayer::l_get_last_velocity |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_liquid_viscosity()
int LuaLocalPlayer::l_get_liquid_viscosity |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_movement()
int LuaLocalPlayer::l_get_movement |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_movement_acceleration()
int LuaLocalPlayer::l_get_movement_acceleration |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_movement_speed()
int LuaLocalPlayer::l_get_movement_speed |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_name()
int LuaLocalPlayer::l_get_name |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_override_pos()
static int LuaLocalPlayer::l_get_override_pos |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_physics_override()
int LuaLocalPlayer::l_get_physics_override |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_pos()
int LuaLocalPlayer::l_get_pos |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_velocity()
int LuaLocalPlayer::l_get_velocity |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_wield_index()
int LuaLocalPlayer::l_get_wield_index |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_wielded_item()
int LuaLocalPlayer::l_get_wielded_item |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_hud_add()
int LuaLocalPlayer::l_hud_add |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_hud_change()
int LuaLocalPlayer::l_hud_change |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_hud_get()
int LuaLocalPlayer::l_hud_get |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_hud_remove()
int LuaLocalPlayer::l_hud_remove |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_is_attached()
int LuaLocalPlayer::l_is_attached |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_is_climbing()
int LuaLocalPlayer::l_is_climbing |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_is_in_liquid()
int LuaLocalPlayer::l_is_in_liquid |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_is_in_liquid_stable()
int LuaLocalPlayer::l_is_in_liquid_stable |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_is_touching_ground()
int LuaLocalPlayer::l_is_touching_ground |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_swimming_vertical()
int LuaLocalPlayer::l_swimming_vertical |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ Register()
void LuaLocalPlayer::Register |
( |
lua_State * |
L | ) |
|
|
static |
◆ className
const char LuaLocalPlayer::className = "LocalPlayer" |
|
staticprivate |
◆ m_localplayer
◆ methods
const luaL_Reg LuaLocalPlayer::methods |
|
staticprivate |
The documentation for this class was generated from the following files: