/** 编码 */ @Override public void encode(Data data) { data.writeLong(this.userId); data.writeString(this.userName); data.writeInt(this.career); data.writeInt(this.level); }
/** 编码 */ @Override public void encode(Data data) { data.writeInt(list.size()); for (IndexArrayItem item : list) { data.writeInt(item.getIndex()); } }
/** 编码 */ @Override public void encode(Data data) { data.writeLong(this.userId); data.writeInt(this.formationId); placeIDArray2.encode(data); data.writeInt(this.zhanli); }
/** 编码 */ @Override public void encode(Data data) { data.writeInt(list.size()); for (PrincessPropertyArrayItem item : list) { data.writeInt(item.getPropertyKey()); data.writeInt(item.getLevel()); data.writeInt(item.getExperience()); } }
/** 编码 */ @Override public void encode(Data data) { data.writeInt(list.size()); for (UserIdNameArrayItem item : list) { data.writeLong(item.getUserId()); data.writeString(item.getUserName()); data.writeInt(item.getCareer()); data.writeInt(item.getLevel()); } }
/** 编码 */ @Override public void encode(Data data) { data.writeInt(list.size()); for (FortGameLogArrayItem item : list) { data.writeString(item.getParamStr1()); data.writeString(item.getParamStr2()); } }
/** 编码 */ @Override public void encode(Data data) { data.writeInt(this.propertyKey); data.writeInt(this.level); data.writeInt(this.experience); }
/** 编码 */ @Override public void encode(Data data) { data.writeInt(this.index); }
/** 编码 */ @Override public void encode(Data data) { data.writeInt(this.storyLineId); }