static int SetLuaTable(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); NetworkManager obj = (NetworkManager)ToLua.CheckObject <NetworkManager>(L, 1); LuaTable arg0 = ToLua.CheckLuaTable(L, 2); obj.SetLuaTable(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }