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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "client2world_protocol.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 client2world_protocols {

namespace {

const ::google::protobuf::Descriptor* packet_c2w_timesync_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packet_c2w_timesync_reflection_ = NULL;
const ::google::protobuf::Descriptor* packet_w2c_timesync_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packet_w2c_timesync_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_ask_login_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_ask_login_reflection_ = NULL;
const ::google::protobuf::Descriptor* msg_game_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  msg_game_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_ask_login_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_ask_login_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_enter_game_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_enter_game_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_enter_game_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_enter_game_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_gm_command_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_gm_command_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_gm_command_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_gm_command_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_ask_for_pay_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_ask_for_pay_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_ask_for_pay_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_ask_for_pay_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_ask_check_payment_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_ask_check_payment_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_ask_test_payment_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_ask_test_payment_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_ask_check_payment_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_ask_check_payment_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_free_gift_payment_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_free_gift_payment_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_open_gift_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_open_gift_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_open_gift_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_open_gift_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_leave_game_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_leave_game_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_leave_game_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_leave_game_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_player_kick_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_player_kick_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_gamelist_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_gamelist_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_gamelist_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_gamelist_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_first_login_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_first_login_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_first_login_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_first_login_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_enter_fish_game_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_enter_fish_game_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_enter_fish_game_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_enter_fish_game_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* msg_airdropitem_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  msg_airdropitem_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_create_airdrop_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_create_airdrop_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_create_airdrop_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_create_airdrop_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_airdrop_list_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_airdrop_list_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_airdrop_list_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_airdrop_list_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_airdrop_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_airdrop_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_airdrop_info_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_airdrop_info_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_draw_airdrop_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_draw_airdrop_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_draw_airdrop_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_draw_airdrop_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_receive_vip_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_receive_vip_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_receive_vip_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_receive_vip_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_check_vip_money_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_check_vip_money_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_timer_update_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_timer_update_reflection_ = NULL;
const ::google::protobuf::Descriptor* recordInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  recordInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_syn_record_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_syn_record_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_pay_by_diamond_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_pay_by_diamond_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_pay_by_diamond_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_pay_by_diamond_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_exchange_vip_item_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_exchange_vip_item_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_exchange_vip_item_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_exchange_vip_item_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* storeInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  storeInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packet_c2w_sync_global_data_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packet_c2w_sync_global_data_reflection_ = NULL;
const ::google::protobuf::Descriptor* packet_w2c_sync_global_data_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packet_w2c_sync_global_data_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packet_w2c_trigger_seven_day_rechage_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packet_w2c_trigger_seven_day_rechage_reflection_ = NULL;
const ::google::protobuf::Descriptor* treasureItem_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  treasureItem_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_trigger_daily_treasure_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_trigger_daily_treasure_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_daily_treasure_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_daily_treasure_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_daily_treasure_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_daily_treasure_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_receive_treasure_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_receive_treasure_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_receive_treasure_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_receive_treasure_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_receive_sail_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_receive_sail_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_receive_sail_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_receive_sail_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_syn_sail_piggy_gold_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_syn_sail_piggy_gold_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_sail_piggy_gold_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_sail_piggy_gold_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_sail_achieve_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_sail_achieve_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_sail_achieve_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_sail_achieve_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_trigger_sail_achieve_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_trigger_sail_achieve_reflection_ = NULL;
const ::google::protobuf::Descriptor* sailLotteryInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  sailLotteryInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_sail_get_lottery_history_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_sail_get_lottery_history_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_sail_get_lottery_history_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_sail_get_lottery_history_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_return_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_return_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_return_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_return_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_return_recharge_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_return_recharge_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_return_recharge_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_return_recharge_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_abysm_sign_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_abysm_sign_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_abysm_sign_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_abysm_sign_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_dragonball_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_dragonball_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_dragonball_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_dragonball_lottery_result_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_client2world_5fprotocol_2eproto() {
  protobuf_AddDesc_client2world_5fprotocol_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "client2world_protocol.proto");
  GOOGLE_CHECK(file != NULL);
  packet_c2w_timesync_descriptor_ = file->message_type(0);
  static const int packet_c2w_timesync_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_timesync, packet_id_),
  };
  packet_c2w_timesync_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packet_c2w_timesync_descriptor_,
      packet_c2w_timesync::default_instance_,
      packet_c2w_timesync_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_timesync, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_timesync, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packet_c2w_timesync));
  packet_w2c_timesync_result_descriptor_ = file->message_type(1);
  static const int packet_w2c_timesync_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, server_time_),
  };
  packet_w2c_timesync_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packet_w2c_timesync_result_descriptor_,
      packet_w2c_timesync_result::default_instance_,
      packet_w2c_timesync_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packet_w2c_timesync_result));
  packetc2w_ask_login_descriptor_ = file->message_type(2);
  static const int packetc2w_ask_login_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_login, packet_id_),
  };
  packetc2w_ask_login_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_ask_login_descriptor_,
      packetc2w_ask_login::default_instance_,
      packetc2w_ask_login_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_login, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_login, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_ask_login));
  msg_game_info_descriptor_ = file->message_type(3);
  static const int msg_game_info_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, gameid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, gamever_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, curonlinenum_),
  };
  msg_game_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      msg_game_info_descriptor_,
      msg_game_info::default_instance_,
      msg_game_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(msg_game_info));
  packetw2c_ask_login_result_descriptor_ = file->message_type(4);
  static const int packetw2c_ask_login_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, account_info_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, game_list_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, gaming_),
  };
  packetw2c_ask_login_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_ask_login_result_descriptor_,
      packetw2c_ask_login_result::default_instance_,
      packetw2c_ask_login_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_ask_login_result));
  packetc2w_enter_game_descriptor_ = file->message_type(5);
  static const int packetc2w_enter_game_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, gameid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, gamever_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, roomid_),
  };
  packetc2w_enter_game_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_enter_game_descriptor_,
      packetc2w_enter_game::default_instance_,
      packetc2w_enter_game_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_enter_game));
  packetw2c_enter_game_result_descriptor_ = file->message_type(6);
  static const int packetw2c_enter_game_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, result_),
  };
  packetw2c_enter_game_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_enter_game_result_descriptor_,
      packetw2c_enter_game_result::default_instance_,
      packetw2c_enter_game_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_enter_game_result));
  packetc2w_gm_command_descriptor_ = file->message_type(7);
  static const int packetc2w_gm_command_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, command_),
  };
  packetc2w_gm_command_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_gm_command_descriptor_,
      packetc2w_gm_command::default_instance_,
      packetc2w_gm_command_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_gm_command));
  packetw2c_gm_command_result_descriptor_ = file->message_type(8);
  static const int packetw2c_gm_command_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, result_),
  };
  packetw2c_gm_command_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_gm_command_result_descriptor_,
      packetw2c_gm_command_result::default_instance_,
      packetw2c_gm_command_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_gm_command_result));
  packetc2w_ask_for_pay_descriptor_ = file->message_type(9);
  static const int packetc2w_ask_for_pay_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, channel_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, pay_code_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, pay_type_),
  };
  packetc2w_ask_for_pay_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_ask_for_pay_descriptor_,
      packetc2w_ask_for_pay::default_instance_,
      packetc2w_ask_for_pay_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_ask_for_pay));
  packetw2c_ask_for_pay_result_descriptor_ = file->message_type(10);
  static const int packetw2c_ask_for_pay_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, order_id_),
  };
  packetw2c_ask_for_pay_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_ask_for_pay_result_descriptor_,
      packetw2c_ask_for_pay_result::default_instance_,
      packetw2c_ask_for_pay_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_ask_for_pay_result));
  packetc2w_ask_check_payment_descriptor_ = file->message_type(11);
  static const int packetc2w_ask_check_payment_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, orderid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, ex_mark_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, paytype_),
  };
  packetc2w_ask_check_payment_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_ask_check_payment_descriptor_,
      packetc2w_ask_check_payment::default_instance_,
      packetc2w_ask_check_payment_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_ask_check_payment));
  packetc2w_ask_test_payment_descriptor_ = file->message_type(12);
  static const int packetc2w_ask_test_payment_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, payid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, ex_mark_),
  };
  packetc2w_ask_test_payment_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_ask_test_payment_descriptor_,
      packetc2w_ask_test_payment::default_instance_,
      packetc2w_ask_test_payment_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_ask_test_payment));
  packetw2c_ask_check_payment_result_descriptor_ = file->message_type(13);
  static const int packetw2c_ask_check_payment_result_offsets_[7] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, payid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, gold_count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, ticket_count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, rewarditem_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, activityitem_),
  };
  packetw2c_ask_check_payment_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_ask_check_payment_result_descriptor_,
      packetw2c_ask_check_payment_result::default_instance_,
      packetw2c_ask_check_payment_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_ask_check_payment_result));
  packetc2w_free_gift_payment_descriptor_ = file->message_type(14);
  static const int packetc2w_free_gift_payment_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, payid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, ex_mark_),
  };
  packetc2w_free_gift_payment_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_free_gift_payment_descriptor_,
      packetc2w_free_gift_payment::default_instance_,
      packetc2w_free_gift_payment_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_free_gift_payment));
  packetc2w_open_gift_descriptor_ = file->message_type(15);
  static const int packetc2w_open_gift_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, giftid_),
  };
  packetc2w_open_gift_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_open_gift_descriptor_,
      packetc2w_open_gift::default_instance_,
      packetc2w_open_gift_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_open_gift));
  packetw2c_open_gift_result_descriptor_ = file->message_type(16);
  static const int packetw2c_open_gift_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, giftid_),
  };
  packetw2c_open_gift_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_open_gift_result_descriptor_,
      packetw2c_open_gift_result::default_instance_,
      packetw2c_open_gift_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_open_gift_result));
  packetc2w_leave_game_descriptor_ = file->message_type(17);
  static const int packetc2w_leave_game_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_leave_game, packet_id_),
  };
  packetc2w_leave_game_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_leave_game_descriptor_,
      packetc2w_leave_game::default_instance_,
      packetc2w_leave_game_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_leave_game, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_leave_game, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_leave_game));
  packetw2c_leave_game_result_descriptor_ = file->message_type(18);
  static const int packetw2c_leave_game_result_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_leave_game_result, packet_id_),
  };
  packetw2c_leave_game_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_leave_game_result_descriptor_,
      packetw2c_leave_game_result::default_instance_,
      packetw2c_leave_game_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_leave_game_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_leave_game_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_leave_game_result));
  packetw2c_player_kick_descriptor_ = file->message_type(19);
  static const int packetw2c_player_kick_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_player_kick, packet_id_),
  };
  packetw2c_player_kick_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_player_kick_descriptor_,
      packetw2c_player_kick::default_instance_,
      packetw2c_player_kick_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_player_kick, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_player_kick, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_player_kick));
  packetc2w_get_gamelist_descriptor_ = file->message_type(20);
  static const int packetc2w_get_gamelist_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_gamelist, packet_id_),
  };
  packetc2w_get_gamelist_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_gamelist_descriptor_,
      packetc2w_get_gamelist::default_instance_,
      packetc2w_get_gamelist_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_gamelist, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_gamelist, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_gamelist));
  packetw2c_get_gamelist_result_descriptor_ = file->message_type(21);
  static const int packetw2c_get_gamelist_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, game_list_),
  };
  packetw2c_get_gamelist_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_gamelist_result_descriptor_,
      packetw2c_get_gamelist_result::default_instance_,
      packetw2c_get_gamelist_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_gamelist_result));
  packetc2w_first_login_descriptor_ = file->message_type(22);
  static const int packetc2w_first_login_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_first_login, packet_id_),
  };
  packetc2w_first_login_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_first_login_descriptor_,
      packetc2w_first_login::default_instance_,
      packetc2w_first_login_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_first_login, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_first_login, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_first_login));
  packetw2c_first_login_result_descriptor_ = file->message_type(23);
  static const int packetw2c_first_login_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, result_),
  };
  packetw2c_first_login_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_first_login_result_descriptor_,
      packetw2c_first_login_result::default_instance_,
      packetw2c_first_login_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_first_login_result));
  packetc2w_enter_fish_game_descriptor_ = file->message_type(24);
  static const int packetc2w_enter_fish_game_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, gamever_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, roomid_),
  };
  packetc2w_enter_fish_game_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_enter_fish_game_descriptor_,
      packetc2w_enter_fish_game::default_instance_,
      packetc2w_enter_fish_game_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_enter_fish_game));
  packetw2c_enter_fish_game_result_descriptor_ = file->message_type(25);
  static const int packetw2c_enter_fish_game_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, roomid_),
  };
  packetw2c_enter_fish_game_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_enter_fish_game_result_descriptor_,
      packetw2c_enter_fish_game_result::default_instance_,
      packetw2c_enter_fish_game_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_enter_fish_game_result));
  msg_airdropitem_descriptor_ = file->message_type(26);
  static const int msg_airdropitem_offsets_[9] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, uuid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, playerid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, itemid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, itemcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, nickname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, headid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, pwd_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, leftsecond_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, receiveid_),
  };
  msg_airdropitem_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      msg_airdropitem_descriptor_,
      msg_airdropitem::default_instance_,
      msg_airdropitem_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(msg_airdropitem));
  packetc2w_create_airdrop_descriptor_ = file->message_type(27);
  static const int packetc2w_create_airdrop_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, itemid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, itemcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, pwd_),
  };
  packetc2w_create_airdrop_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_create_airdrop_descriptor_,
      packetc2w_create_airdrop::default_instance_,
      packetc2w_create_airdrop_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_create_airdrop));
  packetw2c_create_airdrop_result_descriptor_ = file->message_type(28);
  static const int packetw2c_create_airdrop_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, itemid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, itemcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, pwd_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, uuid_),
  };
  packetw2c_create_airdrop_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_create_airdrop_result_descriptor_,
      packetw2c_create_airdrop_result::default_instance_,
      packetw2c_create_airdrop_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_create_airdrop_result));
  packetc2w_get_airdrop_list_descriptor_ = file->message_type(29);
  static const int packetc2w_get_airdrop_list_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, bplayerairdrop_),
  };
  packetc2w_get_airdrop_list_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_airdrop_list_descriptor_,
      packetc2w_get_airdrop_list::default_instance_,
      packetc2w_get_airdrop_list_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_airdrop_list));
  packetw2c_get_airdrop_list_result_descriptor_ = file->message_type(30);
  static const int packetw2c_get_airdrop_list_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, bplayerairdrop_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, items_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, errorcount_),
  };
  packetw2c_get_airdrop_list_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_airdrop_list_result_descriptor_,
      packetw2c_get_airdrop_list_result::default_instance_,
      packetw2c_get_airdrop_list_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_airdrop_list_result));
  packetc2w_get_airdrop_info_descriptor_ = file->message_type(31);
  static const int packetc2w_get_airdrop_info_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, uuid_),
  };
  packetc2w_get_airdrop_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_airdrop_info_descriptor_,
      packetc2w_get_airdrop_info::default_instance_,
      packetc2w_get_airdrop_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_airdrop_info));
  packetw2c_get_airdrop_info_result_descriptor_ = file->message_type(32);
  static const int packetw2c_get_airdrop_info_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, item_),
  };
  packetw2c_get_airdrop_info_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_airdrop_info_result_descriptor_,
      packetw2c_get_airdrop_info_result::default_instance_,
      packetw2c_get_airdrop_info_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_airdrop_info_result));
  packetc2w_draw_airdrop_descriptor_ = file->message_type(33);
  static const int packetc2w_draw_airdrop_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, uuid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, pwd_),
  };
  packetc2w_draw_airdrop_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_draw_airdrop_descriptor_,
      packetc2w_draw_airdrop::default_instance_,
      packetc2w_draw_airdrop_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_draw_airdrop));
  packetw2c_draw_airdrop_result_descriptor_ = file->message_type(34);
  static const int packetw2c_draw_airdrop_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, item_),
  };
  packetw2c_draw_airdrop_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_draw_airdrop_result_descriptor_,
      packetw2c_draw_airdrop_result::default_instance_,
      packetw2c_draw_airdrop_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_draw_airdrop_result));
  packetc2w_receive_vip_reward_descriptor_ = file->message_type(35);
  static const int packetc2w_receive_vip_reward_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, rewardid_),
  };
  packetc2w_receive_vip_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_receive_vip_reward_descriptor_,
      packetc2w_receive_vip_reward::default_instance_,
      packetc2w_receive_vip_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_receive_vip_reward));
  packetw2c_receive_vip_reward_result_descriptor_ = file->message_type(36);
  static const int packetw2c_receive_vip_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, rewardid_),
  };
  packetw2c_receive_vip_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_receive_vip_reward_result_descriptor_,
      packetw2c_receive_vip_reward_result::default_instance_,
      packetw2c_receive_vip_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_receive_vip_reward_result));
  packetw2c_check_vip_money_result_descriptor_ = file->message_type(37);
  static const int packetw2c_check_vip_money_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, result_),
  };
  packetw2c_check_vip_money_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_check_vip_money_result_descriptor_,
      packetw2c_check_vip_money_result::default_instance_,
      packetw2c_check_vip_money_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_check_vip_money_result));
  packetw2c_timer_update_descriptor_ = file->message_type(38);
  static const int packetw2c_timer_update_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_timer_update, packet_id_),
  };
  packetw2c_timer_update_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_timer_update_descriptor_,
      packetw2c_timer_update::default_instance_,
      packetw2c_timer_update_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_timer_update, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_timer_update, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_timer_update));
  recordInfo_descriptor_ = file->message_type(39);
  static const int recordInfo_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, param_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, count_),
  };
  recordInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      recordInfo_descriptor_,
      recordInfo::default_instance_,
      recordInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(recordInfo));
  packetc2w_syn_record_info_descriptor_ = file->message_type(40);
  static const int packetc2w_syn_record_info_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, recordlist_),
  };
  packetc2w_syn_record_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_syn_record_info_descriptor_,
      packetc2w_syn_record_info::default_instance_,
      packetc2w_syn_record_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_syn_record_info));
  packetc2w_pay_by_diamond_descriptor_ = file->message_type(41);
  static const int packetc2w_pay_by_diamond_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, payid_),
  };
  packetc2w_pay_by_diamond_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_pay_by_diamond_descriptor_,
      packetc2w_pay_by_diamond::default_instance_,
      packetc2w_pay_by_diamond_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_pay_by_diamond));
  packetw2c_pay_by_diamond_result_descriptor_ = file->message_type(42);
  static const int packetw2c_pay_by_diamond_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, payid_),
  };
  packetw2c_pay_by_diamond_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_pay_by_diamond_result_descriptor_,
      packetw2c_pay_by_diamond_result::default_instance_,
      packetw2c_pay_by_diamond_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_pay_by_diamond_result));
  packetc2w_exchange_vip_item_descriptor_ = file->message_type(43);
  static const int packetc2w_exchange_vip_item_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, index_),
  };
  packetc2w_exchange_vip_item_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_exchange_vip_item_descriptor_,
      packetc2w_exchange_vip_item::default_instance_,
      packetc2w_exchange_vip_item_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_exchange_vip_item));
  packetw2c_exchange_vip_item_result_descriptor_ = file->message_type(44);
  static const int packetw2c_exchange_vip_item_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, index_),
  };
  packetw2c_exchange_vip_item_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_exchange_vip_item_result_descriptor_,
      packetw2c_exchange_vip_item_result::default_instance_,
      packetw2c_exchange_vip_item_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_exchange_vip_item_result));
  storeInfo_descriptor_ = file->message_type(45);
  static const int storeInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, store_),
  };
  storeInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      storeInfo_descriptor_,
      storeInfo::default_instance_,
      storeInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(storeInfo));
  packet_c2w_sync_global_data_descriptor_ = file->message_type(46);
  static const int packet_c2w_sync_global_data_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_sync_global_data, packet_id_),
  };
  packet_c2w_sync_global_data_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packet_c2w_sync_global_data_descriptor_,
      packet_c2w_sync_global_data::default_instance_,
      packet_c2w_sync_global_data_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_sync_global_data, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_sync_global_data, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packet_c2w_sync_global_data));
  packet_w2c_sync_global_data_result_descriptor_ = file->message_type(47);
  static const int packet_w2c_sync_global_data_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, vipexchangestore_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, firstrechargegiftpaycount_),
  };
  packet_w2c_sync_global_data_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packet_w2c_sync_global_data_result_descriptor_,
      packet_w2c_sync_global_data_result::default_instance_,
      packet_w2c_sync_global_data_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packet_w2c_sync_global_data_result));
  packet_w2c_trigger_seven_day_rechage_descriptor_ = file->message_type(48);
  static const int packet_w2c_trigger_seven_day_rechage_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, leftsecond_),
  };
  packet_w2c_trigger_seven_day_rechage_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packet_w2c_trigger_seven_day_rechage_descriptor_,
      packet_w2c_trigger_seven_day_rechage::default_instance_,
      packet_w2c_trigger_seven_day_rechage_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packet_w2c_trigger_seven_day_rechage));
  treasureItem_descriptor_ = file->message_type(49);
  static const int treasureItem_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, itemid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, itemcount_),
  };
  treasureItem_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      treasureItem_descriptor_,
      treasureItem::default_instance_,
      treasureItem_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(treasureItem));
  packetw2c_trigger_daily_treasure_descriptor_ = file->message_type(50);
  static const int packetw2c_trigger_daily_treasure_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, giftid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, resetcard_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, treasurelist_),
  };
  packetw2c_trigger_daily_treasure_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_trigger_daily_treasure_descriptor_,
      packetw2c_trigger_daily_treasure::default_instance_,
      packetw2c_trigger_daily_treasure_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_trigger_daily_treasure));
  packetc2w_daily_treasure_lottery_descriptor_ = file->message_type(51);
  static const int packetc2w_daily_treasure_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, index_),
  };
  packetc2w_daily_treasure_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_daily_treasure_lottery_descriptor_,
      packetc2w_daily_treasure_lottery::default_instance_,
      packetc2w_daily_treasure_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_daily_treasure_lottery));
  packetw2c_daily_treasure_lottery_result_descriptor_ = file->message_type(52);
  static const int packetw2c_daily_treasure_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, randcount_),
  };
  packetw2c_daily_treasure_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_daily_treasure_lottery_result_descriptor_,
      packetw2c_daily_treasure_lottery_result::default_instance_,
      packetw2c_daily_treasure_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_daily_treasure_lottery_result));
  packetc2w_receive_treasure_lottery_descriptor_ = file->message_type(53);
  static const int packetc2w_receive_treasure_lottery_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_treasure_lottery, packet_id_),
  };
  packetc2w_receive_treasure_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_receive_treasure_lottery_descriptor_,
      packetc2w_receive_treasure_lottery::default_instance_,
      packetc2w_receive_treasure_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_treasure_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_treasure_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_receive_treasure_lottery));
  packetw2c_receive_treasure_lottery_result_descriptor_ = file->message_type(54);
  static const int packetw2c_receive_treasure_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, giftid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, treasurelist_),
  };
  packetw2c_receive_treasure_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_receive_treasure_lottery_result_descriptor_,
      packetw2c_receive_treasure_lottery_result::default_instance_,
      packetw2c_receive_treasure_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_receive_treasure_lottery_result));
  packetc2w_receive_sail_reward_descriptor_ = file->message_type(55);
  static const int packetc2w_receive_sail_reward_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, index_),
  };
  packetc2w_receive_sail_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_receive_sail_reward_descriptor_,
      packetc2w_receive_sail_reward::default_instance_,
      packetc2w_receive_sail_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_receive_sail_reward));
  packetw2c_receive_sail_result_descriptor_ = file->message_type(56);
  static const int packetw2c_receive_sail_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, resultparam_),
  };
  packetw2c_receive_sail_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_receive_sail_result_descriptor_,
      packetw2c_receive_sail_result::default_instance_,
      packetw2c_receive_sail_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_receive_sail_result));
  packetc2w_syn_sail_piggy_gold_descriptor_ = file->message_type(57);
  static const int packetc2w_syn_sail_piggy_gold_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_sail_piggy_gold, packet_id_),
  };
  packetc2w_syn_sail_piggy_gold_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_syn_sail_piggy_gold_descriptor_,
      packetc2w_syn_sail_piggy_gold::default_instance_,
      packetc2w_syn_sail_piggy_gold_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_sail_piggy_gold, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_sail_piggy_gold, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_syn_sail_piggy_gold));
  packetw2c_syn_sail_piggy_gold_result_descriptor_ = file->message_type(58);
  static const int packetw2c_syn_sail_piggy_gold_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, piggygold_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, fishgold_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, onlinegold_),
  };
  packetw2c_syn_sail_piggy_gold_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_sail_piggy_gold_result_descriptor_,
      packetw2c_syn_sail_piggy_gold_result::default_instance_,
      packetw2c_syn_sail_piggy_gold_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_sail_piggy_gold_result));
  packetc2w_sail_achieve_lottery_descriptor_ = file->message_type(59);
  static const int packetc2w_sail_achieve_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, count_),
  };
  packetc2w_sail_achieve_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_sail_achieve_lottery_descriptor_,
      packetc2w_sail_achieve_lottery::default_instance_,
      packetc2w_sail_achieve_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_sail_achieve_lottery));
  packetw2c_sail_achieve_lottery_result_descriptor_ = file->message_type(60);
  static const int packetw2c_sail_achieve_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, rewardlist_),
  };
  packetw2c_sail_achieve_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_sail_achieve_lottery_result_descriptor_,
      packetw2c_sail_achieve_lottery_result::default_instance_,
      packetw2c_sail_achieve_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_sail_achieve_lottery_result));
  packetw2c_trigger_sail_achieve_descriptor_ = file->message_type(61);
  static const int packetw2c_trigger_sail_achieve_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, sailinfo_),
  };
  packetw2c_trigger_sail_achieve_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_trigger_sail_achieve_descriptor_,
      packetw2c_trigger_sail_achieve::default_instance_,
      packetw2c_trigger_sail_achieve_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_trigger_sail_achieve));
  sailLotteryInfo_descriptor_ = file->message_type(62);
  static const int sailLotteryInfo_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, nickname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, itemid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, itemcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, time_),
  };
  sailLotteryInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      sailLotteryInfo_descriptor_,
      sailLotteryInfo::default_instance_,
      sailLotteryInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(sailLotteryInfo));
  packetc2w_sail_get_lottery_history_descriptor_ = file->message_type(63);
  static const int packetc2w_sail_get_lottery_history_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_get_lottery_history, packet_id_),
  };
  packetc2w_sail_get_lottery_history_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_sail_get_lottery_history_descriptor_,
      packetc2w_sail_get_lottery_history::default_instance_,
      packetc2w_sail_get_lottery_history_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_get_lottery_history, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_get_lottery_history, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_sail_get_lottery_history));
  packetw2c_sail_get_lottery_history_result_descriptor_ = file->message_type(64);
  static const int packetw2c_sail_get_lottery_history_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, his_),
  };
  packetw2c_sail_get_lottery_history_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_sail_get_lottery_history_result_descriptor_,
      packetw2c_sail_get_lottery_history_result::default_instance_,
      packetw2c_sail_get_lottery_history_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_sail_get_lottery_history_result));
  packetc2w_recv_return_login_reward_descriptor_ = file->message_type(65);
  static const int packetc2w_recv_return_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, index_),
  };
  packetc2w_recv_return_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_return_login_reward_descriptor_,
      packetc2w_recv_return_login_reward::default_instance_,
      packetc2w_recv_return_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_return_login_reward));
  packetw2c_recv_return_login_reward_result_descriptor_ = file->message_type(66);
  static const int packetw2c_recv_return_login_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, index_),
  };
  packetw2c_recv_return_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_return_login_reward_result_descriptor_,
      packetw2c_recv_return_login_reward_result::default_instance_,
      packetw2c_recv_return_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_return_login_reward_result));
  packetc2w_recv_return_recharge_reward_descriptor_ = file->message_type(67);
  static const int packetc2w_recv_return_recharge_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, index_),
  };
  packetc2w_recv_return_recharge_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_return_recharge_reward_descriptor_,
      packetc2w_recv_return_recharge_reward::default_instance_,
      packetc2w_recv_return_recharge_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_return_recharge_reward));
  packetw2c_recv_return_recharge_reward_result_descriptor_ = file->message_type(68);
  static const int packetw2c_recv_return_recharge_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, index_),
  };
  packetw2c_recv_return_recharge_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_return_recharge_reward_result_descriptor_,
      packetw2c_recv_return_recharge_reward_result::default_instance_,
      packetw2c_recv_return_recharge_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_return_recharge_reward_result));
  packetc2w_abysm_sign_descriptor_ = file->message_type(69);
  static const int packetc2w_abysm_sign_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, index_),
  };
  packetc2w_abysm_sign_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_abysm_sign_descriptor_,
      packetc2w_abysm_sign::default_instance_,
      packetc2w_abysm_sign_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_abysm_sign));
  packetw2c_abysm_sign_result_descriptor_ = file->message_type(70);
  static const int packetw2c_abysm_sign_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, rewarditem_),
  };
  packetw2c_abysm_sign_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_abysm_sign_result_descriptor_,
      packetw2c_abysm_sign_result::default_instance_,
      packetw2c_abysm_sign_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_abysm_sign_result));
  packetc2w_dragonball_lottery_descriptor_ = file->message_type(71);
  static const int packetc2w_dragonball_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, count_),
  };
  packetc2w_dragonball_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_dragonball_lottery_descriptor_,
      packetc2w_dragonball_lottery::default_instance_,
      packetc2w_dragonball_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_dragonball_lottery));
  packetw2c_dragonball_lottery_result_descriptor_ = file->message_type(72);
  static const int packetw2c_dragonball_lottery_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, curlucky_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, dragonball_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, rewards_),
  };
  packetw2c_dragonball_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_dragonball_lottery_result_descriptor_,
      packetw2c_dragonball_lottery_result::default_instance_,
      packetw2c_dragonball_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_dragonball_lottery_result));
}

