예제 #1
0
 public FortGameLogArrayItem addData(String paramStr1, String paramStr2) {
   FortGameLogArrayItem item = new FortGameLogArrayItem();
   item.setParamStr1(paramStr1);
   item.setParamStr2(paramStr2);
   list.add(item);
   return item;
 }
예제 #2
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);
   }
 }