LuaType LuaState::GetTableRaw(int index) const { return FromLuaType(lua_rawget(m_state, index)); }
LuaType LuaState::GetType(int index) const { return FromLuaType(lua_type(m_state, index)); }
LuaType LuaState::GetMetatable(const char* tname) const { return FromLuaType(luaL_getmetatable(m_state, tname)); }
LuaType LuaState::GetMetatable(const String& tname) const { return FromLuaType(luaL_getmetatable(m_state, tname.GetConstBuffer())); }
LuaType LuaState::GetGlobal(const char* name) const { return FromLuaType(lua_getglobal(m_state, name)); }
LuaType LuaState::GetGlobal(const String& name) const { return FromLuaType(lua_getglobal(m_state, name.GetConstBuffer())); }
LuaType LuaState::GetField(const char* fieldName, int tableIndex) const { return FromLuaType(lua_getfield(m_state, tableIndex, fieldName)); }
LuaType LuaState::GetField(const String& fieldName, int tableIndex) const { return FromLuaType(lua_getfield(m_state, tableIndex, fieldName.GetConstBuffer())); }
nzLuaType NzLuaInstance::GetMetatable(const NzString& tname) const { return FromLuaType(luaL_getmetatable(m_state, tname.GetConstBuffer())); }
nzLuaType NzLuaInstance::GetType(int index) const { return FromLuaType(lua_type(m_state, index)); }
nzLuaType NzLuaInstance::GetGlobal(const NzString& name) const { return FromLuaType(lua_getglobal(m_state, name.GetConstBuffer())); }
nzLuaType NzLuaInstance::GetGlobal(const char* name) const { return FromLuaType(lua_getglobal(m_state, name)); }
nzLuaType NzLuaInstance::GetField(const NzString& fieldName, int index) const { return FromLuaType(lua_getfield(m_state, index, fieldName.GetConstBuffer())); }
nzLuaType NzLuaInstance::GetField(const char* fieldName, int index) const { return FromLuaType(lua_getfield(m_state, index, fieldName)); }
LuaType LuaInstance::GetTable(int index) const { return FromLuaType(lua_gettable(m_state, index)); }