예제 #1
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   this.userId = data.getLong();
   this.userName = data.getString();
   this.career = data.getInt();
   this.level = data.getInt();
 }
예제 #2
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   this.userId = data.getLong();
   this.formationId = data.getInt();
   placeIDArray2 = PlaceIDArray2.create();
   placeIDArray2.decode(data);
   this.zhanli = data.getInt();
 }
예제 #3
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   int size = data.getInt();
   for (int i = 0; i < size; i++) {
     IndexArrayItem item = IndexArrayItem.create();
     item.setIndex(data.getInt());
     list.add(item);
   }
 }
예제 #4
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   int size = data.getInt();
   for (int i = 0; i < size; i++) {
     PrincessPropertyArrayItem item = PrincessPropertyArrayItem.create();
     item.setPropertyKey(data.getInt());
     item.setLevel(data.getInt());
     item.setExperience(data.getInt());
     list.add(item);
   }
 }
예제 #5
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   int size = data.getInt();
   for (int i = 0; i < size; i++) {
     UserIdNameArrayItem item = UserIdNameArrayItem.create();
     item.setUserId(data.getLong());
     item.setUserName(data.getString());
     item.setCareer(data.getInt());
     item.setLevel(data.getInt());
     list.add(item);
   }
 }
예제 #6
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   int size = data.getInt();
   for (int i = 0; i < size; i++) {
     FortGameLogArrayItem item = FortGameLogArrayItem.create();
     item.setParamStr1(data.getString());
     item.setParamStr2(data.getString());
     list.add(item);
   }
 }
예제 #7
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   this.propertyKey = data.getInt();
   this.level = data.getInt();
   this.experience = data.getInt();
 }
예제 #8
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   this.index = data.getInt();
 }
예제 #9
0
 /** 解码 */
 @Override
 public void decode(Data data) {
   this.storyLineId = data.getInt();
 }