namespace {

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

void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packet_c2w_timesync_descriptor_, &packet_c2w_timesync::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packet_w2c_timesync_result_descriptor_, &packet_w2c_timesync_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_ask_login_descriptor_, &packetc2w_ask_login::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    msg_game_info_descriptor_, &msg_game_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_ask_login_result_descriptor_, &packetw2c_ask_login_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_enter_game_descriptor_, &packetc2w_enter_game::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_enter_game_result_descriptor_, &packetw2c_enter_game_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_gm_command_descriptor_, &packetc2w_gm_command::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_gm_command_result_descriptor_, &packetw2c_gm_command_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_ask_for_pay_descriptor_, &packetc2w_ask_for_pay::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_ask_for_pay_result_descriptor_, &packetw2c_ask_for_pay_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_ask_check_payment_descriptor_, &packetc2w_ask_check_payment::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_ask_test_payment_descriptor_, &packetc2w_ask_test_payment::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_ask_check_payment_result_descriptor_, &packetw2c_ask_check_payment_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_free_gift_payment_descriptor_, &packetc2w_free_gift_payment::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_open_gift_descriptor_, &packetc2w_open_gift::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_open_gift_result_descriptor_, &packetw2c_open_gift_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_leave_game_descriptor_, &packetc2w_leave_game::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_leave_game_result_descriptor_, &packetw2c_leave_game_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_player_kick_descriptor_, &packetw2c_player_kick::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_gamelist_descriptor_, &packetc2w_get_gamelist::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_gamelist_result_descriptor_, &packetw2c_get_gamelist_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_first_login_descriptor_, &packetc2w_first_login::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_first_login_result_descriptor_, &packetw2c_first_login_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_enter_fish_game_descriptor_, &packetc2w_enter_fish_game::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_enter_fish_game_result_descriptor_, &packetw2c_enter_fish_game_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    msg_airdropitem_descriptor_, &msg_airdropitem::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_create_airdrop_descriptor_, &packetc2w_create_airdrop::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_create_airdrop_result_descriptor_, &packetw2c_create_airdrop_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_airdrop_list_descriptor_, &packetc2w_get_airdrop_list::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_airdrop_list_result_descriptor_, &packetw2c_get_airdrop_list_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_airdrop_info_descriptor_, &packetc2w_get_airdrop_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_airdrop_info_result_descriptor_, &packetw2c_get_airdrop_info_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_draw_airdrop_descriptor_, &packetc2w_draw_airdrop::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_draw_airdrop_result_descriptor_, &packetw2c_draw_airdrop_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_receive_vip_reward_descriptor_, &packetc2w_receive_vip_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_receive_vip_reward_result_descriptor_, &packetw2c_receive_vip_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_check_vip_money_result_descriptor_, &packetw2c_check_vip_money_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_timer_update_descriptor_, &packetw2c_timer_update::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    recordInfo_descriptor_, &recordInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_syn_record_info_descriptor_, &packetc2w_syn_record_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_pay_by_diamond_descriptor_, &packetc2w_pay_by_diamond::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_pay_by_diamond_result_descriptor_, &packetw2c_pay_by_diamond_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_exchange_vip_item_descriptor_, &packetc2w_exchange_vip_item::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_exchange_vip_item_result_descriptor_, &packetw2c_exchange_vip_item_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    storeInfo_descriptor_, &storeInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packet_c2w_sync_global_data_descriptor_, &packet_c2w_sync_global_data::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packet_w2c_sync_global_data_result_descriptor_, &packet_w2c_sync_global_data_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packet_w2c_trigger_seven_day_rechage_descriptor_, &packet_w2c_trigger_seven_day_rechage::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    treasureItem_descriptor_, &treasureItem::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_trigger_daily_treasure_descriptor_, &packetw2c_trigger_daily_treasure::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_daily_treasure_lottery_descriptor_, &packetc2w_daily_treasure_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_daily_treasure_lottery_result_descriptor_, &packetw2c_daily_treasure_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_receive_treasure_lottery_descriptor_, &packetc2w_receive_treasure_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_receive_treasure_lottery_result_descriptor_, &packetw2c_receive_treasure_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_receive_sail_reward_descriptor_, &packetc2w_receive_sail_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_receive_sail_result_descriptor_, &packetw2c_receive_sail_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_syn_sail_piggy_gold_descriptor_, &packetc2w_syn_sail_piggy_gold::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_sail_piggy_gold_result_descriptor_, &packetw2c_syn_sail_piggy_gold_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_sail_achieve_lottery_descriptor_, &packetc2w_sail_achieve_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_sail_achieve_lottery_result_descriptor_, &packetw2c_sail_achieve_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_trigger_sail_achieve_descriptor_, &packetw2c_trigger_sail_achieve::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    sailLotteryInfo_descriptor_, &sailLotteryInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_sail_get_lottery_history_descriptor_, &packetc2w_sail_get_lottery_history::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_sail_get_lottery_history_result_descriptor_, &packetw2c_sail_get_lottery_history_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_return_login_reward_descriptor_, &packetc2w_recv_return_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_return_login_reward_result_descriptor_, &packetw2c_recv_return_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_return_recharge_reward_descriptor_, &packetc2w_recv_return_recharge_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_return_recharge_reward_result_descriptor_, &packetw2c_recv_return_recharge_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_abysm_sign_descriptor_, &packetc2w_abysm_sign::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_abysm_sign_result_descriptor_, &packetw2c_abysm_sign_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_dragonball_lottery_descriptor_, &packetc2w_dragonball_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_dragonball_lottery_result_descriptor_, &packetw2c_dragonball_lottery_result::default_instance());
}

}  // namespace

void protobuf_ShutdownFile_client2world_5fprotocol_2eproto() {
  delete packet_c2w_timesync::default_instance_;
  delete packet_c2w_timesync_reflection_;
  delete packet_w2c_timesync_result::default_instance_;
  delete packet_w2c_timesync_result_reflection_;
  delete packetc2w_ask_login::default_instance_;
  delete packetc2w_ask_login_reflection_;
  delete msg_game_info::default_instance_;
  delete msg_game_info_reflection_;
  delete packetw2c_ask_login_result::default_instance_;
  delete packetw2c_ask_login_result_reflection_;
  delete packetc2w_enter_game::default_instance_;
  delete packetc2w_enter_game_reflection_;
  delete packetw2c_enter_game_result::default_instance_;
  delete packetw2c_enter_game_result_reflection_;
  delete packetc2w_gm_command::default_instance_;
  delete packetc2w_gm_command_reflection_;
  delete packetw2c_gm_command_result::default_instance_;
  delete packetw2c_gm_command_result_reflection_;
  delete packetc2w_ask_for_pay::default_instance_;
  delete packetc2w_ask_for_pay_reflection_;
  delete packetw2c_ask_for_pay_result::default_instance_;
  delete packetw2c_ask_for_pay_result_reflection_;
  delete packetc2w_ask_check_payment::default_instance_;
  delete packetc2w_ask_check_payment_reflection_;
  delete packetc2w_ask_test_payment::default_instance_;
  delete packetc2w_ask_test_payment_reflection_;
  delete packetw2c_ask_check_payment_result::default_instance_;
  delete packetw2c_ask_check_payment_result_reflection_;
  delete packetc2w_free_gift_payment::default_instance_;
  delete packetc2w_free_gift_payment_reflection_;
  delete packetc2w_open_gift::default_instance_;
  delete packetc2w_open_gift_reflection_;
  delete packetw2c_open_gift_result::default_instance_;
  delete packetw2c_open_gift_result_reflection_;
  delete packetc2w_leave_game::default_instance_;
  delete packetc2w_leave_game_reflection_;
  delete packetw2c_leave_game_result::default_instance_;
  delete packetw2c_leave_game_result_reflection_;
  delete packetw2c_player_kick::default_instance_;
  delete packetw2c_player_kick_reflection_;
  delete packetc2w_get_gamelist::default_instance_;
  delete packetc2w_get_gamelist_reflection_;
  delete packetw2c_get_gamelist_result::default_instance_;
  delete packetw2c_get_gamelist_result_reflection_;
  delete packetc2w_first_login::default_instance_;
  delete packetc2w_first_login_reflection_;
  delete packetw2c_first_login_result::default_instance_;
  delete packetw2c_first_login_result_reflection_;
  delete packetc2w_enter_fish_game::default_instance_;
  delete packetc2w_enter_fish_game_reflection_;
  delete packetw2c_enter_fish_game_result::default_instance_;
  delete packetw2c_enter_fish_game_result_reflection_;
  delete msg_airdropitem::default_instance_;
  delete msg_airdropitem_reflection_;
  delete packetc2w_create_airdrop::default_instance_;
  delete packetc2w_create_airdrop_reflection_;
  delete packetw2c_create_airdrop_result::default_instance_;
  delete packetw2c_create_airdrop_result_reflection_;
  delete packetc2w_get_airdrop_list::default_instance_;
  delete packetc2w_get_airdrop_list_reflection_;
  delete packetw2c_get_airdrop_list_result::default_instance_;
  delete packetw2c_get_airdrop_list_result_reflection_;
  delete packetc2w_get_airdrop_info::default_instance_;
  delete packetc2w_get_airdrop_info_reflection_;
  delete packetw2c_get_airdrop_info_result::default_instance_;
  delete packetw2c_get_airdrop_info_result_reflection_;
  delete packetc2w_draw_airdrop::default_instance_;
  delete packetc2w_draw_airdrop_reflection_;
  delete packetw2c_draw_airdrop_result::default_instance_;
  delete packetw2c_draw_airdrop_result_reflection_;
  delete packetc2w_receive_vip_reward::default_instance_;
  delete packetc2w_receive_vip_reward_reflection_;
  delete packetw2c_receive_vip_reward_result::default_instance_;
  delete packetw2c_receive_vip_reward_result_reflection_;
  delete packetw2c_check_vip_money_result::default_instance_;
  delete packetw2c_check_vip_money_result_reflection_;
  delete packetw2c_timer_update::default_instance_;
  delete packetw2c_timer_update_reflection_;
  delete recordInfo::default_instance_;
  delete recordInfo_reflection_;
  delete packetc2w_syn_record_info::default_instance_;
  delete packetc2w_syn_record_info_reflection_;
  delete packetc2w_pay_by_diamond::default_instance_;
  delete packetc2w_pay_by_diamond_reflection_;
  delete packetw2c_pay_by_diamond_result::default_instance_;
  delete packetw2c_pay_by_diamond_result_reflection_;
  delete packetc2w_exchange_vip_item::default_instance_;
  delete packetc2w_exchange_vip_item_reflection_;
  delete packetw2c_exchange_vip_item_result::default_instance_;
  delete packetw2c_exchange_vip_item_result_reflection_;
  delete storeInfo::default_instance_;
  delete storeInfo_reflection_;
  delete packet_c2w_sync_global_data::default_instance_;
  delete packet_c2w_sync_global_data_reflection_;
  delete packet_w2c_sync_global_data_result::default_instance_;
  delete packet_w2c_sync_global_data_result_reflection_;
  delete packet_w2c_trigger_seven_day_rechage::default_instance_;
  delete packet_w2c_trigger_seven_day_rechage_reflection_;
  delete treasureItem::default_instance_;
  delete treasureItem_reflection_;
  delete packetw2c_trigger_daily_treasure::default_instance_;
  delete packetw2c_trigger_daily_treasure_reflection_;
  delete packetc2w_daily_treasure_lottery::default_instance_;
  delete packetc2w_daily_treasure_lottery_reflection_;
  delete packetw2c_daily_treasure_lottery_result::default_instance_;
  delete packetw2c_daily_treasure_lottery_result_reflection_;
  delete packetc2w_receive_treasure_lottery::default_instance_;
  delete packetc2w_receive_treasure_lottery_reflection_;
  delete packetw2c_receive_treasure_lottery_result::default_instance_;
  delete packetw2c_receive_treasure_lottery_result_reflection_;
  delete packetc2w_receive_sail_reward::default_instance_;
  delete packetc2w_receive_sail_reward_reflection_;
  delete packetw2c_receive_sail_result::default_instance_;
  delete packetw2c_receive_sail_result_reflection_;
  delete packetc2w_syn_sail_piggy_gold::default_instance_;
  delete packetc2w_syn_sail_piggy_gold_reflection_;
  delete packetw2c_syn_sail_piggy_gold_result::default_instance_;
  delete packetw2c_syn_sail_piggy_gold_result_reflection_;
  delete packetc2w_sail_achieve_lottery::default_instance_;
  delete packetc2w_sail_achieve_lottery_reflection_;
  delete packetw2c_sail_achieve_lottery_result::default_instance_;
  delete packetw2c_sail_achieve_lottery_result_reflection_;
  delete packetw2c_trigger_sail_achieve::default_instance_;
  delete packetw2c_trigger_sail_achieve_reflection_;
  delete sailLotteryInfo::default_instance_;
  delete sailLotteryInfo_reflection_;
  delete packetc2w_sail_get_lottery_history::default_instance_;
  delete packetc2w_sail_get_lottery_history_reflection_;
  delete packetw2c_sail_get_lottery_history_result::default_instance_;
  delete packetw2c_sail_get_lottery_history_result_reflection_;
  delete packetc2w_recv_return_login_reward::default_instance_;
  delete packetc2w_recv_return_login_reward_reflection_;
  delete packetw2c_recv_return_login_reward_result::default_instance_;
  delete packetw2c_recv_return_login_reward_result_reflection_;
  delete packetc2w_recv_return_recharge_reward::default_instance_;
  delete packetc2w_recv_return_recharge_reward_reflection_;
  delete packetw2c_recv_return_recharge_reward_result::default_instance_;
  delete packetw2c_recv_return_recharge_reward_result_reflection_;
  delete packetc2w_abysm_sign::default_instance_;
  delete packetc2w_abysm_sign_reflection_;
  delete packetw2c_abysm_sign_result::default_instance_;
  delete packetw2c_abysm_sign_result_reflection_;
  delete packetc2w_dragonball_lottery::default_instance_;
  delete packetc2w_dragonball_lottery_reflection_;
  delete packetw2c_dragonball_lottery_result::default_instance_;
  delete packetw2c_dragonball_lottery_result_reflection_;
}

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

  ::client2world_protocols::protobuf_AddDesc_client2world_5fmsg_5ftype_2eproto();
  ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  ::msg_info_def::protobuf_AddDesc_msg_5finfo_5fdef_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n\033client2world_protocol.proto\022\026client2wo"
    "rld_protocols\032\033client2world_msg_type.pro"
    "to\032\022msg_type_def.proto\032\022msg_info_def.pro"
    "to\"g\n\023packet_c2w_timesync\022P\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\022e_mst_c2w_timesync\"\212\001\n\032packet_w"
    "2c_timesync_result\022W\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\031e_mst_w2c_timesync_result\022\023\n\013server_ti"
    "me\030\002 \001(\005\"g\n\023packetc2w_ask_login\022P\n\tpacke"
    "t_id\030\001 \001(\0162).client2world_protocols.e_se"
    "rver_msg_type:\022e_mst_c2w_asklogin\"F\n\rmsg"
    "_game_info\022\016\n\006gameid\030\001 \001(\005\022\017\n\007gamever\030\002 "
    "\001(\005\022\024\n\014curOnlineNum\030\003 \001(\005\"\370\001\n\032packetw2c_"
    "ask_login_result\022W\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:\031"
    "e_mst_w2c_asklogin_result\0224\n\014account_inf"
    "o\030\002 \001(\0132\036.msg_info_def.msg_account_info\022"
    "8\n\tgame_list\030\003 \003(\0132%.client2world_protoc"
    "ols.msg_game_info\022\021\n\006gaming\030\004 \001(\005:\0010\"\233\001\n"
    "\024packetc2w_enter_game\022R\n\tpacket_id\030\001 \001(\016"
    "2).client2world_protocols.e_server_msg_t"
    "ype:\024e_mst_c2w_enter_game\022\016\n\006gameid\030\002 \001("
    "\005\022\017\n\007gamever\030\003 \001(\005\022\016\n\006roomId\030\004 \001(\005\"\264\001\n\033p"
    "acketw2c_enter_game_result\022Y\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\033e_mst_w2c_enter_game_result\022:\n"
    "\006result\030\002 \001(\0162\036.msg_type_def.e_msg_resul"
    "t_def:\ne_rmt_fail\"x\n\024packetc2w_gm_comman"
    "d\022O\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:\021e_mst_c2w_comma"
    "nd\022\017\n\007command\030\002 \001(\t\"\261\001\n\033packetw2c_gm_com"
    "mand_result\022V\n\tpacket_id\030\001 \001(\0162).client2"
    "world_protocols.e_server_msg_type:\030e_mst"
    "_w2c_command_result\022:\n\006result\030\002 \001(\0162\036.ms"
    "g_type_def.e_msg_result_def:\ne_rmt_fail\""
    "\241\001\n\025packetc2w_ask_for_pay\022S\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\025e_mst_c2w_ask_for_pay\022\017\n\007channe"
    "l\030\002 \001(\t\022\020\n\010pay_code\030\003 \001(\005\022\020\n\010pay_type\030\004 "
    "\001(\t\"\310\001\n\034packetw2c_ask_for_pay_result\022Z\n\t"
    "packet_id\030\001 \001(\0162).client2world_protocols"
    ".e_server_msg_type:\034e_mst_w2c_ask_for_pa"
    "y_result\022:\n\006result\030\002 \001(\0162\036.msg_type_def."
    "e_msg_result_def:\ne_rmt_fail\022\020\n\010order_id"
    "\030\003 \001(\t\"\262\001\n\033packetc2w_ask_check_payment\022Y"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type:\033e_mst_c2w_ask_chec"
    "k_payment\022\017\n\007orderid\030\002 \001(\t\022\026\n\007ex_mark\030\003 "
    "\001(\010:\005false\022\017\n\007payType\030\004 \001(\t\"\235\001\n\032packetc2"
    "w_ask_test_payment\022X\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\032e_mst_c2w_ask_test_payment\022\r\n\005payid\030\002 "
    "\001(\005\022\026\n\007ex_mark\030\003 \001(\010:\005false\"\275\002\n\"packetw2"
    "c_ask_check_payment_result\022`\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\"e_mst_w2c_ask_check_payment_re"
    "sult\022\r\n\005payid\030\002 \001(\005\022\024\n\006result\030\003 \001(\010:\004tru"
    "e\022\025\n\ngold_count\030\004 \001(\005:\0010\022\027\n\014ticket_count"
    "\030\005 \001(\005:\0010\022*\n\nrewardItem\030\t \003(\0132\026.msg_info"
    "_def.ItemInfo\0224\n\014activityItem\030\n \003(\0132\036.ms"
    "g_info_def.ActivityItemInfo\"\237\001\n\033packetc2"
    "w_free_gift_payment\022Y\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e:\033e_mst_c2w_free_gift_payment\022\r\n\005payid\030"
    "\002 \001(\005\022\026\n\007ex_mark\030\003 \001(\010:\005false\"x\n\023packetc"
    "2w_open_gift\022Q\n\tpacket_id\030\001 \001(\0162).client"
    "2world_protocols.e_server_msg_type:\023e_ms"
    "t_c2w_open_gift\022\016\n\006giftId\030\002 \001(\005\"\226\001\n\032pack"
    "etw2c_open_gift_result\022X\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type:\032e_mst_w2c_open_gift_result\022\016\n\006resu"
    "lt\030\002 \001(\005\022\016\n\006giftId\030\003 \001(\005\"j\n\024packetc2w_le"
    "ave_game\022R\n\tpacket_id\030\001 \001(\0162).client2wor"
    "ld_protocols.e_server_msg_type:\024e_mst_c2"
    "w_leave_game\"x\n\033packetw2c_leave_game_res"
    "ult\022Y\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:\033e_mst_w2c_lea"
    "ve_game_result\"l\n\025packetw2c_player_kick\022"
    "S\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:\025e_mst_w2c_player_"
    "kick\"n\n\026packetc2w_get_gamelist\022T\n\tpacket"
    "_id\030\001 \001(\0162).client2world_protocols.e_ser"
    "ver_msg_type:\026e_mst_c2w_get_gamelist\"\266\001\n"
    "\035packetw2c_get_gamelist_result\022[\n\tpacket"
    "_id\030\001 \001(\0162).client2world_protocols.e_ser"
    "ver_msg_type:\035e_mst_w2c_get_gamelist_res"
    "ult\0228\n\tgame_list\030\002 \003(\0132%.client2world_pr"
    "otocols.msg_game_info\"l\n\025packetc2w_first"
    "_login\022S\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:\025e_mst_c2w_"
    "first_login\"\266\001\n\034packetw2c_first_login_re"
    "sult\022Z\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type:\034e_mst_w2c_fi"
    "rst_login_result\022:\n\006result\030\002 \001(\0162\036.msg_t"
    "ype_def.e_msg_result_def:\ne_rmt_fail\"\225\001\n"
    "\031packetc2w_enter_fish_game\022W\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\031e_mst_c2w_enter_fish_game\022\017\n\007g"
    "amever\030\002 \001(\005\022\016\n\006roomId\030\003 \001(\005\"\242\001\n packetw"
    "2c_enter_fish_game_result\022^\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type: e_mst_w2c_enter_fish_game_resul"
    "t\022\016\n\006result\030\002 \001(\005\022\016\n\006roomId\030\003 \001(\005\"\252\001\n\017ms"
    "g_airdropitem\022\014\n\004uuid\030\001 \001(\005\022\020\n\010playerid\030"
    "\002 \001(\005\022\016\n\006itemid\030\003 \001(\005\022\021\n\titemcount\030\004 \001(\005"
    "\022\020\n\010nickname\030\005 \001(\t\022\016\n\006headid\030\006 \001(\005\022\013\n\003pw"
    "d\030\007 \001(\t\022\022\n\nleftsecond\030\010 \001(\005\022\021\n\treceiveId"
    "\030\t \001(\005\"\242\001\n\030packetc2w_create_airdrop\022V\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:\030e_mst_c2w_create_aird"
    "rop\022\016\n\006itemid\030\002 \001(\005\022\021\n\titemcount\030\003 \001(\005\022\013"
    "\n\003pwd\030\004 \001(\t\"\316\001\n\037packetw2c_create_airdrop"
    "_result\022]\n\tpacket_id\030\001 \001(\0162).client2worl"
    "d_protocols.e_server_msg_type:\037e_mst_w2c"
    "_create_airdrop_result\022\016\n\006result\030\002 \001(\005\022\016"
    "\n\006itemid\030\003 \001(\005\022\021\n\titemcount\030\004 \001(\005\022\013\n\003pwd"
    "\030\005 \001(\t\022\014\n\004uuid\030\006 \001(\005\"\216\001\n\032packetc2w_get_a"
    "irdrop_list\022X\n\tpacket_id\030\001 \001(\0162).client2"
    "world_protocols.e_server_msg_type:\032e_mst"
    "_c2w_get_airdrop_list\022\026\n\016bplayerairdrop\030"
    "\002 \001(\010\"\370\001\n!packetw2c_get_airdrop_list_res"
    "ult\022_\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:!e_mst_w2c_get"
    "_airdrop_list_result\022\016\n\006result\030\002 \001(\005\022\026\n\016"
    "bplayerairdrop\030\003 \001(\010\0226\n\005items\030\004 \003(\0132\'.cl"
    "ient2world_protocols.msg_airdropitem\022\022\n\n"
    "errorcount\030\005 \001(\005\"\204\001\n\032packetc2w_get_airdr"
    "op_info\022X\n\tpacket_id\030\001 \001(\0162).client2worl"
    "d_protocols.e_server_msg_type:\032e_mst_c2w"
    "_get_airdrop_info\022\014\n\004uuid\030\002 \001(\005\"\313\001\n!pack"
    "etw2c_get_airdrop_info_result\022_\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:!e_mst_w2c_get_airdrop_info_"
    "result\022\016\n\006result\030\002 \001(\005\0225\n\004item\030\003 \001(\0132\'.c"
    "lient2world_protocols.msg_airdropitem\"\211\001"
    "\n\026packetc2w_draw_airdrop\022T\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:\026e_mst_c2w_draw_airdrop\022\014\n\004uuid\030\002"
    " \001(\005\022\013\n\003pwd\030\003 \001(\t\"\303\001\n\035packetw2c_draw_air"
    "drop_result\022[\n\tpacket_id\030\001 \001(\0162).client2"
    "world_protocols.e_server_msg_type:\035e_mst"
    "_w2c_draw_airdrop_result\022\016\n\006result\030\002 \001(\005"
    "\0225\n\004item\030\003 \001(\0132\'.client2world_protocols."
    "msg_airdropitem\"\234\001\n\034packetc2w_receive_vi"
    "p_reward\022Z\n\tpacket_id\030\001 \001(\0162).client2wor"
    "ld_protocols.e_server_msg_type:\034e_mst_c2"
    "w_receive_vip_reward\022\016\n\006result\030\002 \001(\005\022\020\n\010"
    "rewardid\030\003 \001(\005\"\252\001\n#packetw2c_receive_vip"
    "_reward_result\022a\n\tpacket_id\030\001 \001(\0162).clie"
    "nt2world_protocols.e_server_msg_type:#e_"
    "mst_w2c_receive_vip_reward_result\022\016\n\006res"
    "ult\030\002 \001(\005\022\020\n\010rewardid\030\003 \001(\005\"\222\001\n packetw2"
    "c_check_vip_money_result\022^\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type: e_mst_w2c_check_vip_money_result"
    "\022\016\n\006result\030\002 \001(\005\"n\n\026packetw2c_timer_upda"
    "te\022T\n\tpacket_id\030\001 \001(\0162).client2world_pro"
    "tocols.e_server_msg_type:\026e_mst_w2c_time"
    "r_update\"8\n\nrecordInfo\022\014\n\004type\030\001 \001(\005\022\r\n\005"
    "param\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\254\001\n\031packetc2w"
    "_syn_record_info\022W\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:\031"
    "e_mst_c2w_syn_record_info\0226\n\nrecordList\030"
    "\002 \003(\0132\".client2world_protocols.recordInf"
    "o\"\201\001\n\030packetc2w_pay_by_diamond\022V\n\tpacket"
    "_id\030\001 \001(\0162).client2world_protocols.e_ser"
    "ver_msg_type:\030e_mst_c2w_pay_by_diamond\022\r"
    "\n\005payid\030\002 \001(\005\"\237\001\n\037packetw2c_pay_by_diamo"
    "nd_result\022]\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:\037e_mst_w"
    "2c_pay_by_diamond_result\022\016\n\006result\030\002 \001(\005"
    "\022\r\n\005payid\030\003 \001(\005\"\207\001\n\033packetc2w_exchange_v"
    "ip_item\022Y\n\tpacket_id\030\001 \001(\0162).client2worl"
    "d_protocols.e_server_msg_type:\033e_mst_c2w"
    "_exchange_vip_item\022\r\n\005index\030\002 \001(\005\"\245\001\n\"pa"
    "cketw2c_exchange_vip_item_result\022`\n\tpack"
    "et_id\030\001 \001(\0162).client2world_protocols.e_s"
    "erver_msg_type:\"e_mst_w2c_exchange_vip_i"
    "tem_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001("
    "\005\"&\n\tstoreInfo\022\n\n\002id\030\001 \001(\005\022\r\n\005store\030\002 \001("
    "\005\"w\n\033packet_c2w_sync_global_data\022X\n\tpack"
    "et_id\030\001 \001(\0162).client2world_protocols.e_s"
    "erver_msg_type:\032e_mst_c2w_sync_global_da"
    "ta\"\345\001\n\"packet_w2c_sync_global_data_resul"
    "t\022_\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:!e_mst_w2c_sync_"
    "global_data_result\022;\n\020vipExchangeStore\030\002"
    " \003(\0132!.client2world_protocols.storeInfo\022"
    "!\n\031firstRechargeGiftPayCount\030\003 \001(\005\"\256\001\n$p"
    "acket_w2c_trigger_seven_day_rechage\022a\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:#e_mst_w2c_trigger_sev"
    "en_day_rechage\022\017\n\007endTime\030\002 \001(\005\022\022\n\nlefts"
    "econd\030\003 \001(\005\"@\n\014treasureItem\022\r\n\005index\030\001 \001"
    "(\005\022\016\n\006itemId\030\002 \001(\005\022\021\n\titemCount\030\003 \001(\005\"\341\001"
    "\n packetw2c_trigger_daily_treasure\022^\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type: e_mst_w2c_trigger_dail"
    "y_treasure\022\016\n\006giftId\030\002 \001(\005\022\021\n\tresetCard\030"
    "\003 \001(\005\022:\n\014treasureList\030\004 \003(\0132$.client2wor"
    "ld_protocols.treasureItem\"\221\001\n packetc2w_"
    "daily_treasure_lottery\022^\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type: e_mst_c2w_daily_treasure_lottery\022\r"
    "\n\005index\030\002 \001(\005\"\302\001\n\'packetw2c_daily_treasu"
    "re_lottery_result\022e\n\tpacket_id\030\001 \001(\0162).c"
    "lient2world_protocols.e_server_msg_type:"
    "\'e_mst_w2c_daily_treasure_lottery_result"
    "\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\021\n\trandC"
    "ount\030\004 \001(\005\"\206\001\n\"packetc2w_receive_treasur"
    "e_lottery\022`\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:\"e_mst_c"
    "2w_receive_treasure_lottery\"\360\001\n)packetw2"
    "c_receive_treasure_lottery_result\022g\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:)e_mst_w2c_receive_treas"
    "ure_lottery_result\022\016\n\006result\030\002 \001(\005\022\016\n\006gi"
    "ftId\030\003 \001(\005\022:\n\014treasureList\030\004 \003(\0132$.clien"
    "t2world_protocols.treasureItem\"\231\001\n\035packe"
    "tc2w_receive_sail_reward\022[\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:\035e_mst_c2w_receive_sail_reward\022\014\n"
    "\004type\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\276\001\n\035packetw2c"
    "_receive_sail_result\022[\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:\035e_mst_w2c_receive_sail_result\022\014\n\004typ"
    "e\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\016\n\006result\030\004 \001(\005\022\023"
    "\n\013resultParam\030\005 \001(\005\"|\n\035packetc2w_syn_sai"
    "l_piggy_gold\022[\n\tpacket_id\030\001 \001(\0162).client"
    "2world_protocols.e_server_msg_type:\035e_ms"
    "t_c2w_syn_sail_piggy_gold\"\303\001\n$packetw2c_"
    "syn_sail_piggy_gold_result\022b\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:$e_mst_w2c_syn_sail_piggy_gold_"
    "result\022\021\n\tpiggyGold\030\002 \001(\005\022\020\n\010fishGold\030\003 "
    "\001(\005\022\022\n\nonlineGold\030\004 \001(\005\"\215\001\n\036packetc2w_sa"
    "il_achieve_lottery\022\\\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\036e_mst_c2w_sail_achieve_lottery\022\r\n\005coun"
    "t\030\002 \001(\005\"\277\001\n%packetw2c_sail_achieve_lotte"
    "ry_result\022c\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:%e_mst_w"
    "2c_sail_achieve_lottery_result\022\r\n\005count\030"
    "\002 \001(\005\022\016\n\006result\030\003 \001(\005\022\022\n\nrewardList\030\004 \003("
    "\005\"\260\001\n\036packetw2c_trigger_sail_achieve\022\\\n\t"
    "packet_id\030\001 \001(\0162).client2world_protocols"
    ".e_server_msg_type:\036e_mst_w2c_trigger_sa"
    "il_achieve\0220\n\010sailInfo\030\002 \001(\0132\036.msg_info_"
    "def.SailCeremonyInfo\"T\n\017sailLotteryInfo\022"
    "\020\n\010nickname\030\001 \001(\t\022\016\n\006itemID\030\002 \001(\005\022\021\n\tite"
    "mCount\030\003 \001(\005\022\014\n\004time\030\004 \001(\005\"\206\001\n\"packetc2w"
    "_sail_get_lottery_history\022`\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\"e_mst_c2w_sail_get_lottery_hist"
    "ory\"\312\001\n)packetw2c_sail_get_lottery_histo"
    "ry_result\022g\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:)e_mst_w"
    "2c_sail_get_lottery_history_result\0224\n\003hi"
    "s\030\002 \003(\0132\'.client2world_protocols.sailLot"
    "teryInfo\"\225\001\n\"packetc2w_recv_return_login"
    "_reward\022`\n\tpacket_id\030\001 \001(\0162).client2worl"
    "d_protocols.e_server_msg_type:\"e_mst_c2w"
    "_recv_return_login_reward\022\r\n\005index\030\002 \001(\005"
    "\"\263\001\n)packetw2c_recv_return_login_reward_"
    "result\022g\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:)e_mst_w2c_"
    "recv_return_login_reward_result\022\016\n\006resul"
    "t\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\233\001\n%packetc2w_rec"
    "v_return_recharge_reward\022c\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:%e_mst_c2w_recv_return_recharge_r"
    "eward\022\r\n\005index\030\002 \001(\005\"\271\001\n,packetw2c_recv_"
    "return_recharge_reward_result\022j\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:,e_mst_w2c_recv_return_recha"
    "rge_reward_result\022\016\n\006result\030\002 \001(\005\022\r\n\005ind"
    "ex\030\003 \001(\005\"y\n\024packetc2w_abysm_sign\022R\n\tpack"
    "et_id\030\001 \001(\0162).client2world_protocols.e_s"
    "erver_msg_type:\024e_mst_c2w_abysm_sign\022\r\n\005"
    "index\030\002 \001(\005\"\303\001\n\033packetw2c_abysm_sign_res"
    "ult\022Y\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:\033e_mst_w2c_aby"
    "sm_sign_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030"
    "\003 \001(\005\022*\n\nrewardItem\030\004 \003(\0132\026.msg_info_def"
    ".ItemInfo\"\211\001\n\034packetc2w_dragonball_lotte"
    "ry\022Z\n\tpacket_id\030\001 \001(\0162).client2world_pro"
    "tocols.e_server_msg_type:\034e_mst_c2w_drag"
    "onball_lottery\022\r\n\005count\030\002 \001(\005\"\336\001\n#packet"
    "w2c_dragonball_lottery_result\022a\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:#e_mst_w2c_dragonball_lotter"
    "y_result\022\016\n\006result\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\022"
    "\020\n\010curlucky\030\004 \001(\005\022\022\n\ndragonball\030\005 \001(\005\022\017\n"
    "\007rewards\030\006 \003(\005", 11774);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "client2world_protocol.proto", &protobuf_RegisterTypes);
  packet_c2w_timesync::default_instance_ = new packet_c2w_timesync();
  packet_w2c_timesync_result::default_instance_ = new packet_w2c_timesync_result();
  packetc2w_ask_login::default_instance_ = new packetc2w_ask_login();
  msg_game_info::default_instance_ = new msg_game_info();
  packetw2c_ask_login_result::default_instance_ = new packetw2c_ask_login_result();
  packetc2w_enter_game::default_instance_ = new packetc2w_enter_game();
  packetw2c_enter_game_result::default_instance_ = new packetw2c_enter_game_result();
  packetc2w_gm_command::default_instance_ = new packetc2w_gm_command();
  packetw2c_gm_command_result::default_instance_ = new packetw2c_gm_command_result();
  packetc2w_ask_for_pay::default_instance_ = new packetc2w_ask_for_pay();
  packetw2c_ask_for_pay_result::default_instance_ = new packetw2c_ask_for_pay_result();
  packetc2w_ask_check_payment::default_instance_ = new packetc2w_ask_check_payment();
  packetc2w_ask_test_payment::default_instance_ = new packetc2w_ask_test_payment();
  packetw2c_ask_check_payment_result::default_instance_ = new packetw2c_ask_check_payment_result();
  packetc2w_free_gift_payment::default_instance_ = new packetc2w_free_gift_payment();
  packetc2w_open_gift::default_instance_ = new packetc2w_open_gift();
  packetw2c_open_gift_result::default_instance_ = new packetw2c_open_gift_result();
  packetc2w_leave_game::default_instance_ = new packetc2w_leave_game();
  packetw2c_leave_game_result::default_instance_ = new packetw2c_leave_game_result();
  packetw2c_player_kick::default_instance_ = new packetw2c_player_kick();
  packetc2w_get_gamelist::default_instance_ = new packetc2w_get_gamelist();
  packetw2c_get_gamelist_result::default_instance_ = new packetw2c_get_gamelist_result();
  packetc2w_first_login::default_instance_ = new packetc2w_first_login();
  packetw2c_first_login_result::default_instance_ = new packetw2c_first_login_result();
  packetc2w_enter_fish_game::default_instance_ = new packetc2w_enter_fish_game();
  packetw2c_enter_fish_game_result::default_instance_ = new packetw2c_enter_fish_game_result();
  msg_airdropitem::default_instance_ = new msg_airdropitem();
  packetc2w_create_airdrop::default_instance_ = new packetc2w_create_airdrop();
  packetw2c_create_airdrop_result::default_instance_ = new packetw2c_create_airdrop_result();
  packetc2w_get_airdrop_list::default_instance_ = new packetc2w_get_airdrop_list();
  packetw2c_get_airdrop_list_result::default_instance_ = new packetw2c_get_airdrop_list_result();
  packetc2w_get_airdrop_info::default_instance_ = new packetc2w_get_airdrop_info();
  packetw2c_get_airdrop_info_result::default_instance_ = new packetw2c_get_airdrop_info_result();
  packetc2w_draw_airdrop::default_instance_ = new packetc2w_draw_airdrop();
  packetw2c_draw_airdrop_result::default_instance_ = new packetw2c_draw_airdrop_result();
  packetc2w_receive_vip_reward::default_instance_ = new packetc2w_receive_vip_reward();
  packetw2c_receive_vip_reward_result::default_instance_ = new packetw2c_receive_vip_reward_result();
  packetw2c_check_vip_money_result::default_instance_ = new packetw2c_check_vip_money_result();
  packetw2c_timer_update::default_instance_ = new packetw2c_timer_update();
  recordInfo::default_instance_ = new recordInfo();
  packetc2w_syn_record_info::default_instance_ = new packetc2w_syn_record_info();
  packetc2w_pay_by_diamond::default_instance_ = new packetc2w_pay_by_diamond();
  packetw2c_pay_by_diamond_result::default_instance_ = new packetw2c_pay_by_diamond_result();
  packetc2w_exchange_vip_item::default_instance_ = new packetc2w_exchange_vip_item();
  packetw2c_exchange_vip_item_result::default_instance_ = new packetw2c_exchange_vip_item_result();
  storeInfo::default_instance_ = new storeInfo();
  packet_c2w_sync_global_data::default_instance_ = new packet_c2w_sync_global_data();
  packet_w2c_sync_global_data_result::default_instance_ = new packet_w2c_sync_global_data_result();
  packet_w2c_trigger_seven_day_rechage::default_instance_ = new packet_w2c_trigger_seven_day_rechage();
  treasureItem::default_instance_ = new treasureItem();
  packetw2c_trigger_daily_treasure::default_instance_ = new packetw2c_trigger_daily_treasure();
  packetc2w_daily_treasure_lottery::default_instance_ = new packetc2w_daily_treasure_lottery();
  packetw2c_daily_treasure_lottery_result::default_instance_ = new packetw2c_daily_treasure_lottery_result();
  packetc2w_receive_treasure_lottery::default_instance_ = new packetc2w_receive_treasure_lottery();
  packetw2c_receive_treasure_lottery_result::default_instance_ = new packetw2c_receive_treasure_lottery_result();
  packetc2w_receive_sail_reward::default_instance_ = new packetc2w_receive_sail_reward();
  packetw2c_receive_sail_result::default_instance_ = new packetw2c_receive_sail_result();
  packetc2w_syn_sail_piggy_gold::default_instance_ = new packetc2w_syn_sail_piggy_gold();
  packetw2c_syn_sail_piggy_gold_result::default_instance_ = new packetw2c_syn_sail_piggy_gold_result();
  packetc2w_sail_achieve_lottery::default_instance_ = new packetc2w_sail_achieve_lottery();
  packetw2c_sail_achieve_lottery_result::default_instance_ = new packetw2c_sail_achieve_lottery_result();
  packetw2c_trigger_sail_achieve::default_instance_ = new packetw2c_trigger_sail_achieve();
  sailLotteryInfo::default_instance_ = new sailLotteryInfo();
  packetc2w_sail_get_lottery_history::default_instance_ = new packetc2w_sail_get_lottery_history();
  packetw2c_sail_get_lottery_history_result::default_instance_ = new packetw2c_sail_get_lottery_history_result();
  packetc2w_recv_return_login_reward::default_instance_ = new packetc2w_recv_return_login_reward();
  packetw2c_recv_return_login_reward_result::default_instance_ = new packetw2c_recv_return_login_reward_result();
  packetc2w_recv_return_recharge_reward::default_instance_ = new packetc2w_recv_return_recharge_reward();
  packetw2c_recv_return_recharge_reward_result::default_instance_ = new packetw2c_recv_return_recharge_reward_result();
  packetc2w_abysm_sign::default_instance_ = new packetc2w_abysm_sign();
  packetw2c_abysm_sign_result::default_instance_ = new packetw2c_abysm_sign_result();
  packetc2w_dragonball_lottery::default_instance_ = new packetc2w_dragonball_lottery();
  packetw2c_dragonball_lottery_result::default_instance_ = new packetw2c_dragonball_lottery_result();
  packet_c2w_timesync::default_instance_->InitAsDefaultInstance();
  packet_w2c_timesync_result::default_instance_->InitAsDefaultInstance();
  packetc2w_ask_login::default_instance_->InitAsDefaultInstance();
  msg_game_info::default_instance_->InitAsDefaultInstance();
  packetw2c_ask_login_result::default_instance_->InitAsDefaultInstance();
  packetc2w_enter_game::default_instance_->InitAsDefaultInstance();
  packetw2c_enter_game_result::default_instance_->InitAsDefaultInstance();
  packetc2w_gm_command::default_instance_->InitAsDefaultInstance();
  packetw2c_gm_command_result::default_instance_->InitAsDefaultInstance();
  packetc2w_ask_for_pay::default_instance_->InitAsDefaultInstance();
  packetw2c_ask_for_pay_result::default_instance_->InitAsDefaultInstance();
  packetc2w_ask_check_payment::default_instance_->InitAsDefaultInstance();
  packetc2w_ask_test_payment::default_instance_->InitAsDefaultInstance();
  packetw2c_ask_check_payment_result::default_instance_->InitAsDefaultInstance();
  packetc2w_free_gift_payment::default_instance_->InitAsDefaultInstance();
  packetc2w_open_gift::default_instance_->InitAsDefaultInstance();
  packetw2c_open_gift_result::default_instance_->InitAsDefaultInstance();
  packetc2w_leave_game::default_instance_->InitAsDefaultInstance();
  packetw2c_leave_game_result::default_instance_->InitAsDefaultInstance();
  packetw2c_player_kick::default_instance_->InitAsDefaultInstance();
  packetc2w_get_gamelist::default_instance_->InitAsDefaultInstance();
  packetw2c_get_gamelist_result::default_instance_->InitAsDefaultInstance();
  packetc2w_first_login::default_instance_->InitAsDefaultInstance();
  packetw2c_first_login_result::default_instance_->InitAsDefaultInstance();
  packetc2w_enter_fish_game::default_instance_->InitAsDefaultInstance();
  packetw2c_enter_fish_game_result::default_instance_->InitAsDefaultInstance();
  msg_airdropitem::default_instance_->InitAsDefaultInstance();
  packetc2w_create_airdrop::default_instance_->InitAsDefaultInstance();
  packetw2c_create_airdrop_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_airdrop_list::default_instance_->InitAsDefaultInstance();
  packetw2c_get_airdrop_list_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_airdrop_info::default_instance_->InitAsDefaultInstance();
  packetw2c_get_airdrop_info_result::default_instance_->InitAsDefaultInstance();
  packetc2w_draw_airdrop::default_instance_->InitAsDefaultInstance();
  packetw2c_draw_airdrop_result::default_instance_->InitAsDefaultInstance();
  packetc2w_receive_vip_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_receive_vip_reward_result::default_instance_->InitAsDefaultInstance();
  packetw2c_check_vip_money_result::default_instance_->InitAsDefaultInstance();
  packetw2c_timer_update::default_instance_->InitAsDefaultInstance();
  recordInfo::default_instance_->InitAsDefaultInstance();
  packetc2w_syn_record_info::default_instance_->InitAsDefaultInstance();
  packetc2w_pay_by_diamond::default_instance_->InitAsDefaultInstance();
  packetw2c_pay_by_diamond_result::default_instance_->InitAsDefaultInstance();
  packetc2w_exchange_vip_item::default_instance_->InitAsDefaultInstance();
  packetw2c_exchange_vip_item_result::default_instance_->InitAsDefaultInstance();
  storeInfo::default_instance_->InitAsDefaultInstance();
  packet_c2w_sync_global_data::default_instance_->InitAsDefaultInstance();
  packet_w2c_sync_global_data_result::default_instance_->InitAsDefaultInstance();
  packet_w2c_trigger_seven_day_rechage::default_instance_->InitAsDefaultInstance();
  treasureItem::default_instance_->InitAsDefaultInstance();
  packetw2c_trigger_daily_treasure::default_instance_->InitAsDefaultInstance();
  packetc2w_daily_treasure_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_daily_treasure_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_receive_treasure_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_receive_treasure_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_receive_sail_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_receive_sail_result::default_instance_->InitAsDefaultInstance();
  packetc2w_syn_sail_piggy_gold::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_sail_piggy_gold_result::default_instance_->InitAsDefaultInstance();
  packetc2w_sail_achieve_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_sail_achieve_lottery_result::default_instance_->InitAsDefaultInstance();
  packetw2c_trigger_sail_achieve::default_instance_->InitAsDefaultInstance();
  sailLotteryInfo::default_instance_->InitAsDefaultInstance();
  packetc2w_sail_get_lottery_history::default_instance_->InitAsDefaultInstance();
  packetw2c_sail_get_lottery_history_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_return_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_return_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_return_recharge_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_return_recharge_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_abysm_sign::default_instance_->InitAsDefaultInstance();
  packetw2c_abysm_sign_result::default_instance_->InitAsDefaultInstance();
  packetc2w_dragonball_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_dragonball_lottery_result::default_instance_->InitAsDefaultInstance();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5fprotocol_2eproto);
}

// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_client2world_5fprotocol_2eproto {
  StaticDescriptorInitializer_client2world_5fprotocol_2eproto() {
    protobuf_AddDesc_client2world_5fprotocol_2eproto();
  }
} static_descriptor_initializer_client2world_5fprotocol_2eproto_;

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

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

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

void packet_c2w_timesync::InitAsDefaultInstance() {
}

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

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

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

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

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

const packet_c2w_timesync& packet_c2w_timesync::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packet_c2w_timesync* packet_c2w_timesync::default_instance_ = NULL;

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

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

