public void PushNil() { LuaAPI.lua_pushnil(this.m_lua); }
public void GetField(int index, string key) { LuaAPI.lua_getfield(this.m_lua, index, key); }
public LuaType Type(int index) { return((LuaType)LuaAPI.lua_type(this.m_lua, index)); }
public void PushLongId(long v) { LuaAPI.lua_pushID(this.m_lua, v); }
public int Error() { return(LuaAPI.lua_error(this.m_lua)); }
public double ToNumber(int index) { return(LuaAPI.lua_tonumber(this.m_lua, index)); }
public void PushLongInterger(long n) { LuaAPI.lua_pushlong(this.m_lua, n); }
public void RawSet(int index) { LuaAPI.lua_rawset(this.m_lua, index); }
public void RawSetI(int index, int n) { LuaAPI.lua_rawseti(this.m_lua, index, n); }
public bool RawEqual(int index1, int index2) { return(LuaAPI.lua_rawequal(this.m_lua, index1, index2) != 0); }
public int RawLen(int index) { return(LuaAPI.lua_objlen(this.m_lua, index)); }
public void PushValue(int index) { LuaAPI.lua_pushvalue(this.m_lua, index); }
public void PushString(string s) { // int len = 0; // IntPtr ptr = LuaAPI.NativeUtf8FromString(s, ref len); LuaAPI.lua_pushstring(this.m_lua, s); }
public void PushNumber(double n) { LuaAPI.lua_pushnumber(this.m_lua, n); }
public int ToInteger(int index) { return((int)LuaAPI.lua_tonumber(this.m_lua, index)); }
public bool CheckStack(int size) { return(LuaAPI.lua_checkstack(this.m_lua, size) != 0); }
public void Concat(int n) { LuaAPI.lua_concat(this.m_lua, n); }
public void Remove(int index) { LuaAPI.lua_remove(this.m_lua, index); }
public static IntPtr Create() { return(LuaAPI.luaL_newstate()); }
public void Replace(int index) { LuaAPI.lua_replace(this.m_lua, index); }
public long ReadLongId(int index) { long longValue = LuaAPI.lua_toID(this.m_lua, index); return(longValue); }
public int NewMetaTable(string name) { return(LuaAPI.luaL_newmetatable(this.m_lua, name)); }
public void CreateTable(int narray, int nrec) { LuaAPI.lua_createtable(this.m_lua, narray, nrec); }
public void SetTable(int index) { LuaAPI.lua_settable(this.m_lua, index); }
public GCHandle ToUserData(int index) { return(GCHandle.FromIntPtr(LuaAPI.lua_topointer(this.m_lua, index))); }
public void SetTop(int top) { LuaAPI.lua_settop(this.m_lua, top); }
public void GetGlobal(string name) { LuaAPI.lua_getfield(this.m_lua, LuaAPI.LUA_GLOBALSINDEX, name); }
public bool ToBoolean(int index) { return(LuaAPI.lua_toboolean(this.m_lua, index) != 0); }
public bool GetMetaTable(int index) { return(LuaAPI.lua_getmetatable(this.m_lua, index) != 0); }
public void PushInteger(int n) { LuaAPI.luaL_pushinteger(this.m_lua, n); }