@Override protected void readFromBuffer(ByteArray buff, int limit) { int _loc_5 = 0; while (buff.remaining() > limit) { _loc_5 = ReadUtils.read$TYPE_UINT32(buff); switch (_loc_5 >> 3) { case 1: if (userId != 0) { show("Bad data format: ChatPrivateQueryRsp.userId cannot be set twice."); } this.userId = ReadUtils.read$TYPE_INT32(buff); break; case 2: if (userName != null) { show("Bad data format: ChatPrivateQueryRsp.userName cannot be set twice."); } this.userName = ReadUtils.read$TYPE_STRING(buff); break; default: error("unknown data", buff); return; } } }