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()));
	}
Esempio n. 9
0
nzLuaType NzLuaInstance::GetMetatable(const NzString& tname) const
{
	return FromLuaType(luaL_getmetatable(m_state, tname.GetConstBuffer()));
}
Esempio n. 10
0
nzLuaType NzLuaInstance::GetType(int index) const
{
	return FromLuaType(lua_type(m_state, index));
}
Esempio n. 11
0
nzLuaType NzLuaInstance::GetGlobal(const NzString& name) const
{
	return FromLuaType(lua_getglobal(m_state, name.GetConstBuffer()));
}
Esempio n. 12
0
nzLuaType NzLuaInstance::GetGlobal(const char* name) const
{
	return FromLuaType(lua_getglobal(m_state, name));
}
Esempio n. 13
0
nzLuaType NzLuaInstance::GetField(const NzString& fieldName, int index) const
{
	return FromLuaType(lua_getfield(m_state, index, fieldName.GetConstBuffer()));
}
Esempio n. 14
0
nzLuaType NzLuaInstance::GetField(const char* fieldName, int index) const
{
	return FromLuaType(lua_getfield(m_state, index, fieldName));
}
Esempio n. 15
0
	LuaType LuaInstance::GetTable(int index) const
	{
		return FromLuaType(lua_gettable(m_state, index));
	}