bool packet_c2w_timesync::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packet_c2w_timesync::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  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* packet_c2w_timesync::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  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 packet_c2w_timesync::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
    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 packet_c2w_timesync::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packet_c2w_timesync* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packet_c2w_timesync*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packet_c2w_timesync::MergeFrom(const packet_c2w_timesync& 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 packet_c2w_timesync::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packet_c2w_timesync::IsInitialized() const {

  return true;
}

void packet_c2w_timesync::Swap(packet_c2w_timesync* 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 packet_c2w_timesync::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packet_c2w_timesync_descriptor_;
  metadata.reflection = packet_c2w_timesync_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packet_w2c_timesync_result::kPacketIdFieldNumber;
const int packet_w2c_timesync_result::kServerTimeFieldNumber;
#endif  // !_MSC_VER

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

void packet_w2c_timesync_result::InitAsDefaultInstance() {
}

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

void packet_w2c_timesync_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7502;
  server_time_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packet_w2c_timesync_result& packet_w2c_timesync_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packet_w2c_timesync_result* packet_w2c_timesync_result::default_instance_ = NULL;

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

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

bool packet_w2c_timesync_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_server_time;
        break;
      }

      // optional int32 server_time = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_server_time:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &server_time_)));
          set_has_server_time();
        } 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 packet_w2c_timesync_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

  }
  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 packet_w2c_timesync_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packet_w2c_timesync_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packet_w2c_timesync_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packet_w2c_timesync_result::MergeFrom(const packet_w2c_timesync_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_server_time()) {
      set_server_time(from.server_time());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packet_w2c_timesync_result::IsInitialized() const {

  return true;
}

void packet_w2c_timesync_result::Swap(packet_w2c_timesync_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(server_time_, other->server_time_);
    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 packet_w2c_timesync_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packet_w2c_timesync_result_descriptor_;
  metadata.reflection = packet_w2c_timesync_result_reflection_;
  return metadata;
}


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

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

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

void packetc2w_ask_login::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetc2w_ask_login& packetc2w_ask_login::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_ask_login* packetc2w_ask_login::default_instance_ = NULL;

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

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

bool packetc2w_ask_login::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetc2w_ask_login::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  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* packetc2w_ask_login::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  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 packetc2w_ask_login::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
    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 packetc2w_ask_login::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_ask_login* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_login*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_ask_login::MergeFrom(const packetc2w_ask_login& 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 packetc2w_ask_login::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetc2w_ask_login::IsInitialized() const {

  return true;
}

void packetc2w_ask_login::Swap(packetc2w_ask_login* 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 packetc2w_ask_login::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_ask_login_descriptor_;
  metadata.reflection = packetc2w_ask_login_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int msg_game_info::kGameidFieldNumber;
const int msg_game_info::kGameverFieldNumber;
const int msg_game_info::kCurOnlineNumFieldNumber;
#endif  // !_MSC_VER

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

void msg_game_info::InitAsDefaultInstance() {
}

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

void msg_game_info::SharedCtor() {
  _cached_size_ = 0;
  gameid_ = 0;
  gamever_ = 0;
  curonlinenum_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const msg_game_info& msg_game_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

msg_game_info* msg_game_info::default_instance_ = NULL;

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

void msg_game_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    gameid_ = 0;
    gamever_ = 0;
    curonlinenum_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool msg_game_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 int32 gameid = 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, &gameid_)));
          set_has_gameid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_gamever;
        break;
      }

      // optional int32 gamever = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gamever:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gamever_)));
          set_has_gamever();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_curOnlineNum;
        break;
      }

      // optional int32 curOnlineNum = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curOnlineNum:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curonlinenum_)));
          set_has_curonlinenum();
        } 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 msg_game_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 gameid = 1;
  if (has_gameid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->gameid(), output);
  }

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

  // optional int32 curOnlineNum = 3;
  if (has_curonlinenum()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->curonlinenum(), output);
  }

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

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

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

  // optional int32 curOnlineNum = 3;
  if (has_curonlinenum()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->curonlinenum(), target);
  }

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

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

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

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

    // optional int32 curOnlineNum = 3;
    if (has_curonlinenum()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curonlinenum());
    }

  }
  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 msg_game_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const msg_game_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const msg_game_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void msg_game_info::MergeFrom(const msg_game_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_gameid()) {
      set_gameid(from.gameid());
    }
    if (from.has_gamever()) {
      set_gamever(from.gamever());
    }
    if (from.has_curonlinenum()) {
      set_curonlinenum(from.curonlinenum());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool msg_game_info::IsInitialized() const {

  return true;
}

void msg_game_info::Swap(msg_game_info* other) {
  if (other != this) {
    std::swap(gameid_, other->gameid_);
    std::swap(gamever_, other->gamever_);
    std::swap(curonlinenum_, other->curonlinenum_);
    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 msg_game_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = msg_game_info_descriptor_;
  metadata.reflection = msg_game_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_ask_login_result::kPacketIdFieldNumber;
const int packetw2c_ask_login_result::kAccountInfoFieldNumber;
const int packetw2c_ask_login_result::kGameListFieldNumber;
const int packetw2c_ask_login_result::kGamingFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_ask_login_result::InitAsDefaultInstance() {
  account_info_ = const_cast< ::msg_info_def::msg_account_info*>(&::msg_info_def::msg_account_info::default_instance());
}

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

void packetw2c_ask_login_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7503;
  account_info_ = NULL;
  gaming_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

void packetw2c_ask_login_result::SharedDtor() {
  if (this != default_instance_) {
    delete account_info_;
  }
}

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

const packetw2c_ask_login_result& packetw2c_ask_login_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_ask_login_result* packetw2c_ask_login_result::default_instance_ = NULL;

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

void packetw2c_ask_login_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7503;
    if (has_account_info()) {
      if (account_info_ != NULL) account_info_->::msg_info_def::msg_account_info::Clear();
    }
    gaming_ = 0;
  }
  game_list_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_ask_login_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_account_info;
        break;
      }

      // optional .msg_info_def.msg_account_info account_info = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_account_info:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_account_info()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_game_list;
        break;
      }

      // repeated .client2world_protocols.msg_game_info game_list = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_game_list:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_game_list()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_game_list;
        if (input->ExpectTag(32)) goto parse_gaming;
        break;
      }

      // optional int32 gaming = 4 [default = 0];
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gaming:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gaming_)));
          set_has_gaming();
        } 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 packetw2c_ask_login_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional .msg_info_def.msg_account_info account_info = 2;
  if (has_account_info()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->account_info(), output);
  }

  // repeated .client2world_protocols.msg_game_info game_list = 3;
  for (int i = 0; i < this->game_list_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->game_list(i), output);
  }

  // optional int32 gaming = 4 [default = 0];
  if (has_gaming()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gaming(), output);
  }

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

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

  // optional .msg_info_def.msg_account_info account_info = 2;
  if (has_account_info()) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->account_info(), target);
  }

  // repeated .client2world_protocols.msg_game_info game_list = 3;
  for (int i = 0; i < this->game_list_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->game_list(i), target);
  }

  // optional int32 gaming = 4 [default = 0];
  if (has_gaming()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gaming(), target);
  }

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

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

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

    // optional .msg_info_def.msg_account_info account_info = 2;
    if (has_account_info()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->account_info());
    }

    // optional int32 gaming = 4 [default = 0];
    if (has_gaming()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gaming());
    }

  }
  // repeated .client2world_protocols.msg_game_info game_list = 3;
  total_size += 1 * this->game_list_size();
  for (int i = 0; i < this->game_list_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->game_list(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 packetw2c_ask_login_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_ask_login_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_ask_login_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_ask_login_result::MergeFrom(const packetw2c_ask_login_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  game_list_.MergeFrom(from.game_list_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_account_info()) {
      mutable_account_info()->::msg_info_def::msg_account_info::MergeFrom(from.account_info());
    }
    if (from.has_gaming()) {
      set_gaming(from.gaming());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_ask_login_result::IsInitialized() const {

  return true;
}

void packetw2c_ask_login_result::Swap(packetw2c_ask_login_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(account_info_, other->account_info_);
    game_list_.Swap(&other->game_list_);
    std::swap(gaming_, other->gaming_);
    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 packetw2c_ask_login_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_ask_login_result_descriptor_;
  metadata.reflection = packetw2c_ask_login_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_enter_game::kPacketIdFieldNumber;
const int packetc2w_enter_game::kGameidFieldNumber;
const int packetc2w_enter_game::kGameverFieldNumber;
const int packetc2w_enter_game::kRoomIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_enter_game::InitAsDefaultInstance() {
}

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

void packetc2w_enter_game::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5004;
  gameid_ = 0;
  gamever_ = 0;
  roomid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_enter_game& packetc2w_enter_game::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_enter_game* packetc2w_enter_game::default_instance_ = NULL;

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

void packetc2w_enter_game::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5004;
    gameid_ = 0;
    gamever_ = 0;
    roomid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_enter_game::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_gameid;
        break;
      }

      // optional int32 gameid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gameid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gameid_)));
          set_has_gameid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_gamever;
        break;
      }

      // optional int32 gamever = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gamever:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gamever_)));
          set_has_gamever();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_roomId;
        break;
      }

      // optional int32 roomId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_roomId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &roomid_)));
          set_has_roomid();
        } 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 packetc2w_enter_game::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  }
  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 packetc2w_enter_game::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_enter_game* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_enter_game*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_enter_game::MergeFrom(const packetc2w_enter_game& 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_gameid()) {
      set_gameid(from.gameid());
    }
    if (from.has_gamever()) {
      set_gamever(from.gamever());
    }
    if (from.has_roomid()) {
      set_roomid(from.roomid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_enter_game::IsInitialized() const {

  return true;
}

void packetc2w_enter_game::Swap(packetc2w_enter_game* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(gameid_, other->gameid_);
    std::swap(gamever_, other->gamever_);
    std::swap(roomid_, other->roomid_);
    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 packetc2w_enter_game::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_enter_game_descriptor_;
  metadata.reflection = packetc2w_enter_game_reflection_;
  return metadata;
}


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

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

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

void packetw2c_enter_game_result::InitAsDefaultInstance() {
}

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

void packetw2c_enter_game_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7504;
  result_ = 2;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_enter_game_result& packetw2c_enter_game_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_enter_game_result* packetw2c_enter_game_result::default_instance_ = NULL;

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

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

bool packetw2c_enter_game_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::msg_type_def::e_msg_result_def_IsValid(value)) {
            set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
          } else {
            mutable_unknown_fields()->AddVarint(2, 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 packetw2c_enter_game_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      2, this->result(), output);
  }

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

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

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      2, this->result(), target);
  }

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

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

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

    // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
    }

  }
  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 packetw2c_enter_game_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_enter_game_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_enter_game_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_enter_game_result::MergeFrom(const packetw2c_enter_game_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_enter_game_result::IsInitialized() const {

  return true;
}

void packetw2c_enter_game_result::Swap(packetw2c_enter_game_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    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 packetw2c_enter_game_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_enter_game_result_descriptor_;
  metadata.reflection = packetw2c_enter_game_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_gm_command::kPacketIdFieldNumber;
const int packetc2w_gm_command::kCommandFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_gm_command::InitAsDefaultInstance() {
}

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

void packetc2w_gm_command::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5005;
  command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_gm_command& packetc2w_gm_command::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_gm_command* packetc2w_gm_command::default_instance_ = NULL;

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

void packetc2w_gm_command::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5005;
    if (has_command()) {
      if (command_ != &::google::protobuf::internal::kEmptyString) {
        command_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_gm_command::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_command;
        break;
      }

      // optional string command = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_command:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_command()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->command().data(), this->command().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } 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 packetc2w_gm_command::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

  }
  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 packetc2w_gm_command::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_gm_command* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_gm_command*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_gm_command::MergeFrom(const packetc2w_gm_command& 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_command()) {
      set_command(from.command());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_gm_command::IsInitialized() const {

  return true;
}

void packetc2w_gm_command::Swap(packetc2w_gm_command* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(command_, other->command_);
    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 packetc2w_gm_command::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_gm_command_descriptor_;
  metadata.reflection = packetc2w_gm_command_reflection_;
  return metadata;
}


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

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

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

void packetw2c_gm_command_result::InitAsDefaultInstance() {
}

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

void packetw2c_gm_command_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7505;
  result_ = 2;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_gm_command_result& packetw2c_gm_command_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_gm_command_result* packetw2c_gm_command_result::default_instance_ = NULL;

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

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

bool packetw2c_gm_command_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::msg_type_def::e_msg_result_def_IsValid(value)) {
            set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
          } else {
            mutable_unknown_fields()->AddVarint(2, 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 packetw2c_gm_command_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      2, this->result(), output);
  }

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

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

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      2, this->result(), target);
  }

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

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

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

    // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
    }

  }
  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 packetw2c_gm_command_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_gm_command_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_gm_command_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_gm_command_result::MergeFrom(const packetw2c_gm_command_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_gm_command_result::IsInitialized() const {

  return true;
}

void packetw2c_gm_command_result::Swap(packetw2c_gm_command_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    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 packetw2c_gm_command_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_gm_command_result_descriptor_;
  metadata.reflection = packetw2c_gm_command_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_ask_for_pay::kPacketIdFieldNumber;
const int packetc2w_ask_for_pay::kChannelFieldNumber;
const int packetc2w_ask_for_pay::kPayCodeFieldNumber;
const int packetc2w_ask_for_pay::kPayTypeFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_ask_for_pay::InitAsDefaultInstance() {
}

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

void packetc2w_ask_for_pay::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5075;
  channel_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  pay_code_ = 0;
  pay_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

void packetc2w_ask_for_pay::SharedDtor() {
  if (channel_ != &::google::protobuf::internal::kEmptyString) {
    delete channel_;
  }
  if (pay_type_ != &::google::protobuf::internal::kEmptyString) {
    delete pay_type_;
  }
  if (this != default_instance_) {
  }
}

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

const packetc2w_ask_for_pay& packetc2w_ask_for_pay::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_ask_for_pay* packetc2w_ask_for_pay::default_instance_ = NULL;

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

void packetc2w_ask_for_pay::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5075;
    if (has_channel()) {
      if (channel_ != &::google::protobuf::internal::kEmptyString) {
        channel_->clear();
      }
    }
    pay_code_ = 0;
    if (has_pay_type()) {
      if (pay_type_ != &::google::protobuf::internal::kEmptyString) {
        pay_type_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_ask_for_pay::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_channel;
        break;
      }

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

      // optional int32 pay_code = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_pay_code:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &pay_code_)));
          set_has_pay_code();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_pay_type;
        break;
      }

      // optional string pay_type = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_pay_type:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_pay_type()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->pay_type().data(), this->pay_type().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } 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 packetc2w_ask_for_pay::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

  // optional string pay_type = 4;
  if (has_pay_type()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pay_type().data(), this->pay_type().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      4, this->pay_type(), output);
  }

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

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

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

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

  // optional string pay_type = 4;
  if (has_pay_type()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pay_type().data(), this->pay_type().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        4, this->pay_type(), target);
  }

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

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

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

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

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

    // optional string pay_type = 4;
    if (has_pay_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->pay_type());
    }

  }
  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 packetc2w_ask_for_pay::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_ask_for_pay* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_for_pay*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_ask_for_pay::MergeFrom(const packetc2w_ask_for_pay& 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_channel()) {
      set_channel(from.channel());
    }
    if (from.has_pay_code()) {
      set_pay_code(from.pay_code());
    }
    if (from.has_pay_type()) {
      set_pay_type(from.pay_type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_ask_for_pay::IsInitialized() const {

  return true;
}

void packetc2w_ask_for_pay::Swap(packetc2w_ask_for_pay* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(channel_, other->channel_);
    std::swap(pay_code_, other->pay_code_);
    std::swap(pay_type_, other->pay_type_);
    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 packetc2w_ask_for_pay::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_ask_for_pay_descriptor_;
  metadata.reflection = packetc2w_ask_for_pay_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_ask_for_pay_result::kPacketIdFieldNumber;
const int packetw2c_ask_for_pay_result::kResultFieldNumber;
const int packetw2c_ask_for_pay_result::kOrderIdFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_ask_for_pay_result::InitAsDefaultInstance() {
}

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

void packetw2c_ask_for_pay_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7579;
  result_ = 2;
  order_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_ask_for_pay_result& packetw2c_ask_for_pay_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_ask_for_pay_result* packetw2c_ask_for_pay_result::default_instance_ = NULL;

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

void packetw2c_ask_for_pay_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7579;
    result_ = 2;
    if (has_order_id()) {
      if (order_id_ != &::google::protobuf::internal::kEmptyString) {
        order_id_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_ask_for_pay_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::msg_type_def::e_msg_result_def_IsValid(value)) {
            set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
          } else {
            mutable_unknown_fields()->AddVarint(2, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_order_id;
        break;
      }

      // optional string order_id = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_order_id:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_order_id()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->order_id().data(), this->order_id().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } 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 packetw2c_ask_for_pay_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      2, this->result(), output);
  }

  // optional string order_id = 3;
  if (has_order_id()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->order_id().data(), this->order_id().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      3, this->order_id(), output);
  }

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

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

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      2, this->result(), target);
  }

  // optional string order_id = 3;
  if (has_order_id()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->order_id().data(), this->order_id().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        3, this->order_id(), target);
  }

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

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

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

    // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
    }

    // optional string order_id = 3;
    if (has_order_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->order_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 packetw2c_ask_for_pay_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_ask_for_pay_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_ask_for_pay_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_ask_for_pay_result::MergeFrom(const packetw2c_ask_for_pay_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_order_id()) {
      set_order_id(from.order_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_ask_for_pay_result::IsInitialized() const {

  return true;
}

void packetw2c_ask_for_pay_result::Swap(packetw2c_ask_for_pay_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(order_id_, other->order_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 packetw2c_ask_for_pay_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_ask_for_pay_result_descriptor_;
  metadata.reflection = packetw2c_ask_for_pay_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_ask_check_payment::kPacketIdFieldNumber;
const int packetc2w_ask_check_payment::kOrderidFieldNumber;
const int packetc2w_ask_check_payment::kExMarkFieldNumber;
const int packetc2w_ask_check_payment::kPayTypeFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_ask_check_payment::InitAsDefaultInstance() {
}

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

void packetc2w_ask_check_payment::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5006;
  orderid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ex_mark_ = false;
  paytype_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

void packetc2w_ask_check_payment::SharedDtor() {
  if (orderid_ != &::google::protobuf::internal::kEmptyString) {
    delete orderid_;
  }
  if (paytype_ != &::google::protobuf::internal::kEmptyString) {
    delete paytype_;
  }
  if (this != default_instance_) {
  }
}

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

const packetc2w_ask_check_payment& packetc2w_ask_check_payment::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_ask_check_payment* packetc2w_ask_check_payment::default_instance_ = NULL;

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

void packetc2w_ask_check_payment::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5006;
    if (has_orderid()) {
      if (orderid_ != &::google::protobuf::internal::kEmptyString) {
        orderid_->clear();
      }
    }
    ex_mark_ = false;
    if (has_paytype()) {
      if (paytype_ != &::google::protobuf::internal::kEmptyString) {
        paytype_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_ask_check_payment::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_orderid;
        break;
      }

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

      // optional bool ex_mark = 3 [default = false];
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_ex_mark:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &ex_mark_)));
          set_has_ex_mark();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_payType;
        break;
      }

      // optional string payType = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_payType:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_paytype()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->paytype().data(), this->paytype().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } 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 packetc2w_ask_check_payment::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

  // optional bool ex_mark = 3 [default = false];
  if (has_ex_mark()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ex_mark(), output);
  }

  // optional string payType = 4;
  if (has_paytype()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->paytype().data(), this->paytype().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      4, this->paytype(), output);
  }

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

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

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

  // optional bool ex_mark = 3 [default = false];
  if (has_ex_mark()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ex_mark(), target);
  }

  // optional string payType = 4;
  if (has_paytype()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->paytype().data(), this->paytype().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        4, this->paytype(), target);
  }

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

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

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

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

    // optional bool ex_mark = 3 [default = false];
    if (has_ex_mark()) {
      total_size += 1 + 1;
    }

    // optional string payType = 4;
    if (has_paytype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->paytype());
    }

  }
  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 packetc2w_ask_check_payment::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_ask_check_payment* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_check_payment*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_ask_check_payment::MergeFrom(const packetc2w_ask_check_payment& 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_orderid()) {
      set_orderid(from.orderid());
    }
    if (from.has_ex_mark()) {
      set_ex_mark(from.ex_mark());
    }
    if (from.has_paytype()) {
      set_paytype(from.paytype());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_ask_check_payment::IsInitialized() const {

  return true;
}

void packetc2w_ask_check_payment::Swap(packetc2w_ask_check_payment* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(orderid_, other->orderid_);
    std::swap(ex_mark_, other->ex_mark_);
    std::swap(paytype_, other->paytype_);
    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 packetc2w_ask_check_payment::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_ask_check_payment_descriptor_;
  metadata.reflection = packetc2w_ask_check_payment_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_ask_test_payment::kPacketIdFieldNumber;
const int packetc2w_ask_test_payment::kPayidFieldNumber;
const int packetc2w_ask_test_payment::kExMarkFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_ask_test_payment::InitAsDefaultInstance() {
}

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

void packetc2w_ask_test_payment::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5007;
  payid_ = 0;
  ex_mark_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_ask_test_payment& packetc2w_ask_test_payment::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_ask_test_payment* packetc2w_ask_test_payment::default_instance_ = NULL;

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

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

bool packetc2w_ask_test_payment::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_payid;
        break;
      }

      // optional int32 payid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_payid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &payid_)));
          set_has_payid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_ex_mark;
        break;
      }

      // optional bool ex_mark = 3 [default = false];
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_ex_mark:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &ex_mark_)));
          set_has_ex_mark();
        } 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 packetc2w_ask_test_payment::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

  // optional bool ex_mark = 3 [default = false];
  if (has_ex_mark()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ex_mark(), output);
  }

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

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

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

  // optional bool ex_mark = 3 [default = false];
  if (has_ex_mark()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ex_mark(), target);
  }

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

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

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

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

    // optional bool ex_mark = 3 [default = false];
    if (has_ex_mark()) {
      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 packetc2w_ask_test_payment::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_ask_test_payment* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_test_payment*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_ask_test_payment::MergeFrom(const packetc2w_ask_test_payment& 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_payid()) {
      set_payid(from.payid());
    }
    if (from.has_ex_mark()) {
      set_ex_mark(from.ex_mark());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_ask_test_payment::IsInitialized() const {

  return true;
}

void packetc2w_ask_test_payment::Swap(packetc2w_ask_test_payment* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(payid_, other->payid_);
    std::swap(ex_mark_, other->ex_mark_);
    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 packetc2w_ask_test_payment::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_ask_test_payment_descriptor_;
  metadata.reflection = packetc2w_ask_test_payment_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_ask_check_payment_result::kPacketIdFieldNumber;
const int packetw2c_ask_check_payment_result::kPayidFieldNumber;
const int packetw2c_ask_check_payment_result::kResultFieldNumber;
const int packetw2c_ask_check_payment_result::kGoldCountFieldNumber;
const int packetw2c_ask_check_payment_result::kTicketCountFieldNumber;
const int packetw2c_ask_check_payment_result::kRewardItemFieldNumber;
const int packetw2c_ask_check_payment_result::kActivityItemFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_ask_check_payment_result::InitAsDefaultInstance() {
}

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

void packetw2c_ask_check_payment_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7506;
  payid_ = 0;
  result_ = true;
  gold_count_ = 0;
  ticket_count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_ask_check_payment_result& packetw2c_ask_check_payment_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_ask_check_payment_result* packetw2c_ask_check_payment_result::default_instance_ = NULL;

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

void packetw2c_ask_check_payment_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7506;
    payid_ = 0;
    result_ = true;
    gold_count_ = 0;
    ticket_count_ = 0;
  }
  rewarditem_.Clear();
  activityitem_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_ask_check_payment_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_payid;
        break;
      }

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

      // optional bool result = 3 [default = true];
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &result_)));
          set_has_result();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_gold_count;
        break;
      }

      // optional int32 gold_count = 4 [default = 0];
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gold_count:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gold_count_)));
          set_has_gold_count();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_ticket_count;
        break;
      }

      // optional int32 ticket_count = 5 [default = 0];
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_ticket_count:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &ticket_count_)));
          set_has_ticket_count();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(74)) goto parse_rewardItem;
        break;
      }

      // repeated .msg_info_def.ItemInfo rewardItem = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rewardItem:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_rewarditem()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(74)) goto parse_rewardItem;
        if (input->ExpectTag(82)) goto parse_activityItem;
        break;
      }

      // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_activityItem:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_activityitem()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(82)) goto parse_activityItem;
        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 packetw2c_ask_check_payment_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

  // optional bool result = 3 [default = true];
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->result(), output);
  }

  // optional int32 gold_count = 4 [default = 0];
  if (has_gold_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold_count(), output);
  }

  // optional int32 ticket_count = 5 [default = 0];
  if (has_ticket_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->ticket_count(), output);
  }

  // repeated .msg_info_def.ItemInfo rewardItem = 9;
  for (int i = 0; i < this->rewarditem_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      9, this->rewarditem(i), output);
  }

  // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  for (int i = 0; i < this->activityitem_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      10, this->activityitem(i), output);
  }

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

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

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

  // optional bool result = 3 [default = true];
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->result(), target);
  }

  // optional int32 gold_count = 4 [default = 0];
  if (has_gold_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold_count(), target);
  }

  // optional int32 ticket_count = 5 [default = 0];
  if (has_ticket_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->ticket_count(), target);
  }

  // repeated .msg_info_def.ItemInfo rewardItem = 9;
  for (int i = 0; i < this->rewarditem_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        9, this->rewarditem(i), target);
  }

  // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  for (int i = 0; i < this->activityitem_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        10, this->activityitem(i), target);
  }

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

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

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

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

    // optional bool result = 3 [default = true];
    if (has_result()) {
      total_size += 1 + 1;
    }

    // optional int32 gold_count = 4 [default = 0];
    if (has_gold_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gold_count());
    }

    // optional int32 ticket_count = 5 [default = 0];
    if (has_ticket_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->ticket_count());
    }

  }
  // repeated .msg_info_def.ItemInfo rewardItem = 9;
  total_size += 1 * this->rewarditem_size();
  for (int i = 0; i < this->rewarditem_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->rewarditem(i));
  }

  // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  total_size += 1 * this->activityitem_size();
  for (int i = 0; i < this->activityitem_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->activityitem(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 packetw2c_ask_check_payment_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_ask_check_payment_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_ask_check_payment_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_ask_check_payment_result::MergeFrom(const packetw2c_ask_check_payment_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewarditem_.MergeFrom(from.rewarditem_);
  activityitem_.MergeFrom(from.activityitem_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_payid()) {
      set_payid(from.payid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
    if (from.has_gold_count()) {
      set_gold_count(from.gold_count());
    }
    if (from.has_ticket_count()) {
      set_ticket_count(from.ticket_count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_ask_check_payment_result::IsInitialized() const {

  return true;
}

void packetw2c_ask_check_payment_result::Swap(packetw2c_ask_check_payment_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(payid_, other->payid_);
    std::swap(result_, other->result_);
    std::swap(gold_count_, other->gold_count_);
    std::swap(ticket_count_, other->ticket_count_);
    rewarditem_.Swap(&other->rewarditem_);
    activityitem_.Swap(&other->activityitem_);
    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 packetw2c_ask_check_payment_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_ask_check_payment_result_descriptor_;
  metadata.reflection = packetw2c_ask_check_payment_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_free_gift_payment::kPacketIdFieldNumber;
const int packetc2w_free_gift_payment::kPayidFieldNumber;
const int packetc2w_free_gift_payment::kExMarkFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_free_gift_payment::InitAsDefaultInstance() {
}

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

void packetc2w_free_gift_payment::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5158;
  payid_ = 0;
  ex_mark_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_free_gift_payment& packetc2w_free_gift_payment::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_free_gift_payment* packetc2w_free_gift_payment::default_instance_ = NULL;

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

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

bool packetc2w_free_gift_payment::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_payid;
        break;
      }

      // optional int32 payid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_payid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &payid_)));
          set_has_payid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_ex_mark;
        break;
      }

      // optional bool ex_mark = 3 [default = false];
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_ex_mark:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &ex_mark_)));
          set_has_ex_mark();
        } 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 packetc2w_free_gift_payment::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

  // optional bool ex_mark = 3 [default = false];
  if (has_ex_mark()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ex_mark(), output);
  }

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

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

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

  // optional bool ex_mark = 3 [default = false];
  if (has_ex_mark()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ex_mark(), target);
  }

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

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

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

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

    // optional bool ex_mark = 3 [default = false];
    if (has_ex_mark()) {
      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 packetc2w_free_gift_payment::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_free_gift_payment* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_free_gift_payment*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_free_gift_payment::MergeFrom(const packetc2w_free_gift_payment& 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_payid()) {
      set_payid(from.payid());
    }
    if (from.has_ex_mark()) {
      set_ex_mark(from.ex_mark());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_free_gift_payment::IsInitialized() const {

  return true;
}

void packetc2w_free_gift_payment::Swap(packetc2w_free_gift_payment* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(payid_, other->payid_);
    std::swap(ex_mark_, other->ex_mark_);
    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 packetc2w_free_gift_payment::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_free_gift_payment_descriptor_;
  metadata.reflection = packetc2w_free_gift_payment_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_open_gift::kPacketIdFieldNumber;
const int packetc2w_open_gift::kGiftIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_open_gift::InitAsDefaultInstance() {
}

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

void packetc2w_open_gift::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5183;
  giftid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_open_gift& packetc2w_open_gift::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_open_gift* packetc2w_open_gift::default_instance_ = NULL;

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

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

bool packetc2w_open_gift::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_giftId;
        break;
      }

      // optional int32 giftId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &giftid_)));
          set_has_giftid();
        } 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 packetc2w_open_gift::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

  }
  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 packetc2w_open_gift::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_open_gift* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_open_gift*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_open_gift::MergeFrom(const packetc2w_open_gift& 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_giftid()) {
      set_giftid(from.giftid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_open_gift::IsInitialized() const {

  return true;
}

void packetc2w_open_gift::Swap(packetc2w_open_gift* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(giftid_, other->giftid_);
    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 packetc2w_open_gift::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_open_gift_descriptor_;
  metadata.reflection = packetc2w_open_gift_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_open_gift_result::kPacketIdFieldNumber;
const int packetw2c_open_gift_result::kResultFieldNumber;
const int packetw2c_open_gift_result::kGiftIdFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_open_gift_result::InitAsDefaultInstance() {
}

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

void packetw2c_open_gift_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7707;
  result_ = 0;
  giftid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_open_gift_result& packetw2c_open_gift_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_open_gift_result* packetw2c_open_gift_result::default_instance_ = NULL;

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

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

bool packetw2c_open_gift_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_giftId;
        break;
      }

      // optional int32 giftId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &giftid_)));
          set_has_giftid();
        } 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 packetw2c_open_gift_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_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 giftId = 3;
  if (has_giftid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->giftid(), output);
  }

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

::google::protobuf::uint8* packetw2c_open_gift_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_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 giftId = 3;
  if (has_giftid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->giftid(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_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 giftId = 3;
    if (has_giftid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->giftid());
    }

  }
  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 packetw2c_open_gift_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_open_gift_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_open_gift_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_open_gift_result::MergeFrom(const packetw2c_open_gift_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_giftid()) {
      set_giftid(from.giftid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_open_gift_result::IsInitialized() const {

  return true;
}

void packetw2c_open_gift_result::Swap(packetw2c_open_gift_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(giftid_, other->giftid_);
    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 packetw2c_open_gift_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_open_gift_result_descriptor_;
  metadata.reflection = packetw2c_open_gift_result_reflection_;
  return metadata;
}


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

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

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

void packetc2w_leave_game::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetc2w_leave_game& packetc2w_leave_game::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_leave_game* packetc2w_leave_game::default_instance_ = NULL;

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

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

bool packetc2w_leave_game::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetc2w_leave_game::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  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* packetc2w_leave_game::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  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 packetc2w_leave_game::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
    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 packetc2w_leave_game::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_leave_game* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_leave_game*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_leave_game::MergeFrom(const packetc2w_leave_game& 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 packetc2w_leave_game::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetc2w_leave_game::IsInitialized() const {

  return true;
}

void packetc2w_leave_game::Swap(packetc2w_leave_game* 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 packetc2w_leave_game::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_leave_game_descriptor_;
  metadata.reflection = packetc2w_leave_game_reflection_;
  return metadata;
}


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

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

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

void packetw2c_leave_game_result::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetw2c_leave_game_result& packetw2c_leave_game_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_leave_game_result* packetw2c_leave_game_result::default_instance_ = NULL;

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

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

bool packetw2c_leave_game_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetw2c_leave_game_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  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* packetw2c_leave_game_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  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 packetw2c_leave_game_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
    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 packetw2c_leave_game_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_leave_game_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_leave_game_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_leave_game_result::MergeFrom(const packetw2c_leave_game_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_leave_game_result::IsInitialized() const {

  return true;
}

void packetw2c_leave_game_result::Swap(packetw2c_leave_game_result* 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 packetw2c_leave_game_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_leave_game_result_descriptor_;
  metadata.reflection = packetw2c_leave_game_result_reflection_;
  return metadata;
}


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

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

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

void packetw2c_player_kick::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetw2c_player_kick& packetw2c_player_kick::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_player_kick* packetw2c_player_kick::default_instance_ = NULL;

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

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

bool packetw2c_player_kick::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetw2c_player_kick::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  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* packetw2c_player_kick::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  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 packetw2c_player_kick::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
    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 packetw2c_player_kick::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_player_kick* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_player_kick*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_player_kick::MergeFrom(const packetw2c_player_kick& 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 packetw2c_player_kick::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetw2c_player_kick::IsInitialized() const {

  return true;
}

void packetw2c_player_kick::Swap(packetw2c_player_kick* 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 packetw2c_player_kick::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_player_kick_descriptor_;
  metadata.reflection = packetw2c_player_kick_reflection_;
  return metadata;
}


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

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

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

void packetc2w_get_gamelist::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetc2w_get_gamelist& packetc2w_get_gamelist::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_get_gamelist* packetc2w_get_gamelist::default_instance_ = NULL;

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

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

bool packetc2w_get_gamelist::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetc2w_get_gamelist::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  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* packetc2w_get_gamelist::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  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 packetc2w_get_gamelist::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
    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 packetc2w_get_gamelist::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_gamelist* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_gamelist*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_gamelist::MergeFrom(const packetc2w_get_gamelist& 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 packetc2w_get_gamelist::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetc2w_get_gamelist::IsInitialized() const {

  return true;
}

void packetc2w_get_gamelist::Swap(packetc2w_get_gamelist* 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 packetc2w_get_gamelist::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_gamelist_descriptor_;
  metadata.reflection = packetc2w_get_gamelist_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_get_gamelist_result::kPacketIdFieldNumber;
const int packetw2c_get_gamelist_result::kGameListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_get_gamelist_result::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetw2c_get_gamelist_result& packetw2c_get_gamelist_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_get_gamelist_result* packetw2c_get_gamelist_result::default_instance_ = NULL;

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

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

bool packetw2c_get_gamelist_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_game_list;
        break;
      }

      // repeated .client2world_protocols.msg_game_info game_list = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_game_list:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_game_list()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_game_list;
        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 packetw2c_get_gamelist_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.msg_game_info game_list = 2;
  for (int i = 0; i < this->game_list_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->game_list(i), output);
  }

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

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

  // repeated .client2world_protocols.msg_game_info game_list = 2;
  for (int i = 0; i < this->game_list_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->game_list(i), target);
  }

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

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

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

  }
  // repeated .client2world_protocols.msg_game_info game_list = 2;
  total_size += 1 * this->game_list_size();
  for (int i = 0; i < this->game_list_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->game_list(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 packetw2c_get_gamelist_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_gamelist_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_gamelist_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_gamelist_result::MergeFrom(const packetw2c_get_gamelist_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  game_list_.MergeFrom(from.game_list_);
  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 packetw2c_get_gamelist_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetw2c_get_gamelist_result::IsInitialized() const {

  return true;
}

void packetw2c_get_gamelist_result::Swap(packetw2c_get_gamelist_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    game_list_.Swap(&other->game_list_);
    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 packetw2c_get_gamelist_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_gamelist_result_descriptor_;
  metadata.reflection = packetw2c_get_gamelist_result_reflection_;
  return metadata;
}


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

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

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

void packetc2w_first_login::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetc2w_first_login& packetc2w_first_login::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_first_login* packetc2w_first_login::default_instance_ = NULL;

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

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

bool packetc2w_first_login::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetc2w_first_login::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  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* packetc2w_first_login::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  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 packetc2w_first_login::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
    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 packetc2w_first_login::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_first_login* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_first_login*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_first_login::MergeFrom(const packetc2w_first_login& 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 packetc2w_first_login::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetc2w_first_login::IsInitialized() const {

  return true;
}

void packetc2w_first_login::Swap(packetc2w_first_login* 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 packetc2w_first_login::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_first_login_descriptor_;
  metadata.reflection = packetc2w_first_login_reflection_;
  return metadata;
}


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

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

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

void packetw2c_first_login_result::InitAsDefaultInstance() {
}

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

void packetw2c_first_login_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7566;
  result_ = 2;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_first_login_result& packetw2c_first_login_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_first_login_result* packetw2c_first_login_result::default_instance_ = NULL;

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

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

bool packetw2c_first_login_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::msg_type_def::e_msg_result_def_IsValid(value)) {
            set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
          } else {
            mutable_unknown_fields()->AddVarint(2, 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 packetw2c_first_login_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      2, this->result(), output);
  }

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

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

  // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      2, this->result(), target);
  }

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

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

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

    // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
    }

  }
  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 packetw2c_first_login_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_first_login_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_first_login_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_first_login_result::MergeFrom(const packetw2c_first_login_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_first_login_result::IsInitialized() const {

  return true;
}

void packetw2c_first_login_result::Swap(packetw2c_first_login_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    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 packetw2c_first_login_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_first_login_result_descriptor_;
  metadata.reflection = packetw2c_first_login_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_enter_fish_game::kPacketIdFieldNumber;
const int packetc2w_enter_fish_game::kGameverFieldNumber;
const int packetc2w_enter_fish_game::kRoomIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_enter_fish_game::InitAsDefaultInstance() {
}

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

void packetc2w_enter_fish_game::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5096;
  gamever_ = 0;
  roomid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_enter_fish_game& packetc2w_enter_fish_game::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_enter_fish_game* packetc2w_enter_fish_game::default_instance_ = NULL;

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

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

bool packetc2w_enter_fish_game::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_gamever;
        break;
      }

      // optional int32 gamever = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gamever:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gamever_)));
          set_has_gamever();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_roomId;
        break;
      }

      // optional int32 roomId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_roomId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &roomid_)));
          set_has_roomid();
        } 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 packetc2w_enter_fish_game::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

  // optional int32 roomId = 3;
  if (has_roomid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
  }

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

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

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

  // optional int32 roomId = 3;
  if (has_roomid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
  }

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

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

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

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

    // optional int32 roomId = 3;
    if (has_roomid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->roomid());
    }

  }
  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 packetc2w_enter_fish_game::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_enter_fish_game* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_enter_fish_game*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_enter_fish_game::MergeFrom(const packetc2w_enter_fish_game& 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_gamever()) {
      set_gamever(from.gamever());
    }
    if (from.has_roomid()) {
      set_roomid(from.roomid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_enter_fish_game::IsInitialized() const {

  return true;
}

void packetc2w_enter_fish_game::Swap(packetc2w_enter_fish_game* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(gamever_, other->gamever_);
    std::swap(roomid_, other->roomid_);
    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 packetc2w_enter_fish_game::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_enter_fish_game_descriptor_;
  metadata.reflection = packetc2w_enter_fish_game_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_enter_fish_game_result::kPacketIdFieldNumber;
const int packetw2c_enter_fish_game_result::kResultFieldNumber;
const int packetw2c_enter_fish_game_result::kRoomIdFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_enter_fish_game_result::InitAsDefaultInstance() {
}

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

void packetw2c_enter_fish_game_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7603;
  result_ = 0;
  roomid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_enter_fish_game_result& packetw2c_enter_fish_game_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_enter_fish_game_result* packetw2c_enter_fish_game_result::default_instance_ = NULL;

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

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

bool packetw2c_enter_fish_game_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_roomId;
        break;
      }

      // optional int32 roomId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_roomId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &roomid_)));
          set_has_roomid();
        } 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 packetw2c_enter_fish_game_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_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 roomId = 3;
  if (has_roomid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
  }

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

::google::protobuf::uint8* packetw2c_enter_fish_game_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_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 roomId = 3;
  if (has_roomid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_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 roomId = 3;
    if (has_roomid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->roomid());
    }

  }
  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 packetw2c_enter_fish_game_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_enter_fish_game_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_enter_fish_game_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_enter_fish_game_result::MergeFrom(const packetw2c_enter_fish_game_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_roomid()) {
      set_roomid(from.roomid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_enter_fish_game_result::IsInitialized() const {

  return true;
}

void packetw2c_enter_fish_game_result::Swap(packetw2c_enter_fish_game_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(roomid_, other->roomid_);
    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 packetw2c_enter_fish_game_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_enter_fish_game_result_descriptor_;
  metadata.reflection = packetw2c_enter_fish_game_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int msg_airdropitem::kUuidFieldNumber;
const int msg_airdropitem::kPlayeridFieldNumber;
const int msg_airdropitem::kItemidFieldNumber;
const int msg_airdropitem::kItemcountFieldNumber;
const int msg_airdropitem::kNicknameFieldNumber;
const int msg_airdropitem::kHeadidFieldNumber;
const int msg_airdropitem::kPwdFieldNumber;
const int msg_airdropitem::kLeftsecondFieldNumber;
const int msg_airdropitem::kReceiveIdFieldNumber;
#endif  // !_MSC_VER

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

void msg_airdropitem::InitAsDefaultInstance() {
}

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

void msg_airdropitem::SharedCtor() {
  _cached_size_ = 0;
  uuid_ = 0;
  playerid_ = 0;
  itemid_ = 0;
  itemcount_ = 0;
  nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  headid_ = 0;
  pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  leftsecond_ = 0;
  receiveid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const msg_airdropitem& msg_airdropitem::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

msg_airdropitem* msg_airdropitem::default_instance_ = NULL;

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

void msg_airdropitem::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    uuid_ = 0;
    playerid_ = 0;
    itemid_ = 0;
    itemcount_ = 0;
    if (has_nickname()) {
      if (nickname_ != &::google::protobuf::internal::kEmptyString) {
        nickname_->clear();
      }
    }
    headid_ = 0;
    if (has_pwd()) {
      if (pwd_ != &::google::protobuf::internal::kEmptyString) {
        pwd_->clear();
      }
    }
    leftsecond_ = 0;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    receiveid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool msg_airdropitem::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 uuid = 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, &uuid_)));
          set_has_uuid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_playerid;
        break;
      }

      // optional int32 playerid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_playerid:
          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(24)) goto parse_itemid;
        break;
      }

      // optional int32 itemid = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemid:
          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(32)) goto parse_itemcount;
        break;
      }

      // optional int32 itemcount = 4;
      case 4: {
        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->ExpectTag(42)) goto parse_nickname;
        break;
      }

      // optional string nickname = 5;
      case 5: {
        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(48)) goto parse_headid;
        break;
      }

      // optional int32 headid = 6;
      case 6: {
        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(58)) goto parse_pwd;
        break;
      }

      // optional string pwd = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_pwd:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_pwd()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->pwd().data(), this->pwd().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_leftsecond;
        break;
      }

      // optional int32 leftsecond = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_leftsecond:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &leftsecond_)));
          set_has_leftsecond();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_receiveId;
        break;
      }

      // optional int32 receiveId = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receiveid_)));
          set_has_receiveid();
        } 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 msg_airdropitem::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 uuid = 1;
  if (has_uuid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->uuid(), output);
  }

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

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

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

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

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

  // optional string pwd = 7;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      7, this->pwd(), output);
  }

  // optional int32 leftsecond = 8;
  if (has_leftsecond()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->leftsecond(), output);
  }

  // optional int32 receiveId = 9;
  if (has_receiveid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->receiveid(), output);
  }

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

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

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

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

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

  // optional string nickname = 5;
  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(
        5, this->nickname(), target);
  }

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

  // optional string pwd = 7;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        7, this->pwd(), target);
  }

  // optional int32 leftsecond = 8;
  if (has_leftsecond()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->leftsecond(), target);
  }

  // optional int32 receiveId = 9;
  if (has_receiveid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->receiveid(), target);
  }

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

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

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

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

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

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

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

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

    // optional string pwd = 7;
    if (has_pwd()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->pwd());
    }

    // optional int32 leftsecond = 8;
    if (has_leftsecond()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->leftsecond());
    }

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

  }
  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 msg_airdropitem::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const msg_airdropitem* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const msg_airdropitem*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void msg_airdropitem::MergeFrom(const msg_airdropitem& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_uuid()) {
      set_uuid(from.uuid());
    }
    if (from.has_playerid()) {
      set_playerid(from.playerid());
    }
    if (from.has_itemid()) {
      set_itemid(from.itemid());
    }
    if (from.has_itemcount()) {
      set_itemcount(from.itemcount());
    }
    if (from.has_nickname()) {
      set_nickname(from.nickname());
    }
    if (from.has_headid()) {
      set_headid(from.headid());
    }
    if (from.has_pwd()) {
      set_pwd(from.pwd());
    }
    if (from.has_leftsecond()) {
      set_leftsecond(from.leftsecond());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_receiveid()) {
      set_receiveid(from.receiveid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool msg_airdropitem::IsInitialized() const {

  return true;
}

void msg_airdropitem::Swap(msg_airdropitem* other) {
  if (other != this) {
    std::swap(uuid_, other->uuid_);
    std::swap(playerid_, other->playerid_);
    std::swap(itemid_, other->itemid_);
    std::swap(itemcount_, other->itemcount_);
    std::swap(nickname_, other->nickname_);
    std::swap(headid_, other->headid_);
    std::swap(pwd_, other->pwd_);
    std::swap(leftsecond_, other->leftsecond_);
    std::swap(receiveid_, other->receiveid_);
    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 msg_airdropitem::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = msg_airdropitem_descriptor_;
  metadata.reflection = msg_airdropitem_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_create_airdrop::kPacketIdFieldNumber;
const int packetc2w_create_airdrop::kItemidFieldNumber;
const int packetc2w_create_airdrop::kItemcountFieldNumber;
const int packetc2w_create_airdrop::kPwdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_create_airdrop::InitAsDefaultInstance() {
}

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

void packetc2w_create_airdrop::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5148;
  itemid_ = 0;
  itemcount_ = 0;
  pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_create_airdrop& packetc2w_create_airdrop::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_create_airdrop* packetc2w_create_airdrop::default_instance_ = NULL;

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

void packetc2w_create_airdrop::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5148;
    itemid_ = 0;
    itemcount_ = 0;
    if (has_pwd()) {
      if (pwd_ != &::google::protobuf::internal::kEmptyString) {
        pwd_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_create_airdrop::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_itemid;
        break;
      }

      // optional int32 itemid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemid:
          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(24)) goto parse_itemcount;
        break;
      }

      // optional int32 itemcount = 3;
      case 3: {
        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->ExpectTag(34)) goto parse_pwd;
        break;
      }

      // optional string pwd = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_pwd:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_pwd()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->pwd().data(), this->pwd().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } 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 packetc2w_create_airdrop::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

  // optional string pwd = 4;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      4, this->pwd(), output);
  }

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

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

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

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

  // optional string pwd = 4;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        4, this->pwd(), target);
  }

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

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

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

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

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

    // optional string pwd = 4;
    if (has_pwd()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->pwd());
    }

  }
  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 packetc2w_create_airdrop::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_create_airdrop* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_create_airdrop*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_create_airdrop::MergeFrom(const packetc2w_create_airdrop& 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_itemid()) {
      set_itemid(from.itemid());
    }
    if (from.has_itemcount()) {
      set_itemcount(from.itemcount());
    }
    if (from.has_pwd()) {
      set_pwd(from.pwd());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_create_airdrop::IsInitialized() const {

  return true;
}

void packetc2w_create_airdrop::Swap(packetc2w_create_airdrop* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(itemid_, other->itemid_);
    std::swap(itemcount_, other->itemcount_);
    std::swap(pwd_, other->pwd_);
    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 packetc2w_create_airdrop::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_create_airdrop_descriptor_;
  metadata.reflection = packetc2w_create_airdrop_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_create_airdrop_result::kPacketIdFieldNumber;
const int packetw2c_create_airdrop_result::kResultFieldNumber;
const int packetw2c_create_airdrop_result::kItemidFieldNumber;
const int packetw2c_create_airdrop_result::kItemcountFieldNumber;
const int packetw2c_create_airdrop_result::kPwdFieldNumber;
const int packetw2c_create_airdrop_result::kUuidFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_create_airdrop_result::InitAsDefaultInstance() {
}

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

void packetw2c_create_airdrop_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7660;
  result_ = 0;
  itemid_ = 0;
  itemcount_ = 0;
  pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  uuid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_create_airdrop_result& packetw2c_create_airdrop_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_create_airdrop_result* packetw2c_create_airdrop_result::default_instance_ = NULL;

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

void packetw2c_create_airdrop_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7660;
    result_ = 0;
    itemid_ = 0;
    itemcount_ = 0;
    if (has_pwd()) {
      if (pwd_ != &::google::protobuf::internal::kEmptyString) {
        pwd_->clear();
      }
    }
    uuid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_create_airdrop_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_itemid;
        break;
      }

      // optional int32 itemid = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemid:
          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(32)) goto parse_itemcount;
        break;
      }

      // optional int32 itemcount = 4;
      case 4: {
        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->ExpectTag(42)) goto parse_pwd;
        break;
      }

      // optional string pwd = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_pwd:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_pwd()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->pwd().data(), this->pwd().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_uuid;
        break;
      }

      // optional int32 uuid = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_uuid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &uuid_)));
          set_has_uuid();
        } 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 packetw2c_create_airdrop_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_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 itemid = 3;
  if (has_itemid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemid(), output);
  }

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

  // optional string pwd = 5;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      5, this->pwd(), output);
  }

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

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

::google::protobuf::uint8* packetw2c_create_airdrop_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_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 itemid = 3;
  if (has_itemid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemid(), target);
  }

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

  // optional string pwd = 5;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        5, this->pwd(), target);
  }

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

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_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 itemid = 3;
    if (has_itemid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->itemid());
    }

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

    // optional string pwd = 5;
    if (has_pwd()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->pwd());
    }

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

  }
  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 packetw2c_create_airdrop_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_create_airdrop_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_create_airdrop_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_create_airdrop_result::MergeFrom(const packetw2c_create_airdrop_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_itemid()) {
      set_itemid(from.itemid());
    }
    if (from.has_itemcount()) {
      set_itemcount(from.itemcount());
    }
    if (from.has_pwd()) {
      set_pwd(from.pwd());
    }
    if (from.has_uuid()) {
      set_uuid(from.uuid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_create_airdrop_result::IsInitialized() const {

  return true;
}

void packetw2c_create_airdrop_result::Swap(packetw2c_create_airdrop_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(itemid_, other->itemid_);
    std::swap(itemcount_, other->itemcount_);
    std::swap(pwd_, other->pwd_);
    std::swap(uuid_, other->uuid_);
    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 packetw2c_create_airdrop_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_create_airdrop_result_descriptor_;
  metadata.reflection = packetw2c_create_airdrop_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_get_airdrop_list::kPacketIdFieldNumber;
const int packetc2w_get_airdrop_list::kBplayerairdropFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_get_airdrop_list::InitAsDefaultInstance() {
}

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

void packetc2w_get_airdrop_list::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5149;
  bplayerairdrop_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_get_airdrop_list& packetc2w_get_airdrop_list::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_get_airdrop_list* packetc2w_get_airdrop_list::default_instance_ = NULL;

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

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

bool packetc2w_get_airdrop_list::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_bplayerairdrop;
        break;
      }

      // optional bool bplayerairdrop = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_bplayerairdrop:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &bplayerairdrop_)));
          set_has_bplayerairdrop();
        } 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 packetc2w_get_airdrop_list::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

    // optional bool bplayerairdrop = 2;
    if (has_bplayerairdrop()) {
      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 packetc2w_get_airdrop_list::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_airdrop_list* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_airdrop_list*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_airdrop_list::MergeFrom(const packetc2w_get_airdrop_list& 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_bplayerairdrop()) {
      set_bplayerairdrop(from.bplayerairdrop());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_get_airdrop_list::IsInitialized() const {

  return true;
}

void packetc2w_get_airdrop_list::Swap(packetc2w_get_airdrop_list* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(bplayerairdrop_, other->bplayerairdrop_);
    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 packetc2w_get_airdrop_list::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_airdrop_list_descriptor_;
  metadata.reflection = packetc2w_get_airdrop_list_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_get_airdrop_list_result::kPacketIdFieldNumber;
const int packetw2c_get_airdrop_list_result::kResultFieldNumber;
const int packetw2c_get_airdrop_list_result::kBplayerairdropFieldNumber;
const int packetw2c_get_airdrop_list_result::kItemsFieldNumber;
const int packetw2c_get_airdrop_list_result::kErrorcountFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_get_airdrop_list_result::InitAsDefaultInstance() {
}

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

void packetw2c_get_airdrop_list_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7661;
  result_ = 0;
  bplayerairdrop_ = false;
  errorcount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_get_airdrop_list_result& packetw2c_get_airdrop_list_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_get_airdrop_list_result* packetw2c_get_airdrop_list_result::default_instance_ = NULL;

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

void packetw2c_get_airdrop_list_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7661;
    result_ = 0;
    bplayerairdrop_ = false;
    errorcount_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_airdrop_list_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_bplayerairdrop;
        break;
      }

      // optional bool bplayerairdrop = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_bplayerairdrop:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &bplayerairdrop_)));
          set_has_bplayerairdrop();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_items;
        break;
      }

      // repeated .client2world_protocols.msg_airdropitem items = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_items:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_items()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_items;
        if (input->ExpectTag(40)) goto parse_errorcount;
        break;
      }

      // optional int32 errorcount = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_errorcount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &errorcount_)));
          set_has_errorcount();
        } 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 packetw2c_get_airdrop_list_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_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 bool bplayerairdrop = 3;
  if (has_bplayerairdrop()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->bplayerairdrop(), output);
  }

  // repeated .client2world_protocols.msg_airdropitem items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->items(i), output);
  }

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

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

::google::protobuf::uint8* packetw2c_get_airdrop_list_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_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 bool bplayerairdrop = 3;
  if (has_bplayerairdrop()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->bplayerairdrop(), target);
  }

  // repeated .client2world_protocols.msg_airdropitem items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->items(i), target);
  }

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

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_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 bool bplayerairdrop = 3;
    if (has_bplayerairdrop()) {
      total_size += 1 + 1;
    }

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

  }
  // repeated .client2world_protocols.msg_airdropitem items = 4;
  total_size += 1 * this->items_size();
  for (int i = 0; i < this->items_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->items(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 packetw2c_get_airdrop_list_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_airdrop_list_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_airdrop_list_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_airdrop_list_result::MergeFrom(const packetw2c_get_airdrop_list_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  items_.MergeFrom(from.items_);
  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_bplayerairdrop()) {
      set_bplayerairdrop(from.bplayerairdrop());
    }
    if (from.has_errorcount()) {
      set_errorcount(from.errorcount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_get_airdrop_list_result::IsInitialized() const {

  return true;
}

void packetw2c_get_airdrop_list_result::Swap(packetw2c_get_airdrop_list_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(bplayerairdrop_, other->bplayerairdrop_);
    items_.Swap(&other->items_);
    std::swap(errorcount_, other->errorcount_);
    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 packetw2c_get_airdrop_list_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_airdrop_list_result_descriptor_;
  metadata.reflection = packetw2c_get_airdrop_list_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_get_airdrop_info::kPacketIdFieldNumber;
const int packetc2w_get_airdrop_info::kUuidFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_get_airdrop_info::InitAsDefaultInstance() {
}

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

void packetc2w_get_airdrop_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5150;
  uuid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_get_airdrop_info& packetc2w_get_airdrop_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_get_airdrop_info* packetc2w_get_airdrop_info::default_instance_ = NULL;

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

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

bool packetc2w_get_airdrop_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_uuid;
        break;
      }

      // optional int32 uuid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_uuid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &uuid_)));
          set_has_uuid();
        } 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 packetc2w_get_airdrop_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

  }
  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 packetc2w_get_airdrop_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_airdrop_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_airdrop_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_airdrop_info::MergeFrom(const packetc2w_get_airdrop_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_uuid()) {
      set_uuid(from.uuid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_get_airdrop_info::IsInitialized() const {

  return true;
}

void packetc2w_get_airdrop_info::Swap(packetc2w_get_airdrop_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(uuid_, other->uuid_);
    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 packetc2w_get_airdrop_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_airdrop_info_descriptor_;
  metadata.reflection = packetc2w_get_airdrop_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_get_airdrop_info_result::kPacketIdFieldNumber;
const int packetw2c_get_airdrop_info_result::kResultFieldNumber;
const int packetw2c_get_airdrop_info_result::kItemFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_get_airdrop_info_result::InitAsDefaultInstance() {
  item_ = const_cast< ::client2world_protocols::msg_airdropitem*>(&::client2world_protocols::msg_airdropitem::default_instance());
}

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

void packetw2c_get_airdrop_info_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7662;
  result_ = 0;
  item_ = NULL;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

void packetw2c_get_airdrop_info_result::SharedDtor() {
  if (this != default_instance_) {
    delete item_;
  }
}

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

const packetw2c_get_airdrop_info_result& packetw2c_get_airdrop_info_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_get_airdrop_info_result* packetw2c_get_airdrop_info_result::default_instance_ = NULL;

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

void packetw2c_get_airdrop_info_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7662;
    result_ = 0;
    if (has_item()) {
      if (item_ != NULL) item_->::client2world_protocols::msg_airdropitem::Clear();
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_airdrop_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_item;
        break;
      }

      // optional .client2world_protocols.msg_airdropitem item = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_item:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_item()));
        } 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 packetw2c_get_airdrop_info_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_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 .client2world_protocols.msg_airdropitem item = 3;
  if (has_item()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->item(), output);
  }

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

::google::protobuf::uint8* packetw2c_get_airdrop_info_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_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 .client2world_protocols.msg_airdropitem item = 3;
  if (has_item()) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->item(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_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 .client2world_protocols.msg_airdropitem item = 3;
    if (has_item()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->item());
    }

  }
  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 packetw2c_get_airdrop_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_airdrop_info_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_airdrop_info_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_airdrop_info_result::MergeFrom(const packetw2c_get_airdrop_info_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_item()) {
      mutable_item()->::client2world_protocols::msg_airdropitem::MergeFrom(from.item());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_get_airdrop_info_result::IsInitialized() const {

  return true;
}

void packetw2c_get_airdrop_info_result::Swap(packetw2c_get_airdrop_info_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(item_, other->item_);
    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 packetw2c_get_airdrop_info_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_airdrop_info_result_descriptor_;
  metadata.reflection = packetw2c_get_airdrop_info_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_draw_airdrop::kPacketIdFieldNumber;
const int packetc2w_draw_airdrop::kUuidFieldNumber;
const int packetc2w_draw_airdrop::kPwdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_draw_airdrop::InitAsDefaultInstance() {
}

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

void packetc2w_draw_airdrop::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5151;
  uuid_ = 0;
  pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_draw_airdrop& packetc2w_draw_airdrop::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_draw_airdrop* packetc2w_draw_airdrop::default_instance_ = NULL;

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

void packetc2w_draw_airdrop::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5151;
    uuid_ = 0;
    if (has_pwd()) {
      if (pwd_ != &::google::protobuf::internal::kEmptyString) {
        pwd_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_draw_airdrop::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_uuid;
        break;
      }

      // optional int32 uuid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_uuid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &uuid_)));
          set_has_uuid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_pwd;
        break;
      }

      // optional string pwd = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_pwd:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_pwd()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->pwd().data(), this->pwd().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } 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 packetc2w_draw_airdrop::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

  // optional string pwd = 3;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      3, this->pwd(), output);
  }

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

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

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

  // optional string pwd = 3;
  if (has_pwd()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->pwd().data(), this->pwd().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        3, this->pwd(), target);
  }

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

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

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

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

    // optional string pwd = 3;
    if (has_pwd()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->pwd());
    }

  }
  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 packetc2w_draw_airdrop::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_draw_airdrop* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_draw_airdrop*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_draw_airdrop::MergeFrom(const packetc2w_draw_airdrop& 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_uuid()) {
      set_uuid(from.uuid());
    }
    if (from.has_pwd()) {
      set_pwd(from.pwd());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_draw_airdrop::IsInitialized() const {

  return true;
}

void packetc2w_draw_airdrop::Swap(packetc2w_draw_airdrop* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(uuid_, other->uuid_);
    std::swap(pwd_, other->pwd_);
    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 packetc2w_draw_airdrop::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_draw_airdrop_descriptor_;
  metadata.reflection = packetc2w_draw_airdrop_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_draw_airdrop_result::kPacketIdFieldNumber;
const int packetw2c_draw_airdrop_result::kResultFieldNumber;
const int packetw2c_draw_airdrop_result::kItemFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_draw_airdrop_result::InitAsDefaultInstance() {
  item_ = const_cast< ::client2world_protocols::msg_airdropitem*>(&::client2world_protocols::msg_airdropitem::default_instance());
}

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

void packetw2c_draw_airdrop_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7663;
  result_ = 0;
  item_ = NULL;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

void packetw2c_draw_airdrop_result::SharedDtor() {
  if (this != default_instance_) {
    delete item_;
  }
}

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

const packetw2c_draw_airdrop_result& packetw2c_draw_airdrop_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_draw_airdrop_result* packetw2c_draw_airdrop_result::default_instance_ = NULL;

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

void packetw2c_draw_airdrop_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7663;
    result_ = 0;
    if (has_item()) {
      if (item_ != NULL) item_->::client2world_protocols::msg_airdropitem::Clear();
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_draw_airdrop_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_item;
        break;
      }

      // optional .client2world_protocols.msg_airdropitem item = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_item:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_item()));
        } 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 packetw2c_draw_airdrop_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_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 .client2world_protocols.msg_airdropitem item = 3;
  if (has_item()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->item(), output);
  }

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

::google::protobuf::uint8* packetw2c_draw_airdrop_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_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 .client2world_protocols.msg_airdropitem item = 3;
  if (has_item()) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->item(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_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 .client2world_protocols.msg_airdropitem item = 3;
    if (has_item()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->item());
    }

  }
  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 packetw2c_draw_airdrop_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_draw_airdrop_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_draw_airdrop_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_draw_airdrop_result::MergeFrom(const packetw2c_draw_airdrop_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_item()) {
      mutable_item()->::client2world_protocols::msg_airdropitem::MergeFrom(from.item());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_draw_airdrop_result::IsInitialized() const {

  return true;
}

void packetw2c_draw_airdrop_result::Swap(packetw2c_draw_airdrop_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(item_, other->item_);
    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 packetw2c_draw_airdrop_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_draw_airdrop_result_descriptor_;
  metadata.reflection = packetw2c_draw_airdrop_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_receive_vip_reward::kPacketIdFieldNumber;
const int packetc2w_receive_vip_reward::kResultFieldNumber;
const int packetc2w_receive_vip_reward::kRewardidFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_receive_vip_reward::InitAsDefaultInstance() {
}

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

void packetc2w_receive_vip_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5165;
  result_ = 0;
  rewardid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_receive_vip_reward& packetc2w_receive_vip_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_receive_vip_reward* packetc2w_receive_vip_reward::default_instance_ = NULL;

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

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

bool packetc2w_receive_vip_reward::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_rewardid;
        break;
      }

      // optional int32 rewardid = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rewardid_)));
          set_has_rewardid();
        } 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 packetc2w_receive_vip_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  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 rewardid = 3;
  if (has_rewardid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardid(), output);
  }

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

::google::protobuf::uint8* packetc2w_receive_vip_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  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 rewardid = 3;
  if (has_rewardid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardid(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
    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 rewardid = 3;
    if (has_rewardid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rewardid());
    }

  }
  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 packetc2w_receive_vip_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_receive_vip_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_vip_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_receive_vip_reward::MergeFrom(const packetc2w_receive_vip_reward& 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_rewardid()) {
      set_rewardid(from.rewardid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_receive_vip_reward::IsInitialized() const {

  return true;
}

void packetc2w_receive_vip_reward::Swap(packetc2w_receive_vip_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(rewardid_, other->rewardid_);
    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 packetc2w_receive_vip_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_receive_vip_reward_descriptor_;
  metadata.reflection = packetc2w_receive_vip_reward_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_receive_vip_reward_result::kPacketIdFieldNumber;
const int packetw2c_receive_vip_reward_result::kResultFieldNumber;
const int packetw2c_receive_vip_reward_result::kRewardidFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_receive_vip_reward_result::InitAsDefaultInstance() {
}

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

void packetw2c_receive_vip_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7679;
  result_ = 0;
  rewardid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_receive_vip_reward_result& packetw2c_receive_vip_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_receive_vip_reward_result* packetw2c_receive_vip_reward_result::default_instance_ = NULL;

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

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

bool packetw2c_receive_vip_reward_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_rewardid;
        break;
      }

      // optional int32 rewardid = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rewardid_)));
          set_has_rewardid();
        } 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 packetw2c_receive_vip_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_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 rewardid = 3;
  if (has_rewardid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardid(), output);
  }

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

::google::protobuf::uint8* packetw2c_receive_vip_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_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 rewardid = 3;
  if (has_rewardid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardid(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_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 rewardid = 3;
    if (has_rewardid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rewardid());
    }

  }
  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 packetw2c_receive_vip_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_receive_vip_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_vip_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_receive_vip_reward_result::MergeFrom(const packetw2c_receive_vip_reward_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_rewardid()) {
      set_rewardid(from.rewardid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_receive_vip_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_receive_vip_reward_result::Swap(packetw2c_receive_vip_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(rewardid_, other->rewardid_);
    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 packetw2c_receive_vip_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_receive_vip_reward_result_descriptor_;
  metadata.reflection = packetw2c_receive_vip_reward_result_reflection_;
  return metadata;
}


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

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

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

void packetw2c_check_vip_money_result::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetw2c_check_vip_money_result& packetw2c_check_vip_money_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_check_vip_money_result* packetw2c_check_vip_money_result::default_instance_ = NULL;

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

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

bool packetw2c_check_vip_money_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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->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 packetw2c_check_vip_money_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_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);
  }

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

::google::protobuf::uint8* packetw2c_check_vip_money_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_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);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_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());
    }

  }
  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 packetw2c_check_vip_money_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_check_vip_money_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_check_vip_money_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_check_vip_money_result::MergeFrom(const packetw2c_check_vip_money_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_check_vip_money_result::IsInitialized() const {

  return true;
}

void packetw2c_check_vip_money_result::Swap(packetw2c_check_vip_money_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    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 packetw2c_check_vip_money_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_check_vip_money_result_descriptor_;
  metadata.reflection = packetw2c_check_vip_money_result_reflection_;
  return metadata;
}


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

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

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

void packetw2c_timer_update::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetw2c_timer_update& packetw2c_timer_update::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_timer_update* packetw2c_timer_update::default_instance_ = NULL;

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

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

bool packetw2c_timer_update::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetw2c_timer_update::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  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* packetw2c_timer_update::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  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 packetw2c_timer_update::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
    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 packetw2c_timer_update::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_timer_update* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_timer_update*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_timer_update::MergeFrom(const packetw2c_timer_update& 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 packetw2c_timer_update::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetw2c_timer_update::IsInitialized() const {

  return true;
}

void packetw2c_timer_update::Swap(packetw2c_timer_update* 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 packetw2c_timer_update::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_timer_update_descriptor_;
  metadata.reflection = packetw2c_timer_update_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int recordInfo::kTypeFieldNumber;
const int recordInfo::kParamFieldNumber;
const int recordInfo::kCountFieldNumber;
#endif  // !_MSC_VER

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

void recordInfo::InitAsDefaultInstance() {
}

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

void recordInfo::SharedCtor() {
  _cached_size_ = 0;
  type_ = 0;
  param_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const recordInfo& recordInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

recordInfo* recordInfo::default_instance_ = NULL;

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

void recordInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    type_ = 0;
    param_ = 0;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool recordInfo::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 type = 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, &type_)));
          set_has_type();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_param;
        break;
      }

      // optional int32 param = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_param:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &param_)));
          set_has_param();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_count;
        break;
      }

      // optional int32 count = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_count:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &count_)));
          set_has_count();
        } 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 recordInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 type = 1;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output);
  }

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

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

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

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

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

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

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

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

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

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

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

  }
  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 recordInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const recordInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const recordInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void recordInfo::MergeFrom(const recordInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_type()) {
      set_type(from.type());
    }
    if (from.has_param()) {
      set_param(from.param());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool recordInfo::IsInitialized() const {

  return true;
}

void recordInfo::Swap(recordInfo* other) {
  if (other != this) {
    std::swap(type_, other->type_);
    std::swap(param_, other->param_);
    std::swap(count_, other->count_);
    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 recordInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = recordInfo_descriptor_;
  metadata.reflection = recordInfo_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_syn_record_info::kPacketIdFieldNumber;
const int packetc2w_syn_record_info::kRecordListFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_syn_record_info::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetc2w_syn_record_info& packetc2w_syn_record_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_syn_record_info* packetc2w_syn_record_info::default_instance_ = NULL;

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

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

bool packetc2w_syn_record_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_recordList;
        break;
      }

      // repeated .client2world_protocols.recordInfo recordList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_recordList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_recordlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_recordList;
        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 packetc2w_syn_record_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.recordInfo recordList = 2;
  for (int i = 0; i < this->recordlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->recordlist(i), output);
  }

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

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

  // repeated .client2world_protocols.recordInfo recordList = 2;
  for (int i = 0; i < this->recordlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->recordlist(i), target);
  }

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

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

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

  }
  // repeated .client2world_protocols.recordInfo recordList = 2;
  total_size += 1 * this->recordlist_size();
  for (int i = 0; i < this->recordlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->recordlist(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 packetc2w_syn_record_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_syn_record_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_syn_record_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_syn_record_info::MergeFrom(const packetc2w_syn_record_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  recordlist_.MergeFrom(from.recordlist_);
  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 packetc2w_syn_record_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packetc2w_syn_record_info::IsInitialized() const {

  return true;
}

void packetc2w_syn_record_info::Swap(packetc2w_syn_record_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    recordlist_.Swap(&other->recordlist_);
    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 packetc2w_syn_record_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_syn_record_info_descriptor_;
  metadata.reflection = packetc2w_syn_record_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_pay_by_diamond::kPacketIdFieldNumber;
const int packetc2w_pay_by_diamond::kPayidFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_pay_by_diamond::InitAsDefaultInstance() {
}

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

void packetc2w_pay_by_diamond::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5171;
  payid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_pay_by_diamond& packetc2w_pay_by_diamond::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_pay_by_diamond* packetc2w_pay_by_diamond::default_instance_ = NULL;

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

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

bool packetc2w_pay_by_diamond::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_payid;
        break;
      }

      // optional int32 payid = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_payid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &payid_)));
          set_has_payid();
        } 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 packetc2w_pay_by_diamond::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

  }
  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 packetc2w_pay_by_diamond::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_pay_by_diamond* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_pay_by_diamond*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_pay_by_diamond::MergeFrom(const packetc2w_pay_by_diamond& 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_payid()) {
      set_payid(from.payid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_pay_by_diamond::IsInitialized() const {

  return true;
}

void packetc2w_pay_by_diamond::Swap(packetc2w_pay_by_diamond* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(payid_, other->payid_);
    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 packetc2w_pay_by_diamond::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_pay_by_diamond_descriptor_;
  metadata.reflection = packetc2w_pay_by_diamond_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_pay_by_diamond_result::kPacketIdFieldNumber;
const int packetw2c_pay_by_diamond_result::kResultFieldNumber;
const int packetw2c_pay_by_diamond_result::kPayidFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_pay_by_diamond_result::InitAsDefaultInstance() {
}

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

void packetw2c_pay_by_diamond_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7689;
  result_ = 0;
  payid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_pay_by_diamond_result& packetw2c_pay_by_diamond_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_pay_by_diamond_result* packetw2c_pay_by_diamond_result::default_instance_ = NULL;

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

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

bool packetw2c_pay_by_diamond_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_payid;
        break;
      }

      // optional int32 payid = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_payid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &payid_)));
          set_has_payid();
        } 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 packetw2c_pay_by_diamond_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_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 payid = 3;
  if (has_payid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->payid(), output);
  }

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

::google::protobuf::uint8* packetw2c_pay_by_diamond_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_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 payid = 3;
  if (has_payid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->payid(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_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 payid = 3;
    if (has_payid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->payid());
    }

  }
  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 packetw2c_pay_by_diamond_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_pay_by_diamond_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_pay_by_diamond_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_pay_by_diamond_result::MergeFrom(const packetw2c_pay_by_diamond_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_payid()) {
      set_payid(from.payid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_pay_by_diamond_result::IsInitialized() const {

  return true;
}

void packetw2c_pay_by_diamond_result::Swap(packetw2c_pay_by_diamond_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(payid_, other->payid_);
    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 packetw2c_pay_by_diamond_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_pay_by_diamond_result_descriptor_;
  metadata.reflection = packetw2c_pay_by_diamond_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_exchange_vip_item::kPacketIdFieldNumber;
const int packetc2w_exchange_vip_item::kIndexFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_exchange_vip_item::InitAsDefaultInstance() {
}

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

void packetc2w_exchange_vip_item::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5172;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_exchange_vip_item& packetc2w_exchange_vip_item::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_exchange_vip_item* packetc2w_exchange_vip_item::default_instance_ = NULL;

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

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

bool packetc2w_exchange_vip_item::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_index;
        break;
      }

      // optional int32 index = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetc2w_exchange_vip_item::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

  }
  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 packetc2w_exchange_vip_item::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_exchange_vip_item* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_exchange_vip_item*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_exchange_vip_item::MergeFrom(const packetc2w_exchange_vip_item& 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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_exchange_vip_item::IsInitialized() const {

  return true;
}

void packetc2w_exchange_vip_item::Swap(packetc2w_exchange_vip_item* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(index_, other->index_);
    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 packetc2w_exchange_vip_item::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_exchange_vip_item_descriptor_;
  metadata.reflection = packetc2w_exchange_vip_item_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_exchange_vip_item_result::kPacketIdFieldNumber;
const int packetw2c_exchange_vip_item_result::kResultFieldNumber;
const int packetw2c_exchange_vip_item_result::kIndexFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_exchange_vip_item_result::InitAsDefaultInstance() {
}

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

void packetw2c_exchange_vip_item_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7690;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_exchange_vip_item_result& packetw2c_exchange_vip_item_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_exchange_vip_item_result* packetw2c_exchange_vip_item_result::default_instance_ = NULL;

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

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

bool packetw2c_exchange_vip_item_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_index;
        break;
      }

      // optional int32 index = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetw2c_exchange_vip_item_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_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 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

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

::google::protobuf::uint8* packetw2c_exchange_vip_item_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_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 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

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

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

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_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 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetw2c_exchange_vip_item_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_exchange_vip_item_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_exchange_vip_item_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_exchange_vip_item_result::MergeFrom(const packetw2c_exchange_vip_item_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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_exchange_vip_item_result::IsInitialized() const {

  return true;
}

void packetw2c_exchange_vip_item_result::Swap(packetw2c_exchange_vip_item_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    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 packetw2c_exchange_vip_item_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_exchange_vip_item_result_descriptor_;
  metadata.reflection = packetw2c_exchange_vip_item_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int storeInfo::kIdFieldNumber;
const int storeInfo::kStoreFieldNumber;
#endif  // !_MSC_VER

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

void storeInfo::InitAsDefaultInstance() {
}

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

void storeInfo::SharedCtor() {
  _cached_size_ = 0;
  id_ = 0;
  store_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const storeInfo& storeInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

storeInfo* storeInfo::default_instance_ = NULL;

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

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

bool storeInfo::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 id = 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, &id_)));
          set_has_id();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_store;
        break;
      }

      // optional int32 store = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_store:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &store_)));
          set_has_store();
        } 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 storeInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 id = 1;
  if (has_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
  }

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

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

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

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

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

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

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

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

  }
  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 storeInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const storeInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const storeInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void storeInfo::MergeFrom(const storeInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_id()) {
      set_id(from.id());
    }
    if (from.has_store()) {
      set_store(from.store());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool storeInfo::IsInitialized() const {

  return true;
}

void storeInfo::Swap(storeInfo* other) {
  if (other != this) {
    std::swap(id_, other->id_);
    std::swap(store_, other->store_);
    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 storeInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = storeInfo_descriptor_;
  metadata.reflection = storeInfo_reflection_;
  return metadata;
}


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

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

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

void packet_c2w_sync_global_data::InitAsDefaultInstance() {
}

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

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

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

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

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

const packet_c2w_sync_global_data& packet_c2w_sync_global_data::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packet_c2w_sync_global_data* packet_c2w_sync_global_data::default_instance_ = NULL;

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

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

bool packet_c2w_sync_global_data::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packet_c2w_sync_global_data::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  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* packet_c2w_sync_global_data::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  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 packet_c2w_sync_global_data::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
    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 packet_c2w_sync_global_data::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packet_c2w_sync_global_data* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packet_c2w_sync_global_data*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packet_c2w_sync_global_data::MergeFrom(const packet_c2w_sync_global_data& 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 packet_c2w_sync_global_data::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

bool packet_c2w_sync_global_data::IsInitialized() const {

  return true;
}

void packet_c2w_sync_global_data::Swap(packet_c2w_sync_global_data* 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 packet_c2w_sync_global_data::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packet_c2w_sync_global_data_descriptor_;
  metadata.reflection = packet_c2w_sync_global_data_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packet_w2c_sync_global_data_result::kPacketIdFieldNumber;
const int packet_w2c_sync_global_data_result::kVipExchangeStoreFieldNumber;
const int packet_w2c_sync_global_data_result::kFirstRechargeGiftPayCountFieldNumber;
#endif  // !_MSC_VER

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

void packet_w2c_sync_global_data_result::InitAsDefaultInstance() {
}

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

void packet_w2c_sync_global_data_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7693;
  firstrechargegiftpaycount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packet_w2c_sync_global_data_result& packet_w2c_sync_global_data_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packet_w2c_sync_global_data_result* packet_w2c_sync_global_data_result::default_instance_ = NULL;

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

void packet_w2c_sync_global_data_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7693;
    firstrechargegiftpaycount_ = 0;
  }
  vipexchangestore_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packet_w2c_sync_global_data_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_vipExchangeStore;
        break;
      }

      // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_vipExchangeStore:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_vipexchangestore()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_vipExchangeStore;
        if (input->ExpectTag(24)) goto parse_firstRechargeGiftPayCount;
        break;
      }

      // optional int32 firstRechargeGiftPayCount = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_firstRechargeGiftPayCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &firstrechargegiftpaycount_)));
          set_has_firstrechargegiftpaycount();
        } 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 packet_w2c_sync_global_data_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  for (int i = 0; i < this->vipexchangestore_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->vipexchangestore(i), output);
  }

  // optional int32 firstRechargeGiftPayCount = 3;
  if (has_firstrechargegiftpaycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->firstrechargegiftpaycount(), output);
  }

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

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

  // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  for (int i = 0; i < this->vipexchangestore_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->vipexchangestore(i), target);
  }

  // optional int32 firstRechargeGiftPayCount = 3;
  if (has_firstrechargegiftpaycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->firstrechargegiftpaycount(), target);
  }

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

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

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

    // optional int32 firstRechargeGiftPayCount = 3;
    if (has_firstrechargegiftpaycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->firstrechargegiftpaycount());
    }

  }
  // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  total_size += 1 * this->vipexchangestore_size();
  for (int i = 0; i < this->vipexchangestore_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->vipexchangestore(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 packet_w2c_sync_global_data_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packet_w2c_sync_global_data_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packet_w2c_sync_global_data_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

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

bool packet_w2c_sync_global_data_result::IsInitialized() const {

  return true;
}

void packet_w2c_sync_global_data_result::Swap(packet_w2c_sync_global_data_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    vipexchangestore_.Swap(&other->vipexchangestore_);
    std::swap(firstrechargegiftpaycount_, other->firstrechargegiftpaycount_);
    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 packet_w2c_sync_global_data_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packet_w2c_sync_global_data_result_descriptor_;
  metadata.reflection = packet_w2c_sync_global_data_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packet_w2c_trigger_seven_day_rechage::kPacketIdFieldNumber;
const int packet_w2c_trigger_seven_day_rechage::kEndTimeFieldNumber;
const int packet_w2c_trigger_seven_day_rechage::kLeftsecondFieldNumber;
#endif  // !_MSC_VER

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

void packet_w2c_trigger_seven_day_rechage::InitAsDefaultInstance() {
}

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

void packet_w2c_trigger_seven_day_rechage::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7704;
  endtime_ = 0;
  leftsecond_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packet_w2c_trigger_seven_day_rechage& packet_w2c_trigger_seven_day_rechage::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packet_w2c_trigger_seven_day_rechage* packet_w2c_trigger_seven_day_rechage::default_instance_ = NULL;

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

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

bool packet_w2c_trigger_seven_day_rechage::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_endTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &endtime_)));
          set_has_endtime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_leftsecond;
        break;
      }

      // optional int32 leftsecond = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_leftsecond:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &leftsecond_)));
          set_has_leftsecond();
        } 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 packet_w2c_trigger_seven_day_rechage::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

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

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

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

  }
  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 packet_w2c_trigger_seven_day_rechage::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packet_w2c_trigger_seven_day_rechage* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packet_w2c_trigger_seven_day_rechage*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packet_w2c_trigger_seven_day_rechage::MergeFrom(const packet_w2c_trigger_seven_day_rechage& 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_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_leftsecond()) {
      set_leftsecond(from.leftsecond());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packet_w2c_trigger_seven_day_rechage::IsInitialized() const {

  return true;
}

void packet_w2c_trigger_seven_day_rechage::Swap(packet_w2c_trigger_seven_day_rechage* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(endtime_, other->endtime_);
    std::swap(leftsecond_, other->leftsecond_);
    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 packet_w2c_trigger_seven_day_rechage::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packet_w2c_trigger_seven_day_rechage_descriptor_;
  metadata.reflection = packet_w2c_trigger_seven_day_rechage_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int treasureItem::kIndexFieldNumber;
const int treasureItem::kItemIdFieldNumber;
const int treasureItem::kItemCountFieldNumber;
#endif  // !_MSC_VER

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

void treasureItem::InitAsDefaultInstance() {
}

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

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

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

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

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

const treasureItem& treasureItem::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

treasureItem* treasureItem::default_instance_ = NULL;

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

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

bool treasureItem::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 index = 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, &index_)));
          set_has_index();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_itemId;
        break;
      }

      // optional int32 itemId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemId:
          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(24)) goto parse_itemCount;
        break;
      }

      // optional int32 itemCount = 3;
      case 3: {
        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 treasureItem::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 index = 1;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->index(), output);
  }

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

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

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

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

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

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

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

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

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

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

    // optional int32 itemCount = 3;
    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 treasureItem::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const treasureItem* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const treasureItem*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

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

bool treasureItem::IsInitialized() const {

  return true;
}

void treasureItem::Swap(treasureItem* other) {
  if (other != this) {
    std::swap(index_, other->index_);
    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 treasureItem::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = treasureItem_descriptor_;
  metadata.reflection = treasureItem_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_trigger_daily_treasure::kPacketIdFieldNumber;
const int packetw2c_trigger_daily_treasure::kGiftIdFieldNumber;
const int packetw2c_trigger_daily_treasure::kResetCardFieldNumber;
const int packetw2c_trigger_daily_treasure::kTreasureListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_trigger_daily_treasure::InitAsDefaultInstance() {
}

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

void packetw2c_trigger_daily_treasure::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7727;
  giftid_ = 0;
  resetcard_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_trigger_daily_treasure& packetw2c_trigger_daily_treasure::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_trigger_daily_treasure* packetw2c_trigger_daily_treasure::default_instance_ = NULL;

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

void packetw2c_trigger_daily_treasure::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7727;
    giftid_ = 0;
    resetcard_ = 0;
  }
  treasurelist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_trigger_daily_treasure::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_giftId;
        break;
      }

      // optional int32 giftId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &giftid_)));
          set_has_giftid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_resetCard;
        break;
      }

      // optional int32 resetCard = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_resetCard:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &resetcard_)));
          set_has_resetcard();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_treasureList;
        break;
      }

      // repeated .client2world_protocols.treasureItem treasureList = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_treasureList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_treasurelist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_treasureList;
        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 packetw2c_trigger_daily_treasure::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

  // optional int32 resetCard = 3;
  if (has_resetcard()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->resetcard(), output);
  }

  // repeated .client2world_protocols.treasureItem treasureList = 4;
  for (int i = 0; i < this->treasurelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->treasurelist(i), output);
  }

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

::google::protobuf::uint8* packetw2c_trigger_daily_treasure::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 giftId = 2;
  if (has_giftid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->giftid(), target);
  }

  // optional int32 resetCard = 3;
  if (has_resetcard()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->resetcard(), target);
  }

  // repeated .client2world_protocols.treasureItem treasureList = 4;
  for (int i = 0; i < this->treasurelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->treasurelist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_trigger_daily_treasure::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 giftId = 2;
    if (has_giftid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->giftid());
    }

    // optional int32 resetCard = 3;
    if (has_resetcard()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->resetcard());
    }

  }
  // repeated .client2world_protocols.treasureItem treasureList = 4;
  total_size += 1 * this->treasurelist_size();
  for (int i = 0; i < this->treasurelist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->treasurelist(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 packetw2c_trigger_daily_treasure::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_trigger_daily_treasure* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_trigger_daily_treasure*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_trigger_daily_treasure::MergeFrom(const packetw2c_trigger_daily_treasure& from) {
  GOOGLE_CHECK_NE(&from, this);
  treasurelist_.MergeFrom(from.treasurelist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_giftid()) {
      set_giftid(from.giftid());
    }
    if (from.has_resetcard()) {
      set_resetcard(from.resetcard());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_trigger_daily_treasure::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_trigger_daily_treasure::CopyFrom(const packetw2c_trigger_daily_treasure& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_trigger_daily_treasure::IsInitialized() const {

  return true;
}

void packetw2c_trigger_daily_treasure::Swap(packetw2c_trigger_daily_treasure* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(giftid_, other->giftid_);
    std::swap(resetcard_, other->resetcard_);
    treasurelist_.Swap(&other->treasurelist_);
    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 packetw2c_trigger_daily_treasure::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_trigger_daily_treasure_descriptor_;
  metadata.reflection = packetw2c_trigger_daily_treasure_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_daily_treasure_lottery::kPacketIdFieldNumber;
const int packetc2w_daily_treasure_lottery::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_daily_treasure_lottery::packetc2w_daily_treasure_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_daily_treasure_lottery::InitAsDefaultInstance() {
}

packetc2w_daily_treasure_lottery::packetc2w_daily_treasure_lottery(const packetc2w_daily_treasure_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_daily_treasure_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5198;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_daily_treasure_lottery::~packetc2w_daily_treasure_lottery() {
  SharedDtor();
}

void packetc2w_daily_treasure_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_daily_treasure_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_daily_treasure_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_daily_treasure_lottery_descriptor_;
}

const packetc2w_daily_treasure_lottery& packetc2w_daily_treasure_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_daily_treasure_lottery* packetc2w_daily_treasure_lottery::default_instance_ = NULL;

packetc2w_daily_treasure_lottery* packetc2w_daily_treasure_lottery::New() const {
  return new packetc2w_daily_treasure_lottery;
}

void packetc2w_daily_treasure_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5198;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_daily_treasure_lottery::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_index;
        break;
      }

      // optional int32 index = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetc2w_daily_treasure_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 index = 2;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_daily_treasure_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 index = 2;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_daily_treasure_lottery::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 index = 2;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetc2w_daily_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_daily_treasure_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_daily_treasure_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_daily_treasure_lottery::MergeFrom(const packetc2w_daily_treasure_lottery& 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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_daily_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_daily_treasure_lottery::CopyFrom(const packetc2w_daily_treasure_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_daily_treasure_lottery::IsInitialized() const {

  return true;
}

void packetc2w_daily_treasure_lottery::Swap(packetc2w_daily_treasure_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(index_, other->index_);
    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 packetc2w_daily_treasure_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_daily_treasure_lottery_descriptor_;
  metadata.reflection = packetc2w_daily_treasure_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_daily_treasure_lottery_result::kPacketIdFieldNumber;
const int packetw2c_daily_treasure_lottery_result::kResultFieldNumber;
const int packetw2c_daily_treasure_lottery_result::kIndexFieldNumber;
const int packetw2c_daily_treasure_lottery_result::kRandCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_daily_treasure_lottery_result::packetw2c_daily_treasure_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_daily_treasure_lottery_result::InitAsDefaultInstance() {
}

packetw2c_daily_treasure_lottery_result::packetw2c_daily_treasure_lottery_result(const packetw2c_daily_treasure_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_daily_treasure_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7728;
  result_ = 0;
  index_ = 0;
  randcount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_daily_treasure_lottery_result::~packetw2c_daily_treasure_lottery_result() {
  SharedDtor();
}

void packetw2c_daily_treasure_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_daily_treasure_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_daily_treasure_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_daily_treasure_lottery_result_descriptor_;
}

const packetw2c_daily_treasure_lottery_result& packetw2c_daily_treasure_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_daily_treasure_lottery_result* packetw2c_daily_treasure_lottery_result::default_instance_ = NULL;

packetw2c_daily_treasure_lottery_result* packetw2c_daily_treasure_lottery_result::New() const {
  return new packetw2c_daily_treasure_lottery_result;
}

void packetw2c_daily_treasure_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7728;
    result_ = 0;
    index_ = 0;
    randcount_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_daily_treasure_lottery_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_index;
        break;
      }

      // optional int32 index = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_randCount;
        break;
      }

      // optional int32 randCount = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_randCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &randcount_)));
          set_has_randcount();
        } 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 packetw2c_daily_treasure_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_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 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

  // optional int32 randCount = 4;
  if (has_randcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->randcount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_daily_treasure_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_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 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

  // optional int32 randCount = 4;
  if (has_randcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->randcount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_daily_treasure_lottery_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_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 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

    // optional int32 randCount = 4;
    if (has_randcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->randcount());
    }

  }
  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 packetw2c_daily_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_daily_treasure_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_daily_treasure_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_daily_treasure_lottery_result::MergeFrom(const packetw2c_daily_treasure_lottery_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_index()) {
      set_index(from.index());
    }
    if (from.has_randcount()) {
      set_randcount(from.randcount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_daily_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_daily_treasure_lottery_result::CopyFrom(const packetw2c_daily_treasure_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_daily_treasure_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_daily_treasure_lottery_result::Swap(packetw2c_daily_treasure_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    std::swap(randcount_, other->randcount_);
    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 packetw2c_daily_treasure_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_daily_treasure_lottery_result_descriptor_;
  metadata.reflection = packetw2c_daily_treasure_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_receive_treasure_lottery::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_receive_treasure_lottery::packetc2w_receive_treasure_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_receive_treasure_lottery::InitAsDefaultInstance() {
}

packetc2w_receive_treasure_lottery::packetc2w_receive_treasure_lottery(const packetc2w_receive_treasure_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_receive_treasure_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5199;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_receive_treasure_lottery::~packetc2w_receive_treasure_lottery() {
  SharedDtor();
}

void packetc2w_receive_treasure_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_receive_treasure_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_receive_treasure_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_receive_treasure_lottery_descriptor_;
}

const packetc2w_receive_treasure_lottery& packetc2w_receive_treasure_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_receive_treasure_lottery* packetc2w_receive_treasure_lottery::default_instance_ = NULL;

packetc2w_receive_treasure_lottery* packetc2w_receive_treasure_lottery::New() const {
  return new packetc2w_receive_treasure_lottery;
}

void packetc2w_receive_treasure_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5199;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_receive_treasure_lottery::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetc2w_receive_treasure_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  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* packetc2w_receive_treasure_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  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 packetc2w_receive_treasure_lottery::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
    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 packetc2w_receive_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_receive_treasure_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_treasure_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_receive_treasure_lottery::MergeFrom(const packetc2w_receive_treasure_lottery& 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 packetc2w_receive_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_receive_treasure_lottery::CopyFrom(const packetc2w_receive_treasure_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_receive_treasure_lottery::IsInitialized() const {

  return true;
}

void packetc2w_receive_treasure_lottery::Swap(packetc2w_receive_treasure_lottery* 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 packetc2w_receive_treasure_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_receive_treasure_lottery_descriptor_;
  metadata.reflection = packetc2w_receive_treasure_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_receive_treasure_lottery_result::kPacketIdFieldNumber;
const int packetw2c_receive_treasure_lottery_result::kResultFieldNumber;
const int packetw2c_receive_treasure_lottery_result::kGiftIdFieldNumber;
const int packetw2c_receive_treasure_lottery_result::kTreasureListFieldNumber;
#endif  // !_MSC_VER

packetw2c_receive_treasure_lottery_result::packetw2c_receive_treasure_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_receive_treasure_lottery_result::InitAsDefaultInstance() {
}

packetw2c_receive_treasure_lottery_result::packetw2c_receive_treasure_lottery_result(const packetw2c_receive_treasure_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_receive_treasure_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7729;
  result_ = 0;
  giftid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_receive_treasure_lottery_result::~packetw2c_receive_treasure_lottery_result() {
  SharedDtor();
}

void packetw2c_receive_treasure_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_receive_treasure_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_receive_treasure_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_receive_treasure_lottery_result_descriptor_;
}

const packetw2c_receive_treasure_lottery_result& packetw2c_receive_treasure_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_receive_treasure_lottery_result* packetw2c_receive_treasure_lottery_result::default_instance_ = NULL;

packetw2c_receive_treasure_lottery_result* packetw2c_receive_treasure_lottery_result::New() const {
  return new packetw2c_receive_treasure_lottery_result;
}

void packetw2c_receive_treasure_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7729;
    result_ = 0;
    giftid_ = 0;
  }
  treasurelist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_receive_treasure_lottery_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_giftId;
        break;
      }

      // optional int32 giftId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &giftid_)));
          set_has_giftid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_treasureList;
        break;
      }

      // repeated .client2world_protocols.treasureItem treasureList = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_treasureList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_treasurelist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_treasureList;
        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 packetw2c_receive_treasure_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_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 giftId = 3;
  if (has_giftid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->giftid(), output);
  }

  // repeated .client2world_protocols.treasureItem treasureList = 4;
  for (int i = 0; i < this->treasurelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->treasurelist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_receive_treasure_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_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 giftId = 3;
  if (has_giftid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->giftid(), target);
  }

  // repeated .client2world_protocols.treasureItem treasureList = 4;
  for (int i = 0; i < this->treasurelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->treasurelist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_receive_treasure_lottery_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_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 giftId = 3;
    if (has_giftid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->giftid());
    }

  }
  // repeated .client2world_protocols.treasureItem treasureList = 4;
  total_size += 1 * this->treasurelist_size();
  for (int i = 0; i < this->treasurelist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->treasurelist(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 packetw2c_receive_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_receive_treasure_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_treasure_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_receive_treasure_lottery_result::MergeFrom(const packetw2c_receive_treasure_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  treasurelist_.MergeFrom(from.treasurelist_);
  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_giftid()) {
      set_giftid(from.giftid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_receive_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_receive_treasure_lottery_result::CopyFrom(const packetw2c_receive_treasure_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_receive_treasure_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_receive_treasure_lottery_result::Swap(packetw2c_receive_treasure_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(giftid_, other->giftid_);
    treasurelist_.Swap(&other->treasurelist_);
    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 packetw2c_receive_treasure_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_receive_treasure_lottery_result_descriptor_;
  metadata.reflection = packetw2c_receive_treasure_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_receive_sail_reward::kPacketIdFieldNumber;
const int packetc2w_receive_sail_reward::kTypeFieldNumber;
const int packetc2w_receive_sail_reward::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_receive_sail_reward::packetc2w_receive_sail_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_receive_sail_reward::InitAsDefaultInstance() {
}

packetc2w_receive_sail_reward::packetc2w_receive_sail_reward(const packetc2w_receive_sail_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_receive_sail_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5218;
  type_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_receive_sail_reward::~packetc2w_receive_sail_reward() {
  SharedDtor();
}

void packetc2w_receive_sail_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_receive_sail_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_receive_sail_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_receive_sail_reward_descriptor_;
}

const packetc2w_receive_sail_reward& packetc2w_receive_sail_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_receive_sail_reward* packetc2w_receive_sail_reward::default_instance_ = NULL;

packetc2w_receive_sail_reward* packetc2w_receive_sail_reward::New() const {
  return new packetc2w_receive_sail_reward;
}

void packetc2w_receive_sail_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5218;
    type_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_receive_sail_reward::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_type;
        break;
      }

      // optional int32 type = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_type:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &type_)));
          set_has_type();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_index;
        break;
      }

      // optional int32 index = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetc2w_receive_sail_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 type = 2;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  }

  // optional int32 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_receive_sail_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 type = 2;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  }

  // optional int32 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_receive_sail_reward::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 type = 2;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetc2w_receive_sail_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_receive_sail_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_sail_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_receive_sail_reward::MergeFrom(const packetc2w_receive_sail_reward& 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_type()) {
      set_type(from.type());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_receive_sail_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_receive_sail_reward::CopyFrom(const packetc2w_receive_sail_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_receive_sail_reward::IsInitialized() const {

  return true;
}

void packetc2w_receive_sail_reward::Swap(packetc2w_receive_sail_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    std::swap(index_, other->index_);
    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 packetc2w_receive_sail_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_receive_sail_reward_descriptor_;
  metadata.reflection = packetc2w_receive_sail_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_receive_sail_result::kPacketIdFieldNumber;
const int packetw2c_receive_sail_result::kTypeFieldNumber;
const int packetw2c_receive_sail_result::kIndexFieldNumber;
const int packetw2c_receive_sail_result::kResultFieldNumber;
const int packetw2c_receive_sail_result::kResultParamFieldNumber;
#endif  // !_MSC_VER

packetw2c_receive_sail_result::packetw2c_receive_sail_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_receive_sail_result::InitAsDefaultInstance() {
}

packetw2c_receive_sail_result::packetw2c_receive_sail_result(const packetw2c_receive_sail_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_receive_sail_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7752;
  type_ = 0;
  index_ = 0;
  result_ = 0;
  resultparam_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_receive_sail_result::~packetw2c_receive_sail_result() {
  SharedDtor();
}

void packetw2c_receive_sail_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_receive_sail_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_receive_sail_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_receive_sail_result_descriptor_;
}

const packetw2c_receive_sail_result& packetw2c_receive_sail_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_receive_sail_result* packetw2c_receive_sail_result::default_instance_ = NULL;

packetw2c_receive_sail_result* packetw2c_receive_sail_result::New() const {
  return new packetw2c_receive_sail_result;
}

void packetw2c_receive_sail_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7752;
    type_ = 0;
    index_ = 0;
    result_ = 0;
    resultparam_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_receive_sail_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_type;
        break;
      }

      // optional int32 type = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_type:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &type_)));
          set_has_type();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_index;
        break;
      }

      // optional int32 index = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_result;
        break;
      }

      // optional int32 result = 4;
      case 4: {
        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(40)) goto parse_resultParam;
        break;
      }

      // optional int32 resultParam = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_resultParam:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &resultparam_)));
          set_has_resultparam();
        } 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 packetw2c_receive_sail_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 type = 2;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  }

  // optional int32 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

  // optional int32 result = 4;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->result(), output);
  }

  // optional int32 resultParam = 5;
  if (has_resultparam()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->resultparam(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_receive_sail_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 type = 2;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  }

  // optional int32 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

  // optional int32 result = 4;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->result(), target);
  }

  // optional int32 resultParam = 5;
  if (has_resultparam()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->resultparam(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_receive_sail_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 type = 2;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

    // optional int32 result = 4;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

    // optional int32 resultParam = 5;
    if (has_resultparam()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->resultparam());
    }

  }
  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 packetw2c_receive_sail_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_receive_sail_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_sail_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_receive_sail_result::MergeFrom(const packetw2c_receive_sail_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_type()) {
      set_type(from.type());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
    if (from.has_resultparam()) {
      set_resultparam(from.resultparam());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_receive_sail_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_receive_sail_result::CopyFrom(const packetw2c_receive_sail_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_receive_sail_result::IsInitialized() const {

  return true;
}

void packetw2c_receive_sail_result::Swap(packetw2c_receive_sail_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    std::swap(index_, other->index_);
    std::swap(result_, other->result_);
    std::swap(resultparam_, other->resultparam_);
    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 packetw2c_receive_sail_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_receive_sail_result_descriptor_;
  metadata.reflection = packetw2c_receive_sail_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_syn_sail_piggy_gold::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_syn_sail_piggy_gold::packetc2w_syn_sail_piggy_gold()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_syn_sail_piggy_gold::InitAsDefaultInstance() {
}

packetc2w_syn_sail_piggy_gold::packetc2w_syn_sail_piggy_gold(const packetc2w_syn_sail_piggy_gold& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_syn_sail_piggy_gold::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5221;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_syn_sail_piggy_gold::~packetc2w_syn_sail_piggy_gold() {
  SharedDtor();
}

void packetc2w_syn_sail_piggy_gold::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_syn_sail_piggy_gold::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_syn_sail_piggy_gold::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_syn_sail_piggy_gold_descriptor_;
}

const packetc2w_syn_sail_piggy_gold& packetc2w_syn_sail_piggy_gold::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_syn_sail_piggy_gold* packetc2w_syn_sail_piggy_gold::default_instance_ = NULL;

packetc2w_syn_sail_piggy_gold* packetc2w_syn_sail_piggy_gold::New() const {
  return new packetc2w_syn_sail_piggy_gold;
}

void packetc2w_syn_sail_piggy_gold::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5221;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_syn_sail_piggy_gold::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetc2w_syn_sail_piggy_gold::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  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* packetc2w_syn_sail_piggy_gold::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  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 packetc2w_syn_sail_piggy_gold::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
    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 packetc2w_syn_sail_piggy_gold::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_syn_sail_piggy_gold* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_syn_sail_piggy_gold*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_syn_sail_piggy_gold::MergeFrom(const packetc2w_syn_sail_piggy_gold& 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 packetc2w_syn_sail_piggy_gold::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_syn_sail_piggy_gold::CopyFrom(const packetc2w_syn_sail_piggy_gold& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_syn_sail_piggy_gold::IsInitialized() const {

  return true;
}

void packetc2w_syn_sail_piggy_gold::Swap(packetc2w_syn_sail_piggy_gold* 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 packetc2w_syn_sail_piggy_gold::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_syn_sail_piggy_gold_descriptor_;
  metadata.reflection = packetc2w_syn_sail_piggy_gold_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_sail_piggy_gold_result::kPacketIdFieldNumber;
const int packetw2c_syn_sail_piggy_gold_result::kPiggyGoldFieldNumber;
const int packetw2c_syn_sail_piggy_gold_result::kFishGoldFieldNumber;
const int packetw2c_syn_sail_piggy_gold_result::kOnlineGoldFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_sail_piggy_gold_result::packetw2c_syn_sail_piggy_gold_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_sail_piggy_gold_result::InitAsDefaultInstance() {
}

packetw2c_syn_sail_piggy_gold_result::packetw2c_syn_sail_piggy_gold_result(const packetw2c_syn_sail_piggy_gold_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_sail_piggy_gold_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7759;
  piggygold_ = 0;
  fishgold_ = 0;
  onlinegold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_sail_piggy_gold_result::~packetw2c_syn_sail_piggy_gold_result() {
  SharedDtor();
}

void packetw2c_syn_sail_piggy_gold_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_sail_piggy_gold_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_sail_piggy_gold_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_sail_piggy_gold_result_descriptor_;
}

const packetw2c_syn_sail_piggy_gold_result& packetw2c_syn_sail_piggy_gold_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_syn_sail_piggy_gold_result* packetw2c_syn_sail_piggy_gold_result::default_instance_ = NULL;

packetw2c_syn_sail_piggy_gold_result* packetw2c_syn_sail_piggy_gold_result::New() const {
  return new packetw2c_syn_sail_piggy_gold_result;
}

void packetw2c_syn_sail_piggy_gold_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7759;
    piggygold_ = 0;
    fishgold_ = 0;
    onlinegold_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_sail_piggy_gold_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_piggyGold;
        break;
      }

      // optional int32 piggyGold = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_piggyGold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &piggygold_)));
          set_has_piggygold();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_fishGold;
        break;
      }

      // optional int32 fishGold = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_fishGold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &fishgold_)));
          set_has_fishgold();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_onlineGold;
        break;
      }

      // optional int32 onlineGold = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_onlineGold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &onlinegold_)));
          set_has_onlinegold();
        } 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 packetw2c_syn_sail_piggy_gold_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 piggyGold = 2;
  if (has_piggygold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->piggygold(), output);
  }

  // optional int32 fishGold = 3;
  if (has_fishgold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishgold(), output);
  }

  // optional int32 onlineGold = 4;
  if (has_onlinegold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->onlinegold(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_sail_piggy_gold_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 piggyGold = 2;
  if (has_piggygold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->piggygold(), target);
  }

  // optional int32 fishGold = 3;
  if (has_fishgold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishgold(), target);
  }

  // optional int32 onlineGold = 4;
  if (has_onlinegold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->onlinegold(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_sail_piggy_gold_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 piggyGold = 2;
    if (has_piggygold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->piggygold());
    }

    // optional int32 fishGold = 3;
    if (has_fishgold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->fishgold());
    }

    // optional int32 onlineGold = 4;
    if (has_onlinegold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->onlinegold());
    }

  }
  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 packetw2c_syn_sail_piggy_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_sail_piggy_gold_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_sail_piggy_gold_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_sail_piggy_gold_result::MergeFrom(const packetw2c_syn_sail_piggy_gold_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_piggygold()) {
      set_piggygold(from.piggygold());
    }
    if (from.has_fishgold()) {
      set_fishgold(from.fishgold());
    }
    if (from.has_onlinegold()) {
      set_onlinegold(from.onlinegold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_sail_piggy_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_sail_piggy_gold_result::CopyFrom(const packetw2c_syn_sail_piggy_gold_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_sail_piggy_gold_result::IsInitialized() const {

  return true;
}

void packetw2c_syn_sail_piggy_gold_result::Swap(packetw2c_syn_sail_piggy_gold_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(piggygold_, other->piggygold_);
    std::swap(fishgold_, other->fishgold_);
    std::swap(onlinegold_, other->onlinegold_);
    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 packetw2c_syn_sail_piggy_gold_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_sail_piggy_gold_result_descriptor_;
  metadata.reflection = packetw2c_syn_sail_piggy_gold_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_sail_achieve_lottery::kPacketIdFieldNumber;
const int packetc2w_sail_achieve_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_sail_achieve_lottery::packetc2w_sail_achieve_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_sail_achieve_lottery::InitAsDefaultInstance() {
}

packetc2w_sail_achieve_lottery::packetc2w_sail_achieve_lottery(const packetc2w_sail_achieve_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_sail_achieve_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5219;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_sail_achieve_lottery::~packetc2w_sail_achieve_lottery() {
  SharedDtor();
}

void packetc2w_sail_achieve_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_sail_achieve_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_sail_achieve_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_sail_achieve_lottery_descriptor_;
}

const packetc2w_sail_achieve_lottery& packetc2w_sail_achieve_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_sail_achieve_lottery* packetc2w_sail_achieve_lottery::default_instance_ = NULL;

packetc2w_sail_achieve_lottery* packetc2w_sail_achieve_lottery::New() const {
  return new packetc2w_sail_achieve_lottery;
}

void packetc2w_sail_achieve_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5219;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_sail_achieve_lottery::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_count;
        break;
      }

      // optional int32 count = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_count:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &count_)));
          set_has_count();
        } 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 packetc2w_sail_achieve_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 count = 2;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_sail_achieve_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 count = 2;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_sail_achieve_lottery::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 count = 2;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

  }
  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 packetc2w_sail_achieve_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_sail_achieve_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_sail_achieve_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_sail_achieve_lottery::MergeFrom(const packetc2w_sail_achieve_lottery& 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_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_sail_achieve_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_sail_achieve_lottery::CopyFrom(const packetc2w_sail_achieve_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_sail_achieve_lottery::IsInitialized() const {

  return true;
}

void packetc2w_sail_achieve_lottery::Swap(packetc2w_sail_achieve_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(count_, other->count_);
    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 packetc2w_sail_achieve_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_sail_achieve_lottery_descriptor_;
  metadata.reflection = packetc2w_sail_achieve_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_sail_achieve_lottery_result::kPacketIdFieldNumber;
const int packetw2c_sail_achieve_lottery_result::kCountFieldNumber;
const int packetw2c_sail_achieve_lottery_result::kResultFieldNumber;
const int packetw2c_sail_achieve_lottery_result::kRewardListFieldNumber;
#endif  // !_MSC_VER

packetw2c_sail_achieve_lottery_result::packetw2c_sail_achieve_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_sail_achieve_lottery_result::InitAsDefaultInstance() {
}

packetw2c_sail_achieve_lottery_result::packetw2c_sail_achieve_lottery_result(const packetw2c_sail_achieve_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_sail_achieve_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7753;
  count_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_sail_achieve_lottery_result::~packetw2c_sail_achieve_lottery_result() {
  SharedDtor();
}

void packetw2c_sail_achieve_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_sail_achieve_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_sail_achieve_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_sail_achieve_lottery_result_descriptor_;
}

const packetw2c_sail_achieve_lottery_result& packetw2c_sail_achieve_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_sail_achieve_lottery_result* packetw2c_sail_achieve_lottery_result::default_instance_ = NULL;

packetw2c_sail_achieve_lottery_result* packetw2c_sail_achieve_lottery_result::New() const {
  return new packetw2c_sail_achieve_lottery_result;
}

void packetw2c_sail_achieve_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7753;
    count_ = 0;
    result_ = 0;
  }
  rewardlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_sail_achieve_lottery_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_count;
        break;
      }

      // optional int32 count = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_count:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &count_)));
          set_has_count();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_result;
        break;
      }

      // optional int32 result = 3;
      case 3: {
        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(32)) goto parse_rewardList;
        break;
      }

      // repeated int32 rewardList = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardList:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_rewardlist())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, this->mutable_rewardlist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_rewardList;
        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 packetw2c_sail_achieve_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 count = 2;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  // repeated int32 rewardList = 4;
  for (int i = 0; i < this->rewardlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->rewardlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_sail_achieve_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 count = 2;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  // repeated int32 rewardList = 4;
  for (int i = 0; i < this->rewardlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->rewardlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_sail_achieve_lottery_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 count = 2;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  // repeated int32 rewardList = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardlist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardlist(i));
    }
    total_size += 1 * this->rewardlist_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 packetw2c_sail_achieve_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_sail_achieve_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_sail_achieve_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_sail_achieve_lottery_result::MergeFrom(const packetw2c_sail_achieve_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardlist_.MergeFrom(from.rewardlist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_sail_achieve_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_sail_achieve_lottery_result::CopyFrom(const packetw2c_sail_achieve_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_sail_achieve_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_sail_achieve_lottery_result::Swap(packetw2c_sail_achieve_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(count_, other->count_);
    std::swap(result_, other->result_);
    rewardlist_.Swap(&other->rewardlist_);
    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 packetw2c_sail_achieve_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_sail_achieve_lottery_result_descriptor_;
  metadata.reflection = packetw2c_sail_achieve_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_trigger_sail_achieve::kPacketIdFieldNumber;
const int packetw2c_trigger_sail_achieve::kSailInfoFieldNumber;
#endif  // !_MSC_VER

packetw2c_trigger_sail_achieve::packetw2c_trigger_sail_achieve()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_trigger_sail_achieve::InitAsDefaultInstance() {
  sailinfo_ = const_cast< ::msg_info_def::SailCeremonyInfo*>(&::msg_info_def::SailCeremonyInfo::default_instance());
}

packetw2c_trigger_sail_achieve::packetw2c_trigger_sail_achieve(const packetw2c_trigger_sail_achieve& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_trigger_sail_achieve::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7756;
  sailinfo_ = NULL;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_trigger_sail_achieve::~packetw2c_trigger_sail_achieve() {
  SharedDtor();
}

void packetw2c_trigger_sail_achieve::SharedDtor() {
  if (this != default_instance_) {
    delete sailinfo_;
  }
}

void packetw2c_trigger_sail_achieve::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_trigger_sail_achieve::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_trigger_sail_achieve_descriptor_;
}

const packetw2c_trigger_sail_achieve& packetw2c_trigger_sail_achieve::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_trigger_sail_achieve* packetw2c_trigger_sail_achieve::default_instance_ = NULL;

packetw2c_trigger_sail_achieve* packetw2c_trigger_sail_achieve::New() const {
  return new packetw2c_trigger_sail_achieve;
}

void packetw2c_trigger_sail_achieve::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7756;
    if (has_sailinfo()) {
      if (sailinfo_ != NULL) sailinfo_->::msg_info_def::SailCeremonyInfo::Clear();
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_trigger_sail_achieve::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_sailInfo;
        break;
      }

      // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_sailInfo:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_sailinfo()));
        } 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 packetw2c_trigger_sail_achieve::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  if (has_sailinfo()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->sailinfo(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_trigger_sail_achieve::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  if (has_sailinfo()) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->sailinfo(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_trigger_sail_achieve::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
    if (has_sailinfo()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->sailinfo());
    }

  }
  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 packetw2c_trigger_sail_achieve::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_trigger_sail_achieve* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_trigger_sail_achieve*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_trigger_sail_achieve::MergeFrom(const packetw2c_trigger_sail_achieve& 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_sailinfo()) {
      mutable_sailinfo()->::msg_info_def::SailCeremonyInfo::MergeFrom(from.sailinfo());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_trigger_sail_achieve::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_trigger_sail_achieve::CopyFrom(const packetw2c_trigger_sail_achieve& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_trigger_sail_achieve::IsInitialized() const {

  return true;
}

void packetw2c_trigger_sail_achieve::Swap(packetw2c_trigger_sail_achieve* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(sailinfo_, other->sailinfo_);
    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 packetw2c_trigger_sail_achieve::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_trigger_sail_achieve_descriptor_;
  metadata.reflection = packetw2c_trigger_sail_achieve_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int sailLotteryInfo::kNicknameFieldNumber;
const int sailLotteryInfo::kItemIDFieldNumber;
const int sailLotteryInfo::kItemCountFieldNumber;
const int sailLotteryInfo::kTimeFieldNumber;
#endif  // !_MSC_VER

sailLotteryInfo::sailLotteryInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void sailLotteryInfo::InitAsDefaultInstance() {
}

sailLotteryInfo::sailLotteryInfo(const sailLotteryInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void sailLotteryInfo::SharedCtor() {
  _cached_size_ = 0;
  nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  itemid_ = 0;
  itemcount_ = 0;
  time_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

sailLotteryInfo::~sailLotteryInfo() {
  SharedDtor();
}

void sailLotteryInfo::SharedDtor() {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    delete nickname_;
  }
  if (this != default_instance_) {
  }
}

void sailLotteryInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* sailLotteryInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return sailLotteryInfo_descriptor_;
}

const sailLotteryInfo& sailLotteryInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

sailLotteryInfo* sailLotteryInfo::default_instance_ = NULL;

sailLotteryInfo* sailLotteryInfo::New() const {
  return new sailLotteryInfo;
}

void sailLotteryInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (has_nickname()) {
      if (nickname_ != &::google::protobuf::internal::kEmptyString) {
        nickname_->clear();
      }
    }
    itemid_ = 0;
    itemcount_ = 0;
    time_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool sailLotteryInfo::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 string nickname = 1;
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
          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(16)) goto parse_itemID;
        break;
      }

      // optional int32 itemID = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemID:
          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(24)) goto parse_itemCount;
        break;
      }

      // optional int32 itemCount = 3;
      case 3: {
        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->ExpectTag(32)) goto parse_time;
        break;
      }

      // optional int32 time = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_time:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &time_)));
          set_has_time();
        } 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 sailLotteryInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional string nickname = 1;
  if (has_nickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->nickname().data(), this->nickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      1, this->nickname(), output);
  }

  // optional int32 itemID = 2;
  if (has_itemid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemid(), output);
  }

  // optional int32 itemCount = 3;
  if (has_itemcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemcount(), output);
  }

  // optional int32 time = 4;
  if (has_time()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->time(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* sailLotteryInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional string nickname = 1;
  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(
        1, this->nickname(), target);
  }

  // optional int32 itemID = 2;
  if (has_itemid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemid(), target);
  }

  // optional int32 itemCount = 3;
  if (has_itemcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemcount(), target);
  }

  // optional int32 time = 4;
  if (has_time()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->time(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int sailLotteryInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional string nickname = 1;
    if (has_nickname()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->nickname());
    }

    // optional int32 itemID = 2;
    if (has_itemid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->itemid());
    }

    // optional int32 itemCount = 3;
    if (has_itemcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->itemcount());
    }

    // optional int32 time = 4;
    if (has_time()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->time());
    }

  }
  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 sailLotteryInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const sailLotteryInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const sailLotteryInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void sailLotteryInfo::MergeFrom(const sailLotteryInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_nickname()) {
      set_nickname(from.nickname());
    }
    if (from.has_itemid()) {
      set_itemid(from.itemid());
    }
    if (from.has_itemcount()) {
      set_itemcount(from.itemcount());
    }
    if (from.has_time()) {
      set_time(from.time());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void sailLotteryInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void sailLotteryInfo::CopyFrom(const sailLotteryInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool sailLotteryInfo::IsInitialized() const {

  return true;
}

void sailLotteryInfo::Swap(sailLotteryInfo* other) {
  if (other != this) {
    std::swap(nickname_, other->nickname_);
    std::swap(itemid_, other->itemid_);
    std::swap(itemcount_, other->itemcount_);
    std::swap(time_, other->time_);
    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 sailLotteryInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = sailLotteryInfo_descriptor_;
  metadata.reflection = sailLotteryInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_sail_get_lottery_history::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_sail_get_lottery_history::packetc2w_sail_get_lottery_history()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_sail_get_lottery_history::InitAsDefaultInstance() {
}

packetc2w_sail_get_lottery_history::packetc2w_sail_get_lottery_history(const packetc2w_sail_get_lottery_history& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_sail_get_lottery_history::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5222;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_sail_get_lottery_history::~packetc2w_sail_get_lottery_history() {
  SharedDtor();
}

void packetc2w_sail_get_lottery_history::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_sail_get_lottery_history::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_sail_get_lottery_history::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_sail_get_lottery_history_descriptor_;
}

const packetc2w_sail_get_lottery_history& packetc2w_sail_get_lottery_history::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_sail_get_lottery_history* packetc2w_sail_get_lottery_history::default_instance_ = NULL;

packetc2w_sail_get_lottery_history* packetc2w_sail_get_lottery_history::New() const {
  return new packetc2w_sail_get_lottery_history;
}

void packetc2w_sail_get_lottery_history::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5222;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_sail_get_lottery_history::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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 packetc2w_sail_get_lottery_history::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  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* packetc2w_sail_get_lottery_history::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  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 packetc2w_sail_get_lottery_history::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
    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 packetc2w_sail_get_lottery_history::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_sail_get_lottery_history* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_sail_get_lottery_history*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_sail_get_lottery_history::MergeFrom(const packetc2w_sail_get_lottery_history& 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 packetc2w_sail_get_lottery_history::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_sail_get_lottery_history::CopyFrom(const packetc2w_sail_get_lottery_history& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_sail_get_lottery_history::IsInitialized() const {

  return true;
}

void packetc2w_sail_get_lottery_history::Swap(packetc2w_sail_get_lottery_history* 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 packetc2w_sail_get_lottery_history::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_sail_get_lottery_history_descriptor_;
  metadata.reflection = packetc2w_sail_get_lottery_history_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_sail_get_lottery_history_result::kPacketIdFieldNumber;
const int packetw2c_sail_get_lottery_history_result::kHisFieldNumber;
#endif  // !_MSC_VER

packetw2c_sail_get_lottery_history_result::packetw2c_sail_get_lottery_history_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_sail_get_lottery_history_result::InitAsDefaultInstance() {
}

packetw2c_sail_get_lottery_history_result::packetw2c_sail_get_lottery_history_result(const packetw2c_sail_get_lottery_history_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_sail_get_lottery_history_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7760;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_sail_get_lottery_history_result::~packetw2c_sail_get_lottery_history_result() {
  SharedDtor();
}

void packetw2c_sail_get_lottery_history_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_sail_get_lottery_history_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_sail_get_lottery_history_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_sail_get_lottery_history_result_descriptor_;
}

const packetw2c_sail_get_lottery_history_result& packetw2c_sail_get_lottery_history_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_sail_get_lottery_history_result* packetw2c_sail_get_lottery_history_result::default_instance_ = NULL;

packetw2c_sail_get_lottery_history_result* packetw2c_sail_get_lottery_history_result::New() const {
  return new packetw2c_sail_get_lottery_history_result;
}

void packetw2c_sail_get_lottery_history_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7760;
  }
  his_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_sail_get_lottery_history_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_his;
        break;
      }

      // repeated .client2world_protocols.sailLotteryInfo his = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_his:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_his()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_his;
        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 packetw2c_sail_get_lottery_history_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.sailLotteryInfo his = 2;
  for (int i = 0; i < this->his_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->his(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_sail_get_lottery_history_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.sailLotteryInfo his = 2;
  for (int i = 0; i < this->his_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->his(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_sail_get_lottery_history_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .client2world_protocols.sailLotteryInfo his = 2;
  total_size += 1 * this->his_size();
  for (int i = 0; i < this->his_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->his(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 packetw2c_sail_get_lottery_history_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_sail_get_lottery_history_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_sail_get_lottery_history_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_sail_get_lottery_history_result::MergeFrom(const packetw2c_sail_get_lottery_history_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  his_.MergeFrom(from.his_);
  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 packetw2c_sail_get_lottery_history_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_sail_get_lottery_history_result::CopyFrom(const packetw2c_sail_get_lottery_history_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_sail_get_lottery_history_result::IsInitialized() const {

  return true;
}

void packetw2c_sail_get_lottery_history_result::Swap(packetw2c_sail_get_lottery_history_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    his_.Swap(&other->his_);
    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 packetw2c_sail_get_lottery_history_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_sail_get_lottery_history_result_descriptor_;
  metadata.reflection = packetw2c_sail_get_lottery_history_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_return_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_return_login_reward::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_return_login_reward::packetc2w_recv_return_login_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_return_login_reward::InitAsDefaultInstance() {
}

packetc2w_recv_return_login_reward::packetc2w_recv_return_login_reward(const packetc2w_recv_return_login_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_return_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5257;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_return_login_reward::~packetc2w_recv_return_login_reward() {
  SharedDtor();
}

void packetc2w_recv_return_login_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_return_login_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_return_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_return_login_reward_descriptor_;
}

const packetc2w_recv_return_login_reward& packetc2w_recv_return_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_recv_return_login_reward* packetc2w_recv_return_login_reward::default_instance_ = NULL;

packetc2w_recv_return_login_reward* packetc2w_recv_return_login_reward::New() const {
  return new packetc2w_recv_return_login_reward;
}

void packetc2w_recv_return_login_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5257;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_return_login_reward::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_index;
        break;
      }

      // optional int32 index = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetc2w_recv_return_login_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 index = 2;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_return_login_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 index = 2;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_return_login_reward::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 index = 2;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetc2w_recv_return_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_return_login_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_return_login_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_return_login_reward::MergeFrom(const packetc2w_recv_return_login_reward& 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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_return_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_return_login_reward::CopyFrom(const packetc2w_recv_return_login_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_return_login_reward::IsInitialized() const {

  return true;
}

void packetc2w_recv_return_login_reward::Swap(packetc2w_recv_return_login_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(index_, other->index_);
    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 packetc2w_recv_return_login_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_return_login_reward_descriptor_;
  metadata.reflection = packetc2w_recv_return_login_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_return_login_reward_result::kPacketIdFieldNumber;
const int packetw2c_recv_return_login_reward_result::kResultFieldNumber;
const int packetw2c_recv_return_login_reward_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_return_login_reward_result::packetw2c_recv_return_login_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_return_login_reward_result::InitAsDefaultInstance() {
}

packetw2c_recv_return_login_reward_result::packetw2c_recv_return_login_reward_result(const packetw2c_recv_return_login_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_return_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7805;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_return_login_reward_result::~packetw2c_recv_return_login_reward_result() {
  SharedDtor();
}

void packetw2c_recv_return_login_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_return_login_reward_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_return_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_return_login_reward_result_descriptor_;
}

const packetw2c_recv_return_login_reward_result& packetw2c_recv_return_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_recv_return_login_reward_result* packetw2c_recv_return_login_reward_result::default_instance_ = NULL;

packetw2c_recv_return_login_reward_result* packetw2c_recv_return_login_reward_result::New() const {
  return new packetw2c_recv_return_login_reward_result;
}

void packetw2c_recv_return_login_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7805;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_return_login_reward_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_index;
        break;
      }

      // optional int32 index = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetw2c_recv_return_login_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_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 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_return_login_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_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 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_return_login_reward_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_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 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetw2c_recv_return_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_return_login_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_return_login_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_return_login_reward_result::MergeFrom(const packetw2c_recv_return_login_reward_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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_return_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_return_login_reward_result::CopyFrom(const packetw2c_recv_return_login_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_return_login_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_return_login_reward_result::Swap(packetw2c_recv_return_login_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    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 packetw2c_recv_return_login_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_return_login_reward_result_descriptor_;
  metadata.reflection = packetw2c_recv_return_login_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_return_recharge_reward::kPacketIdFieldNumber;
const int packetc2w_recv_return_recharge_reward::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_return_recharge_reward::packetc2w_recv_return_recharge_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_return_recharge_reward::InitAsDefaultInstance() {
}

packetc2w_recv_return_recharge_reward::packetc2w_recv_return_recharge_reward(const packetc2w_recv_return_recharge_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_return_recharge_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5258;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_return_recharge_reward::~packetc2w_recv_return_recharge_reward() {
  SharedDtor();
}

void packetc2w_recv_return_recharge_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_return_recharge_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_return_recharge_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_return_recharge_reward_descriptor_;
}

const packetc2w_recv_return_recharge_reward& packetc2w_recv_return_recharge_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_recv_return_recharge_reward* packetc2w_recv_return_recharge_reward::default_instance_ = NULL;

packetc2w_recv_return_recharge_reward* packetc2w_recv_return_recharge_reward::New() const {
  return new packetc2w_recv_return_recharge_reward;
}

void packetc2w_recv_return_recharge_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5258;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_return_recharge_reward::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_index;
        break;
      }

      // optional int32 index = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetc2w_recv_return_recharge_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 index = 2;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_return_recharge_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 index = 2;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_return_recharge_reward::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 index = 2;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetc2w_recv_return_recharge_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_return_recharge_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_return_recharge_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_return_recharge_reward::MergeFrom(const packetc2w_recv_return_recharge_reward& 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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_return_recharge_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_return_recharge_reward::CopyFrom(const packetc2w_recv_return_recharge_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_return_recharge_reward::IsInitialized() const {

  return true;
}

void packetc2w_recv_return_recharge_reward::Swap(packetc2w_recv_return_recharge_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(index_, other->index_);
    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 packetc2w_recv_return_recharge_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_return_recharge_reward_descriptor_;
  metadata.reflection = packetc2w_recv_return_recharge_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_return_recharge_reward_result::kPacketIdFieldNumber;
const int packetw2c_recv_return_recharge_reward_result::kResultFieldNumber;
const int packetw2c_recv_return_recharge_reward_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_return_recharge_reward_result::packetw2c_recv_return_recharge_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_return_recharge_reward_result::InitAsDefaultInstance() {
}

packetw2c_recv_return_recharge_reward_result::packetw2c_recv_return_recharge_reward_result(const packetw2c_recv_return_recharge_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_return_recharge_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7806;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_return_recharge_reward_result::~packetw2c_recv_return_recharge_reward_result() {
  SharedDtor();
}

void packetw2c_recv_return_recharge_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_return_recharge_reward_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_return_recharge_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_return_recharge_reward_result_descriptor_;
}

const packetw2c_recv_return_recharge_reward_result& packetw2c_recv_return_recharge_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_recv_return_recharge_reward_result* packetw2c_recv_return_recharge_reward_result::default_instance_ = NULL;

packetw2c_recv_return_recharge_reward_result* packetw2c_recv_return_recharge_reward_result::New() const {
  return new packetw2c_recv_return_recharge_reward_result;
}

void packetw2c_recv_return_recharge_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7806;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_return_recharge_reward_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_index;
        break;
      }

      // optional int32 index = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetw2c_recv_return_recharge_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_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 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_return_recharge_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_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 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_return_recharge_reward_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_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 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetw2c_recv_return_recharge_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_return_recharge_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_return_recharge_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_return_recharge_reward_result::MergeFrom(const packetw2c_recv_return_recharge_reward_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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_return_recharge_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_return_recharge_reward_result::CopyFrom(const packetw2c_recv_return_recharge_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_return_recharge_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_return_recharge_reward_result::Swap(packetw2c_recv_return_recharge_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    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 packetw2c_recv_return_recharge_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_return_recharge_reward_result_descriptor_;
  metadata.reflection = packetw2c_recv_return_recharge_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_abysm_sign::kPacketIdFieldNumber;
const int packetc2w_abysm_sign::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_abysm_sign::packetc2w_abysm_sign()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_abysm_sign::InitAsDefaultInstance() {
}

packetc2w_abysm_sign::packetc2w_abysm_sign(const packetc2w_abysm_sign& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_abysm_sign::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5261;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_abysm_sign::~packetc2w_abysm_sign() {
  SharedDtor();
}

void packetc2w_abysm_sign::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_abysm_sign::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_abysm_sign::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_abysm_sign_descriptor_;
}

const packetc2w_abysm_sign& packetc2w_abysm_sign::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_abysm_sign* packetc2w_abysm_sign::default_instance_ = NULL;

packetc2w_abysm_sign* packetc2w_abysm_sign::New() const {
  return new packetc2w_abysm_sign;
}

void packetc2w_abysm_sign::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5261;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_abysm_sign::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_index;
        break;
      }

      // optional int32 index = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } 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 packetc2w_abysm_sign::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 index = 2;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_abysm_sign::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 index = 2;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_abysm_sign::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 index = 2;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  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 packetc2w_abysm_sign::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_abysm_sign* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_abysm_sign*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_abysm_sign::MergeFrom(const packetc2w_abysm_sign& 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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_abysm_sign::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_abysm_sign::CopyFrom(const packetc2w_abysm_sign& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_abysm_sign::IsInitialized() const {

  return true;
}

void packetc2w_abysm_sign::Swap(packetc2w_abysm_sign* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(index_, other->index_);
    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 packetc2w_abysm_sign::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_abysm_sign_descriptor_;
  metadata.reflection = packetc2w_abysm_sign_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_abysm_sign_result::kPacketIdFieldNumber;
const int packetw2c_abysm_sign_result::kResultFieldNumber;
const int packetw2c_abysm_sign_result::kIndexFieldNumber;
const int packetw2c_abysm_sign_result::kRewardItemFieldNumber;
#endif  // !_MSC_VER

packetw2c_abysm_sign_result::packetw2c_abysm_sign_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_abysm_sign_result::InitAsDefaultInstance() {
}

packetw2c_abysm_sign_result::packetw2c_abysm_sign_result(const packetw2c_abysm_sign_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_abysm_sign_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7810;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_abysm_sign_result::~packetw2c_abysm_sign_result() {
  SharedDtor();
}

void packetw2c_abysm_sign_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_abysm_sign_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_abysm_sign_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_abysm_sign_result_descriptor_;
}

const packetw2c_abysm_sign_result& packetw2c_abysm_sign_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_abysm_sign_result* packetw2c_abysm_sign_result::default_instance_ = NULL;

packetw2c_abysm_sign_result* packetw2c_abysm_sign_result::New() const {
  return new packetw2c_abysm_sign_result;
}

void packetw2c_abysm_sign_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7810;
    result_ = 0;
    index_ = 0;
  }
  rewarditem_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_abysm_sign_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_index;
        break;
      }

      // optional int32 index = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &index_)));
          set_has_index();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_rewardItem;
        break;
      }

      // repeated .msg_info_def.ItemInfo rewardItem = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rewardItem:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_rewarditem()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_rewardItem;
        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 packetw2c_abysm_sign_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_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 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

  // repeated .msg_info_def.ItemInfo rewardItem = 4;
  for (int i = 0; i < this->rewarditem_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->rewarditem(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_abysm_sign_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_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 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

  // repeated .msg_info_def.ItemInfo rewardItem = 4;
  for (int i = 0; i < this->rewarditem_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->rewarditem(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_abysm_sign_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_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 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

  }
  // repeated .msg_info_def.ItemInfo rewardItem = 4;
  total_size += 1 * this->rewarditem_size();
  for (int i = 0; i < this->rewarditem_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->rewarditem(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 packetw2c_abysm_sign_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_abysm_sign_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_abysm_sign_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_abysm_sign_result::MergeFrom(const packetw2c_abysm_sign_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewarditem_.MergeFrom(from.rewarditem_);
  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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_abysm_sign_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_abysm_sign_result::CopyFrom(const packetw2c_abysm_sign_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_abysm_sign_result::IsInitialized() const {

  return true;
}

void packetw2c_abysm_sign_result::Swap(packetw2c_abysm_sign_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    rewarditem_.Swap(&other->rewarditem_);
    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 packetw2c_abysm_sign_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_abysm_sign_result_descriptor_;
  metadata.reflection = packetw2c_abysm_sign_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_dragonball_lottery::kPacketIdFieldNumber;
const int packetc2w_dragonball_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_dragonball_lottery::packetc2w_dragonball_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_dragonball_lottery::InitAsDefaultInstance() {
}

packetc2w_dragonball_lottery::packetc2w_dragonball_lottery(const packetc2w_dragonball_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_dragonball_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5276;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_dragonball_lottery::~packetc2w_dragonball_lottery() {
  SharedDtor();
}

void packetc2w_dragonball_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_dragonball_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_dragonball_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_dragonball_lottery_descriptor_;
}

const packetc2w_dragonball_lottery& packetc2w_dragonball_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetc2w_dragonball_lottery* packetc2w_dragonball_lottery::default_instance_ = NULL;

packetc2w_dragonball_lottery* packetc2w_dragonball_lottery::New() const {
  return new packetc2w_dragonball_lottery;
}

void packetc2w_dragonball_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5276;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_dragonball_lottery::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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
      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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_count;
        break;
      }

      // optional int32 count = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_count:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &count_)));
          set_has_count();
        } 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 packetc2w_dragonball_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 count = 2;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_dragonball_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 count = 2;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_dragonball_lottery::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 count = 2;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

  }
  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 packetc2w_dragonball_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_dragonball_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_dragonball_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_dragonball_lottery::MergeFrom(const packetc2w_dragonball_lottery& 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_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_dragonball_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_dragonball_lottery::CopyFrom(const packetc2w_dragonball_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_dragonball_lottery::IsInitialized() const {

  return true;
}

void packetc2w_dragonball_lottery::Swap(packetc2w_dragonball_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(count_, other->count_);
    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 packetc2w_dragonball_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_dragonball_lottery_descriptor_;
  metadata.reflection = packetc2w_dragonball_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_dragonball_lottery_result::kPacketIdFieldNumber;
const int packetw2c_dragonball_lottery_result::kResultFieldNumber;
const int packetw2c_dragonball_lottery_result::kCountFieldNumber;
const int packetw2c_dragonball_lottery_result::kCurluckyFieldNumber;
const int packetw2c_dragonball_lottery_result::kDragonballFieldNumber;
const int packetw2c_dragonball_lottery_result::kRewardsFieldNumber;
#endif  // !_MSC_VER

packetw2c_dragonball_lottery_result::packetw2c_dragonball_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_dragonball_lottery_result::InitAsDefaultInstance() {
}

packetw2c_dragonball_lottery_result::packetw2c_dragonball_lottery_result(const packetw2c_dragonball_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_dragonball_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7828;
  result_ = 0;
  count_ = 0;
  curlucky_ = 0;
  dragonball_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_dragonball_lottery_result::~packetw2c_dragonball_lottery_result() {
  SharedDtor();
}

void packetw2c_dragonball_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_dragonball_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_dragonball_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_dragonball_lottery_result_descriptor_;
}

const packetw2c_dragonball_lottery_result& packetw2c_dragonball_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  return *default_instance_;
}

packetw2c_dragonball_lottery_result* packetw2c_dragonball_lottery_result::default_instance_ = NULL;

packetw2c_dragonball_lottery_result* packetw2c_dragonball_lottery_result::New() const {
  return new packetw2c_dragonball_lottery_result;
}

void packetw2c_dragonball_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7828;
    result_ = 0;
    count_ = 0;
    curlucky_ = 0;
    dragonball_ = 0;
  }
  rewards_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_dragonball_lottery_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_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 (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_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_count;
        break;
      }

      // optional int32 count = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_count:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &count_)));
          set_has_count();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_curlucky;
        break;
      }

      // optional int32 curlucky = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curlucky:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curlucky_)));
          set_has_curlucky();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_dragonball;
        break;
      }

      // optional int32 dragonball = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_dragonball:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &dragonball_)));
          set_has_dragonball();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_rewards;
        break;
      }

      // repeated int32 rewards = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewards:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 48, input, this->mutable_rewards())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, this->mutable_rewards())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_rewards;
        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 packetw2c_dragonball_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_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 count = 3;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  }

  // optional int32 curlucky = 4;
  if (has_curlucky()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->curlucky(), output);
  }

  // optional int32 dragonball = 5;
  if (has_dragonball()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->dragonball(), output);
  }

  // repeated int32 rewards = 6;
  for (int i = 0; i < this->rewards_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      6, this->rewards(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_dragonball_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_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 count = 3;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  }

  // optional int32 curlucky = 4;
  if (has_curlucky()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->curlucky(), target);
  }

  // optional int32 dragonball = 5;
  if (has_dragonball()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->dragonball(), target);
  }

  // repeated int32 rewards = 6;
  for (int i = 0; i < this->rewards_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(6, this->rewards(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_dragonball_lottery_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_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 count = 3;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

    // optional int32 curlucky = 4;
    if (has_curlucky()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curlucky());
    }

    // optional int32 dragonball = 5;
    if (has_dragonball()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->dragonball());
    }

  }
  // repeated int32 rewards = 6;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewards_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewards(i));
    }
    total_size += 1 * this->rewards_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 packetw2c_dragonball_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_dragonball_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_dragonball_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_dragonball_lottery_result::MergeFrom(const packetw2c_dragonball_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewards_.MergeFrom(from.rewards_);
  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_count()) {
      set_count(from.count());
    }
    if (from.has_curlucky()) {
      set_curlucky(from.curlucky());
    }
    if (from.has_dragonball()) {
      set_dragonball(from.dragonball());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_dragonball_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_dragonball_lottery_result::CopyFrom(const packetw2c_dragonball_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_dragonball_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_dragonball_lottery_result::Swap(packetw2c_dragonball_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(count_, other->count_);
    std::swap(curlucky_, other->curlucky_);
    std::swap(dragonball_, other->dragonball_);
    rewards_.Swap(&other->rewards_);
    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 packetw2c_dragonball_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_dragonball_lottery_result_descriptor_;
  metadata.reflection = packetw2c_dragonball_lottery_result_reflection_;
  return metadata;
}


// @@protoc_insertion_point(namespace_scope)

}  // namespace client2world_protocols

// @@protoc_insertion_point(global_scope)
