コード例 #1
0
 @Override
 protected boolean writeImpl() {
   writeInteger(humanLegionTitleInfo.getTitleId());
   writeString(humanLegionTitleInfo.getTitelName());
   writeBoolean(humanLegionTitleInfo.getIsAllProperty());
   writeInteger(humanLegionTitleInfo.getPropertyId());
   writeInteger(humanLegionTitleInfo.getPropertyRate());
   writeString(humanLegionTitleInfo.getEndTime());
   writeBoolean(humanLegionTitleInfo.getValid());
   return true;
 }
コード例 #2
0
 @Override
 protected boolean readImpl() {
   humanLegionTitleInfo = new com.hifun.soul.gameserver.legion.info.HumanLegionTitleInfo();
   humanLegionTitleInfo.setTitleId(readInteger());
   humanLegionTitleInfo.setTitelName(readString());
   humanLegionTitleInfo.setIsAllProperty(readBoolean());
   humanLegionTitleInfo.setPropertyId(readInteger());
   humanLegionTitleInfo.setPropertyRate(readInteger());
   humanLegionTitleInfo.setEndTime(readString());
   humanLegionTitleInfo.setValid(readBoolean());
   return true;
 }