public static int BlockProcessMsg(IntPtr l) { int result; try { NetWorkClient netWorkClient = (NetWorkClient)LuaObject.checkSelf(l); bool isBlock; LuaObject.checkType(l, 2, out isBlock); netWorkClient.BlockProcessMsg(isBlock); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }