// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: fish_dragon_palace.proto

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "fish_dragon_palace.pb.h"

#include <algorithm>

#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)

namespace fish_protocols {

namespace {

const ::google::protobuf::Descriptor* DragonPalaceRankInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  DragonPalaceRankInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2l_get_dragon_palace_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* ExchangePriceInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  ExchangePriceInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* ExchangeItemInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  ExchangeItemInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_info_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetl2c_get_dragon_palace_info_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2l_get_dragon_palace_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetl2c_get_dragon_palace_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2l_dragon_palace_exchange_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2l_dragon_palace_exchange_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetl2c_dragon_palace_exchange_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetl2c_dragon_palace_exchange_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2l_dragon_add_exchange_count_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2l_dragon_add_exchange_count_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetl2c_dragon_add_exchange_count_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetl2c_dragon_add_exchange_count_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2l_daily_dimensity_exchange_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2l_daily_dimensity_exchange_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetl2c_daily_dimensity_exchange_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetl2c_daily_dimensity_exchange_result_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto() {
  protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "fish_dragon_palace.proto");
  GOOGLE_CHECK(file != NULL);
  DragonPalaceRankInfo_descriptor_ = file->message_type(0);
  static const int DragonPalaceRankInfo_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, playerid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, nickname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, gaindimensity_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, headid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, frameid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, gender_),
  };
  DragonPalaceRankInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      DragonPalaceRankInfo_descriptor_,
      DragonPalaceRankInfo::default_instance_,
      DragonPalaceRankInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(DragonPalaceRankInfo));
  packetc2l_get_dragon_palace_info_descriptor_ = file->message_type(1);
  static const int packetc2l_get_dragon_palace_info_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, isgetrankinfo_),
  };
  packetc2l_get_dragon_palace_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2l_get_dragon_palace_info_descriptor_,
      packetc2l_get_dragon_palace_info::default_instance_,
      packetc2l_get_dragon_palace_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2l_get_dragon_palace_info));
  ExchangePriceInfo_descriptor_ = file->message_type(2);
  static const int ExchangePriceInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, exchangeid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, price_),
  };
  ExchangePriceInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      ExchangePriceInfo_descriptor_,
      ExchangePriceInfo::default_instance_,
      ExchangePriceInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(ExchangePriceInfo));
  ExchangeItemInfo_descriptor_ = file->message_type(3);
  static const int ExchangeItemInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, itemid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, itemcount_),
  };
  ExchangeItemInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      ExchangeItemInfo_descriptor_,
      ExchangeItemInfo::default_instance_,
      ExchangeItemInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(ExchangeItemInfo));
  packetl2c_get_dragon_palace_info_result_descriptor_ = file->message_type(4);
  static const int packetl2c_get_dragon_palace_info_result_offsets_[12] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dimensitycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangecount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangecountex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, discountexchangecountlv_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, curranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, gaindimensitycurweek_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, selffunbufflist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, priceinfolist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangeaddcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dailydimensity_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dragonslayercheck_),
  };
  packetl2c_get_dragon_palace_info_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetl2c_get_dragon_palace_info_result_descriptor_,
      packetl2c_get_dragon_palace_info_result::default_instance_,
      packetl2c_get_dragon_palace_info_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetl2c_get_dragon_palace_info_result));
  packetc2l_get_dragon_palace_rank_descriptor_ = file->message_type(5);
  static const int packetc2l_get_dragon_palace_rank_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, ranktype_),
  };
  packetc2l_get_dragon_palace_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2l_get_dragon_palace_rank_descriptor_,
      packetc2l_get_dragon_palace_rank::default_instance_,
      packetc2l_get_dragon_palace_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2l_get_dragon_palace_rank));
  packetl2c_get_dragon_palace_rank_result_descriptor_ = file->message_type(6);
  static const int packetl2c_get_dragon_palace_rank_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, ranktype_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, ranklist_),
  };
  packetl2c_get_dragon_palace_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetl2c_get_dragon_palace_rank_result_descriptor_,
      packetl2c_get_dragon_palace_rank_result::default_instance_,
      packetl2c_get_dragon_palace_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetl2c_get_dragon_palace_rank_result));
  packetc2l_dragon_palace_exchange_descriptor_ = file->message_type(7);
  static const int packetc2l_dragon_palace_exchange_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, exchangeid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, exchangecount_),
  };
  packetc2l_dragon_palace_exchange_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2l_dragon_palace_exchange_descriptor_,
      packetc2l_dragon_palace_exchange::default_instance_,
      packetc2l_dragon_palace_exchange_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2l_dragon_palace_exchange));
  packetl2c_dragon_palace_exchange_result_descriptor_ = file->message_type(8);
  static const int packetl2c_dragon_palace_exchange_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, exchangeitems_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, priceinfolist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, nextprice_),
  };
  packetl2c_dragon_palace_exchange_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetl2c_dragon_palace_exchange_result_descriptor_,
      packetl2c_dragon_palace_exchange_result::default_instance_,
      packetl2c_dragon_palace_exchange_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetl2c_dragon_palace_exchange_result));
  packetc2l_dragon_add_exchange_count_descriptor_ = file->message_type(9);
  static const int packetc2l_dragon_add_exchange_count_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, addcount_),
  };
  packetc2l_dragon_add_exchange_count_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2l_dragon_add_exchange_count_descriptor_,
      packetc2l_dragon_add_exchange_count::default_instance_,
      packetc2l_dragon_add_exchange_count_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2l_dragon_add_exchange_count));
  packetl2c_dragon_add_exchange_count_result_descriptor_ = file->message_type(10);
  static const int packetl2c_dragon_add_exchange_count_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, addcount_),
  };
  packetl2c_dragon_add_exchange_count_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetl2c_dragon_add_exchange_count_result_descriptor_,
      packetl2c_dragon_add_exchange_count_result::default_instance_,
      packetl2c_dragon_add_exchange_count_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetl2c_dragon_add_exchange_count_result));
  packetc2l_daily_dimensity_exchange_descriptor_ = file->message_type(11);
  static const int packetc2l_daily_dimensity_exchange_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, packet_id_),
  };
  packetc2l_daily_dimensity_exchange_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2l_daily_dimensity_exchange_descriptor_,
      packetc2l_daily_dimensity_exchange::default_instance_,
      packetc2l_daily_dimensity_exchange_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2l_daily_dimensity_exchange));
  packetl2c_daily_dimensity_exchange_result_descriptor_ = file->message_type(12);
  static const int packetl2c_daily_dimensity_exchange_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, exchangeinfo_),
  };
  packetl2c_daily_dimensity_exchange_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetl2c_daily_dimensity_exchange_result_descriptor_,
      packetl2c_daily_dimensity_exchange_result::default_instance_,
      packetl2c_daily_dimensity_exchange_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetl2c_daily_dimensity_exchange_result));
}

namespace {

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
inline void protobuf_AssignDescriptorsOnce() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
                 &protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto);
}

void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    DragonPalaceRankInfo_descriptor_, &DragonPalaceRankInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2l_get_dragon_palace_info_descriptor_, &packetc2l_get_dragon_palace_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    ExchangePriceInfo_descriptor_, &ExchangePriceInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    ExchangeItemInfo_descriptor_, &ExchangeItemInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetl2c_get_dragon_palace_info_result_descriptor_, &packetl2c_get_dragon_palace_info_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2l_get_dragon_palace_rank_descriptor_, &packetc2l_get_dragon_palace_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetl2c_get_dragon_palace_rank_result_descriptor_, &packetl2c_get_dragon_palace_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2l_dragon_palace_exchange_descriptor_, &packetc2l_dragon_palace_exchange::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetl2c_dragon_palace_exchange_result_descriptor_, &packetl2c_dragon_palace_exchange_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2l_dragon_add_exchange_count_descriptor_, &packetc2l_dragon_add_exchange_count::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetl2c_dragon_add_exchange_count_result_descriptor_, &packetl2c_dragon_add_exchange_count_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2l_daily_dimensity_exchange_descriptor_, &packetc2l_daily_dimensity_exchange::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetl2c_daily_dimensity_exchange_result_descriptor_, &packetl2c_daily_dimensity_exchange_result::default_instance());
}

}  // namespace

void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto() {
  delete DragonPalaceRankInfo::default_instance_;
  delete DragonPalaceRankInfo_reflection_;
  delete packetc2l_get_dragon_palace_info::default_instance_;
  delete packetc2l_get_dragon_palace_info_reflection_;
  delete ExchangePriceInfo::default_instance_;
  delete ExchangePriceInfo_reflection_;
  delete ExchangeItemInfo::default_instance_;
  delete ExchangeItemInfo_reflection_;
  delete packetl2c_get_dragon_palace_info_result::default_instance_;
  delete packetl2c_get_dragon_palace_info_result_reflection_;
  delete packetc2l_get_dragon_palace_rank::default_instance_;
  delete packetc2l_get_dragon_palace_rank_reflection_;
  delete packetl2c_get_dragon_palace_rank_result::default_instance_;
  delete packetl2c_get_dragon_palace_rank_result_reflection_;
  delete packetc2l_dragon_palace_exchange::default_instance_;
  delete packetc2l_dragon_palace_exchange_reflection_;
  delete packetl2c_dragon_palace_exchange_result::default_instance_;
  delete packetl2c_dragon_palace_exchange_result_reflection_;
  delete packetc2l_dragon_add_exchange_count::default_instance_;
  delete packetc2l_dragon_add_exchange_count_reflection_;
  delete packetl2c_dragon_add_exchange_count_result::default_instance_;
  delete packetl2c_dragon_add_exchange_count_result_reflection_;
  delete packetc2l_daily_dimensity_exchange::default_instance_;
  delete packetc2l_daily_dimensity_exchange_reflection_;
  delete packetl2c_daily_dimensity_exchange_result::default_instance_;
  delete packetl2c_daily_dimensity_exchange_result_reflection_;
}

void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto() {
  static bool already_here = false;
  if (already_here) return;
  already_here = true;
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
  ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n\030fish_dragon_palace.proto\022\016fish_protoco"
    "ls\032\016fish_def.proto\032\022msg_type_def.proto\032\023"
    "fish_type_def.proto\"\202\001\n\024DragonPalaceRank"
    "Info\022\020\n\010playerId\030\001 \001(\005\022\020\n\010nickName\030\002 \001(\t"
    "\022\025\n\rgainDimensity\030\003 \001(\005\022\016\n\006headid\030\004 \001(\005\022"
    "\017\n\007frameid\030\005 \001(\005\022\016\n\006gender\030\006 \001(\005\"\221\001\n pac"
    "ketc2l_get_dragon_palace_info\022V\n\tpacket_"
    "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t"
    "ype: e_mst_c2l_get_dragon_palace_info\022\025\n"
    "\risGetRankInfo\030\002 \001(\010\"6\n\021ExchangePriceInf"
    "o\022\022\n\nexchangeId\030\001 \001(\005\022\r\n\005price\030\002 \001(\005\"5\n\020"
    "ExchangeItemInfo\022\016\n\006itemid\030\001 \001(\005\022\021\n\titem"
    "count\030\002 \001(\005\"\203\004\n\'packetl2c_get_dragon_pal"
    "ace_info_result\022]\n\tpacket_id\030\001 \001(\0162!.fis"
    "h_protocols.e_server_msg_type:\'e_mst_l2c"
    "_get_dragon_palace_info_result\022\026\n\016dimens"
    "ityCount\030\002 \001(\005\022\025\n\rexchangeCount\030\003 \001(\005\022\027\n"
    "\017exchangeCountEx\030\004 \001(\005\022\037\n\027discountExchan"
    "geCountLv\030\005 \001(\005\0229\n\013curRankList\030\006 \003(\0132$.f"
    "ish_protocols.DragonPalaceRankInfo\022\034\n\024ga"
    "inDimensityCurWeek\030\007 \001(\005\0220\n\017selfFunBuffL"
    "ist\030\010 \003(\0132\027.fish_protocols.FunBuff\0228\n\rpr"
    "iceInfoList\030\t \003(\0132!.fish_protocols.Excha"
    "ngePriceInfo\022\030\n\020exchangeAddCount\030\n \001(\005\022\026"
    "\n\016dailyDimensity\030\013 \001(\005\022\031\n\021dragonSlayerCh"
    "eck\030\014 \003(\010\"\214\001\n packetc2l_get_dragon_palac"
    "e_rank\022V\n\tpacket_id\030\001 \001(\0162!.fish_protoco"
    "ls.e_server_msg_type: e_mst_c2l_get_drag"
    "on_palace_rank\022\020\n\010rankType\030\002 \001(\005\"\322\001\n\'pac"
    "ketl2c_get_dragon_palace_rank_result\022]\n\t"
    "packet_id\030\001 \001(\0162!.fish_protocols.e_serve"
    "r_msg_type:\'e_mst_l2c_get_dragon_palace_"
    "rank_result\022\020\n\010rankType\030\002 \001(\005\0226\n\010rankLis"
    "t\030\003 \003(\0132$.fish_protocols.DragonPalaceRan"
    "kInfo\"\245\001\n packetc2l_dragon_palace_exchan"
    "ge\022V\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e"
    "_server_msg_type: e_mst_c2l_dragon_palac"
    "e_exchange\022\022\n\nexchangeId\030\002 \001(\005\022\025\n\rexchan"
    "geCount\030\003 \001(\005\"\236\002\n\'packetl2c_dragon_palac"
    "e_exchange_result\022]\n\tpacket_id\030\001 \001(\0162!.f"
    "ish_protocols.e_server_msg_type:\'e_mst_l"
    "2c_dragon_palace_exchange_result\022\016\n\006resu"
    "lt\030\002 \001(\005\0227\n\rexchangeItems\030\003 \003(\0132 .fish_p"
    "rotocols.ExchangeItemInfo\0228\n\rpriceInfoLi"
    "st\030\004 \003(\0132!.fish_protocols.ExchangePriceI"
    "nfo\022\021\n\tnextPrice\030\005 \001(\005\"\222\001\n#packetc2l_dra"
    "gon_add_exchange_count\022Y\n\tpacket_id\030\001 \001("
    "\0162!.fish_protocols.e_server_msg_type:#e_"
    "mst_c2l_dragon_add_exchange_count\022\020\n\010add"
    "Count\030\002 \001(\005\"\260\001\n*packetl2c_dragon_add_exc"
    "hange_count_result\022`\n\tpacket_id\030\001 \001(\0162!."
    "fish_protocols.e_server_msg_type:*e_mst_"
    "l2c_dragon_add_exchange_count_result\022\016\n\006"
    "result\030\002 \001(\005\022\020\n\010addCount\030\003 \001(\005\"~\n\"packet"
    "c2l_daily_dimensity_exchange\022X\n\tpacket_i"
    "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty"
    "pe:\"e_mst_c2l_daily_dimensity_exchange\"\324"
    "\001\n)packetl2c_daily_dimensity_exchange_re"
    "sult\022_\n\tpacket_id\030\001 \001(\0162!.fish_protocols"
    ".e_server_msg_type:)e_mst_l2c_daily_dime"
    "nsity_exchange_result\022\016\n\006result\030\002 \001(\005\0226\n"
    "\014exchangeInfo\030\003 \003(\0132 .fish_protocols.Exc"
    "hangeItemInfo", 2493);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "fish_dragon_palace.proto", &protobuf_RegisterTypes);
  DragonPalaceRankInfo::default_instance_ = new DragonPalaceRankInfo();
  packetc2l_get_dragon_palace_info::default_instance_ = new packetc2l_get_dragon_palace_info();
  ExchangePriceInfo::default_instance_ = new ExchangePriceInfo();
  ExchangeItemInfo::default_instance_ = new ExchangeItemInfo();
  packetl2c_get_dragon_palace_info_result::default_instance_ = new packetl2c_get_dragon_palace_info_result();
  packetc2l_get_dragon_palace_rank::default_instance_ = new packetc2l_get_dragon_palace_rank();
  packetl2c_get_dragon_palace_rank_result::default_instance_ = new packetl2c_get_dragon_palace_rank_result();
  packetc2l_dragon_palace_exchange::default_instance_ = new packetc2l_dragon_palace_exchange();
  packetl2c_dragon_palace_exchange_result::default_instance_ = new packetl2c_dragon_palace_exchange_result();
  packetc2l_dragon_add_exchange_count::default_instance_ = new packetc2l_dragon_add_exchange_count();
  packetl2c_dragon_add_exchange_count_result::default_instance_ = new packetl2c_dragon_add_exchange_count_result();
  packetc2l_daily_dimensity_exchange::default_instance_ = new packetc2l_daily_dimensity_exchange();
  packetl2c_daily_dimensity_exchange_result::default_instance_ = new packetl2c_daily_dimensity_exchange_result();
  DragonPalaceRankInfo::default_instance_->InitAsDefaultInstance();
  packetc2l_get_dragon_palace_info::default_instance_->InitAsDefaultInstance();
  ExchangePriceInfo::default_instance_->InitAsDefaultInstance();
  ExchangeItemInfo::default_instance_->InitAsDefaultInstance();
  packetl2c_get_dragon_palace_info_result::default_instance_->InitAsDefaultInstance();
  packetc2l_get_dragon_palace_rank::default_instance_->InitAsDefaultInstance();
  packetl2c_get_dragon_palace_rank_result::default_instance_->InitAsDefaultInstance();
  packetc2l_dragon_palace_exchange::default_instance_->InitAsDefaultInstance();
  packetl2c_dragon_palace_exchange_result::default_instance_->InitAsDefaultInstance();
  packetc2l_dragon_add_exchange_count::default_instance_->InitAsDefaultInstance();
  packetl2c_dragon_add_exchange_count_result::default_instance_->InitAsDefaultInstance();
  packetc2l_daily_dimensity_exchange::default_instance_->InitAsDefaultInstance();
  packetl2c_daily_dimensity_exchange_result::default_instance_->InitAsDefaultInstance();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto);
}

// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_fish_5fdragon_5fpalace_2eproto {
  StaticDescriptorInitializer_fish_5fdragon_5fpalace_2eproto() {
    protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  }
} static_descriptor_initializer_fish_5fdragon_5fpalace_2eproto_;

// ===================================================================

#ifndef _MSC_VER
const int DragonPalaceRankInfo::kPlayerIdFieldNumber;
const int DragonPalaceRankInfo::kNickNameFieldNumber;
const int DragonPalaceRankInfo::kGainDimensityFieldNumber;
const int DragonPalaceRankInfo::kHeadidFieldNumber;
const int DragonPalaceRankInfo::kFrameidFieldNumber;
const int DragonPalaceRankInfo::kGenderFieldNumber;
#endif  // !_MSC_VER

DragonPalaceRankInfo::DragonPalaceRankInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void DragonPalaceRankInfo::InitAsDefaultInstance() {
}

DragonPalaceRankInfo::DragonPalaceRankInfo(const DragonPalaceRankInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void DragonPalaceRankInfo::SharedCtor() {
  _cached_size_ = 0;
  playerid_ = 0;
  nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  gaindimensity_ = 0;
  headid_ = 0;
  frameid_ = 0;
  gender_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

DragonPalaceRankInfo::~DragonPalaceRankInfo() {
  SharedDtor();
}

void DragonPalaceRankInfo::SharedDtor() {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    delete nickname_;
  }
  if (this != default_instance_) {
  }
}

void DragonPalaceRankInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* DragonPalaceRankInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return DragonPalaceRankInfo_descriptor_;
}

const DragonPalaceRankInfo& DragonPalaceRankInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

DragonPalaceRankInfo* DragonPalaceRankInfo::default_instance_ = NULL;

DragonPalaceRankInfo* DragonPalaceRankInfo::New() const {
  return new DragonPalaceRankInfo;
}

void DragonPalaceRankInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    playerid_ = 0;
    if (has_nickname()) {
      if (nickname_ != &::google::protobuf::internal::kEmptyString) {
        nickname_->clear();
      }
    }
    gaindimensity_ = 0;
    headid_ = 0;
    frameid_ = 0;
    gender_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool DragonPalaceRankInfo::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional int32 playerId = 1;
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &playerid_)));
          set_has_playerid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_nickName;
        break;
      }

      // optional string nickName = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_nickName:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_nickname()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->nickname().data(), this->nickname().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_gainDimensity;
        break;
      }

      // optional int32 gainDimensity = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gainDimensity:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gaindimensity_)));
          set_has_gaindimensity();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_headid;
        break;
      }

      // optional int32 headid = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_headid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &headid_)));
          set_has_headid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_frameid;
        break;
      }

      // optional int32 frameid = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_frameid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &frameid_)));
          set_has_frameid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_gender;
        break;
      }

      // optional int32 gender = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gender:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gender_)));
          set_has_gender();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void DragonPalaceRankInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 playerId = 1;
  if (has_playerid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
  }

  // optional string nickName = 2;
  if (has_nickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->nickname().data(), this->nickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->nickname(), output);
  }

  // optional int32 gainDimensity = 3;
  if (has_gaindimensity()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gaindimensity(), output);
  }

  // optional int32 headid = 4;
  if (has_headid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->headid(), output);
  }

  // optional int32 frameid = 5;
  if (has_frameid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->frameid(), output);
  }

  // optional int32 gender = 6;
  if (has_gender()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->gender(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* DragonPalaceRankInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 playerId = 1;
  if (has_playerid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
  }

  // optional string nickName = 2;
  if (has_nickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->nickname().data(), this->nickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->nickname(), target);
  }

  // optional int32 gainDimensity = 3;
  if (has_gaindimensity()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gaindimensity(), target);
  }

  // optional int32 headid = 4;
  if (has_headid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->headid(), target);
  }

  // optional int32 frameid = 5;
  if (has_frameid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->frameid(), target);
  }

  // optional int32 gender = 6;
  if (has_gender()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->gender(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int DragonPalaceRankInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 playerId = 1;
    if (has_playerid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->playerid());
    }

    // optional string nickName = 2;
    if (has_nickname()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->nickname());
    }

    // optional int32 gainDimensity = 3;
    if (has_gaindimensity()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gaindimensity());
    }

    // optional int32 headid = 4;
    if (has_headid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->headid());
    }

    // optional int32 frameid = 5;
    if (has_frameid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->frameid());
    }

    // optional int32 gender = 6;
    if (has_gender()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gender());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void DragonPalaceRankInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const DragonPalaceRankInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const DragonPalaceRankInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void DragonPalaceRankInfo::MergeFrom(const DragonPalaceRankInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_playerid()) {
      set_playerid(from.playerid());
    }
    if (from.has_nickname()) {
      set_nickname(from.nickname());
    }
    if (from.has_gaindimensity()) {
      set_gaindimensity(from.gaindimensity());
    }
    if (from.has_headid()) {
      set_headid(from.headid());
    }
    if (from.has_frameid()) {
      set_frameid(from.frameid());
    }
    if (from.has_gender()) {
      set_gender(from.gender());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void DragonPalaceRankInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void DragonPalaceRankInfo::CopyFrom(const DragonPalaceRankInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool DragonPalaceRankInfo::IsInitialized() const {

  return true;
}

void DragonPalaceRankInfo::Swap(DragonPalaceRankInfo* other) {
  if (other != this) {
    std::swap(playerid_, other->playerid_);
    std::swap(nickname_, other->nickname_);
    std::swap(gaindimensity_, other->gaindimensity_);
    std::swap(headid_, other->headid_);
    std::swap(frameid_, other->frameid_);
    std::swap(gender_, other->gender_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata DragonPalaceRankInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = DragonPalaceRankInfo_descriptor_;
  metadata.reflection = DragonPalaceRankInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2l_get_dragon_palace_info::kPacketIdFieldNumber;
const int packetc2l_get_dragon_palace_info::kIsGetRankInfoFieldNumber;
#endif  // !_MSC_VER

packetc2l_get_dragon_palace_info::packetc2l_get_dragon_palace_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2l_get_dragon_palace_info::InitAsDefaultInstance() {
}

packetc2l_get_dragon_palace_info::packetc2l_get_dragon_palace_info(const packetc2l_get_dragon_palace_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2l_get_dragon_palace_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 10148;
  isgetrankinfo_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2l_get_dragon_palace_info::~packetc2l_get_dragon_palace_info() {
  SharedDtor();
}

void packetc2l_get_dragon_palace_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2l_get_dragon_palace_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2l_get_dragon_palace_info_descriptor_;
}

const packetc2l_get_dragon_palace_info& packetc2l_get_dragon_palace_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetc2l_get_dragon_palace_info* packetc2l_get_dragon_palace_info::default_instance_ = NULL;

packetc2l_get_dragon_palace_info* packetc2l_get_dragon_palace_info::New() const {
  return new packetc2l_get_dragon_palace_info;
}

void packetc2l_get_dragon_palace_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 10148;
    isgetrankinfo_ = false;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2l_get_dragon_palace_info::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_isGetRankInfo;
        break;
      }

      // optional bool isGetRankInfo = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_isGetRankInfo:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &isgetrankinfo_)));
          set_has_isgetrankinfo();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2l_get_dragon_palace_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional bool isGetRankInfo = 2;
  if (has_isgetrankinfo()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->isgetrankinfo(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2l_get_dragon_palace_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional bool isGetRankInfo = 2;
  if (has_isgetrankinfo()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->isgetrankinfo(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2l_get_dragon_palace_info::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional bool isGetRankInfo = 2;
    if (has_isgetrankinfo()) {
      total_size += 1 + 1;
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2l_get_dragon_palace_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2l_get_dragon_palace_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_dragon_palace_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2l_get_dragon_palace_info::MergeFrom(const packetc2l_get_dragon_palace_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_isgetrankinfo()) {
      set_isgetrankinfo(from.isgetrankinfo());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2l_get_dragon_palace_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2l_get_dragon_palace_info::CopyFrom(const packetc2l_get_dragon_palace_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2l_get_dragon_palace_info::IsInitialized() const {

  return true;
}

void packetc2l_get_dragon_palace_info::Swap(packetc2l_get_dragon_palace_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(isgetrankinfo_, other->isgetrankinfo_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2l_get_dragon_palace_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2l_get_dragon_palace_info_descriptor_;
  metadata.reflection = packetc2l_get_dragon_palace_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int ExchangePriceInfo::kExchangeIdFieldNumber;
const int ExchangePriceInfo::kPriceFieldNumber;
#endif  // !_MSC_VER

ExchangePriceInfo::ExchangePriceInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void ExchangePriceInfo::InitAsDefaultInstance() {
}

ExchangePriceInfo::ExchangePriceInfo(const ExchangePriceInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void ExchangePriceInfo::SharedCtor() {
  _cached_size_ = 0;
  exchangeid_ = 0;
  price_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

ExchangePriceInfo::~ExchangePriceInfo() {
  SharedDtor();
}

void ExchangePriceInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void ExchangePriceInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* ExchangePriceInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return ExchangePriceInfo_descriptor_;
}

const ExchangePriceInfo& ExchangePriceInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

ExchangePriceInfo* ExchangePriceInfo::default_instance_ = NULL;

ExchangePriceInfo* ExchangePriceInfo::New() const {
  return new ExchangePriceInfo;
}

void ExchangePriceInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    exchangeid_ = 0;
    price_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool ExchangePriceInfo::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional int32 exchangeId = 1;
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangeid_)));
          set_has_exchangeid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_price;
        break;
      }

      // optional int32 price = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_price:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &price_)));
          set_has_price();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void ExchangePriceInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 exchangeId = 1;
  if (has_exchangeid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->exchangeid(), output);
  }

  // optional int32 price = 2;
  if (has_price()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->price(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* ExchangePriceInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 exchangeId = 1;
  if (has_exchangeid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->exchangeid(), target);
  }

  // optional int32 price = 2;
  if (has_price()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->price(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int ExchangePriceInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 exchangeId = 1;
    if (has_exchangeid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangeid());
    }

    // optional int32 price = 2;
    if (has_price()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->price());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void ExchangePriceInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const ExchangePriceInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const ExchangePriceInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void ExchangePriceInfo::MergeFrom(const ExchangePriceInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_exchangeid()) {
      set_exchangeid(from.exchangeid());
    }
    if (from.has_price()) {
      set_price(from.price());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void ExchangePriceInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void ExchangePriceInfo::CopyFrom(const ExchangePriceInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool ExchangePriceInfo::IsInitialized() const {

  return true;
}

void ExchangePriceInfo::Swap(ExchangePriceInfo* other) {
  if (other != this) {
    std::swap(exchangeid_, other->exchangeid_);
    std::swap(price_, other->price_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata ExchangePriceInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = ExchangePriceInfo_descriptor_;
  metadata.reflection = ExchangePriceInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int ExchangeItemInfo::kItemidFieldNumber;
const int ExchangeItemInfo::kItemcountFieldNumber;
#endif  // !_MSC_VER

ExchangeItemInfo::ExchangeItemInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void ExchangeItemInfo::InitAsDefaultInstance() {
}

ExchangeItemInfo::ExchangeItemInfo(const ExchangeItemInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void ExchangeItemInfo::SharedCtor() {
  _cached_size_ = 0;
  itemid_ = 0;
  itemcount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

ExchangeItemInfo::~ExchangeItemInfo() {
  SharedDtor();
}

void ExchangeItemInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void ExchangeItemInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* ExchangeItemInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return ExchangeItemInfo_descriptor_;
}

const ExchangeItemInfo& ExchangeItemInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

ExchangeItemInfo* ExchangeItemInfo::default_instance_ = NULL;

ExchangeItemInfo* ExchangeItemInfo::New() const {
  return new ExchangeItemInfo;
}

void ExchangeItemInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    itemid_ = 0;
    itemcount_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool ExchangeItemInfo::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional int32 itemid = 1;
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &itemid_)));
          set_has_itemid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_itemcount;
        break;
      }

      // optional int32 itemcount = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemcount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &itemcount_)));
          set_has_itemcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void ExchangeItemInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 itemid = 1;
  if (has_itemid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->itemid(), output);
  }

  // optional int32 itemcount = 2;
  if (has_itemcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemcount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* ExchangeItemInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 itemid = 1;
  if (has_itemid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->itemid(), target);
  }

  // optional int32 itemcount = 2;
  if (has_itemcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemcount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int ExchangeItemInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 itemid = 1;
    if (has_itemid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->itemid());
    }

    // optional int32 itemcount = 2;
    if (has_itemcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->itemcount());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void ExchangeItemInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const ExchangeItemInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const ExchangeItemInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void ExchangeItemInfo::MergeFrom(const ExchangeItemInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_itemid()) {
      set_itemid(from.itemid());
    }
    if (from.has_itemcount()) {
      set_itemcount(from.itemcount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void ExchangeItemInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void ExchangeItemInfo::CopyFrom(const ExchangeItemInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool ExchangeItemInfo::IsInitialized() const {

  return true;
}

void ExchangeItemInfo::Swap(ExchangeItemInfo* other) {
  if (other != this) {
    std::swap(itemid_, other->itemid_);
    std::swap(itemcount_, other->itemcount_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata ExchangeItemInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = ExchangeItemInfo_descriptor_;
  metadata.reflection = ExchangeItemInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetl2c_get_dragon_palace_info_result::kPacketIdFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kDimensityCountFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kExchangeCountFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kExchangeCountExFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kDiscountExchangeCountLvFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kCurRankListFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kGainDimensityCurWeekFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kSelfFunBuffListFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kPriceInfoListFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kExchangeAddCountFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kDailyDimensityFieldNumber;
const int packetl2c_get_dragon_palace_info_result::kDragonSlayerCheckFieldNumber;
#endif  // !_MSC_VER

packetl2c_get_dragon_palace_info_result::packetl2c_get_dragon_palace_info_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetl2c_get_dragon_palace_info_result::InitAsDefaultInstance() {
}

packetl2c_get_dragon_palace_info_result::packetl2c_get_dragon_palace_info_result(const packetl2c_get_dragon_palace_info_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetl2c_get_dragon_palace_info_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 16137;
  dimensitycount_ = 0;
  exchangecount_ = 0;
  exchangecountex_ = 0;
  discountexchangecountlv_ = 0;
  gaindimensitycurweek_ = 0;
  exchangeaddcount_ = 0;
  dailydimensity_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetl2c_get_dragon_palace_info_result::~packetl2c_get_dragon_palace_info_result() {
  SharedDtor();
}

void packetl2c_get_dragon_palace_info_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetl2c_get_dragon_palace_info_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_info_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetl2c_get_dragon_palace_info_result_descriptor_;
}

const packetl2c_get_dragon_palace_info_result& packetl2c_get_dragon_palace_info_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetl2c_get_dragon_palace_info_result* packetl2c_get_dragon_palace_info_result::default_instance_ = NULL;

packetl2c_get_dragon_palace_info_result* packetl2c_get_dragon_palace_info_result::New() const {
  return new packetl2c_get_dragon_palace_info_result;
}

void packetl2c_get_dragon_palace_info_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 16137;
    dimensitycount_ = 0;
    exchangecount_ = 0;
    exchangecountex_ = 0;
    discountexchangecountlv_ = 0;
    gaindimensitycurweek_ = 0;
  }
  if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    exchangeaddcount_ = 0;
    dailydimensity_ = 0;
  }
  curranklist_.Clear();
  selffunbufflist_.Clear();
  priceinfolist_.Clear();
  dragonslayercheck_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetl2c_get_dragon_palace_info_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_dimensityCount;
        break;
      }

      // optional int32 dimensityCount = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_dimensityCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &dimensitycount_)));
          set_has_dimensitycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_exchangeCount;
        break;
      }

      // optional int32 exchangeCount = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exchangeCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangecount_)));
          set_has_exchangecount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_exchangeCountEx;
        break;
      }

      // optional int32 exchangeCountEx = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exchangeCountEx:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangecountex_)));
          set_has_exchangecountex();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_discountExchangeCountLv;
        break;
      }

      // optional int32 discountExchangeCountLv = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_discountExchangeCountLv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &discountexchangecountlv_)));
          set_has_discountexchangecountlv();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_curRankList;
        break;
      }

      // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_curRankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_curranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_curRankList;
        if (input->ExpectTag(56)) goto parse_gainDimensityCurWeek;
        break;
      }

      // optional int32 gainDimensityCurWeek = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gainDimensityCurWeek:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gaindimensitycurweek_)));
          set_has_gaindimensitycurweek();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(66)) goto parse_selfFunBuffList;
        break;
      }

      // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_selfFunBuffList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_selffunbufflist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(66)) goto parse_selfFunBuffList;
        if (input->ExpectTag(74)) goto parse_priceInfoList;
        break;
      }

      // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_priceInfoList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_priceinfolist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(74)) goto parse_priceInfoList;
        if (input->ExpectTag(80)) goto parse_exchangeAddCount;
        break;
      }

      // optional int32 exchangeAddCount = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exchangeAddCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangeaddcount_)));
          set_has_exchangeaddcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(88)) goto parse_dailyDimensity;
        break;
      }

      // optional int32 dailyDimensity = 11;
      case 11: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_dailyDimensity:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &dailydimensity_)));
          set_has_dailydimensity();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(96)) goto parse_dragonSlayerCheck;
        break;
      }

      // repeated bool dragonSlayerCheck = 12;
      case 12: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_dragonSlayerCheck:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 96, input, this->mutable_dragonslayercheck())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_dragonslayercheck())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(96)) goto parse_dragonSlayerCheck;
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetl2c_get_dragon_palace_info_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 dimensityCount = 2;
  if (has_dimensitycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->dimensitycount(), output);
  }

  // optional int32 exchangeCount = 3;
  if (has_exchangecount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->exchangecount(), output);
  }

  // optional int32 exchangeCountEx = 4;
  if (has_exchangecountex()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->exchangecountex(), output);
  }

  // optional int32 discountExchangeCountLv = 5;
  if (has_discountexchangecountlv()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->discountexchangecountlv(), output);
  }

  // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  for (int i = 0; i < this->curranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->curranklist(i), output);
  }

  // optional int32 gainDimensityCurWeek = 7;
  if (has_gaindimensitycurweek()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->gaindimensitycurweek(), output);
  }

  // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  for (int i = 0; i < this->selffunbufflist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      8, this->selffunbufflist(i), output);
  }

  // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  for (int i = 0; i < this->priceinfolist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      9, this->priceinfolist(i), output);
  }

  // optional int32 exchangeAddCount = 10;
  if (has_exchangeaddcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->exchangeaddcount(), output);
  }

  // optional int32 dailyDimensity = 11;
  if (has_dailydimensity()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->dailydimensity(), output);
  }

  // repeated bool dragonSlayerCheck = 12;
  for (int i = 0; i < this->dragonslayercheck_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      12, this->dragonslayercheck(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetl2c_get_dragon_palace_info_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 dimensityCount = 2;
  if (has_dimensitycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->dimensitycount(), target);
  }

  // optional int32 exchangeCount = 3;
  if (has_exchangecount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->exchangecount(), target);
  }

  // optional int32 exchangeCountEx = 4;
  if (has_exchangecountex()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->exchangecountex(), target);
  }

  // optional int32 discountExchangeCountLv = 5;
  if (has_discountexchangecountlv()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->discountexchangecountlv(), target);
  }

  // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  for (int i = 0; i < this->curranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->curranklist(i), target);
  }

  // optional int32 gainDimensityCurWeek = 7;
  if (has_gaindimensitycurweek()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->gaindimensitycurweek(), target);
  }

  // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  for (int i = 0; i < this->selffunbufflist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        8, this->selffunbufflist(i), target);
  }

  // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  for (int i = 0; i < this->priceinfolist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        9, this->priceinfolist(i), target);
  }

  // optional int32 exchangeAddCount = 10;
  if (has_exchangeaddcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->exchangeaddcount(), target);
  }

  // optional int32 dailyDimensity = 11;
  if (has_dailydimensity()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->dailydimensity(), target);
  }

  // repeated bool dragonSlayerCheck = 12;
  for (int i = 0; i < this->dragonslayercheck_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(12, this->dragonslayercheck(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetl2c_get_dragon_palace_info_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 dimensityCount = 2;
    if (has_dimensitycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->dimensitycount());
    }

    // optional int32 exchangeCount = 3;
    if (has_exchangecount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangecount());
    }

    // optional int32 exchangeCountEx = 4;
    if (has_exchangecountex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangecountex());
    }

    // optional int32 discountExchangeCountLv = 5;
    if (has_discountexchangecountlv()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->discountexchangecountlv());
    }

    // optional int32 gainDimensityCurWeek = 7;
    if (has_gaindimensitycurweek()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gaindimensitycurweek());
    }

  }
  if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    // optional int32 exchangeAddCount = 10;
    if (has_exchangeaddcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangeaddcount());
    }

    // optional int32 dailyDimensity = 11;
    if (has_dailydimensity()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->dailydimensity());
    }

  }
  // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  total_size += 1 * this->curranklist_size();
  for (int i = 0; i < this->curranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->curranklist(i));
  }

  // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  total_size += 1 * this->selffunbufflist_size();
  for (int i = 0; i < this->selffunbufflist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->selffunbufflist(i));
  }

  // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  total_size += 1 * this->priceinfolist_size();
  for (int i = 0; i < this->priceinfolist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->priceinfolist(i));
  }

  // repeated bool dragonSlayerCheck = 12;
  {
    int data_size = 0;
    data_size = 1 * this->dragonslayercheck_size();
    total_size += 1 * this->dragonslayercheck_size() + data_size;
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetl2c_get_dragon_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetl2c_get_dragon_palace_info_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_dragon_palace_info_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetl2c_get_dragon_palace_info_result::MergeFrom(const packetl2c_get_dragon_palace_info_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  curranklist_.MergeFrom(from.curranklist_);
  selffunbufflist_.MergeFrom(from.selffunbufflist_);
  priceinfolist_.MergeFrom(from.priceinfolist_);
  dragonslayercheck_.MergeFrom(from.dragonslayercheck_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_dimensitycount()) {
      set_dimensitycount(from.dimensitycount());
    }
    if (from.has_exchangecount()) {
      set_exchangecount(from.exchangecount());
    }
    if (from.has_exchangecountex()) {
      set_exchangecountex(from.exchangecountex());
    }
    if (from.has_discountexchangecountlv()) {
      set_discountexchangecountlv(from.discountexchangecountlv());
    }
    if (from.has_gaindimensitycurweek()) {
      set_gaindimensitycurweek(from.gaindimensitycurweek());
    }
  }
  if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    if (from.has_exchangeaddcount()) {
      set_exchangeaddcount(from.exchangeaddcount());
    }
    if (from.has_dailydimensity()) {
      set_dailydimensity(from.dailydimensity());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetl2c_get_dragon_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetl2c_get_dragon_palace_info_result::CopyFrom(const packetl2c_get_dragon_palace_info_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetl2c_get_dragon_palace_info_result::IsInitialized() const {

  return true;
}

void packetl2c_get_dragon_palace_info_result::Swap(packetl2c_get_dragon_palace_info_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(dimensitycount_, other->dimensitycount_);
    std::swap(exchangecount_, other->exchangecount_);
    std::swap(exchangecountex_, other->exchangecountex_);
    std::swap(discountexchangecountlv_, other->discountexchangecountlv_);
    curranklist_.Swap(&other->curranklist_);
    std::swap(gaindimensitycurweek_, other->gaindimensitycurweek_);
    selffunbufflist_.Swap(&other->selffunbufflist_);
    priceinfolist_.Swap(&other->priceinfolist_);
    std::swap(exchangeaddcount_, other->exchangeaddcount_);
    std::swap(dailydimensity_, other->dailydimensity_);
    dragonslayercheck_.Swap(&other->dragonslayercheck_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetl2c_get_dragon_palace_info_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetl2c_get_dragon_palace_info_result_descriptor_;
  metadata.reflection = packetl2c_get_dragon_palace_info_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2l_get_dragon_palace_rank::kPacketIdFieldNumber;
const int packetc2l_get_dragon_palace_rank::kRankTypeFieldNumber;
#endif  // !_MSC_VER

packetc2l_get_dragon_palace_rank::packetc2l_get_dragon_palace_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2l_get_dragon_palace_rank::InitAsDefaultInstance() {
}

packetc2l_get_dragon_palace_rank::packetc2l_get_dragon_palace_rank(const packetc2l_get_dragon_palace_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2l_get_dragon_palace_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 10149;
  ranktype_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2l_get_dragon_palace_rank::~packetc2l_get_dragon_palace_rank() {
  SharedDtor();
}

void packetc2l_get_dragon_palace_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2l_get_dragon_palace_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2l_get_dragon_palace_rank_descriptor_;
}

const packetc2l_get_dragon_palace_rank& packetc2l_get_dragon_palace_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetc2l_get_dragon_palace_rank* packetc2l_get_dragon_palace_rank::default_instance_ = NULL;

packetc2l_get_dragon_palace_rank* packetc2l_get_dragon_palace_rank::New() const {
  return new packetc2l_get_dragon_palace_rank;
}

void packetc2l_get_dragon_palace_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 10149;
    ranktype_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2l_get_dragon_palace_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_rankType;
        break;
      }

      // optional int32 rankType = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rankType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &ranktype_)));
          set_has_ranktype();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2l_get_dragon_palace_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 rankType = 2;
  if (has_ranktype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ranktype(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2l_get_dragon_palace_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 rankType = 2;
  if (has_ranktype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ranktype(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2l_get_dragon_palace_rank::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 rankType = 2;
    if (has_ranktype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->ranktype());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2l_get_dragon_palace_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2l_get_dragon_palace_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_dragon_palace_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2l_get_dragon_palace_rank::MergeFrom(const packetc2l_get_dragon_palace_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_ranktype()) {
      set_ranktype(from.ranktype());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2l_get_dragon_palace_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2l_get_dragon_palace_rank::CopyFrom(const packetc2l_get_dragon_palace_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2l_get_dragon_palace_rank::IsInitialized() const {

  return true;
}

void packetc2l_get_dragon_palace_rank::Swap(packetc2l_get_dragon_palace_rank* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(ranktype_, other->ranktype_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2l_get_dragon_palace_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2l_get_dragon_palace_rank_descriptor_;
  metadata.reflection = packetc2l_get_dragon_palace_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetl2c_get_dragon_palace_rank_result::kPacketIdFieldNumber;
const int packetl2c_get_dragon_palace_rank_result::kRankTypeFieldNumber;
const int packetl2c_get_dragon_palace_rank_result::kRankListFieldNumber;
#endif  // !_MSC_VER

packetl2c_get_dragon_palace_rank_result::packetl2c_get_dragon_palace_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetl2c_get_dragon_palace_rank_result::InitAsDefaultInstance() {
}

packetl2c_get_dragon_palace_rank_result::packetl2c_get_dragon_palace_rank_result(const packetl2c_get_dragon_palace_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetl2c_get_dragon_palace_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 16138;
  ranktype_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetl2c_get_dragon_palace_rank_result::~packetl2c_get_dragon_palace_rank_result() {
  SharedDtor();
}

void packetl2c_get_dragon_palace_rank_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetl2c_get_dragon_palace_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetl2c_get_dragon_palace_rank_result_descriptor_;
}

const packetl2c_get_dragon_palace_rank_result& packetl2c_get_dragon_palace_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetl2c_get_dragon_palace_rank_result* packetl2c_get_dragon_palace_rank_result::default_instance_ = NULL;

packetl2c_get_dragon_palace_rank_result* packetl2c_get_dragon_palace_rank_result::New() const {
  return new packetl2c_get_dragon_palace_rank_result;
}

void packetl2c_get_dragon_palace_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 16138;
    ranktype_ = 0;
  }
  ranklist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetl2c_get_dragon_palace_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_rankType;
        break;
      }

      // optional int32 rankType = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rankType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &ranktype_)));
          set_has_ranktype();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_rankList;
        break;
      }

      // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_rankList;
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetl2c_get_dragon_palace_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 rankType = 2;
  if (has_ranktype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ranktype(), output);
  }

  // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->ranklist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetl2c_get_dragon_palace_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 rankType = 2;
  if (has_ranktype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ranktype(), target);
  }

  // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->ranklist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetl2c_get_dragon_palace_rank_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 rankType = 2;
    if (has_ranktype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->ranktype());
    }

  }
  // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetl2c_get_dragon_palace_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetl2c_get_dragon_palace_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_dragon_palace_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetl2c_get_dragon_palace_rank_result::MergeFrom(const packetl2c_get_dragon_palace_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_ranktype()) {
      set_ranktype(from.ranktype());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetl2c_get_dragon_palace_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetl2c_get_dragon_palace_rank_result::CopyFrom(const packetl2c_get_dragon_palace_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetl2c_get_dragon_palace_rank_result::IsInitialized() const {

  return true;
}

void packetl2c_get_dragon_palace_rank_result::Swap(packetl2c_get_dragon_palace_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(ranktype_, other->ranktype_);
    ranklist_.Swap(&other->ranklist_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetl2c_get_dragon_palace_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetl2c_get_dragon_palace_rank_result_descriptor_;
  metadata.reflection = packetl2c_get_dragon_palace_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2l_dragon_palace_exchange::kPacketIdFieldNumber;
const int packetc2l_dragon_palace_exchange::kExchangeIdFieldNumber;
const int packetc2l_dragon_palace_exchange::kExchangeCountFieldNumber;
#endif  // !_MSC_VER

packetc2l_dragon_palace_exchange::packetc2l_dragon_palace_exchange()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2l_dragon_palace_exchange::InitAsDefaultInstance() {
}

packetc2l_dragon_palace_exchange::packetc2l_dragon_palace_exchange(const packetc2l_dragon_palace_exchange& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2l_dragon_palace_exchange::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 10150;
  exchangeid_ = 0;
  exchangecount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2l_dragon_palace_exchange::~packetc2l_dragon_palace_exchange() {
  SharedDtor();
}

void packetc2l_dragon_palace_exchange::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2l_dragon_palace_exchange::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2l_dragon_palace_exchange::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2l_dragon_palace_exchange_descriptor_;
}

const packetc2l_dragon_palace_exchange& packetc2l_dragon_palace_exchange::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetc2l_dragon_palace_exchange* packetc2l_dragon_palace_exchange::default_instance_ = NULL;

packetc2l_dragon_palace_exchange* packetc2l_dragon_palace_exchange::New() const {
  return new packetc2l_dragon_palace_exchange;
}

void packetc2l_dragon_palace_exchange::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 10150;
    exchangeid_ = 0;
    exchangecount_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2l_dragon_palace_exchange::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_exchangeId;
        break;
      }

      // optional int32 exchangeId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exchangeId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangeid_)));
          set_has_exchangeid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_exchangeCount;
        break;
      }

      // optional int32 exchangeCount = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exchangeCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangecount_)));
          set_has_exchangecount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2l_dragon_palace_exchange::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 exchangeId = 2;
  if (has_exchangeid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->exchangeid(), output);
  }

  // optional int32 exchangeCount = 3;
  if (has_exchangecount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->exchangecount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2l_dragon_palace_exchange::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 exchangeId = 2;
  if (has_exchangeid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->exchangeid(), target);
  }

  // optional int32 exchangeCount = 3;
  if (has_exchangecount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->exchangecount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2l_dragon_palace_exchange::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 exchangeId = 2;
    if (has_exchangeid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangeid());
    }

    // optional int32 exchangeCount = 3;
    if (has_exchangecount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangecount());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2l_dragon_palace_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2l_dragon_palace_exchange* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_dragon_palace_exchange*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2l_dragon_palace_exchange::MergeFrom(const packetc2l_dragon_palace_exchange& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_exchangeid()) {
      set_exchangeid(from.exchangeid());
    }
    if (from.has_exchangecount()) {
      set_exchangecount(from.exchangecount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2l_dragon_palace_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2l_dragon_palace_exchange::CopyFrom(const packetc2l_dragon_palace_exchange& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2l_dragon_palace_exchange::IsInitialized() const {

  return true;
}

void packetc2l_dragon_palace_exchange::Swap(packetc2l_dragon_palace_exchange* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(exchangeid_, other->exchangeid_);
    std::swap(exchangecount_, other->exchangecount_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2l_dragon_palace_exchange::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2l_dragon_palace_exchange_descriptor_;
  metadata.reflection = packetc2l_dragon_palace_exchange_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetl2c_dragon_palace_exchange_result::kPacketIdFieldNumber;
const int packetl2c_dragon_palace_exchange_result::kResultFieldNumber;
const int packetl2c_dragon_palace_exchange_result::kExchangeItemsFieldNumber;
const int packetl2c_dragon_palace_exchange_result::kPriceInfoListFieldNumber;
const int packetl2c_dragon_palace_exchange_result::kNextPriceFieldNumber;
#endif  // !_MSC_VER

packetl2c_dragon_palace_exchange_result::packetl2c_dragon_palace_exchange_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetl2c_dragon_palace_exchange_result::InitAsDefaultInstance() {
}

packetl2c_dragon_palace_exchange_result::packetl2c_dragon_palace_exchange_result(const packetl2c_dragon_palace_exchange_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetl2c_dragon_palace_exchange_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 16139;
  result_ = 0;
  nextprice_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetl2c_dragon_palace_exchange_result::~packetl2c_dragon_palace_exchange_result() {
  SharedDtor();
}

void packetl2c_dragon_palace_exchange_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetl2c_dragon_palace_exchange_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetl2c_dragon_palace_exchange_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetl2c_dragon_palace_exchange_result_descriptor_;
}

const packetl2c_dragon_palace_exchange_result& packetl2c_dragon_palace_exchange_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetl2c_dragon_palace_exchange_result* packetl2c_dragon_palace_exchange_result::default_instance_ = NULL;

packetl2c_dragon_palace_exchange_result* packetl2c_dragon_palace_exchange_result::New() const {
  return new packetl2c_dragon_palace_exchange_result;
}

void packetl2c_dragon_palace_exchange_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 16139;
    result_ = 0;
    nextprice_ = 0;
  }
  exchangeitems_.Clear();
  priceinfolist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetl2c_dragon_palace_exchange_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_result;
        break;
      }

      // optional int32 result = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &result_)));
          set_has_result();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_exchangeItems;
        break;
      }

      // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_exchangeItems:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_exchangeitems()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_exchangeItems;
        if (input->ExpectTag(34)) goto parse_priceInfoList;
        break;
      }

      // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_priceInfoList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_priceinfolist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_priceInfoList;
        if (input->ExpectTag(40)) goto parse_nextPrice;
        break;
      }

      // optional int32 nextPrice = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_nextPrice:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &nextprice_)));
          set_has_nextprice();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetl2c_dragon_palace_exchange_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 result = 2;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  }

  // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  for (int i = 0; i < this->exchangeitems_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->exchangeitems(i), output);
  }

  // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  for (int i = 0; i < this->priceinfolist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->priceinfolist(i), output);
  }

  // optional int32 nextPrice = 5;
  if (has_nextprice()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nextprice(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetl2c_dragon_palace_exchange_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 result = 2;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  }

  // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  for (int i = 0; i < this->exchangeitems_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->exchangeitems(i), target);
  }

  // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  for (int i = 0; i < this->priceinfolist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->priceinfolist(i), target);
  }

  // optional int32 nextPrice = 5;
  if (has_nextprice()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nextprice(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetl2c_dragon_palace_exchange_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 result = 2;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

    // optional int32 nextPrice = 5;
    if (has_nextprice()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->nextprice());
    }

  }
  // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  total_size += 1 * this->exchangeitems_size();
  for (int i = 0; i < this->exchangeitems_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->exchangeitems(i));
  }

  // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  total_size += 1 * this->priceinfolist_size();
  for (int i = 0; i < this->priceinfolist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->priceinfolist(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetl2c_dragon_palace_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetl2c_dragon_palace_exchange_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_dragon_palace_exchange_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetl2c_dragon_palace_exchange_result::MergeFrom(const packetl2c_dragon_palace_exchange_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  exchangeitems_.MergeFrom(from.exchangeitems_);
  priceinfolist_.MergeFrom(from.priceinfolist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
    if (from.has_nextprice()) {
      set_nextprice(from.nextprice());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetl2c_dragon_palace_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetl2c_dragon_palace_exchange_result::CopyFrom(const packetl2c_dragon_palace_exchange_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetl2c_dragon_palace_exchange_result::IsInitialized() const {

  return true;
}

void packetl2c_dragon_palace_exchange_result::Swap(packetl2c_dragon_palace_exchange_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    exchangeitems_.Swap(&other->exchangeitems_);
    priceinfolist_.Swap(&other->priceinfolist_);
    std::swap(nextprice_, other->nextprice_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetl2c_dragon_palace_exchange_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetl2c_dragon_palace_exchange_result_descriptor_;
  metadata.reflection = packetl2c_dragon_palace_exchange_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2l_dragon_add_exchange_count::kPacketIdFieldNumber;
const int packetc2l_dragon_add_exchange_count::kAddCountFieldNumber;
#endif  // !_MSC_VER

packetc2l_dragon_add_exchange_count::packetc2l_dragon_add_exchange_count()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2l_dragon_add_exchange_count::InitAsDefaultInstance() {
}

packetc2l_dragon_add_exchange_count::packetc2l_dragon_add_exchange_count(const packetc2l_dragon_add_exchange_count& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2l_dragon_add_exchange_count::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 10151;
  addcount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2l_dragon_add_exchange_count::~packetc2l_dragon_add_exchange_count() {
  SharedDtor();
}

void packetc2l_dragon_add_exchange_count::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2l_dragon_add_exchange_count::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2l_dragon_add_exchange_count::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2l_dragon_add_exchange_count_descriptor_;
}

const packetc2l_dragon_add_exchange_count& packetc2l_dragon_add_exchange_count::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetc2l_dragon_add_exchange_count* packetc2l_dragon_add_exchange_count::default_instance_ = NULL;

packetc2l_dragon_add_exchange_count* packetc2l_dragon_add_exchange_count::New() const {
  return new packetc2l_dragon_add_exchange_count;
}

void packetc2l_dragon_add_exchange_count::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 10151;
    addcount_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2l_dragon_add_exchange_count::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_addCount;
        break;
      }

      // optional int32 addCount = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_addCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &addcount_)));
          set_has_addcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2l_dragon_add_exchange_count::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 addCount = 2;
  if (has_addcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->addcount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2l_dragon_add_exchange_count::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 addCount = 2;
  if (has_addcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->addcount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2l_dragon_add_exchange_count::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 addCount = 2;
    if (has_addcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->addcount());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2l_dragon_add_exchange_count::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2l_dragon_add_exchange_count* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_dragon_add_exchange_count*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2l_dragon_add_exchange_count::MergeFrom(const packetc2l_dragon_add_exchange_count& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_addcount()) {
      set_addcount(from.addcount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2l_dragon_add_exchange_count::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2l_dragon_add_exchange_count::CopyFrom(const packetc2l_dragon_add_exchange_count& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2l_dragon_add_exchange_count::IsInitialized() const {

  return true;
}

void packetc2l_dragon_add_exchange_count::Swap(packetc2l_dragon_add_exchange_count* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(addcount_, other->addcount_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2l_dragon_add_exchange_count::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2l_dragon_add_exchange_count_descriptor_;
  metadata.reflection = packetc2l_dragon_add_exchange_count_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetl2c_dragon_add_exchange_count_result::kPacketIdFieldNumber;
const int packetl2c_dragon_add_exchange_count_result::kResultFieldNumber;
const int packetl2c_dragon_add_exchange_count_result::kAddCountFieldNumber;
#endif  // !_MSC_VER

packetl2c_dragon_add_exchange_count_result::packetl2c_dragon_add_exchange_count_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetl2c_dragon_add_exchange_count_result::InitAsDefaultInstance() {
}

packetl2c_dragon_add_exchange_count_result::packetl2c_dragon_add_exchange_count_result(const packetl2c_dragon_add_exchange_count_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetl2c_dragon_add_exchange_count_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 16140;
  result_ = 0;
  addcount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetl2c_dragon_add_exchange_count_result::~packetl2c_dragon_add_exchange_count_result() {
  SharedDtor();
}

void packetl2c_dragon_add_exchange_count_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetl2c_dragon_add_exchange_count_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetl2c_dragon_add_exchange_count_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetl2c_dragon_add_exchange_count_result_descriptor_;
}

const packetl2c_dragon_add_exchange_count_result& packetl2c_dragon_add_exchange_count_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetl2c_dragon_add_exchange_count_result* packetl2c_dragon_add_exchange_count_result::default_instance_ = NULL;

packetl2c_dragon_add_exchange_count_result* packetl2c_dragon_add_exchange_count_result::New() const {
  return new packetl2c_dragon_add_exchange_count_result;
}

void packetl2c_dragon_add_exchange_count_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 16140;
    result_ = 0;
    addcount_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetl2c_dragon_add_exchange_count_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_result;
        break;
      }

      // optional int32 result = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &result_)));
          set_has_result();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_addCount;
        break;
      }

      // optional int32 addCount = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_addCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &addcount_)));
          set_has_addcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetl2c_dragon_add_exchange_count_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 result = 2;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  }

  // optional int32 addCount = 3;
  if (has_addcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->addcount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetl2c_dragon_add_exchange_count_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 result = 2;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  }

  // optional int32 addCount = 3;
  if (has_addcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->addcount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetl2c_dragon_add_exchange_count_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 result = 2;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

    // optional int32 addCount = 3;
    if (has_addcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->addcount());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetl2c_dragon_add_exchange_count_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetl2c_dragon_add_exchange_count_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_dragon_add_exchange_count_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetl2c_dragon_add_exchange_count_result::MergeFrom(const packetl2c_dragon_add_exchange_count_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
    if (from.has_addcount()) {
      set_addcount(from.addcount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetl2c_dragon_add_exchange_count_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetl2c_dragon_add_exchange_count_result::CopyFrom(const packetl2c_dragon_add_exchange_count_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetl2c_dragon_add_exchange_count_result::IsInitialized() const {

  return true;
}

void packetl2c_dragon_add_exchange_count_result::Swap(packetl2c_dragon_add_exchange_count_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(addcount_, other->addcount_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetl2c_dragon_add_exchange_count_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetl2c_dragon_add_exchange_count_result_descriptor_;
  metadata.reflection = packetl2c_dragon_add_exchange_count_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2l_daily_dimensity_exchange::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2l_daily_dimensity_exchange::packetc2l_daily_dimensity_exchange()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2l_daily_dimensity_exchange::InitAsDefaultInstance() {
}

packetc2l_daily_dimensity_exchange::packetc2l_daily_dimensity_exchange(const packetc2l_daily_dimensity_exchange& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2l_daily_dimensity_exchange::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 10152;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2l_daily_dimensity_exchange::~packetc2l_daily_dimensity_exchange() {
  SharedDtor();
}

void packetc2l_daily_dimensity_exchange::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2l_daily_dimensity_exchange::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2l_daily_dimensity_exchange::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2l_daily_dimensity_exchange_descriptor_;
}

const packetc2l_daily_dimensity_exchange& packetc2l_daily_dimensity_exchange::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetc2l_daily_dimensity_exchange* packetc2l_daily_dimensity_exchange::default_instance_ = NULL;

packetc2l_daily_dimensity_exchange* packetc2l_daily_dimensity_exchange::New() const {
  return new packetc2l_daily_dimensity_exchange;
}

void packetc2l_daily_dimensity_exchange::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 10152;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2l_daily_dimensity_exchange::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2l_daily_dimensity_exchange::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2l_daily_dimensity_exchange::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2l_daily_dimensity_exchange::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2l_daily_dimensity_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2l_daily_dimensity_exchange* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_daily_dimensity_exchange*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2l_daily_dimensity_exchange::MergeFrom(const packetc2l_daily_dimensity_exchange& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2l_daily_dimensity_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2l_daily_dimensity_exchange::CopyFrom(const packetc2l_daily_dimensity_exchange& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2l_daily_dimensity_exchange::IsInitialized() const {

  return true;
}

void packetc2l_daily_dimensity_exchange::Swap(packetc2l_daily_dimensity_exchange* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2l_daily_dimensity_exchange::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2l_daily_dimensity_exchange_descriptor_;
  metadata.reflection = packetc2l_daily_dimensity_exchange_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetl2c_daily_dimensity_exchange_result::kPacketIdFieldNumber;
const int packetl2c_daily_dimensity_exchange_result::kResultFieldNumber;
const int packetl2c_daily_dimensity_exchange_result::kExchangeInfoFieldNumber;
#endif  // !_MSC_VER

packetl2c_daily_dimensity_exchange_result::packetl2c_daily_dimensity_exchange_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetl2c_daily_dimensity_exchange_result::InitAsDefaultInstance() {
}

packetl2c_daily_dimensity_exchange_result::packetl2c_daily_dimensity_exchange_result(const packetl2c_daily_dimensity_exchange_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetl2c_daily_dimensity_exchange_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 16141;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetl2c_daily_dimensity_exchange_result::~packetl2c_daily_dimensity_exchange_result() {
  SharedDtor();
}

void packetl2c_daily_dimensity_exchange_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetl2c_daily_dimensity_exchange_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetl2c_daily_dimensity_exchange_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetl2c_daily_dimensity_exchange_result_descriptor_;
}

const packetl2c_daily_dimensity_exchange_result& packetl2c_daily_dimensity_exchange_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  return *default_instance_;
}

packetl2c_daily_dimensity_exchange_result* packetl2c_daily_dimensity_exchange_result::default_instance_ = NULL;

packetl2c_daily_dimensity_exchange_result* packetl2c_daily_dimensity_exchange_result::New() const {
  return new packetl2c_daily_dimensity_exchange_result;
}

void packetl2c_daily_dimensity_exchange_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 16141;
    result_ = 0;
  }
  exchangeinfo_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetl2c_daily_dimensity_exchange_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::fish_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_result;
        break;
      }

      // optional int32 result = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &result_)));
          set_has_result();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_exchangeInfo;
        break;
      }

      // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_exchangeInfo:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_exchangeinfo()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_exchangeInfo;
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetl2c_daily_dimensity_exchange_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 result = 2;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  }

  // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  for (int i = 0; i < this->exchangeinfo_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->exchangeinfo(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetl2c_daily_dimensity_exchange_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 result = 2;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  }

  // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  for (int i = 0; i < this->exchangeinfo_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->exchangeinfo(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetl2c_daily_dimensity_exchange_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 result = 2;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  total_size += 1 * this->exchangeinfo_size();
  for (int i = 0; i < this->exchangeinfo_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->exchangeinfo(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetl2c_daily_dimensity_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetl2c_daily_dimensity_exchange_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_daily_dimensity_exchange_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetl2c_daily_dimensity_exchange_result::MergeFrom(const packetl2c_daily_dimensity_exchange_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  exchangeinfo_.MergeFrom(from.exchangeinfo_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetl2c_daily_dimensity_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetl2c_daily_dimensity_exchange_result::CopyFrom(const packetl2c_daily_dimensity_exchange_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetl2c_daily_dimensity_exchange_result::IsInitialized() const {

  return true;
}

void packetl2c_daily_dimensity_exchange_result::Swap(packetl2c_daily_dimensity_exchange_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    exchangeinfo_.Swap(&other->exchangeinfo_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetl2c_daily_dimensity_exchange_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetl2c_daily_dimensity_exchange_result_descriptor_;
  metadata.reflection = packetl2c_daily_dimensity_exchange_result_reflection_;
  return metadata;
}


// @@protoc_insertion_point(namespace_scope)

}  // namespace fish_protocols

// @@protoc_insertion_point(global_scope)
