static int GetTable(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); LuaFramework.LuaManager obj = (LuaFramework.LuaManager)ToLua.CheckObject(L, 1, typeof(LuaFramework.LuaManager)); string arg0 = ToLua.CheckString(L, 2); LuaInterface.LuaTable o = obj.GetTable(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
//获取luatable public static LuaTable GetTable(string table) { LuaManager luaMgr = AppFacade.Instance.GetManager <LuaManager>(ManagerName.Lua); return(luaMgr.GetTable(table)); }