public PrincessPropertyArrayItem addData(int propertyKey, int level, int experience) {
   PrincessPropertyArrayItem item = new PrincessPropertyArrayItem();
   item.setPropertyKey(propertyKey);
   item.setLevel(level);
   item.setExperience(experience);
   list.add(item);
   return item;
 }
 /** 解码 */
 @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);
   }
 }