static int GetSkillTable(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); StaticDataManager obj = (StaticDataManager)ToLua.CheckObject <StaticDataManager>(L, 1); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); LuaInterface.LuaTable o = obj.GetSkillTable(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }