Esempio n. 1
0
 /** 编码 */
 @Override
 public void encode(Data data) {
   data.writeLong(this.userId);
   data.writeString(this.userName);
   data.writeInt(this.career);
   data.writeInt(this.level);
 }
Esempio n. 2
0
 /** 编码 */
 @Override
 public void encode(Data data) {
   data.writeInt(list.size());
   for (IndexArrayItem item : list) {
     data.writeInt(item.getIndex());
   }
 }
Esempio n. 3
0
 /** 编码 */
 @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());
   }
 }
Esempio n. 5
0
 /** 编码 */
 @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());
   }
 }
Esempio n. 6
0
 /** 编码 */
 @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);
 }
Esempio n. 8
0
 /** 编码 */
 @Override
 public void encode(Data data) {
   data.writeInt(this.index);
 }
Esempio n. 9
0
 /** 编码 */
 @Override
 public void encode(Data data) {
   data.writeInt(this.storyLineId);
 }