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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "client2world_activity2.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* packetw2c_activity_quest_notify_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_activity_quest_notify_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_new_year_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_new_year_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_new_year_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_new_year_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_new_year_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_new_year_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_national_day_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_national_day_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_national_day_quest_notify_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_national_day_quest_notify_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_national_day_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_national_day_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_national_day_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_national_day_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_national_day_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_national_day_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_national_day_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_national_day_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_national_day_choose_task_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_national_day_choose_task_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_national_day_choose_task_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_national_day_choose_task_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_spring_day_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_spring_day_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_spring_day_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_spring_day_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_spring_day_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_spring_day_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_hunt_fish_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_hunt_fish_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_hunt_fish_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_hunt_fish_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_hunt_fish_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_hunt_fish_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_hunt_fish_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_hunt_fish_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_hunt_fish_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_hunt_fish_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_recharge_activity_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_recharge_activity_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recharge_activity_rebate_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recharge_activity_rebate_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recharge_activity_rebate_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recharge_activity_rebate_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_wuyi_vacation_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_wuyi_vacation_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_wuyi_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_wuyi_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_wuyi_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_wuyi_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_handbooks_gold_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_wuyi_handbooks_gold_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_handbooks_gold_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_wuyi_handbooks_gold_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_handbooks_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_wuyi_handbooks_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_handbooks_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_wuyi_handbooks_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_wuyi_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_wuyi_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_wuyi_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_wuyi_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* pointRewardInfos_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  pointRewardInfos_reflection_ = NULL;
const ::google::protobuf::Descriptor* pointInfos_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  pointInfos_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_room_quest_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_room_quest_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_room_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_room_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_room_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_room_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_room_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_room_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_room_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_room_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_room_quest_point_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_room_quest_point_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_room_quest_point_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_room_quest_point_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_catch_fish_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_catch_fish_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* catchFishHistory_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  catchFishHistory_reflection_ = NULL;
const ::google::protobuf::Descriptor* catchFishInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  catchFishInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_catch_fish_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_catch_fish_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_catch_fish_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_catch_fish_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_catch_fish_history_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_catch_fish_history_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_catch_fish_history_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_catch_fish_history_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_duanwu_vacation_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_duanwu_vacation_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_duanwu_vacation_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_duanwu_vacation_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_duanwu_vacation_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_duanwu_vacation_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_duanwu_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_duanwu_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_duanwu_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_duanwu_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_gold_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_duanwu_handbooks_gold_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_gold_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_duanwu_handbooks_gold_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_duanwu_handbooks_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_duanwu_handbooks_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_duanwu_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_duanwu_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_duanwu_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_duanwu_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_summer_vacation_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_summer_vacation_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_summer_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_summer_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_summer_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_summer_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_summer_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_summer_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_summer_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_summer_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_summer_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_summer_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_summer_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_summer_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_gold_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_summer_handbooks_gold_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_gold_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_summer_handbooks_gold_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_summer_handbooks_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_summer_handbooks_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* onr_history_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  onr_history_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_one_night_rich_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_one_night_rich_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_one_night_rich_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_one_night_rich_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_one_night_rich_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_one_night_rich_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_onr_historyList_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_onr_historyList_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_onr_historyList_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_onr_historyList_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_fortune_star_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_fortune_star_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_fortune_star_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_fortune_star_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_fortune_star_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_fortune_star_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_fortune_star_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_fortune_star_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_fortune_star_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_fortune_star_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* activity_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  activity_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* personal_tailor_lottery_history_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  personal_tailor_lottery_history_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_personal_tailor_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_personal_tailor_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_personal_tailor_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_lottry_history_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_personal_tailor_lottry_history_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_lottry_history_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_personal_tailor_lottry_history_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_personal_tailor_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_personal_tailor_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_personal_tailor_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_personal_tailor_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_personal_tailor_exchange_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_personal_tailor_exchange_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_personal_tailor_exchange_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_personal_tailor_exchange_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_time_limit_purchase_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_time_limit_purchase_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_time_limit_purchase_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_time_limit_purchase_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_time_limit_purchase_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_time_limit_purchase_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_lucky_bag_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_lucky_bag_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_vip_limit_purchase_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_vip_limit_purchase_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_turret_lottery_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_turret_lottery_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_turret_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_turret_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_turret_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_turret_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_smashing_eggs_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_smashing_eggs_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_smashing_eggs_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_smashing_eggs_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_smashing_eggs_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_smashing_eggs_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_smashing_eggs_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_smashing_eggs_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_smashing_eggs_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_smashing_eggs_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_rich_lottery_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_rich_lottery_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_rich_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_rich_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_rich_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_rich_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_summer_revels_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_summer_revels_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_summer_revels_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_summer_revels_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_summer_revels_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_summer_revels_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_revels_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_revels_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_revels_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_revels_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* attackInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  attackInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* demonTowerInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  demonTowerInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* weaponInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  weaponInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_kill_demons_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_kill_demons_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_kill_demons_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_kill_demons_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_kill_demons_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_kill_demons_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_trial_score_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_trial_score_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_trial_score_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_trial_score_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_star_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_star_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_star_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_star_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_attack_demon_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_attack_demon_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_attack_demon_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_attack_demon_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_kill_demons_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_kill_demons_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_kill_demons_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_kill_demons_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_kill_demons_smelt_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_kill_demons_smelt_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_kill_demons_smelt_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_kill_demons_smelt_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_sword_energy_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_sword_energy_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_sword_energy_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_sword_energy_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_kill_demons_task_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_kill_demons_task_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_kill_demons_task_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_kill_demons_task_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_2020_national_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_2020_national_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_2020_national_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_2020_national_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_2020_national_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_2020_national_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_login_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_2020_national_login_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_login_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_2020_national_login_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_2020_national_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_2020_national_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_gold_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_2020_national_handbooks_gold_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_gold_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_2020_national_handbooks_gold_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_2020_national_handbooks_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_2020_national_handbooks_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_2020_national_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_2020_national_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_2020_national_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_2020_national_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_new_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_personal_tailor_new_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_change_personal_tailor_items_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_change_personal_tailor_items_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_change_personal_tailor_items_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_change_personal_tailor_items_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_super_value_gift_activity_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_super_value_gift_activity_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_double_eleven_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_double_eleven_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_double_eleven_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_gift_reflush_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_double_eleven_gift_reflush_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_double_eleven_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_double_eleven_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_double_eleven_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_double_eleven_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_double_eleven_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_double_eleven_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_receive_double_eleven_recharge_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_receive_double_eleven_recharge_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_receive_double_eleven_recharge_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_receive_double_eleven_recharge_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_syn_double_eleven_diamond_gift_count_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_syn_double_eleven_diamond_gift_count_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_double_eleven_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_double_eleven_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_double_eleven_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_double_eleven_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_double_eleven_buy_lottery_ticket_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_double_eleven_buy_lottery_ticket_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_double_eleven_buy_lottery_ticket_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_wing_experience_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_wing_experience_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_wing_experience_receive_wing_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_wing_experience_receive_wing_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_wing_experience_receive_wing_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_wing_experience_receive_wing_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* exchangeInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  exchangeInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_kingcraft_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_kingcraft_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_kingcraft_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_kingcraft_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_kingcraft_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_kingcraft_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_kingcraft_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_kingcraft_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_kingcraft_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_kingcraft_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_recharge_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_receive_kingcraft_recharge_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_receive_kingcraft_recharge_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_receive_kingcraft_recharge_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_exchange_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_receive_kingcraft_exchange_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_receive_kingcraft_exchange_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_receive_kingcraft_exchange_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_kingcraft_sign_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_kingcraft_sign_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_kingcraft_sign_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_kingcraft_sign_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_double_egg_activity_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_double_egg_activity_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* touchingFishRecInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  touchingFishRecInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_activity_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_touching_fish_activity_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_exp_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_touching_fish_exp_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_level_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_touching_fish_level_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_level_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_touching_fish_level_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_task_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_touching_fish_task_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_task_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_touching_fish_task_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_touching_fish_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_touching_fish_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_week_box_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_touching_fish_week_box_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_week_box_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_touching_fish_week_box_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_flush_touching_fish_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_flush_touching_fish_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_flush_touching_fish_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_flush_touching_fish_quest_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_touching_fish_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_touching_fish_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_touching_fish_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_touching_fish_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_fishing_celebration_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_fishing_celebration_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_fishing_celebration_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_activate_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_fishing_celebration_activate_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_activate_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_fishing_celebration_activate_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_exchange_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_fishing_celebration_exchange_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_exchange_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_fishing_celebration_exchange_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_fishing_celebration_gift_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_fishing_celebration_gift_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_fishing_celebration_gift_lottery_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_buy_gift_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_fishing_celebration_buy_gift_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_buy_gift_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_fishing_celebration_buy_gift_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_fishing_celebration_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_fishing_celebration_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_fishing_celebration_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_fishing_celebration_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* prizeKey_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  prizeKey_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_feed_back_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_feed_back_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_feed_back_vip_reward_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_feed_back_vip_reward_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_feed_back_vip_reward_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_feed_back_vip_reward_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_feed_back_keylist_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_feed_back_keylist_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_feed_back_keylist_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_feed_back_keylist_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_chip_treasure_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_chip_treasure_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_chip_treasure_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_chip_treasure_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_chip_treasure_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_chip_treasure_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* sendGoldHistory_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  sendGoldHistory_reflection_ = NULL;
const ::google::protobuf::Descriptor* sendGoldInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  sendGoldInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_summer_plan_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_summer_plan_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_get_redpacket_task_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_get_redpacket_task_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_get_redpacket_task_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_get_redpacket_task_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_sendgold_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_sendgold_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_sendgold_info_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_sendgold_info_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_active_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_active_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_active_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_active_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_redpacket_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_recv_redpacket_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_redpacket_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_recv_redpacket_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_recharged_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_recv_recharged_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_recharged_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_recv_recharged_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_buy_sendgold_gift_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_buy_sendgold_gift_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_buy_sendgold_gift_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_launch_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_launch_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_launch_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_launch_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_summer_plan_touch_gold_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_summer_plan_touch_gold_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_summer_plan_touch_gold_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_summer_plan_touch_gold_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_syn_happy_summer_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_syn_happy_summer_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_rank_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_happy_summer_rank_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_rank_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_happy_summer_rank_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_happy_summer_open_box_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_happy_summer_open_box_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_happy_summer_open_box_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_happy_summer_open_box_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_happy_summer_lottery_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_happy_summer_lottery_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_happy_summer_lottery_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_happy_summer_lottery_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_happy_summer_quest_award_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_happy_summer_quest_award_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_happy_summer_quest_award_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_happy_summer_quest_award_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_quest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_happy_summer_quest_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_quest_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_happy_summer_quest_result_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_client2world_5factivity2_2eproto() {
  protobuf_AddDesc_client2world_5factivity2_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "client2world_activity2.proto");
  GOOGLE_CHECK(file != NULL);
  packetw2c_activity_quest_notify_descriptor_ = file->message_type(0);
  static const int packetw2c_activity_quest_notify_offsets_[7] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, activityid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, param_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, endtime_),
  };
  packetw2c_activity_quest_notify_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_activity_quest_notify_descriptor_,
      packetw2c_activity_quest_notify::default_instance_,
      packetw2c_activity_quest_notify_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_activity_quest_notify));
  packetw2c_syn_new_year_info_descriptor_ = file->message_type(1);
  static const int packetw2c_syn_new_year_info_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, signlist_),
  };
  packetw2c_syn_new_year_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_new_year_info_descriptor_,
      packetw2c_syn_new_year_info::default_instance_,
      packetw2c_syn_new_year_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_new_year_info));
  packetc2w_recv_new_year_login_reward_descriptor_ = file->message_type(2);
  static const int packetc2w_recv_new_year_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, signindex_),
  };
  packetc2w_recv_new_year_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_new_year_login_reward_descriptor_,
      packetc2w_recv_new_year_login_reward::default_instance_,
      packetc2w_recv_new_year_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_new_year_login_reward));
  packetw2c_recv_new_year_login_reward_result_descriptor_ = file->message_type(3);
  static const int packetw2c_recv_new_year_login_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, signindex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, result_),
  };
  packetw2c_recv_new_year_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_new_year_login_reward_result_descriptor_,
      packetw2c_recv_new_year_login_reward_result::default_instance_,
      packetw2c_recv_new_year_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_new_year_login_reward_result));
  packetw2c_syn_national_day_info_descriptor_ = file->message_type(4);
  static const int packetw2c_syn_national_day_info_offsets_[8] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, signlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, questbranch_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, questlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, rewardrecvlist_),
  };
  packetw2c_syn_national_day_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_national_day_info_descriptor_,
      packetw2c_syn_national_day_info::default_instance_,
      packetw2c_syn_national_day_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_national_day_info));
  packetw2c_national_day_quest_notify_descriptor_ = file->message_type(5);
  static const int packetw2c_national_day_quest_notify_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, endtime_),
  };
  packetw2c_national_day_quest_notify_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_national_day_quest_notify_descriptor_,
      packetw2c_national_day_quest_notify::default_instance_,
      packetw2c_national_day_quest_notify_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_national_day_quest_notify));
  packetc2w_recv_national_day_login_reward_descriptor_ = file->message_type(6);
  static const int packetc2w_recv_national_day_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, signindex_),
  };
  packetc2w_recv_national_day_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_national_day_login_reward_descriptor_,
      packetc2w_recv_national_day_login_reward::default_instance_,
      packetc2w_recv_national_day_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_national_day_login_reward));
  packetw2c_recv_national_day_login_reward_result_descriptor_ = file->message_type(7);
  static const int packetw2c_recv_national_day_login_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, signindex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, result_),
  };
  packetw2c_recv_national_day_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_national_day_login_reward_result_descriptor_,
      packetw2c_recv_national_day_login_reward_result::default_instance_,
      packetw2c_recv_national_day_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_national_day_login_reward_result));
  packetc2w_recv_national_day_quest_award_descriptor_ = file->message_type(8);
  static const int packetc2w_recv_national_day_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, questid_),
  };
  packetc2w_recv_national_day_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_national_day_quest_award_descriptor_,
      packetc2w_recv_national_day_quest_award::default_instance_,
      packetc2w_recv_national_day_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_national_day_quest_award));
  packetw2c_recv_national_day_quest_award_result_descriptor_ = file->message_type(9);
  static const int packetw2c_recv_national_day_quest_award_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, branch_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, nexttaskid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, items_),
  };
  packetw2c_recv_national_day_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_national_day_quest_award_result_descriptor_,
      packetw2c_recv_national_day_quest_award_result::default_instance_,
      packetw2c_recv_national_day_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_national_day_quest_award_result));
  packetc2w_national_day_choose_task_descriptor_ = file->message_type(10);
  static const int packetc2w_national_day_choose_task_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, branch_),
  };
  packetc2w_national_day_choose_task_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_national_day_choose_task_descriptor_,
      packetc2w_national_day_choose_task::default_instance_,
      packetc2w_national_day_choose_task_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_national_day_choose_task));
  packetw2c_national_day_choose_task_result_descriptor_ = file->message_type(11);
  static const int packetw2c_national_day_choose_task_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, branch_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, nexttaskid_),
  };
  packetw2c_national_day_choose_task_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_national_day_choose_task_result_descriptor_,
      packetw2c_national_day_choose_task_result::default_instance_,
      packetw2c_national_day_choose_task_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_national_day_choose_task_result));
  packetw2c_syn_spring_day_info_descriptor_ = file->message_type(12);
  static const int packetw2c_syn_spring_day_info_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, signlist_),
  };
  packetw2c_syn_spring_day_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_spring_day_info_descriptor_,
      packetw2c_syn_spring_day_info::default_instance_,
      packetw2c_syn_spring_day_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_spring_day_info));
  packetc2w_recv_spring_day_login_reward_descriptor_ = file->message_type(13);
  static const int packetc2w_recv_spring_day_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, signindex_),
  };
  packetc2w_recv_spring_day_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_spring_day_login_reward_descriptor_,
      packetc2w_recv_spring_day_login_reward::default_instance_,
      packetc2w_recv_spring_day_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_spring_day_login_reward));
  packetw2c_recv_spring_day_login_reward_result_descriptor_ = file->message_type(14);
  static const int packetw2c_recv_spring_day_login_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, signindex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, result_),
  };
  packetw2c_recv_spring_day_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_spring_day_login_reward_result_descriptor_,
      packetw2c_recv_spring_day_login_reward_result::default_instance_,
      packetw2c_recv_spring_day_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_spring_day_login_reward_result));
  packetw2c_syn_hunt_fish_info_descriptor_ = file->message_type(15);
  static const int packetw2c_syn_hunt_fish_info_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, endtime_),
  };
  packetw2c_syn_hunt_fish_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_hunt_fish_info_descriptor_,
      packetw2c_syn_hunt_fish_info::default_instance_,
      packetw2c_syn_hunt_fish_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_hunt_fish_info));
  packetc2w_get_hunt_fish_quest_descriptor_ = file->message_type(16);
  static const int packetc2w_get_hunt_fish_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_hunt_fish_quest, packet_id_),
  };
  packetc2w_get_hunt_fish_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_hunt_fish_quest_descriptor_,
      packetc2w_get_hunt_fish_quest::default_instance_,
      packetc2w_get_hunt_fish_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_hunt_fish_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_hunt_fish_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_hunt_fish_quest));
  packetw2c_get_hunt_fish_quest_result_descriptor_ = file->message_type(17);
  static const int packetw2c_get_hunt_fish_quest_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, questlist_),
  };
  packetw2c_get_hunt_fish_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_hunt_fish_quest_result_descriptor_,
      packetw2c_get_hunt_fish_quest_result::default_instance_,
      packetw2c_get_hunt_fish_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_hunt_fish_quest_result));
  packetc2w_recv_hunt_fish_quest_award_descriptor_ = file->message_type(18);
  static const int packetc2w_recv_hunt_fish_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, questid_),
  };
  packetc2w_recv_hunt_fish_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_hunt_fish_quest_award_descriptor_,
      packetc2w_recv_hunt_fish_quest_award::default_instance_,
      packetc2w_recv_hunt_fish_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_hunt_fish_quest_award));
  packetw2c_recv_hunt_fish_quest_award_result_descriptor_ = file->message_type(19);
  static const int packetw2c_recv_hunt_fish_quest_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, items_),
  };
  packetw2c_recv_hunt_fish_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_hunt_fish_quest_award_result_descriptor_,
      packetw2c_recv_hunt_fish_quest_award_result::default_instance_,
      packetw2c_recv_hunt_fish_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_hunt_fish_quest_award_result));
  packetw2c_syn_recharge_activity_info_descriptor_ = file->message_type(20);
  static const int packetw2c_syn_recharge_activity_info_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, totalrecharge_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, rewardrecvlist_),
  };
  packetw2c_syn_recharge_activity_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_recharge_activity_info_descriptor_,
      packetw2c_syn_recharge_activity_info::default_instance_,
      packetw2c_syn_recharge_activity_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_recharge_activity_info));
  packetc2w_recharge_activity_rebate_descriptor_ = file->message_type(21);
  static const int packetc2w_recharge_activity_rebate_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, rewardid_),
  };
  packetc2w_recharge_activity_rebate_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recharge_activity_rebate_descriptor_,
      packetc2w_recharge_activity_rebate::default_instance_,
      packetc2w_recharge_activity_rebate_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recharge_activity_rebate));
  packetw2c_recharge_activity_rebate_result_descriptor_ = file->message_type(22);
  static const int packetw2c_recharge_activity_rebate_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, rewardid_),
  };
  packetw2c_recharge_activity_rebate_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recharge_activity_rebate_result_descriptor_,
      packetw2c_recharge_activity_rebate_result::default_instance_,
      packetw2c_recharge_activity_rebate_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recharge_activity_rebate_result));
  packetw2c_syn_wuyi_vacation_info_descriptor_ = file->message_type(23);
  static const int packetw2c_syn_wuyi_vacation_info_offsets_[10] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, signcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, cansign_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, questlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, haishenlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, handbooksawardstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, handbooksstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, paddycount_),
  };
  packetw2c_syn_wuyi_vacation_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_wuyi_vacation_info_descriptor_,
      packetw2c_syn_wuyi_vacation_info::default_instance_,
      packetw2c_syn_wuyi_vacation_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_wuyi_vacation_info));
  packetc2w_recv_wuyi_login_reward_descriptor_ = file->message_type(24);
  static const int packetc2w_recv_wuyi_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, signindex_),
  };
  packetc2w_recv_wuyi_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_wuyi_login_reward_descriptor_,
      packetc2w_recv_wuyi_login_reward::default_instance_,
      packetc2w_recv_wuyi_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_wuyi_login_reward));
  packetw2c_recv_wuyi_login_reward_result_descriptor_ = file->message_type(25);
  static const int packetw2c_recv_wuyi_login_reward_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, signindex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, exhandbooksid_),
  };
  packetw2c_recv_wuyi_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_wuyi_login_reward_result_descriptor_,
      packetw2c_recv_wuyi_login_reward_result::default_instance_,
      packetw2c_recv_wuyi_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_wuyi_login_reward_result));
  packetc2w_recv_wuyi_quest_award_descriptor_ = file->message_type(26);
  static const int packetc2w_recv_wuyi_quest_award_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, receivebit_),
  };
  packetc2w_recv_wuyi_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_wuyi_quest_award_descriptor_,
      packetc2w_recv_wuyi_quest_award::default_instance_,
      packetc2w_recv_wuyi_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_wuyi_quest_award));
  packetw2c_recv_wuyi_quest_award_result_descriptor_ = file->message_type(27);
  static const int packetw2c_recv_wuyi_quest_award_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, receivebit_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, items_),
  };
  packetw2c_recv_wuyi_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_wuyi_quest_award_result_descriptor_,
      packetw2c_recv_wuyi_quest_award_result::default_instance_,
      packetw2c_recv_wuyi_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_wuyi_quest_award_result));
  packetc2w_recv_wuyi_handbooks_gold_descriptor_ = file->message_type(28);
  static const int packetc2w_recv_wuyi_handbooks_gold_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, handbooksid_),
  };
  packetc2w_recv_wuyi_handbooks_gold_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_wuyi_handbooks_gold_descriptor_,
      packetc2w_recv_wuyi_handbooks_gold::default_instance_,
      packetc2w_recv_wuyi_handbooks_gold_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_wuyi_handbooks_gold));
  packetw2c_recv_wuyi_handbooks_gold_result_descriptor_ = file->message_type(29);
  static const int packetw2c_recv_wuyi_handbooks_gold_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, handbooksid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, result_),
  };
  packetw2c_recv_wuyi_handbooks_gold_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_wuyi_handbooks_gold_result_descriptor_,
      packetw2c_recv_wuyi_handbooks_gold_result::default_instance_,
      packetw2c_recv_wuyi_handbooks_gold_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_wuyi_handbooks_gold_result));
  packetc2w_recv_wuyi_handbooks_award_descriptor_ = file->message_type(30);
  static const int packetc2w_recv_wuyi_handbooks_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, type_),
  };
  packetc2w_recv_wuyi_handbooks_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_wuyi_handbooks_award_descriptor_,
      packetc2w_recv_wuyi_handbooks_award::default_instance_,
      packetc2w_recv_wuyi_handbooks_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_wuyi_handbooks_award));
  packetw2c_recv_wuyi_handbooks_award_result_descriptor_ = file->message_type(31);
  static const int packetw2c_recv_wuyi_handbooks_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, typelist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, handbooksgold_),
  };
  packetw2c_recv_wuyi_handbooks_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_wuyi_handbooks_award_result_descriptor_,
      packetw2c_recv_wuyi_handbooks_award_result::default_instance_,
      packetw2c_recv_wuyi_handbooks_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_wuyi_handbooks_award_result));
  packetc2w_wuyi_lottery_descriptor_ = file->message_type(32);
  static const int packetc2w_wuyi_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, type_),
  };
  packetc2w_wuyi_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_wuyi_lottery_descriptor_,
      packetc2w_wuyi_lottery::default_instance_,
      packetc2w_wuyi_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_wuyi_lottery));
  packetw2c_wuyi_lottery_result_descriptor_ = file->message_type(33);
  static const int packetw2c_wuyi_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, rewardid_),
  };
  packetw2c_wuyi_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_wuyi_lottery_result_descriptor_,
      packetw2c_wuyi_lottery_result::default_instance_,
      packetw2c_wuyi_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_wuyi_lottery_result));
  pointRewardInfos_descriptor_ = file->message_type(34);
  static const int pointRewardInfos_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, received_),
  };
  pointRewardInfos_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      pointRewardInfos_descriptor_,
      pointRewardInfos::default_instance_,
      pointRewardInfos_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(pointRewardInfos));
  pointInfos_descriptor_ = file->message_type(35);
  static const int pointInfos_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, roomid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, count_),
  };
  pointInfos_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      pointInfos_descriptor_,
      pointInfos::default_instance_,
      pointInfos_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(pointInfos));
  packetw2c_syn_room_quest_info_descriptor_ = file->message_type(36);
  static const int packetw2c_syn_room_quest_info_offsets_[7] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, pointrewardinfos_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, questpoints_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, sharkcardtype_),
  };
  packetw2c_syn_room_quest_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_room_quest_info_descriptor_,
      packetw2c_syn_room_quest_info::default_instance_,
      packetw2c_syn_room_quest_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_room_quest_info));
  packetc2w_get_room_quest_descriptor_ = file->message_type(37);
  static const int packetc2w_get_room_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_room_quest, packet_id_),
  };
  packetc2w_get_room_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_room_quest_descriptor_,
      packetc2w_get_room_quest::default_instance_,
      packetc2w_get_room_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_room_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_room_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_room_quest));
  packetw2c_get_room_quest_result_descriptor_ = file->message_type(38);
  static const int packetw2c_get_room_quest_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, questlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, sharkcardtype_),
  };
  packetw2c_get_room_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_room_quest_result_descriptor_,
      packetw2c_get_room_quest_result::default_instance_,
      packetw2c_get_room_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_room_quest_result));
  packetc2w_recv_room_quest_award_descriptor_ = file->message_type(39);
  static const int packetc2w_recv_room_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, questid_),
  };
  packetc2w_recv_room_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_room_quest_award_descriptor_,
      packetc2w_recv_room_quest_award::default_instance_,
      packetc2w_recv_room_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_room_quest_award));
  packetw2c_recv_room_quest_award_result_descriptor_ = file->message_type(40);
  static const int packetw2c_recv_room_quest_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, items_),
  };
  packetw2c_recv_room_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_room_quest_award_result_descriptor_,
      packetw2c_recv_room_quest_award_result::default_instance_,
      packetw2c_recv_room_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_room_quest_award_result));
  packetc2w_recv_room_quest_point_award_descriptor_ = file->message_type(41);
  static const int packetc2w_recv_room_quest_point_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, questid_),
  };
  packetc2w_recv_room_quest_point_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_room_quest_point_award_descriptor_,
      packetc2w_recv_room_quest_point_award::default_instance_,
      packetc2w_recv_room_quest_point_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_room_quest_point_award));
  packetw2c_recv_room_quest_point_award_result_descriptor_ = file->message_type(42);
  static const int packetw2c_recv_room_quest_point_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, items_),
  };
  packetw2c_recv_room_quest_point_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_room_quest_point_award_result_descriptor_,
      packetw2c_recv_room_quest_point_award_result::default_instance_,
      packetw2c_recv_room_quest_point_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_room_quest_point_award_result));
  packetw2c_syn_catch_fish_info_descriptor_ = file->message_type(43);
  static const int packetw2c_syn_catch_fish_info_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, coincount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, historylist_),
  };
  packetw2c_syn_catch_fish_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_catch_fish_info_descriptor_,
      packetw2c_syn_catch_fish_info::default_instance_,
      packetw2c_syn_catch_fish_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_catch_fish_info));
  catchFishHistory_descriptor_ = file->message_type(44);
  static const int catchFishHistory_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, time_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, nickname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, fishtype_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, rate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, gold_),
  };
  catchFishHistory_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      catchFishHistory_descriptor_,
      catchFishHistory::default_instance_,
      catchFishHistory_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(catchFishHistory));
  catchFishInfo_descriptor_ = file->message_type(45);
  static const int catchFishInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, rate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, gold_),
  };
  catchFishInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      catchFishInfo_descriptor_,
      catchFishInfo::default_instance_,
      catchFishInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(catchFishInfo));
  packetc2w_catch_fish_descriptor_ = file->message_type(46);
  static const int packetc2w_catch_fish_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, fishtype_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, nettype_),
  };
  packetc2w_catch_fish_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_catch_fish_descriptor_,
      packetc2w_catch_fish::default_instance_,
      packetc2w_catch_fish_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_catch_fish));
  packetw2c_catch_fish_result_descriptor_ = file->message_type(47);
  static const int packetw2c_catch_fish_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, fishtype_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, nettype_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, catchfishinfo_),
  };
  packetw2c_catch_fish_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_catch_fish_result_descriptor_,
      packetw2c_catch_fish_result::default_instance_,
      packetw2c_catch_fish_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_catch_fish_result));
  packetc2w_catch_fish_history_descriptor_ = file->message_type(48);
  static const int packetc2w_catch_fish_history_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish_history, packet_id_),
  };
  packetc2w_catch_fish_history_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_catch_fish_history_descriptor_,
      packetc2w_catch_fish_history::default_instance_,
      packetc2w_catch_fish_history_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish_history, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish_history, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_catch_fish_history));
  packetw2c_catch_fish_history_result_descriptor_ = file->message_type(49);
  static const int packetw2c_catch_fish_history_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, historylist_),
  };
  packetw2c_catch_fish_history_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_catch_fish_history_result_descriptor_,
      packetw2c_catch_fish_history_result::default_instance_,
      packetw2c_catch_fish_history_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_catch_fish_history_result));
  packetw2c_syn_duanwu_vacation_info_descriptor_ = file->message_type(50);
  static const int packetw2c_syn_duanwu_vacation_info_offsets_[9] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, signcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, cansign_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, resettimes_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, handbooksawardstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, handbooksstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, paddycount_),
  };
  packetw2c_syn_duanwu_vacation_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_duanwu_vacation_info_descriptor_,
      packetw2c_syn_duanwu_vacation_info::default_instance_,
      packetw2c_syn_duanwu_vacation_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_duanwu_vacation_info));
  packetc2w_get_duanwu_vacation_quest_descriptor_ = file->message_type(51);
  static const int packetc2w_get_duanwu_vacation_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_duanwu_vacation_quest, packet_id_),
  };
  packetc2w_get_duanwu_vacation_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_duanwu_vacation_quest_descriptor_,
      packetc2w_get_duanwu_vacation_quest::default_instance_,
      packetc2w_get_duanwu_vacation_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_duanwu_vacation_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_duanwu_vacation_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_duanwu_vacation_quest));
  packetw2c_get_duanwu_vacation_quest_result_descriptor_ = file->message_type(52);
  static const int packetw2c_get_duanwu_vacation_quest_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, questlist_),
  };
  packetw2c_get_duanwu_vacation_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_duanwu_vacation_quest_result_descriptor_,
      packetw2c_get_duanwu_vacation_quest_result::default_instance_,
      packetw2c_get_duanwu_vacation_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_duanwu_vacation_quest_result));
  packetc2w_recv_duanwu_login_reward_descriptor_ = file->message_type(53);
  static const int packetc2w_recv_duanwu_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, signindex_),
  };
  packetc2w_recv_duanwu_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_duanwu_login_reward_descriptor_,
      packetc2w_recv_duanwu_login_reward::default_instance_,
      packetc2w_recv_duanwu_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_duanwu_login_reward));
  packetw2c_recv_duanwu_login_reward_result_descriptor_ = file->message_type(54);
  static const int packetw2c_recv_duanwu_login_reward_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, signindex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, exhandbooksid_),
  };
  packetw2c_recv_duanwu_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_duanwu_login_reward_result_descriptor_,
      packetw2c_recv_duanwu_login_reward_result::default_instance_,
      packetw2c_recv_duanwu_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_duanwu_login_reward_result));
  packetc2w_recv_duanwu_quest_award_descriptor_ = file->message_type(55);
  static const int packetc2w_recv_duanwu_quest_award_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, receivebit_),
  };
  packetc2w_recv_duanwu_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_duanwu_quest_award_descriptor_,
      packetc2w_recv_duanwu_quest_award::default_instance_,
      packetc2w_recv_duanwu_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_duanwu_quest_award));
  packetw2c_recv_duanwu_quest_award_result_descriptor_ = file->message_type(56);
  static const int packetw2c_recv_duanwu_quest_award_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, receivebit_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, items_),
  };
  packetw2c_recv_duanwu_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_duanwu_quest_award_result_descriptor_,
      packetw2c_recv_duanwu_quest_award_result::default_instance_,
      packetw2c_recv_duanwu_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_duanwu_quest_award_result));
  packetc2w_recv_duanwu_handbooks_gold_descriptor_ = file->message_type(57);
  static const int packetc2w_recv_duanwu_handbooks_gold_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, handbooksid_),
  };
  packetc2w_recv_duanwu_handbooks_gold_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_duanwu_handbooks_gold_descriptor_,
      packetc2w_recv_duanwu_handbooks_gold::default_instance_,
      packetc2w_recv_duanwu_handbooks_gold_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_duanwu_handbooks_gold));
  packetw2c_recv_duanwu_handbooks_gold_result_descriptor_ = file->message_type(58);
  static const int packetw2c_recv_duanwu_handbooks_gold_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, handbooksid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, result_),
  };
  packetw2c_recv_duanwu_handbooks_gold_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_duanwu_handbooks_gold_result_descriptor_,
      packetw2c_recv_duanwu_handbooks_gold_result::default_instance_,
      packetw2c_recv_duanwu_handbooks_gold_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_duanwu_handbooks_gold_result));
  packetc2w_recv_duanwu_handbooks_award_descriptor_ = file->message_type(59);
  static const int packetc2w_recv_duanwu_handbooks_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, type_),
  };
  packetc2w_recv_duanwu_handbooks_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_duanwu_handbooks_award_descriptor_,
      packetc2w_recv_duanwu_handbooks_award::default_instance_,
      packetc2w_recv_duanwu_handbooks_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_duanwu_handbooks_award));
  packetw2c_recv_duanwu_handbooks_award_result_descriptor_ = file->message_type(60);
  static const int packetw2c_recv_duanwu_handbooks_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, typelist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, handbooksgold_),
  };
  packetw2c_recv_duanwu_handbooks_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_duanwu_handbooks_award_result_descriptor_,
      packetw2c_recv_duanwu_handbooks_award_result::default_instance_,
      packetw2c_recv_duanwu_handbooks_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_duanwu_handbooks_award_result));
  packetc2w_duanwu_lottery_descriptor_ = file->message_type(61);
  static const int packetc2w_duanwu_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, type_),
  };
  packetc2w_duanwu_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_duanwu_lottery_descriptor_,
      packetc2w_duanwu_lottery::default_instance_,
      packetc2w_duanwu_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_duanwu_lottery));
  packetw2c_duanwu_lottery_result_descriptor_ = file->message_type(62);
  static const int packetw2c_duanwu_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, rewardid_),
  };
  packetw2c_duanwu_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_duanwu_lottery_result_descriptor_,
      packetw2c_duanwu_lottery_result::default_instance_,
      packetw2c_duanwu_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_duanwu_lottery_result));
  packetw2c_syn_summer_vacation_info_descriptor_ = file->message_type(63);
  static const int packetw2c_syn_summer_vacation_info_offsets_[10] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, signcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, resettimes_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, cansign_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, handbooksawardstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, handbooksstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, paddycount_),
  };
  packetw2c_syn_summer_vacation_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_summer_vacation_info_descriptor_,
      packetw2c_syn_summer_vacation_info::default_instance_,
      packetw2c_syn_summer_vacation_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_summer_vacation_info));
  packetc2w_get_summer_quest_descriptor_ = file->message_type(64);
  static const int packetc2w_get_summer_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_quest, packet_id_),
  };
  packetc2w_get_summer_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_summer_quest_descriptor_,
      packetc2w_get_summer_quest::default_instance_,
      packetc2w_get_summer_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_summer_quest));
  packetw2c_get_summer_quest_result_descriptor_ = file->message_type(65);
  static const int packetw2c_get_summer_quest_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, questlist_),
  };
  packetw2c_get_summer_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_summer_quest_result_descriptor_,
      packetw2c_get_summer_quest_result::default_instance_,
      packetw2c_get_summer_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_summer_quest_result));
  packetc2w_recv_summer_login_reward_descriptor_ = file->message_type(66);
  static const int packetc2w_recv_summer_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, signindex_),
  };
  packetc2w_recv_summer_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_summer_login_reward_descriptor_,
      packetc2w_recv_summer_login_reward::default_instance_,
      packetc2w_recv_summer_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_summer_login_reward));
  packetw2c_recv_summer_login_reward_result_descriptor_ = file->message_type(67);
  static const int packetw2c_recv_summer_login_reward_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, signindex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, exhandbooksid_),
  };
  packetw2c_recv_summer_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_summer_login_reward_result_descriptor_,
      packetw2c_recv_summer_login_reward_result::default_instance_,
      packetw2c_recv_summer_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_summer_login_reward_result));
  packetc2w_recv_summer_quest_award_descriptor_ = file->message_type(68);
  static const int packetc2w_recv_summer_quest_award_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, receivebit_),
  };
  packetc2w_recv_summer_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_summer_quest_award_descriptor_,
      packetc2w_recv_summer_quest_award::default_instance_,
      packetc2w_recv_summer_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_summer_quest_award));
  packetw2c_recv_summer_quest_award_result_descriptor_ = file->message_type(69);
  static const int packetw2c_recv_summer_quest_award_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, receivebit_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, items_),
  };
  packetw2c_recv_summer_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_summer_quest_award_result_descriptor_,
      packetw2c_recv_summer_quest_award_result::default_instance_,
      packetw2c_recv_summer_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_summer_quest_award_result));
  packetc2w_recv_summer_handbooks_gold_descriptor_ = file->message_type(70);
  static const int packetc2w_recv_summer_handbooks_gold_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, handbooksid_),
  };
  packetc2w_recv_summer_handbooks_gold_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_summer_handbooks_gold_descriptor_,
      packetc2w_recv_summer_handbooks_gold::default_instance_,
      packetc2w_recv_summer_handbooks_gold_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_summer_handbooks_gold));
  packetw2c_recv_summer_handbooks_gold_result_descriptor_ = file->message_type(71);
  static const int packetw2c_recv_summer_handbooks_gold_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, handbooksid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, result_),
  };
  packetw2c_recv_summer_handbooks_gold_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_summer_handbooks_gold_result_descriptor_,
      packetw2c_recv_summer_handbooks_gold_result::default_instance_,
      packetw2c_recv_summer_handbooks_gold_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_summer_handbooks_gold_result));
  packetc2w_recv_summer_handbooks_award_descriptor_ = file->message_type(72);
  static const int packetc2w_recv_summer_handbooks_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, type_),
  };
  packetc2w_recv_summer_handbooks_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_summer_handbooks_award_descriptor_,
      packetc2w_recv_summer_handbooks_award::default_instance_,
      packetc2w_recv_summer_handbooks_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_summer_handbooks_award));
  packetw2c_recv_summer_handbooks_award_result_descriptor_ = file->message_type(73);
  static const int packetw2c_recv_summer_handbooks_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, typelist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, handbooksgold_),
  };
  packetw2c_recv_summer_handbooks_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_summer_handbooks_award_result_descriptor_,
      packetw2c_recv_summer_handbooks_award_result::default_instance_,
      packetw2c_recv_summer_handbooks_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_summer_handbooks_award_result));
  packetc2w_summer_lottery_descriptor_ = file->message_type(74);
  static const int packetc2w_summer_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, type_),
  };
  packetc2w_summer_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_lottery_descriptor_,
      packetc2w_summer_lottery::default_instance_,
      packetc2w_summer_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_lottery));
  packetw2c_summer_lottery_result_descriptor_ = file->message_type(75);
  static const int packetw2c_summer_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, rewardid_),
  };
  packetw2c_summer_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_lottery_result_descriptor_,
      packetw2c_summer_lottery_result::default_instance_,
      packetw2c_summer_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_lottery_result));
  onr_history_info_descriptor_ = file->message_type(76);
  static const int onr_history_info_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, name_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, rate_),
  };
  onr_history_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      onr_history_info_descriptor_,
      onr_history_info::default_instance_,
      onr_history_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(onr_history_info));
  packetw2c_syn_one_night_rich_info_descriptor_ = file->message_type(77);
  static const int packetw2c_syn_one_night_rich_info_offsets_[7] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, recharged_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, lotteryid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, receivecheck_),
  };
  packetw2c_syn_one_night_rich_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_one_night_rich_info_descriptor_,
      packetw2c_syn_one_night_rich_info::default_instance_,
      packetw2c_syn_one_night_rich_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_one_night_rich_info));
  packetc2w_recv_one_night_rich_award_descriptor_ = file->message_type(78);
  static const int packetc2w_recv_one_night_rich_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, type_),
  };
  packetc2w_recv_one_night_rich_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_one_night_rich_award_descriptor_,
      packetc2w_recv_one_night_rich_award::default_instance_,
      packetc2w_recv_one_night_rich_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_one_night_rich_award));
  packetw2c_recv_one_night_rich_result_descriptor_ = file->message_type(79);
  static const int packetw2c_recv_one_night_rich_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, index_),
  };
  packetw2c_recv_one_night_rich_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_one_night_rich_result_descriptor_,
      packetw2c_recv_one_night_rich_result::default_instance_,
      packetw2c_recv_one_night_rich_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_one_night_rich_result));
  packetc2w_recv_onr_historyList_descriptor_ = file->message_type(80);
  static const int packetc2w_recv_onr_historyList_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_onr_historyList, packet_id_),
  };
  packetc2w_recv_onr_historyList_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_onr_historyList_descriptor_,
      packetc2w_recv_onr_historyList::default_instance_,
      packetc2w_recv_onr_historyList_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_onr_historyList, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_onr_historyList, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_onr_historyList));
  packetw2c_recv_onr_historyList_result_descriptor_ = file->message_type(81);
  static const int packetw2c_recv_onr_historyList_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, historylist_),
  };
  packetw2c_recv_onr_historyList_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_onr_historyList_result_descriptor_,
      packetw2c_recv_onr_historyList_result::default_instance_,
      packetw2c_recv_onr_historyList_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_onr_historyList_result));
  packetw2c_syn_fortune_star_info_descriptor_ = file->message_type(82);
  static const int packetw2c_syn_fortune_star_info_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, myfortunestar_),
  };
  packetw2c_syn_fortune_star_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_fortune_star_info_descriptor_,
      packetw2c_syn_fortune_star_info::default_instance_,
      packetw2c_syn_fortune_star_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_fortune_star_info));
  packetc2w_get_fortune_star_quest_descriptor_ = file->message_type(83);
  static const int packetc2w_get_fortune_star_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fortune_star_quest, packet_id_),
  };
  packetc2w_get_fortune_star_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_fortune_star_quest_descriptor_,
      packetc2w_get_fortune_star_quest::default_instance_,
      packetc2w_get_fortune_star_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fortune_star_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fortune_star_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_fortune_star_quest));
  packetw2c_get_fortune_star_quest_result_descriptor_ = file->message_type(84);
  static const int packetw2c_get_fortune_star_quest_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, questlist_),
  };
  packetw2c_get_fortune_star_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_fortune_star_quest_result_descriptor_,
      packetw2c_get_fortune_star_quest_result::default_instance_,
      packetw2c_get_fortune_star_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_fortune_star_quest_result));
  packetc2w_recv_fortune_star_quest_award_descriptor_ = file->message_type(85);
  static const int packetc2w_recv_fortune_star_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, questid_),
  };
  packetc2w_recv_fortune_star_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_fortune_star_quest_award_descriptor_,
      packetc2w_recv_fortune_star_quest_award::default_instance_,
      packetc2w_recv_fortune_star_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_fortune_star_quest_award));
  packetw2c_recv_fortune_star_quest_award_result_descriptor_ = file->message_type(86);
  static const int packetw2c_recv_fortune_star_quest_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, items_),
  };
  packetw2c_recv_fortune_star_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_fortune_star_quest_award_result_descriptor_,
      packetw2c_recv_fortune_star_quest_award_result::default_instance_,
      packetw2c_recv_fortune_star_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_fortune_star_quest_award_result));
  packetc2w_recv_fortune_star_award_descriptor_ = file->message_type(87);
  static const int packetc2w_recv_fortune_star_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, index_),
  };
  packetc2w_recv_fortune_star_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_fortune_star_award_descriptor_,
      packetc2w_recv_fortune_star_award::default_instance_,
      packetc2w_recv_fortune_star_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_fortune_star_award));
  packetw2c_recv_fortune_star_award_result_descriptor_ = file->message_type(88);
  static const int packetw2c_recv_fortune_star_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, myfortunestar_),
  };
  packetw2c_recv_fortune_star_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_fortune_star_award_result_descriptor_,
      packetw2c_recv_fortune_star_award_result::default_instance_,
      packetw2c_recv_fortune_star_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_fortune_star_award_result));
  activity_rank_descriptor_ = file->message_type(89);
  static const int activity_rank_offsets_[7] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, nickname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, playerid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, vip_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, headid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, frameid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, score_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, rank_),
  };
  activity_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      activity_rank_descriptor_,
      activity_rank::default_instance_,
      activity_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(activity_rank));
  personal_tailor_lottery_history_descriptor_ = file->message_type(90);
  static const int personal_tailor_lottery_history_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, nickname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, itemname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, count_),
  };
  personal_tailor_lottery_history_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      personal_tailor_lottery_history_descriptor_,
      personal_tailor_lottery_history::default_instance_,
      personal_tailor_lottery_history_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(personal_tailor_lottery_history));
  packetw2c_syn_personal_tailor_info_descriptor_ = file->message_type(91);
  static const int packetw2c_syn_personal_tailor_info_offsets_[9] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, exchangeticket1_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, exchangeticket2_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, points_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, historylist_),
  };
  packetw2c_syn_personal_tailor_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_personal_tailor_info_descriptor_,
      packetw2c_syn_personal_tailor_info::default_instance_,
      packetw2c_syn_personal_tailor_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_personal_tailor_info));
  packetc2w_get_personal_tailor_rank_descriptor_ = file->message_type(92);
  static const int packetc2w_get_personal_tailor_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_rank, packet_id_),
  };
  packetc2w_get_personal_tailor_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_personal_tailor_rank_descriptor_,
      packetc2w_get_personal_tailor_rank::default_instance_,
      packetc2w_get_personal_tailor_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_personal_tailor_rank));
  packetw2c_get_personal_tailor_rank_result_descriptor_ = file->message_type(93);
  static const int packetw2c_get_personal_tailor_rank_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, mypoints_),
  };
  packetw2c_get_personal_tailor_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_personal_tailor_rank_result_descriptor_,
      packetw2c_get_personal_tailor_rank_result::default_instance_,
      packetw2c_get_personal_tailor_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_personal_tailor_rank_result));
  packetc2w_get_personal_tailor_lottry_history_descriptor_ = file->message_type(94);
  static const int packetc2w_get_personal_tailor_lottry_history_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_lottry_history, packet_id_),
  };
  packetc2w_get_personal_tailor_lottry_history_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_personal_tailor_lottry_history_descriptor_,
      packetc2w_get_personal_tailor_lottry_history::default_instance_,
      packetc2w_get_personal_tailor_lottry_history_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_lottry_history, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_lottry_history, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_personal_tailor_lottry_history));
  packetw2c_get_personal_tailor_lottry_history_result_descriptor_ = file->message_type(95);
  static const int packetw2c_get_personal_tailor_lottry_history_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, historylist_),
  };
  packetw2c_get_personal_tailor_lottry_history_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_personal_tailor_lottry_history_result_descriptor_,
      packetw2c_get_personal_tailor_lottry_history_result::default_instance_,
      packetw2c_get_personal_tailor_lottry_history_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_personal_tailor_lottry_history_result));
  packetc2w_personal_tailor_lottery_descriptor_ = file->message_type(96);
  static const int packetc2w_personal_tailor_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, count_),
  };
  packetc2w_personal_tailor_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_personal_tailor_lottery_descriptor_,
      packetc2w_personal_tailor_lottery::default_instance_,
      packetc2w_personal_tailor_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_personal_tailor_lottery));
  packetw2c_personal_tailor_lottery_result_descriptor_ = file->message_type(97);
  static const int packetw2c_personal_tailor_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, index_),
  };
  packetw2c_personal_tailor_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_personal_tailor_lottery_result_descriptor_,
      packetw2c_personal_tailor_lottery_result::default_instance_,
      packetw2c_personal_tailor_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_personal_tailor_lottery_result));
  packetc2w_personal_tailor_exchange_descriptor_ = file->message_type(98);
  static const int packetc2w_personal_tailor_exchange_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, index_),
  };
  packetc2w_personal_tailor_exchange_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_personal_tailor_exchange_descriptor_,
      packetc2w_personal_tailor_exchange::default_instance_,
      packetc2w_personal_tailor_exchange_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_personal_tailor_exchange));
  packetw2c_personal_tailor_exchange_result_descriptor_ = file->message_type(99);
  static const int packetw2c_personal_tailor_exchange_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, index_),
  };
  packetw2c_personal_tailor_exchange_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_personal_tailor_exchange_result_descriptor_,
      packetw2c_personal_tailor_exchange_result::default_instance_,
      packetw2c_personal_tailor_exchange_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_personal_tailor_exchange_result));
  packetw2c_syn_time_limit_purchase_info_descriptor_ = file->message_type(100);
  static const int packetw2c_syn_time_limit_purchase_info_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, itemclock_),
  };
  packetw2c_syn_time_limit_purchase_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_time_limit_purchase_info_descriptor_,
      packetw2c_syn_time_limit_purchase_info::default_instance_,
      packetw2c_syn_time_limit_purchase_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_time_limit_purchase_info));
  packetc2w_time_limit_purchase_lottery_descriptor_ = file->message_type(101);
  static const int packetc2w_time_limit_purchase_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, count_),
  };
  packetc2w_time_limit_purchase_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_time_limit_purchase_lottery_descriptor_,
      packetc2w_time_limit_purchase_lottery::default_instance_,
      packetc2w_time_limit_purchase_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_time_limit_purchase_lottery));
  packetw2c_time_limit_purchase_lottery_result_descriptor_ = file->message_type(102);
  static const int packetw2c_time_limit_purchase_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, index_),
  };
  packetw2c_time_limit_purchase_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_time_limit_purchase_lottery_result_descriptor_,
      packetw2c_time_limit_purchase_lottery_result::default_instance_,
      packetw2c_time_limit_purchase_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_time_limit_purchase_lottery_result));
  packetw2c_syn_lucky_bag_info_descriptor_ = file->message_type(103);
  static const int packetw2c_syn_lucky_bag_info_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, endtime_),
  };
  packetw2c_syn_lucky_bag_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_lucky_bag_info_descriptor_,
      packetw2c_syn_lucky_bag_info::default_instance_,
      packetw2c_syn_lucky_bag_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_lucky_bag_info));
  packetw2c_syn_vip_limit_purchase_info_descriptor_ = file->message_type(104);
  static const int packetw2c_syn_vip_limit_purchase_info_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, endtime_),
  };
  packetw2c_syn_vip_limit_purchase_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_vip_limit_purchase_info_descriptor_,
      packetw2c_syn_vip_limit_purchase_info::default_instance_,
      packetw2c_syn_vip_limit_purchase_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_vip_limit_purchase_info));
  packetw2c_syn_turret_lottery_info_descriptor_ = file->message_type(105);
  static const int packetw2c_syn_turret_lottery_info_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, endtime_),
  };
  packetw2c_syn_turret_lottery_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_turret_lottery_info_descriptor_,
      packetw2c_syn_turret_lottery_info::default_instance_,
      packetw2c_syn_turret_lottery_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_turret_lottery_info));
  packetc2w_turret_lottery_descriptor_ = file->message_type(106);
  static const int packetc2w_turret_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, count_),
  };
  packetc2w_turret_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_turret_lottery_descriptor_,
      packetc2w_turret_lottery::default_instance_,
      packetc2w_turret_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_turret_lottery));
  packetw2c_turret_lottery_result_descriptor_ = file->message_type(107);
  static const int packetw2c_turret_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, index_),
  };
  packetw2c_turret_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_turret_lottery_result_descriptor_,
      packetw2c_turret_lottery_result::default_instance_,
      packetw2c_turret_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_turret_lottery_result));
  packetw2c_syn_smashing_eggs_info_descriptor_ = file->message_type(108);
  static const int packetw2c_syn_smashing_eggs_info_offsets_[7] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, recharged_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, hammer_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, jackpot_),
  };
  packetw2c_syn_smashing_eggs_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_smashing_eggs_info_descriptor_,
      packetw2c_syn_smashing_eggs_info::default_instance_,
      packetw2c_syn_smashing_eggs_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_smashing_eggs_info));
  packetc2w_get_smashing_eggs_info_descriptor_ = file->message_type(109);
  static const int packetc2w_get_smashing_eggs_info_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_info, packet_id_),
  };
  packetc2w_get_smashing_eggs_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_smashing_eggs_info_descriptor_,
      packetc2w_get_smashing_eggs_info::default_instance_,
      packetc2w_get_smashing_eggs_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_smashing_eggs_info));
  packetc2w_smashing_eggs_descriptor_ = file->message_type(110);
  static const int packetc2w_smashing_eggs_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, type_),
  };
  packetc2w_smashing_eggs_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_smashing_eggs_descriptor_,
      packetc2w_smashing_eggs::default_instance_,
      packetc2w_smashing_eggs_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_smashing_eggs));
  packetw2c_smashing_eggs_result_descriptor_ = file->message_type(111);
  static const int packetw2c_smashing_eggs_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, index_),
  };
  packetw2c_smashing_eggs_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_smashing_eggs_result_descriptor_,
      packetw2c_smashing_eggs_result::default_instance_,
      packetw2c_smashing_eggs_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_smashing_eggs_result));
  packetc2w_get_smashing_eggs_rank_descriptor_ = file->message_type(112);
  static const int packetc2w_get_smashing_eggs_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_rank, packet_id_),
  };
  packetc2w_get_smashing_eggs_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_smashing_eggs_rank_descriptor_,
      packetc2w_get_smashing_eggs_rank::default_instance_,
      packetc2w_get_smashing_eggs_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_smashing_eggs_rank));
  packetw2c_get_smashing_eggs_rank_result_descriptor_ = file->message_type(113);
  static const int packetw2c_get_smashing_eggs_rank_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, mypoint_),
  };
  packetw2c_get_smashing_eggs_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_smashing_eggs_rank_result_descriptor_,
      packetw2c_get_smashing_eggs_rank_result::default_instance_,
      packetw2c_get_smashing_eggs_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_smashing_eggs_rank_result));
  packetw2c_syn_rich_lottery_info_descriptor_ = file->message_type(114);
  static const int packetw2c_syn_rich_lottery_info_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, mult_),
  };
  packetw2c_syn_rich_lottery_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_rich_lottery_info_descriptor_,
      packetw2c_syn_rich_lottery_info::default_instance_,
      packetw2c_syn_rich_lottery_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_rich_lottery_info));
  packetc2w_rich_lottery_descriptor_ = file->message_type(115);
  static const int packetc2w_rich_lottery_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_rich_lottery, packet_id_),
  };
  packetc2w_rich_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_rich_lottery_descriptor_,
      packetc2w_rich_lottery::default_instance_,
      packetc2w_rich_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_rich_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_rich_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_rich_lottery));
  packetw2c_rich_lottery_result_descriptor_ = file->message_type(116);
  static const int packetw2c_rich_lottery_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, mult_),
  };
  packetw2c_rich_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_rich_lottery_result_descriptor_,
      packetw2c_rich_lottery_result::default_instance_,
      packetw2c_rich_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_rich_lottery_result));
  packetw2c_syn_summer_revels_info_descriptor_ = file->message_type(117);
  static const int packetw2c_syn_summer_revels_info_offsets_[8] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, points_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, todayrecharged_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, receivecheck_),
  };
  packetw2c_syn_summer_revels_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_summer_revels_info_descriptor_,
      packetw2c_syn_summer_revels_info::default_instance_,
      packetw2c_syn_summer_revels_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_summer_revels_info));
  packetc2w_get_summer_revels_rank_descriptor_ = file->message_type(118);
  static const int packetc2w_get_summer_revels_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_revels_rank, packet_id_),
  };
  packetc2w_get_summer_revels_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_summer_revels_rank_descriptor_,
      packetc2w_get_summer_revels_rank::default_instance_,
      packetc2w_get_summer_revels_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_revels_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_revels_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_summer_revels_rank));
  packetw2c_get_summer_revels_rank_result_descriptor_ = file->message_type(119);
  static const int packetw2c_get_summer_revels_rank_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, mypoints_),
  };
  packetw2c_get_summer_revels_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_summer_revels_rank_result_descriptor_,
      packetw2c_get_summer_revels_rank_result::default_instance_,
      packetw2c_get_summer_revels_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_summer_revels_rank_result));
  packetc2w_summer_revels_lottery_descriptor_ = file->message_type(120);
  static const int packetc2w_summer_revels_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, index_),
  };
  packetc2w_summer_revels_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_revels_lottery_descriptor_,
      packetc2w_summer_revels_lottery::default_instance_,
      packetc2w_summer_revels_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_revels_lottery));
  packetw2c_summer_revels_lottery_result_descriptor_ = file->message_type(121);
  static const int packetw2c_summer_revels_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, items_),
  };
  packetw2c_summer_revels_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_revels_lottery_result_descriptor_,
      packetw2c_summer_revels_lottery_result::default_instance_,
      packetw2c_summer_revels_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_revels_lottery_result));
  attackInfo_descriptor_ = file->message_type(122);
  static const int attackInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, weaponid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, harmvalue_),
  };
  attackInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      attackInfo_descriptor_,
      attackInfo::default_instance_,
      attackInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(attackInfo));
  demonTowerInfo_descriptor_ = file->message_type(123);
  static const int demonTowerInfo_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, floor_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, leftlife_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, curround_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, killcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, starcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, attackhistory_),
  };
  demonTowerInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      demonTowerInfo_descriptor_,
      demonTowerInfo::default_instance_,
      demonTowerInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(demonTowerInfo));
  weaponInfo_descriptor_ = file->message_type(124);
  static const int weaponInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, weaponid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, count_),
  };
  weaponInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      weaponInfo_descriptor_,
      weaponInfo::default_instance_,
      weaponInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(weaponInfo));
  packetw2c_syn_kill_demons_info_descriptor_ = file->message_type(125);
  static const int packetw2c_syn_kill_demons_info_offsets_[15] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, trialscore_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, trialscorehistory_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, swordenergy_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, smelttimes_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, huntdemonscore_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, receivetrial_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, receiveswordenergy_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, receivestar_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, towerlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, weaponlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, starcount_),
  };
  packetw2c_syn_kill_demons_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_kill_demons_info_descriptor_,
      packetw2c_syn_kill_demons_info::default_instance_,
      packetw2c_syn_kill_demons_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_kill_demons_info));
  packetc2w_recv_kill_demons_quest_award_descriptor_ = file->message_type(126);
  static const int packetc2w_recv_kill_demons_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, questid_),
  };
  packetc2w_recv_kill_demons_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_kill_demons_quest_award_descriptor_,
      packetc2w_recv_kill_demons_quest_award::default_instance_,
      packetc2w_recv_kill_demons_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_kill_demons_quest_award));
  packetw2c_recv_kill_demons_quest_award_result_descriptor_ = file->message_type(127);
  static const int packetw2c_recv_kill_demons_quest_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, items_),
  };
  packetw2c_recv_kill_demons_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_kill_demons_quest_award_result_descriptor_,
      packetw2c_recv_kill_demons_quest_award_result::default_instance_,
      packetw2c_recv_kill_demons_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_kill_demons_quest_award_result));
  packetc2w_recv_trial_score_award_descriptor_ = file->message_type(128);
  static const int packetc2w_recv_trial_score_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, index_),
  };
  packetc2w_recv_trial_score_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_trial_score_award_descriptor_,
      packetc2w_recv_trial_score_award::default_instance_,
      packetc2w_recv_trial_score_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_trial_score_award));
  packetw2c_recv_trial_score_award_result_descriptor_ = file->message_type(129);
  static const int packetw2c_recv_trial_score_award_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, index_),
  };
  packetw2c_recv_trial_score_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_trial_score_award_result_descriptor_,
      packetw2c_recv_trial_score_award_result::default_instance_,
      packetw2c_recv_trial_score_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_trial_score_award_result));
  packetc2w_recv_star_award_descriptor_ = file->message_type(130);
  static const int packetc2w_recv_star_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, index_),
  };
  packetc2w_recv_star_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_star_award_descriptor_,
      packetc2w_recv_star_award::default_instance_,
      packetc2w_recv_star_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_star_award));
  packetw2c_recv_star_award_result_descriptor_ = file->message_type(131);
  static const int packetw2c_recv_star_award_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, index_),
  };
  packetw2c_recv_star_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_star_award_result_descriptor_,
      packetw2c_recv_star_award_result::default_instance_,
      packetw2c_recv_star_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_star_award_result));
  packetc2w_attack_demon_descriptor_ = file->message_type(132);
  static const int packetc2w_attack_demon_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, floor_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, ishangup_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, weaponid_),
  };
  packetc2w_attack_demon_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_attack_demon_descriptor_,
      packetc2w_attack_demon::default_instance_,
      packetc2w_attack_demon_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_attack_demon));
  packetw2c_attack_demon_result_descriptor_ = file->message_type(133);
  static const int packetw2c_attack_demon_result_offsets_[10] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, floor_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, ishangup_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, weaponid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, harmvalue_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, curround_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, leftlife_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, balancestar_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, items_),
  };
  packetw2c_attack_demon_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_attack_demon_result_descriptor_,
      packetw2c_attack_demon_result::default_instance_,
      packetw2c_attack_demon_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_attack_demon_result));
  packetc2w_get_kill_demons_rank_descriptor_ = file->message_type(134);
  static const int packetc2w_get_kill_demons_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kill_demons_rank, packet_id_),
  };
  packetc2w_get_kill_demons_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_kill_demons_rank_descriptor_,
      packetc2w_get_kill_demons_rank::default_instance_,
      packetc2w_get_kill_demons_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kill_demons_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kill_demons_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_kill_demons_rank));
  packetw2c_get_kill_demons_rank_result_descriptor_ = file->message_type(135);
  static const int packetw2c_get_kill_demons_rank_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, thresholdvalue_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, myrank_),
  };
  packetw2c_get_kill_demons_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_kill_demons_rank_result_descriptor_,
      packetw2c_get_kill_demons_rank_result::default_instance_,
      packetw2c_get_kill_demons_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_kill_demons_rank_result));
  packetc2w_kill_demons_smelt_descriptor_ = file->message_type(136);
  static const int packetc2w_kill_demons_smelt_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, smelttimes_),
  };
  packetc2w_kill_demons_smelt_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_kill_demons_smelt_descriptor_,
      packetc2w_kill_demons_smelt::default_instance_,
      packetc2w_kill_demons_smelt_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_kill_demons_smelt));
  packetw2c_kill_demons_smelt_result_descriptor_ = file->message_type(137);
  static const int packetw2c_kill_demons_smelt_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, smelttimes_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, smeltreward_),
  };
  packetw2c_kill_demons_smelt_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_kill_demons_smelt_result_descriptor_,
      packetw2c_kill_demons_smelt_result::default_instance_,
      packetw2c_kill_demons_smelt_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_kill_demons_smelt_result));
  packetc2w_recv_sword_energy_award_descriptor_ = file->message_type(138);
  static const int packetc2w_recv_sword_energy_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, index_),
  };
  packetc2w_recv_sword_energy_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_sword_energy_award_descriptor_,
      packetc2w_recv_sword_energy_award::default_instance_,
      packetc2w_recv_sword_energy_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_sword_energy_award));
  packetw2c_recv_sword_energy_award_result_descriptor_ = file->message_type(139);
  static const int packetw2c_recv_sword_energy_award_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, index_),
  };
  packetw2c_recv_sword_energy_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_sword_energy_award_result_descriptor_,
      packetw2c_recv_sword_energy_award_result::default_instance_,
      packetw2c_recv_sword_energy_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_sword_energy_award_result));
  packetc2w_kill_demons_task_descriptor_ = file->message_type(140);
  static const int packetc2w_kill_demons_task_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_task, packet_id_),
  };
  packetc2w_kill_demons_task_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_kill_demons_task_descriptor_,
      packetc2w_kill_demons_task::default_instance_,
      packetc2w_kill_demons_task_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_task, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_task, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_kill_demons_task));
  packetw2c_kill_demons_task_result_descriptor_ = file->message_type(141);
  static const int packetw2c_kill_demons_task_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, questlist_),
  };
  packetw2c_kill_demons_task_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_kill_demons_task_result_descriptor_,
      packetw2c_kill_demons_task_result::default_instance_,
      packetw2c_kill_demons_task_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_kill_demons_task_result));
  packetw2c_syn_2020_national_info_descriptor_ = file->message_type(142);
  static const int packetw2c_syn_2020_national_info_offsets_[9] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, signcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, cansign_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, handbooksawardstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, handbooksstat_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, paddycount_),
  };
  packetw2c_syn_2020_national_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_2020_national_info_descriptor_,
      packetw2c_syn_2020_national_info::default_instance_,
      packetw2c_syn_2020_national_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_2020_national_info));
  packetc2w_get_2020_national_quest_descriptor_ = file->message_type(143);
  static const int packetc2w_get_2020_national_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_2020_national_quest, packet_id_),
  };
  packetc2w_get_2020_national_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_2020_national_quest_descriptor_,
      packetc2w_get_2020_national_quest::default_instance_,
      packetc2w_get_2020_national_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_2020_national_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_2020_national_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_2020_national_quest));
  packetw2c_get_2020_national_quest_result_descriptor_ = file->message_type(144);
  static const int packetw2c_get_2020_national_quest_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, questlist_),
  };
  packetw2c_get_2020_national_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_2020_national_quest_result_descriptor_,
      packetw2c_get_2020_national_quest_result::default_instance_,
      packetw2c_get_2020_national_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_2020_national_quest_result));
  packetc2w_recv_2020_national_login_reward_descriptor_ = file->message_type(145);
  static const int packetc2w_recv_2020_national_login_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, signindex_),
  };
  packetc2w_recv_2020_national_login_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_2020_national_login_reward_descriptor_,
      packetc2w_recv_2020_national_login_reward::default_instance_,
      packetc2w_recv_2020_national_login_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_2020_national_login_reward));
  packetw2c_recv_2020_national_login_reward_result_descriptor_ = file->message_type(146);
  static const int packetw2c_recv_2020_national_login_reward_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, signindex_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, exhandbooksid_),
  };
  packetw2c_recv_2020_national_login_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_2020_national_login_reward_result_descriptor_,
      packetw2c_recv_2020_national_login_reward_result::default_instance_,
      packetw2c_recv_2020_national_login_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_2020_national_login_reward_result));
  packetc2w_recv_2020_national_quest_award_descriptor_ = file->message_type(147);
  static const int packetc2w_recv_2020_national_quest_award_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, receivebit_),
  };
  packetc2w_recv_2020_national_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_2020_national_quest_award_descriptor_,
      packetc2w_recv_2020_national_quest_award::default_instance_,
      packetc2w_recv_2020_national_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_2020_national_quest_award));
  packetw2c_recv_2020_national_quest_award_result_descriptor_ = file->message_type(148);
  static const int packetw2c_recv_2020_national_quest_award_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, receivebit_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, items_),
  };
  packetw2c_recv_2020_national_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_2020_national_quest_award_result_descriptor_,
      packetw2c_recv_2020_national_quest_award_result::default_instance_,
      packetw2c_recv_2020_national_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_2020_national_quest_award_result));
  packetc2w_recv_2020_national_handbooks_gold_descriptor_ = file->message_type(149);
  static const int packetc2w_recv_2020_national_handbooks_gold_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, handbooksid_),
  };
  packetc2w_recv_2020_national_handbooks_gold_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_2020_national_handbooks_gold_descriptor_,
      packetc2w_recv_2020_national_handbooks_gold::default_instance_,
      packetc2w_recv_2020_national_handbooks_gold_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_2020_national_handbooks_gold));
  packetw2c_recv_2020_national_handbooks_gold_result_descriptor_ = file->message_type(150);
  static const int packetw2c_recv_2020_national_handbooks_gold_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, handbooksid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, result_),
  };
  packetw2c_recv_2020_national_handbooks_gold_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_2020_national_handbooks_gold_result_descriptor_,
      packetw2c_recv_2020_national_handbooks_gold_result::default_instance_,
      packetw2c_recv_2020_national_handbooks_gold_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_2020_national_handbooks_gold_result));
  packetc2w_recv_2020_national_handbooks_award_descriptor_ = file->message_type(151);
  static const int packetc2w_recv_2020_national_handbooks_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, type_),
  };
  packetc2w_recv_2020_national_handbooks_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_2020_national_handbooks_award_descriptor_,
      packetc2w_recv_2020_national_handbooks_award::default_instance_,
      packetc2w_recv_2020_national_handbooks_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_2020_national_handbooks_award));
  packetw2c_recv_2020_national_handbooks_award_result_descriptor_ = file->message_type(152);
  static const int packetw2c_recv_2020_national_handbooks_award_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, type_),
  };
  packetw2c_recv_2020_national_handbooks_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_2020_national_handbooks_award_result_descriptor_,
      packetw2c_recv_2020_national_handbooks_award_result::default_instance_,
      packetw2c_recv_2020_national_handbooks_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_2020_national_handbooks_award_result));
  packetc2w_2020_national_lottery_descriptor_ = file->message_type(153);
  static const int packetc2w_2020_national_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, type_),
  };
  packetc2w_2020_national_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_2020_national_lottery_descriptor_,
      packetc2w_2020_national_lottery::default_instance_,
      packetc2w_2020_national_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_2020_national_lottery));
  packetw2c_2020_national_lottery_result_descriptor_ = file->message_type(154);
  static const int packetw2c_2020_national_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, rewardid_),
  };
  packetw2c_2020_national_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_2020_national_lottery_result_descriptor_,
      packetw2c_2020_national_lottery_result::default_instance_,
      packetw2c_2020_national_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_2020_national_lottery_result));
  packetw2c_syn_personal_tailor_new_info_descriptor_ = file->message_type(155);
  static const int packetw2c_syn_personal_tailor_new_info_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, tailoritems_),
  };
  packetw2c_syn_personal_tailor_new_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_personal_tailor_new_info_descriptor_,
      packetw2c_syn_personal_tailor_new_info::default_instance_,
      packetw2c_syn_personal_tailor_new_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_personal_tailor_new_info));
  packetc2w_change_personal_tailor_items_descriptor_ = file->message_type(156);
  static const int packetc2w_change_personal_tailor_items_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, tailoritems_),
  };
  packetc2w_change_personal_tailor_items_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_change_personal_tailor_items_descriptor_,
      packetc2w_change_personal_tailor_items::default_instance_,
      packetc2w_change_personal_tailor_items_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_change_personal_tailor_items));
  packetw2c_change_personal_tailor_items_result_descriptor_ = file->message_type(157);
  static const int packetw2c_change_personal_tailor_items_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, tailoritems_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, result_),
  };
  packetw2c_change_personal_tailor_items_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_change_personal_tailor_items_result_descriptor_,
      packetw2c_change_personal_tailor_items_result::default_instance_,
      packetw2c_change_personal_tailor_items_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_change_personal_tailor_items_result));
  packetw2c_syn_super_value_gift_activity_info_descriptor_ = file->message_type(158);
  static const int packetw2c_syn_super_value_gift_activity_info_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, endtime_),
  };
  packetw2c_syn_super_value_gift_activity_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_super_value_gift_activity_info_descriptor_,
      packetw2c_syn_super_value_gift_activity_info::default_instance_,
      packetw2c_syn_super_value_gift_activity_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_super_value_gift_activity_info));
  packetw2c_syn_double_eleven_info_descriptor_ = file->message_type(159);
  static const int packetw2c_syn_double_eleven_info_offsets_[13] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, lotteryticket_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, lotterycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, luckyvalue_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, recharged_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, rechargecheck_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, leftcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, canbuy_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, thresholdvalue_),
  };
  packetw2c_syn_double_eleven_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_double_eleven_info_descriptor_,
      packetw2c_syn_double_eleven_info::default_instance_,
      packetw2c_syn_double_eleven_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_double_eleven_info));
  packetc2w_get_double_eleven_quest_descriptor_ = file->message_type(160);
  static const int packetc2w_get_double_eleven_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_quest, packet_id_),
  };
  packetc2w_get_double_eleven_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_double_eleven_quest_descriptor_,
      packetc2w_get_double_eleven_quest::default_instance_,
      packetc2w_get_double_eleven_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_double_eleven_quest));
  packetw2c_get_double_eleven_quest_result_descriptor_ = file->message_type(161);
  static const int packetw2c_get_double_eleven_quest_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, questlist_),
  };
  packetw2c_get_double_eleven_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_double_eleven_quest_result_descriptor_,
      packetw2c_get_double_eleven_quest_result::default_instance_,
      packetw2c_get_double_eleven_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_double_eleven_quest_result));
  packetw2c_syn_double_eleven_gift_reflush_descriptor_ = file->message_type(162);
  static const int packetw2c_syn_double_eleven_gift_reflush_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, leftcount_),
  };
  packetw2c_syn_double_eleven_gift_reflush_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_double_eleven_gift_reflush_descriptor_,
      packetw2c_syn_double_eleven_gift_reflush::default_instance_,
      packetw2c_syn_double_eleven_gift_reflush_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_double_eleven_gift_reflush));
  packetc2w_get_double_eleven_rank_descriptor_ = file->message_type(163);
  static const int packetc2w_get_double_eleven_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_rank, packet_id_),
  };
  packetc2w_get_double_eleven_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_double_eleven_rank_descriptor_,
      packetc2w_get_double_eleven_rank::default_instance_,
      packetc2w_get_double_eleven_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_double_eleven_rank));
  packetw2c_get_double_eleven_rank_result_descriptor_ = file->message_type(164);
  static const int packetw2c_get_double_eleven_rank_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, mycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, myrank_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, thresholdvalue_),
  };
  packetw2c_get_double_eleven_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_double_eleven_rank_result_descriptor_,
      packetw2c_get_double_eleven_rank_result::default_instance_,
      packetw2c_get_double_eleven_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_double_eleven_rank_result));
  packetc2w_double_eleven_lottery_descriptor_ = file->message_type(165);
  static const int packetc2w_double_eleven_lottery_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, count_),
  };
  packetc2w_double_eleven_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_double_eleven_lottery_descriptor_,
      packetc2w_double_eleven_lottery::default_instance_,
      packetc2w_double_eleven_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_double_eleven_lottery));
  packetw2c_double_eleven_lottery_result_descriptor_ = file->message_type(166);
  static const int packetw2c_double_eleven_lottery_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, rewardid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, rewardidex_),
  };
  packetw2c_double_eleven_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_double_eleven_lottery_result_descriptor_,
      packetw2c_double_eleven_lottery_result::default_instance_,
      packetw2c_double_eleven_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_double_eleven_lottery_result));
  packetc2w_receive_double_eleven_recharge_reward_descriptor_ = file->message_type(167);
  static const int packetc2w_receive_double_eleven_recharge_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, index_),
  };
  packetc2w_receive_double_eleven_recharge_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_receive_double_eleven_recharge_reward_descriptor_,
      packetc2w_receive_double_eleven_recharge_reward::default_instance_,
      packetc2w_receive_double_eleven_recharge_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_receive_double_eleven_recharge_reward));
  packetw2c_receive_double_eleven_recharge_reward_result_descriptor_ = file->message_type(168);
  static const int packetw2c_receive_double_eleven_recharge_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, index_),
  };
  packetw2c_receive_double_eleven_recharge_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_receive_double_eleven_recharge_reward_result_descriptor_,
      packetw2c_receive_double_eleven_recharge_reward_result::default_instance_,
      packetw2c_receive_double_eleven_recharge_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_receive_double_eleven_recharge_reward_result));
  packetc2w_syn_double_eleven_diamond_gift_count_descriptor_ = file->message_type(169);
  static const int packetc2w_syn_double_eleven_diamond_gift_count_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_double_eleven_diamond_gift_count, packet_id_),
  };
  packetc2w_syn_double_eleven_diamond_gift_count_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_syn_double_eleven_diamond_gift_count_descriptor_,
      packetc2w_syn_double_eleven_diamond_gift_count::default_instance_,
      packetc2w_syn_double_eleven_diamond_gift_count_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_double_eleven_diamond_gift_count, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_double_eleven_diamond_gift_count, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_syn_double_eleven_diamond_gift_count));
  packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_ = file->message_type(170);
  static const int packetw2c_syn_double_eleven_diamond_gift_count_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, leftcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, canbuy_),
  };
  packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_,
      packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_,
      packetw2c_syn_double_eleven_diamond_gift_count_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_double_eleven_diamond_gift_count_result));
  packetc2w_recv_double_eleven_quest_award_descriptor_ = file->message_type(171);
  static const int packetc2w_recv_double_eleven_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, questid_),
  };
  packetc2w_recv_double_eleven_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_double_eleven_quest_award_descriptor_,
      packetc2w_recv_double_eleven_quest_award::default_instance_,
      packetc2w_recv_double_eleven_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_double_eleven_quest_award));
  packetw2c_recv_double_eleven_quest_award_result_descriptor_ = file->message_type(172);
  static const int packetw2c_recv_double_eleven_quest_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, items_),
  };
  packetw2c_recv_double_eleven_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_double_eleven_quest_award_result_descriptor_,
      packetw2c_recv_double_eleven_quest_award_result::default_instance_,
      packetw2c_recv_double_eleven_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_double_eleven_quest_award_result));
  packetc2w_double_eleven_buy_lottery_ticket_descriptor_ = file->message_type(173);
  static const int packetc2w_double_eleven_buy_lottery_ticket_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, index_),
  };
  packetc2w_double_eleven_buy_lottery_ticket_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_double_eleven_buy_lottery_ticket_descriptor_,
      packetc2w_double_eleven_buy_lottery_ticket::default_instance_,
      packetc2w_double_eleven_buy_lottery_ticket_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_double_eleven_buy_lottery_ticket));
  packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_ = file->message_type(174);
  static const int packetw2c_double_eleven_buy_lottery_ticket_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, index_),
  };
  packetw2c_double_eleven_buy_lottery_ticket_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_,
      packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_,
      packetw2c_double_eleven_buy_lottery_ticket_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_double_eleven_buy_lottery_ticket_result));
  packetw2c_syn_wing_experience_info_descriptor_ = file->message_type(175);
  static const int packetw2c_syn_wing_experience_info_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, received_),
  };
  packetw2c_syn_wing_experience_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_wing_experience_info_descriptor_,
      packetw2c_syn_wing_experience_info::default_instance_,
      packetw2c_syn_wing_experience_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_wing_experience_info));
  packetc2w_wing_experience_receive_wing_descriptor_ = file->message_type(176);
  static const int packetc2w_wing_experience_receive_wing_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wing_experience_receive_wing, packet_id_),
  };
  packetc2w_wing_experience_receive_wing_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_wing_experience_receive_wing_descriptor_,
      packetc2w_wing_experience_receive_wing::default_instance_,
      packetc2w_wing_experience_receive_wing_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wing_experience_receive_wing, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wing_experience_receive_wing, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_wing_experience_receive_wing));
  packetw2c_wing_experience_receive_wing_result_descriptor_ = file->message_type(177);
  static const int packetw2c_wing_experience_receive_wing_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, result_),
  };
  packetw2c_wing_experience_receive_wing_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_wing_experience_receive_wing_result_descriptor_,
      packetw2c_wing_experience_receive_wing_result::default_instance_,
      packetw2c_wing_experience_receive_wing_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_wing_experience_receive_wing_result));
  exchangeInfo_descriptor_ = file->message_type(178);
  static const int exchangeInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, times_),
  };
  exchangeInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      exchangeInfo_descriptor_,
      exchangeInfo::default_instance_,
      exchangeInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(exchangeInfo));
  packetw2c_syn_kingcraft_info_descriptor_ = file->message_type(179);
  static const int packetw2c_syn_kingcraft_info_offsets_[14] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, shieldcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, lotteryticket_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, lotterycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, recharged_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, rechargecheck_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, signcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, cansign_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, thresholdvalue_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, exchangelist_),
  };
  packetw2c_syn_kingcraft_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_kingcraft_info_descriptor_,
      packetw2c_syn_kingcraft_info::default_instance_,
      packetw2c_syn_kingcraft_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_kingcraft_info));
  packetc2w_get_kingcraft_rank_descriptor_ = file->message_type(180);
  static const int packetc2w_get_kingcraft_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kingcraft_rank, packet_id_),
  };
  packetc2w_get_kingcraft_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_kingcraft_rank_descriptor_,
      packetc2w_get_kingcraft_rank::default_instance_,
      packetc2w_get_kingcraft_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kingcraft_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kingcraft_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_kingcraft_rank));
  packetw2c_get_kingcraft_rank_result_descriptor_ = file->message_type(181);
  static const int packetw2c_get_kingcraft_rank_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, mycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, myrank_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, thresholdvalue_),
  };
  packetw2c_get_kingcraft_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_kingcraft_rank_result_descriptor_,
      packetw2c_get_kingcraft_rank_result::default_instance_,
      packetw2c_get_kingcraft_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_kingcraft_rank_result));
  packetc2w_kingcraft_lottery_descriptor_ = file->message_type(182);
  static const int packetc2w_kingcraft_lottery_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, count_),
  };
  packetc2w_kingcraft_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_kingcraft_lottery_descriptor_,
      packetc2w_kingcraft_lottery::default_instance_,
      packetc2w_kingcraft_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_kingcraft_lottery));
  packetw2c_kingcraft_lottery_result_descriptor_ = file->message_type(183);
  static const int packetw2c_kingcraft_lottery_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, rewardid_),
  };
  packetw2c_kingcraft_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_kingcraft_lottery_result_descriptor_,
      packetw2c_kingcraft_lottery_result::default_instance_,
      packetw2c_kingcraft_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_kingcraft_lottery_result));
  packetc2w_receive_kingcraft_recharge_reward_descriptor_ = file->message_type(184);
  static const int packetc2w_receive_kingcraft_recharge_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, index_),
  };
  packetc2w_receive_kingcraft_recharge_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_receive_kingcraft_recharge_reward_descriptor_,
      packetc2w_receive_kingcraft_recharge_reward::default_instance_,
      packetc2w_receive_kingcraft_recharge_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_receive_kingcraft_recharge_reward));
  packetw2c_receive_kingcraft_recharge_reward_result_descriptor_ = file->message_type(185);
  static const int packetw2c_receive_kingcraft_recharge_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, index_),
  };
  packetw2c_receive_kingcraft_recharge_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_receive_kingcraft_recharge_reward_result_descriptor_,
      packetw2c_receive_kingcraft_recharge_reward_result::default_instance_,
      packetw2c_receive_kingcraft_recharge_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_receive_kingcraft_recharge_reward_result));
  packetc2w_receive_kingcraft_exchange_descriptor_ = file->message_type(186);
  static const int packetc2w_receive_kingcraft_exchange_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, index_),
  };
  packetc2w_receive_kingcraft_exchange_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_receive_kingcraft_exchange_descriptor_,
      packetc2w_receive_kingcraft_exchange::default_instance_,
      packetc2w_receive_kingcraft_exchange_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_receive_kingcraft_exchange));
  packetw2c_receive_kingcraft_exchange_result_descriptor_ = file->message_type(187);
  static const int packetw2c_receive_kingcraft_exchange_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, result_),
  };
  packetw2c_receive_kingcraft_exchange_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_receive_kingcraft_exchange_result_descriptor_,
      packetw2c_receive_kingcraft_exchange_result::default_instance_,
      packetw2c_receive_kingcraft_exchange_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_receive_kingcraft_exchange_result));
  packetc2w_kingcraft_sign_descriptor_ = file->message_type(188);
  static const int packetc2w_kingcraft_sign_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, signday_),
  };
  packetc2w_kingcraft_sign_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_kingcraft_sign_descriptor_,
      packetc2w_kingcraft_sign::default_instance_,
      packetc2w_kingcraft_sign_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_kingcraft_sign));
  packetw2c_kingcraft_sign_result_descriptor_ = file->message_type(189);
  static const int packetw2c_kingcraft_sign_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, signday_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, result_),
  };
  packetw2c_kingcraft_sign_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_kingcraft_sign_result_descriptor_,
      packetw2c_kingcraft_sign_result::default_instance_,
      packetw2c_kingcraft_sign_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_kingcraft_sign_result));
  packetw2c_syn_double_egg_activity_info_descriptor_ = file->message_type(190);
  static const int packetw2c_syn_double_egg_activity_info_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, endtime_),
  };
  packetw2c_syn_double_egg_activity_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_double_egg_activity_info_descriptor_,
      packetw2c_syn_double_egg_activity_info::default_instance_,
      packetw2c_syn_double_egg_activity_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_double_egg_activity_info));
  touchingFishRecInfo_descriptor_ = file->message_type(191);
  static const int touchingFishRecInfo_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, recvalue_),
  };
  touchingFishRecInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      touchingFishRecInfo_descriptor_,
      touchingFishRecInfo::default_instance_,
      touchingFishRecInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(touchingFishRecInfo));
  packetw2c_syn_touching_fish_activity_info_descriptor_ = file->message_type(192);
  static const int packetw2c_syn_touching_fish_activity_info_offsets_[13] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, season_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, exp_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, level_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, curweek_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekstarttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekendtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekexp_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, levelrevids_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekboxrev_),
  };
  packetw2c_syn_touching_fish_activity_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_touching_fish_activity_info_descriptor_,
      packetw2c_syn_touching_fish_activity_info::default_instance_,
      packetw2c_syn_touching_fish_activity_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_touching_fish_activity_info));
  packetw2c_syn_touching_fish_exp_descriptor_ = file->message_type(193);
  static const int packetw2c_syn_touching_fish_exp_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, exp_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, level_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, weekexp_),
  };
  packetw2c_syn_touching_fish_exp_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_touching_fish_exp_descriptor_,
      packetw2c_syn_touching_fish_exp::default_instance_,
      packetw2c_syn_touching_fish_exp_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_touching_fish_exp));
  packetc2w_recv_touching_fish_level_reward_descriptor_ = file->message_type(194);
  static const int packetc2w_recv_touching_fish_level_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, recid_),
  };
  packetc2w_recv_touching_fish_level_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_touching_fish_level_reward_descriptor_,
      packetc2w_recv_touching_fish_level_reward::default_instance_,
      packetc2w_recv_touching_fish_level_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_touching_fish_level_reward));
  packetw2c_recv_touching_fish_level_reward_result_descriptor_ = file->message_type(195);
  static const int packetw2c_recv_touching_fish_level_reward_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, recid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, recvalue_),
  };
  packetw2c_recv_touching_fish_level_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_touching_fish_level_reward_result_descriptor_,
      packetw2c_recv_touching_fish_level_reward_result::default_instance_,
      packetw2c_recv_touching_fish_level_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_touching_fish_level_reward_result));
  packetc2w_recv_touching_fish_task_descriptor_ = file->message_type(196);
  static const int packetc2w_recv_touching_fish_task_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_task, packet_id_),
  };
  packetc2w_recv_touching_fish_task_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_touching_fish_task_descriptor_,
      packetc2w_recv_touching_fish_task::default_instance_,
      packetc2w_recv_touching_fish_task_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_task, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_task, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_touching_fish_task));
  packetw2c_recv_touching_fish_task_result_descriptor_ = file->message_type(197);
  static const int packetw2c_recv_touching_fish_task_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, questlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, weekquestlist_),
  };
  packetw2c_recv_touching_fish_task_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_touching_fish_task_result_descriptor_,
      packetw2c_recv_touching_fish_task_result::default_instance_,
      packetw2c_recv_touching_fish_task_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_touching_fish_task_result));
  packetc2w_recv_touching_fish_quest_award_descriptor_ = file->message_type(198);
  static const int packetc2w_recv_touching_fish_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, questid_),
  };
  packetc2w_recv_touching_fish_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_touching_fish_quest_award_descriptor_,
      packetc2w_recv_touching_fish_quest_award::default_instance_,
      packetc2w_recv_touching_fish_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_touching_fish_quest_award));
  packetw2c_recv_touching_fish_quest_award_result_descriptor_ = file->message_type(199);
  static const int packetw2c_recv_touching_fish_quest_award_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, items_),
  };
  packetw2c_recv_touching_fish_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_touching_fish_quest_award_result_descriptor_,
      packetw2c_recv_touching_fish_quest_award_result::default_instance_,
      packetw2c_recv_touching_fish_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_touching_fish_quest_award_result));
  packetc2w_recv_touching_fish_week_box_descriptor_ = file->message_type(200);
  static const int packetc2w_recv_touching_fish_week_box_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_week_box, packet_id_),
  };
  packetc2w_recv_touching_fish_week_box_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_touching_fish_week_box_descriptor_,
      packetc2w_recv_touching_fish_week_box::default_instance_,
      packetc2w_recv_touching_fish_week_box_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_week_box, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_week_box, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_touching_fish_week_box));
  packetw2c_recv_touching_fish_week_box_result_descriptor_ = file->message_type(201);
  static const int packetw2c_recv_touching_fish_week_box_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, weekboxrev_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, items_),
  };
  packetw2c_recv_touching_fish_week_box_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_touching_fish_week_box_result_descriptor_,
      packetw2c_recv_touching_fish_week_box_result::default_instance_,
      packetw2c_recv_touching_fish_week_box_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_touching_fish_week_box_result));
  packetc2w_flush_touching_fish_quest_descriptor_ = file->message_type(202);
  static const int packetc2w_flush_touching_fish_quest_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, questid_),
  };
  packetc2w_flush_touching_fish_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_flush_touching_fish_quest_descriptor_,
      packetc2w_flush_touching_fish_quest::default_instance_,
      packetc2w_flush_touching_fish_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_flush_touching_fish_quest));
  packetw2c_flush_touching_fish_quest_result_descriptor_ = file->message_type(203);
  static const int packetw2c_flush_touching_fish_quest_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, questid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, newquestid_),
  };
  packetw2c_flush_touching_fish_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_flush_touching_fish_quest_result_descriptor_,
      packetw2c_flush_touching_fish_quest_result::default_instance_,
      packetw2c_flush_touching_fish_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_flush_touching_fish_quest_result));
  packetc2w_get_touching_fish_rank_descriptor_ = file->message_type(204);
  static const int packetc2w_get_touching_fish_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_touching_fish_rank, packet_id_),
  };
  packetc2w_get_touching_fish_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_touching_fish_rank_descriptor_,
      packetc2w_get_touching_fish_rank::default_instance_,
      packetc2w_get_touching_fish_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_touching_fish_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_touching_fish_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_touching_fish_rank));
  packetw2c_get_touching_fish_rank_result_descriptor_ = file->message_type(205);
  static const int packetw2c_get_touching_fish_rank_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, thresholdvalue_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, myrank_),
  };
  packetw2c_get_touching_fish_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_touching_fish_rank_result_descriptor_,
      packetw2c_get_touching_fish_rank_result::default_instance_,
      packetw2c_get_touching_fish_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_touching_fish_rank_result));
  packetw2c_syn_fishing_celebration_info_descriptor_ = file->message_type(206);
  static const int packetw2c_syn_fishing_celebration_info_offsets_[19] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, curlv_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, bubblescore_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, cleticket_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, clelotteryticket_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, lotterycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotterycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotteryfreecount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotterystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotteryticket_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, exchangelist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, itema_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, itemb_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, itemc_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, thresholdvalue_),
  };
  packetw2c_syn_fishing_celebration_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_fishing_celebration_info_descriptor_,
      packetw2c_syn_fishing_celebration_info::default_instance_,
      packetw2c_syn_fishing_celebration_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_fishing_celebration_info));
  packetc2w_fishing_celebration_lottery_descriptor_ = file->message_type(207);
  static const int packetc2w_fishing_celebration_lottery_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, alllottery_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, type_),
  };
  packetc2w_fishing_celebration_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_fishing_celebration_lottery_descriptor_,
      packetc2w_fishing_celebration_lottery::default_instance_,
      packetc2w_fishing_celebration_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_fishing_celebration_lottery));
  packetw2c_fishing_celebration_lottery_result_descriptor_ = file->message_type(208);
  static const int packetw2c_fishing_celebration_lottery_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, alllottery_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, costtocket_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, rewardid_),
  };
  packetw2c_fishing_celebration_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_fishing_celebration_lottery_result_descriptor_,
      packetw2c_fishing_celebration_lottery_result::default_instance_,
      packetw2c_fishing_celebration_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_fishing_celebration_lottery_result));
  packetc2w_fishing_celebration_activate_descriptor_ = file->message_type(209);
  static const int packetc2w_fishing_celebration_activate_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, lv_),
  };
  packetc2w_fishing_celebration_activate_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_fishing_celebration_activate_descriptor_,
      packetc2w_fishing_celebration_activate::default_instance_,
      packetc2w_fishing_celebration_activate_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_fishing_celebration_activate));
  packetw2c_fishing_celebration_activate_result_descriptor_ = file->message_type(210);
  static const int packetw2c_fishing_celebration_activate_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, lv_),
  };
  packetw2c_fishing_celebration_activate_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_fishing_celebration_activate_result_descriptor_,
      packetw2c_fishing_celebration_activate_result::default_instance_,
      packetw2c_fishing_celebration_activate_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_fishing_celebration_activate_result));
  packetc2w_fishing_celebration_exchange_descriptor_ = file->message_type(211);
  static const int packetc2w_fishing_celebration_exchange_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, count_),
  };
  packetc2w_fishing_celebration_exchange_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_fishing_celebration_exchange_descriptor_,
      packetc2w_fishing_celebration_exchange::default_instance_,
      packetc2w_fishing_celebration_exchange_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_fishing_celebration_exchange));
  packetw2c_fishing_celebration_exchange_result_descriptor_ = file->message_type(212);
  static const int packetw2c_fishing_celebration_exchange_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, getpro_),
  };
  packetw2c_fishing_celebration_exchange_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_fishing_celebration_exchange_result_descriptor_,
      packetw2c_fishing_celebration_exchange_result::default_instance_,
      packetw2c_fishing_celebration_exchange_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_fishing_celebration_exchange_result));
  packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_ = file->message_type(213);
  static const int packetw2c_syn_fishing_celebration_free_gift_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, freecount_),
  };
  packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_,
      packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_,
      packetw2c_syn_fishing_celebration_free_gift_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_fishing_celebration_free_gift_lottery));
  packetc2w_fishing_celebration_gift_lottery_descriptor_ = file->message_type(214);
  static const int packetc2w_fishing_celebration_gift_lottery_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, isadv_),
  };
  packetc2w_fishing_celebration_gift_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_fishing_celebration_gift_lottery_descriptor_,
      packetc2w_fishing_celebration_gift_lottery::default_instance_,
      packetc2w_fishing_celebration_gift_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_fishing_celebration_gift_lottery));
  packetw2c_fishing_celebration_gift_lottery_result_descriptor_ = file->message_type(215);
  static const int packetw2c_fishing_celebration_gift_lottery_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, isadv_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, rewardid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, freecount_),
  };
  packetw2c_fishing_celebration_gift_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_fishing_celebration_gift_lottery_result_descriptor_,
      packetw2c_fishing_celebration_gift_lottery_result::default_instance_,
      packetw2c_fishing_celebration_gift_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_fishing_celebration_gift_lottery_result));
  packetc2w_fishing_celebration_gift_lottery_reward_descriptor_ = file->message_type(216);
  static const int packetc2w_fishing_celebration_gift_lottery_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, type_),
  };
  packetc2w_fishing_celebration_gift_lottery_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_fishing_celebration_gift_lottery_reward_descriptor_,
      packetc2w_fishing_celebration_gift_lottery_reward::default_instance_,
      packetc2w_fishing_celebration_gift_lottery_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_fishing_celebration_gift_lottery_reward));
  packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_ = file->message_type(217);
  static const int packetw2c_fishing_celebration_gift_lottery_reward_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, type_),
  };
  packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_,
      packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_,
      packetw2c_fishing_celebration_gift_lottery_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_fishing_celebration_gift_lottery_reward_result));
  packetc2w_fishing_celebration_buy_gift_descriptor_ = file->message_type(218);
  static const int packetc2w_fishing_celebration_buy_gift_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, index_),
  };
  packetc2w_fishing_celebration_buy_gift_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_fishing_celebration_buy_gift_descriptor_,
      packetc2w_fishing_celebration_buy_gift::default_instance_,
      packetc2w_fishing_celebration_buy_gift_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_fishing_celebration_buy_gift));
  packetw2c_fishing_celebration_buy_gift_result_descriptor_ = file->message_type(219);
  static const int packetw2c_fishing_celebration_buy_gift_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, index_),
  };
  packetw2c_fishing_celebration_buy_gift_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_fishing_celebration_buy_gift_result_descriptor_,
      packetw2c_fishing_celebration_buy_gift_result::default_instance_,
      packetw2c_fishing_celebration_buy_gift_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_fishing_celebration_buy_gift_result));
  packetc2w_get_fishing_celebration_rank_descriptor_ = file->message_type(220);
  static const int packetc2w_get_fishing_celebration_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fishing_celebration_rank, packet_id_),
  };
  packetc2w_get_fishing_celebration_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_fishing_celebration_rank_descriptor_,
      packetc2w_get_fishing_celebration_rank::default_instance_,
      packetc2w_get_fishing_celebration_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fishing_celebration_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fishing_celebration_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_fishing_celebration_rank));
  packetw2c_get_fishing_celebration_rank_result_descriptor_ = file->message_type(221);
  static const int packetw2c_get_fishing_celebration_rank_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, thresholdvalue_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, myrank_),
  };
  packetw2c_get_fishing_celebration_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_fishing_celebration_rank_result_descriptor_,
      packetw2c_get_fishing_celebration_rank_result::default_instance_,
      packetw2c_get_fishing_celebration_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_fishing_celebration_rank_result));
  prizeKey_descriptor_ = file->message_type(222);
  static const int prizeKey_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, gear_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, rank_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, keylist_),
  };
  prizeKey_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      prizeKey_descriptor_,
      prizeKey::default_instance_,
      prizeKey_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(prizeKey));
  packetw2c_syn_feed_back_info_descriptor_ = file->message_type(223);
  static const int packetw2c_syn_feed_back_info_offsets_[8] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, receivetime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, curgear_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, vipreveivecount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, prizelist_),
  };
  packetw2c_syn_feed_back_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_feed_back_info_descriptor_,
      packetw2c_syn_feed_back_info::default_instance_,
      packetw2c_syn_feed_back_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_feed_back_info));
  packetc2w_get_feed_back_vip_reward_descriptor_ = file->message_type(224);
  static const int packetc2w_get_feed_back_vip_reward_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, gear_),
  };
  packetc2w_get_feed_back_vip_reward_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_feed_back_vip_reward_descriptor_,
      packetc2w_get_feed_back_vip_reward::default_instance_,
      packetc2w_get_feed_back_vip_reward_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_feed_back_vip_reward));
  packetw2c_get_feed_back_vip_reward_result_descriptor_ = file->message_type(225);
  static const int packetw2c_get_feed_back_vip_reward_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, vip_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, vipreveivecount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, gear_),
  };
  packetw2c_get_feed_back_vip_reward_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_feed_back_vip_reward_result_descriptor_,
      packetw2c_get_feed_back_vip_reward_result::default_instance_,
      packetw2c_get_feed_back_vip_reward_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_feed_back_vip_reward_result));
  packetc2w_get_feed_back_keylist_descriptor_ = file->message_type(226);
  static const int packetc2w_get_feed_back_keylist_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, gear_),
  };
  packetc2w_get_feed_back_keylist_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_feed_back_keylist_descriptor_,
      packetc2w_get_feed_back_keylist::default_instance_,
      packetc2w_get_feed_back_keylist_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_feed_back_keylist));
  packetw2c_get_feed_back_keylist_result_descriptor_ = file->message_type(227);
  static const int packetw2c_get_feed_back_keylist_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, gear_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, keylist_),
  };
  packetw2c_get_feed_back_keylist_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_feed_back_keylist_result_descriptor_,
      packetw2c_get_feed_back_keylist_result::default_instance_,
      packetw2c_get_feed_back_keylist_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_feed_back_keylist_result));
  packetw2c_syn_chip_treasure_info_descriptor_ = file->message_type(228);
  static const int packetw2c_syn_chip_treasure_info_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, endtime_),
  };
  packetw2c_syn_chip_treasure_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_chip_treasure_info_descriptor_,
      packetw2c_syn_chip_treasure_info::default_instance_,
      packetw2c_syn_chip_treasure_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_chip_treasure_info));
  packetc2w_chip_treasure_lottery_descriptor_ = file->message_type(229);
  static const int packetc2w_chip_treasure_lottery_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, count_),
  };
  packetc2w_chip_treasure_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_chip_treasure_lottery_descriptor_,
      packetc2w_chip_treasure_lottery::default_instance_,
      packetc2w_chip_treasure_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_chip_treasure_lottery));
  packetw2c_chip_treasure_lottery_result_descriptor_ = file->message_type(230);
  static const int packetw2c_chip_treasure_lottery_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, count_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, index_),
  };
  packetw2c_chip_treasure_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_chip_treasure_lottery_result_descriptor_,
      packetw2c_chip_treasure_lottery_result::default_instance_,
      packetw2c_chip_treasure_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_chip_treasure_lottery_result));
  sendGoldHistory_descriptor_ = file->message_type(231);
  static const int sendGoldHistory_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, round_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, nickname_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, gold_),
  };
  sendGoldHistory_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      sendGoldHistory_descriptor_,
      sendGoldHistory::default_instance_,
      sendGoldHistory_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(sendGoldHistory));
  sendGoldInfo_descriptor_ = file->message_type(232);
  static const int sendGoldInfo_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, gear_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, jackpot_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, curround_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, buycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, parttimes_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, historylist_),
  };
  sendGoldInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      sendGoldInfo_descriptor_,
      sendGoldInfo::default_instance_,
      sendGoldInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(sendGoldInfo));
  packetw2c_syn_summer_plan_info_descriptor_ = file->message_type(233);
  static const int packetw2c_syn_summer_plan_info_offsets_[16] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, active_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, summerbingo_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, freerocketcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, freerocketcold_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, rocketleftrecv_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, rocketcurheight_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, recharged_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, rechargedrecv_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, draweyeenergy_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, touchgoldenergy_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, draweyetimes_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, touchgoldtimes_),
  };
  packetw2c_syn_summer_plan_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_summer_plan_info_descriptor_,
      packetw2c_syn_summer_plan_info::default_instance_,
      packetw2c_syn_summer_plan_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_summer_plan_info));
  packetc2w_summer_plan_get_redpacket_task_descriptor_ = file->message_type(234);
  static const int packetc2w_summer_plan_get_redpacket_task_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_get_redpacket_task, packet_id_),
  };
  packetc2w_summer_plan_get_redpacket_task_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_get_redpacket_task_descriptor_,
      packetc2w_summer_plan_get_redpacket_task::default_instance_,
      packetc2w_summer_plan_get_redpacket_task_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_get_redpacket_task, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_get_redpacket_task, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_get_redpacket_task));
  packetw2c_summer_plan_get_redpacket_task_result_descriptor_ = file->message_type(235);
  static const int packetw2c_summer_plan_get_redpacket_task_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, questlist_),
  };
  packetw2c_summer_plan_get_redpacket_task_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_get_redpacket_task_result_descriptor_,
      packetw2c_summer_plan_get_redpacket_task_result::default_instance_,
      packetw2c_summer_plan_get_redpacket_task_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_get_redpacket_task_result));
  packetc2w_summer_plan_sendgold_info_descriptor_ = file->message_type(236);
  static const int packetc2w_summer_plan_sendgold_info_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_sendgold_info, packet_id_),
  };
  packetc2w_summer_plan_sendgold_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_sendgold_info_descriptor_,
      packetc2w_summer_plan_sendgold_info::default_instance_,
      packetc2w_summer_plan_sendgold_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_sendgold_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_sendgold_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_sendgold_info));
  packetw2c_summer_plan_sendgold_info_result_descriptor_ = file->message_type(237);
  static const int packetw2c_summer_plan_sendgold_info_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, sendgoldinfolist_),
  };
  packetw2c_summer_plan_sendgold_info_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_sendgold_info_result_descriptor_,
      packetw2c_summer_plan_sendgold_info_result::default_instance_,
      packetw2c_summer_plan_sendgold_info_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_sendgold_info_result));
  packetc2w_summer_plan_active_descriptor_ = file->message_type(238);
  static const int packetc2w_summer_plan_active_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_active, packet_id_),
  };
  packetc2w_summer_plan_active_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_active_descriptor_,
      packetc2w_summer_plan_active::default_instance_,
      packetc2w_summer_plan_active_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_active, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_active, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_active));
  packetw2c_summer_plan_active_result_descriptor_ = file->message_type(239);
  static const int packetw2c_summer_plan_active_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, result_),
  };
  packetw2c_summer_plan_active_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_active_result_descriptor_,
      packetw2c_summer_plan_active_result::default_instance_,
      packetw2c_summer_plan_active_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_active_result));
  packetc2w_summer_plan_recv_redpacket_descriptor_ = file->message_type(240);
  static const int packetc2w_summer_plan_recv_redpacket_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, index_),
  };
  packetc2w_summer_plan_recv_redpacket_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_recv_redpacket_descriptor_,
      packetc2w_summer_plan_recv_redpacket::default_instance_,
      packetc2w_summer_plan_recv_redpacket_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_recv_redpacket));
  packetw2c_summer_plan_recv_redpacket_result_descriptor_ = file->message_type(241);
  static const int packetw2c_summer_plan_recv_redpacket_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, items_),
  };
  packetw2c_summer_plan_recv_redpacket_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_recv_redpacket_result_descriptor_,
      packetw2c_summer_plan_recv_redpacket_result::default_instance_,
      packetw2c_summer_plan_recv_redpacket_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_recv_redpacket_result));
  packetc2w_summer_plan_recv_recharged_descriptor_ = file->message_type(242);
  static const int packetc2w_summer_plan_recv_recharged_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, index_),
  };
  packetc2w_summer_plan_recv_recharged_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_recv_recharged_descriptor_,
      packetc2w_summer_plan_recv_recharged::default_instance_,
      packetc2w_summer_plan_recv_recharged_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_recv_recharged));
  packetw2c_summer_plan_recv_recharged_result_descriptor_ = file->message_type(243);
  static const int packetw2c_summer_plan_recv_recharged_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, index_),
  };
  packetw2c_summer_plan_recv_recharged_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_recv_recharged_result_descriptor_,
      packetw2c_summer_plan_recv_recharged_result::default_instance_,
      packetw2c_summer_plan_recv_recharged_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_recv_recharged_result));
  packetc2w_summer_plan_buy_sendgold_gift_descriptor_ = file->message_type(244);
  static const int packetc2w_summer_plan_buy_sendgold_gift_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, giftid_),
  };
  packetc2w_summer_plan_buy_sendgold_gift_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_buy_sendgold_gift_descriptor_,
      packetc2w_summer_plan_buy_sendgold_gift::default_instance_,
      packetc2w_summer_plan_buy_sendgold_gift_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_buy_sendgold_gift));
  packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_ = file->message_type(245);
  static const int packetw2c_summer_plan_buy_sendgold_gift_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, giftid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, items_),
  };
  packetw2c_summer_plan_buy_sendgold_gift_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_,
      packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_,
      packetw2c_summer_plan_buy_sendgold_gift_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_buy_sendgold_gift_result));
  packetc2w_summer_plan_launch_descriptor_ = file->message_type(246);
  static const int packetc2w_summer_plan_launch_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_launch, packet_id_),
  };
  packetc2w_summer_plan_launch_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_launch_descriptor_,
      packetc2w_summer_plan_launch::default_instance_,
      packetc2w_summer_plan_launch_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_launch, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_launch, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_launch));
  packetw2c_summer_plan_launch_result_descriptor_ = file->message_type(247);
  static const int packetw2c_summer_plan_launch_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, height_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, freerocketcount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, freerocketcold_),
  };
  packetw2c_summer_plan_launch_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_launch_result_descriptor_,
      packetw2c_summer_plan_launch_result::default_instance_,
      packetw2c_summer_plan_launch_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_launch_result));
  packetc2w_summer_plan_touch_gold_descriptor_ = file->message_type(248);
  static const int packetc2w_summer_plan_touch_gold_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, index_),
  };
  packetc2w_summer_plan_touch_gold_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_summer_plan_touch_gold_descriptor_,
      packetc2w_summer_plan_touch_gold::default_instance_,
      packetc2w_summer_plan_touch_gold_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_summer_plan_touch_gold));
  packetw2c_summer_plan_touch_gold_result_descriptor_ = file->message_type(249);
  static const int packetw2c_summer_plan_touch_gold_result_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, free_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, draweyeenergy_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, touchgoldenergy_),
  };
  packetw2c_summer_plan_touch_gold_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_summer_plan_touch_gold_result_descriptor_,
      packetw2c_summer_plan_touch_gold_result::default_instance_,
      packetw2c_summer_plan_touch_gold_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_summer_plan_touch_gold_result));
  packetw2c_syn_happy_summer_info_descriptor_ = file->message_type(250);
  static const int packetw2c_syn_happy_summer_info_offsets_[9] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, activitystate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, starttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, endtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, points_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, blindboxkey_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, lotterkey_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, blindboxlist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, questlist_),
  };
  packetw2c_syn_happy_summer_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_syn_happy_summer_info_descriptor_,
      packetw2c_syn_happy_summer_info::default_instance_,
      packetw2c_syn_happy_summer_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_syn_happy_summer_info));
  packetc2w_get_happy_summer_rank_descriptor_ = file->message_type(251);
  static const int packetc2w_get_happy_summer_rank_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_rank, packet_id_),
  };
  packetc2w_get_happy_summer_rank_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_happy_summer_rank_descriptor_,
      packetc2w_get_happy_summer_rank::default_instance_,
      packetc2w_get_happy_summer_rank_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_rank, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_rank, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_happy_summer_rank));
  packetw2c_get_happy_summer_rank_result_descriptor_ = file->message_type(252);
  static const int packetw2c_get_happy_summer_rank_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, ranklist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, mycount_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, myrank_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, thresholdvalue_),
  };
  packetw2c_get_happy_summer_rank_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_happy_summer_rank_result_descriptor_,
      packetw2c_get_happy_summer_rank_result::default_instance_,
      packetw2c_get_happy_summer_rank_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_happy_summer_rank_result));
  packetc2w_happy_summer_open_box_descriptor_ = file->message_type(253);
  static const int packetc2w_happy_summer_open_box_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, index_),
  };
  packetc2w_happy_summer_open_box_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_happy_summer_open_box_descriptor_,
      packetc2w_happy_summer_open_box::default_instance_,
      packetc2w_happy_summer_open_box_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_happy_summer_open_box));
  packetw2c_happy_summer_open_box_result_descriptor_ = file->message_type(254);
  static const int packetw2c_happy_summer_open_box_result_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, index_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, items_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, curblindboxkey_),
  };
  packetw2c_happy_summer_open_box_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_happy_summer_open_box_result_descriptor_,
      packetw2c_happy_summer_open_box_result::default_instance_,
      packetw2c_happy_summer_open_box_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_happy_summer_open_box_result));
  packetc2w_happy_summer_lottery_descriptor_ = file->message_type(255);
  static const int packetc2w_happy_summer_lottery_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, all_),
  };
  packetc2w_happy_summer_lottery_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_happy_summer_lottery_descriptor_,
      packetc2w_happy_summer_lottery::default_instance_,
      packetc2w_happy_summer_lottery_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_happy_summer_lottery));
  packetw2c_happy_summer_lottery_result_descriptor_ = file->message_type(256);
  static const int packetw2c_happy_summer_lottery_result_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, all_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, rewardindex_),
  };
  packetw2c_happy_summer_lottery_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_happy_summer_lottery_result_descriptor_,
      packetw2c_happy_summer_lottery_result::default_instance_,
      packetw2c_happy_summer_lottery_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_happy_summer_lottery_result));
  packetc2w_recv_happy_summer_quest_award_descriptor_ = file->message_type(257);
  static const int packetc2w_recv_happy_summer_quest_award_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, questid_),
  };
  packetc2w_recv_happy_summer_quest_award_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_happy_summer_quest_award_descriptor_,
      packetc2w_recv_happy_summer_quest_award::default_instance_,
      packetc2w_recv_happy_summer_quest_award_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_happy_summer_quest_award));
  packetw2c_recv_happy_summer_quest_award_result_descriptor_ = file->message_type(258);
  static const int packetw2c_recv_happy_summer_quest_award_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, result_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, questid_),
  };
  packetw2c_recv_happy_summer_quest_award_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_happy_summer_quest_award_result_descriptor_,
      packetw2c_recv_happy_summer_quest_award_result::default_instance_,
      packetw2c_recv_happy_summer_quest_award_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_happy_summer_quest_award_result));
  packetc2w_get_happy_summer_quest_descriptor_ = file->message_type(259);
  static const int packetc2w_get_happy_summer_quest_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_quest, packet_id_),
  };
  packetc2w_get_happy_summer_quest_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_happy_summer_quest_descriptor_,
      packetc2w_get_happy_summer_quest::default_instance_,
      packetc2w_get_happy_summer_quest_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_quest, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_quest, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_happy_summer_quest));
  packetw2c_get_happy_summer_quest_result_descriptor_ = file->message_type(260);
  static const int packetw2c_get_happy_summer_quest_result_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, questlist_),
  };
  packetw2c_get_happy_summer_quest_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_happy_summer_quest_result_descriptor_,
      packetw2c_get_happy_summer_quest_result::default_instance_,
      packetw2c_get_happy_summer_quest_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_happy_summer_quest_result));
}

namespace {

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

void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_activity_quest_notify_descriptor_, &packetw2c_activity_quest_notify::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_new_year_info_descriptor_, &packetw2c_syn_new_year_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_new_year_login_reward_descriptor_, &packetc2w_recv_new_year_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_new_year_login_reward_result_descriptor_, &packetw2c_recv_new_year_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_national_day_info_descriptor_, &packetw2c_syn_national_day_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_national_day_quest_notify_descriptor_, &packetw2c_national_day_quest_notify::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_national_day_login_reward_descriptor_, &packetc2w_recv_national_day_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_national_day_login_reward_result_descriptor_, &packetw2c_recv_national_day_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_national_day_quest_award_descriptor_, &packetc2w_recv_national_day_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_national_day_quest_award_result_descriptor_, &packetw2c_recv_national_day_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_national_day_choose_task_descriptor_, &packetc2w_national_day_choose_task::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_national_day_choose_task_result_descriptor_, &packetw2c_national_day_choose_task_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_spring_day_info_descriptor_, &packetw2c_syn_spring_day_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_spring_day_login_reward_descriptor_, &packetc2w_recv_spring_day_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_spring_day_login_reward_result_descriptor_, &packetw2c_recv_spring_day_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_hunt_fish_info_descriptor_, &packetw2c_syn_hunt_fish_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_hunt_fish_quest_descriptor_, &packetc2w_get_hunt_fish_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_hunt_fish_quest_result_descriptor_, &packetw2c_get_hunt_fish_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_hunt_fish_quest_award_descriptor_, &packetc2w_recv_hunt_fish_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_hunt_fish_quest_award_result_descriptor_, &packetw2c_recv_hunt_fish_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_recharge_activity_info_descriptor_, &packetw2c_syn_recharge_activity_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recharge_activity_rebate_descriptor_, &packetc2w_recharge_activity_rebate::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recharge_activity_rebate_result_descriptor_, &packetw2c_recharge_activity_rebate_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_wuyi_vacation_info_descriptor_, &packetw2c_syn_wuyi_vacation_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_wuyi_login_reward_descriptor_, &packetc2w_recv_wuyi_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_wuyi_login_reward_result_descriptor_, &packetw2c_recv_wuyi_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_wuyi_quest_award_descriptor_, &packetc2w_recv_wuyi_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_wuyi_quest_award_result_descriptor_, &packetw2c_recv_wuyi_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_wuyi_handbooks_gold_descriptor_, &packetc2w_recv_wuyi_handbooks_gold::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_wuyi_handbooks_gold_result_descriptor_, &packetw2c_recv_wuyi_handbooks_gold_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_wuyi_handbooks_award_descriptor_, &packetc2w_recv_wuyi_handbooks_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_wuyi_handbooks_award_result_descriptor_, &packetw2c_recv_wuyi_handbooks_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_wuyi_lottery_descriptor_, &packetc2w_wuyi_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_wuyi_lottery_result_descriptor_, &packetw2c_wuyi_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    pointRewardInfos_descriptor_, &pointRewardInfos::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    pointInfos_descriptor_, &pointInfos::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_room_quest_info_descriptor_, &packetw2c_syn_room_quest_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_room_quest_descriptor_, &packetc2w_get_room_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_room_quest_result_descriptor_, &packetw2c_get_room_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_room_quest_award_descriptor_, &packetc2w_recv_room_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_room_quest_award_result_descriptor_, &packetw2c_recv_room_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_room_quest_point_award_descriptor_, &packetc2w_recv_room_quest_point_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_room_quest_point_award_result_descriptor_, &packetw2c_recv_room_quest_point_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_catch_fish_info_descriptor_, &packetw2c_syn_catch_fish_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    catchFishHistory_descriptor_, &catchFishHistory::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    catchFishInfo_descriptor_, &catchFishInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_catch_fish_descriptor_, &packetc2w_catch_fish::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_catch_fish_result_descriptor_, &packetw2c_catch_fish_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_catch_fish_history_descriptor_, &packetc2w_catch_fish_history::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_catch_fish_history_result_descriptor_, &packetw2c_catch_fish_history_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_duanwu_vacation_info_descriptor_, &packetw2c_syn_duanwu_vacation_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_duanwu_vacation_quest_descriptor_, &packetc2w_get_duanwu_vacation_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_duanwu_vacation_quest_result_descriptor_, &packetw2c_get_duanwu_vacation_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_duanwu_login_reward_descriptor_, &packetc2w_recv_duanwu_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_duanwu_login_reward_result_descriptor_, &packetw2c_recv_duanwu_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_duanwu_quest_award_descriptor_, &packetc2w_recv_duanwu_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_duanwu_quest_award_result_descriptor_, &packetw2c_recv_duanwu_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_duanwu_handbooks_gold_descriptor_, &packetc2w_recv_duanwu_handbooks_gold::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_duanwu_handbooks_gold_result_descriptor_, &packetw2c_recv_duanwu_handbooks_gold_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_duanwu_handbooks_award_descriptor_, &packetc2w_recv_duanwu_handbooks_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_duanwu_handbooks_award_result_descriptor_, &packetw2c_recv_duanwu_handbooks_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_duanwu_lottery_descriptor_, &packetc2w_duanwu_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_duanwu_lottery_result_descriptor_, &packetw2c_duanwu_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_summer_vacation_info_descriptor_, &packetw2c_syn_summer_vacation_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_summer_quest_descriptor_, &packetc2w_get_summer_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_summer_quest_result_descriptor_, &packetw2c_get_summer_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_summer_login_reward_descriptor_, &packetc2w_recv_summer_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_summer_login_reward_result_descriptor_, &packetw2c_recv_summer_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_summer_quest_award_descriptor_, &packetc2w_recv_summer_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_summer_quest_award_result_descriptor_, &packetw2c_recv_summer_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_summer_handbooks_gold_descriptor_, &packetc2w_recv_summer_handbooks_gold::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_summer_handbooks_gold_result_descriptor_, &packetw2c_recv_summer_handbooks_gold_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_summer_handbooks_award_descriptor_, &packetc2w_recv_summer_handbooks_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_summer_handbooks_award_result_descriptor_, &packetw2c_recv_summer_handbooks_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_lottery_descriptor_, &packetc2w_summer_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_lottery_result_descriptor_, &packetw2c_summer_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    onr_history_info_descriptor_, &onr_history_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_one_night_rich_info_descriptor_, &packetw2c_syn_one_night_rich_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_one_night_rich_award_descriptor_, &packetc2w_recv_one_night_rich_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_one_night_rich_result_descriptor_, &packetw2c_recv_one_night_rich_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_onr_historyList_descriptor_, &packetc2w_recv_onr_historyList::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_onr_historyList_result_descriptor_, &packetw2c_recv_onr_historyList_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_fortune_star_info_descriptor_, &packetw2c_syn_fortune_star_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_fortune_star_quest_descriptor_, &packetc2w_get_fortune_star_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_fortune_star_quest_result_descriptor_, &packetw2c_get_fortune_star_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_fortune_star_quest_award_descriptor_, &packetc2w_recv_fortune_star_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_fortune_star_quest_award_result_descriptor_, &packetw2c_recv_fortune_star_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_fortune_star_award_descriptor_, &packetc2w_recv_fortune_star_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_fortune_star_award_result_descriptor_, &packetw2c_recv_fortune_star_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    activity_rank_descriptor_, &activity_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    personal_tailor_lottery_history_descriptor_, &personal_tailor_lottery_history::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_personal_tailor_info_descriptor_, &packetw2c_syn_personal_tailor_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_personal_tailor_rank_descriptor_, &packetc2w_get_personal_tailor_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_personal_tailor_rank_result_descriptor_, &packetw2c_get_personal_tailor_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_personal_tailor_lottry_history_descriptor_, &packetc2w_get_personal_tailor_lottry_history::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_personal_tailor_lottry_history_result_descriptor_, &packetw2c_get_personal_tailor_lottry_history_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_personal_tailor_lottery_descriptor_, &packetc2w_personal_tailor_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_personal_tailor_lottery_result_descriptor_, &packetw2c_personal_tailor_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_personal_tailor_exchange_descriptor_, &packetc2w_personal_tailor_exchange::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_personal_tailor_exchange_result_descriptor_, &packetw2c_personal_tailor_exchange_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_time_limit_purchase_info_descriptor_, &packetw2c_syn_time_limit_purchase_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_time_limit_purchase_lottery_descriptor_, &packetc2w_time_limit_purchase_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_time_limit_purchase_lottery_result_descriptor_, &packetw2c_time_limit_purchase_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_lucky_bag_info_descriptor_, &packetw2c_syn_lucky_bag_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_vip_limit_purchase_info_descriptor_, &packetw2c_syn_vip_limit_purchase_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_turret_lottery_info_descriptor_, &packetw2c_syn_turret_lottery_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_turret_lottery_descriptor_, &packetc2w_turret_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_turret_lottery_result_descriptor_, &packetw2c_turret_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_smashing_eggs_info_descriptor_, &packetw2c_syn_smashing_eggs_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_smashing_eggs_info_descriptor_, &packetc2w_get_smashing_eggs_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_smashing_eggs_descriptor_, &packetc2w_smashing_eggs::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_smashing_eggs_result_descriptor_, &packetw2c_smashing_eggs_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_smashing_eggs_rank_descriptor_, &packetc2w_get_smashing_eggs_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_smashing_eggs_rank_result_descriptor_, &packetw2c_get_smashing_eggs_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_rich_lottery_info_descriptor_, &packetw2c_syn_rich_lottery_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_rich_lottery_descriptor_, &packetc2w_rich_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_rich_lottery_result_descriptor_, &packetw2c_rich_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_summer_revels_info_descriptor_, &packetw2c_syn_summer_revels_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_summer_revels_rank_descriptor_, &packetc2w_get_summer_revels_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_summer_revels_rank_result_descriptor_, &packetw2c_get_summer_revels_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_revels_lottery_descriptor_, &packetc2w_summer_revels_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_revels_lottery_result_descriptor_, &packetw2c_summer_revels_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    attackInfo_descriptor_, &attackInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    demonTowerInfo_descriptor_, &demonTowerInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    weaponInfo_descriptor_, &weaponInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_kill_demons_info_descriptor_, &packetw2c_syn_kill_demons_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_kill_demons_quest_award_descriptor_, &packetc2w_recv_kill_demons_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_kill_demons_quest_award_result_descriptor_, &packetw2c_recv_kill_demons_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_trial_score_award_descriptor_, &packetc2w_recv_trial_score_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_trial_score_award_result_descriptor_, &packetw2c_recv_trial_score_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_star_award_descriptor_, &packetc2w_recv_star_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_star_award_result_descriptor_, &packetw2c_recv_star_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_attack_demon_descriptor_, &packetc2w_attack_demon::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_attack_demon_result_descriptor_, &packetw2c_attack_demon_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_kill_demons_rank_descriptor_, &packetc2w_get_kill_demons_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_kill_demons_rank_result_descriptor_, &packetw2c_get_kill_demons_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_kill_demons_smelt_descriptor_, &packetc2w_kill_demons_smelt::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_kill_demons_smelt_result_descriptor_, &packetw2c_kill_demons_smelt_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_sword_energy_award_descriptor_, &packetc2w_recv_sword_energy_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_sword_energy_award_result_descriptor_, &packetw2c_recv_sword_energy_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_kill_demons_task_descriptor_, &packetc2w_kill_demons_task::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_kill_demons_task_result_descriptor_, &packetw2c_kill_demons_task_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_2020_national_info_descriptor_, &packetw2c_syn_2020_national_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_2020_national_quest_descriptor_, &packetc2w_get_2020_national_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_2020_national_quest_result_descriptor_, &packetw2c_get_2020_national_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_2020_national_login_reward_descriptor_, &packetc2w_recv_2020_national_login_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_2020_national_login_reward_result_descriptor_, &packetw2c_recv_2020_national_login_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_2020_national_quest_award_descriptor_, &packetc2w_recv_2020_national_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_2020_national_quest_award_result_descriptor_, &packetw2c_recv_2020_national_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_2020_national_handbooks_gold_descriptor_, &packetc2w_recv_2020_national_handbooks_gold::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_2020_national_handbooks_gold_result_descriptor_, &packetw2c_recv_2020_national_handbooks_gold_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_2020_national_handbooks_award_descriptor_, &packetc2w_recv_2020_national_handbooks_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_2020_national_handbooks_award_result_descriptor_, &packetw2c_recv_2020_national_handbooks_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_2020_national_lottery_descriptor_, &packetc2w_2020_national_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_2020_national_lottery_result_descriptor_, &packetw2c_2020_national_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_personal_tailor_new_info_descriptor_, &packetw2c_syn_personal_tailor_new_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_change_personal_tailor_items_descriptor_, &packetc2w_change_personal_tailor_items::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_change_personal_tailor_items_result_descriptor_, &packetw2c_change_personal_tailor_items_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_super_value_gift_activity_info_descriptor_, &packetw2c_syn_super_value_gift_activity_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_double_eleven_info_descriptor_, &packetw2c_syn_double_eleven_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_double_eleven_quest_descriptor_, &packetc2w_get_double_eleven_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_double_eleven_quest_result_descriptor_, &packetw2c_get_double_eleven_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_double_eleven_gift_reflush_descriptor_, &packetw2c_syn_double_eleven_gift_reflush::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_double_eleven_rank_descriptor_, &packetc2w_get_double_eleven_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_double_eleven_rank_result_descriptor_, &packetw2c_get_double_eleven_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_double_eleven_lottery_descriptor_, &packetc2w_double_eleven_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_double_eleven_lottery_result_descriptor_, &packetw2c_double_eleven_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_receive_double_eleven_recharge_reward_descriptor_, &packetc2w_receive_double_eleven_recharge_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_receive_double_eleven_recharge_reward_result_descriptor_, &packetw2c_receive_double_eleven_recharge_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_syn_double_eleven_diamond_gift_count_descriptor_, &packetc2w_syn_double_eleven_diamond_gift_count::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_, &packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_double_eleven_quest_award_descriptor_, &packetc2w_recv_double_eleven_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_double_eleven_quest_award_result_descriptor_, &packetw2c_recv_double_eleven_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_double_eleven_buy_lottery_ticket_descriptor_, &packetc2w_double_eleven_buy_lottery_ticket::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_, &packetw2c_double_eleven_buy_lottery_ticket_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_wing_experience_info_descriptor_, &packetw2c_syn_wing_experience_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_wing_experience_receive_wing_descriptor_, &packetc2w_wing_experience_receive_wing::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_wing_experience_receive_wing_result_descriptor_, &packetw2c_wing_experience_receive_wing_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    exchangeInfo_descriptor_, &exchangeInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_kingcraft_info_descriptor_, &packetw2c_syn_kingcraft_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_kingcraft_rank_descriptor_, &packetc2w_get_kingcraft_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_kingcraft_rank_result_descriptor_, &packetw2c_get_kingcraft_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_kingcraft_lottery_descriptor_, &packetc2w_kingcraft_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_kingcraft_lottery_result_descriptor_, &packetw2c_kingcraft_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_receive_kingcraft_recharge_reward_descriptor_, &packetc2w_receive_kingcraft_recharge_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_receive_kingcraft_recharge_reward_result_descriptor_, &packetw2c_receive_kingcraft_recharge_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_receive_kingcraft_exchange_descriptor_, &packetc2w_receive_kingcraft_exchange::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_receive_kingcraft_exchange_result_descriptor_, &packetw2c_receive_kingcraft_exchange_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_kingcraft_sign_descriptor_, &packetc2w_kingcraft_sign::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_kingcraft_sign_result_descriptor_, &packetw2c_kingcraft_sign_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_double_egg_activity_info_descriptor_, &packetw2c_syn_double_egg_activity_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    touchingFishRecInfo_descriptor_, &touchingFishRecInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_touching_fish_activity_info_descriptor_, &packetw2c_syn_touching_fish_activity_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_touching_fish_exp_descriptor_, &packetw2c_syn_touching_fish_exp::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_touching_fish_level_reward_descriptor_, &packetc2w_recv_touching_fish_level_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_touching_fish_level_reward_result_descriptor_, &packetw2c_recv_touching_fish_level_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_touching_fish_task_descriptor_, &packetc2w_recv_touching_fish_task::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_touching_fish_task_result_descriptor_, &packetw2c_recv_touching_fish_task_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_touching_fish_quest_award_descriptor_, &packetc2w_recv_touching_fish_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_touching_fish_quest_award_result_descriptor_, &packetw2c_recv_touching_fish_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_touching_fish_week_box_descriptor_, &packetc2w_recv_touching_fish_week_box::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_touching_fish_week_box_result_descriptor_, &packetw2c_recv_touching_fish_week_box_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_flush_touching_fish_quest_descriptor_, &packetc2w_flush_touching_fish_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_flush_touching_fish_quest_result_descriptor_, &packetw2c_flush_touching_fish_quest_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_touching_fish_rank_descriptor_, &packetc2w_get_touching_fish_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_touching_fish_rank_result_descriptor_, &packetw2c_get_touching_fish_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_fishing_celebration_info_descriptor_, &packetw2c_syn_fishing_celebration_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_fishing_celebration_lottery_descriptor_, &packetc2w_fishing_celebration_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_fishing_celebration_lottery_result_descriptor_, &packetw2c_fishing_celebration_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_fishing_celebration_activate_descriptor_, &packetc2w_fishing_celebration_activate::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_fishing_celebration_activate_result_descriptor_, &packetw2c_fishing_celebration_activate_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_fishing_celebration_exchange_descriptor_, &packetc2w_fishing_celebration_exchange::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_fishing_celebration_exchange_result_descriptor_, &packetw2c_fishing_celebration_exchange_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_, &packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_fishing_celebration_gift_lottery_descriptor_, &packetc2w_fishing_celebration_gift_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_fishing_celebration_gift_lottery_result_descriptor_, &packetw2c_fishing_celebration_gift_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_fishing_celebration_gift_lottery_reward_descriptor_, &packetc2w_fishing_celebration_gift_lottery_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_, &packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_fishing_celebration_buy_gift_descriptor_, &packetc2w_fishing_celebration_buy_gift::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_fishing_celebration_buy_gift_result_descriptor_, &packetw2c_fishing_celebration_buy_gift_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_fishing_celebration_rank_descriptor_, &packetc2w_get_fishing_celebration_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_fishing_celebration_rank_result_descriptor_, &packetw2c_get_fishing_celebration_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    prizeKey_descriptor_, &prizeKey::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_feed_back_info_descriptor_, &packetw2c_syn_feed_back_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_feed_back_vip_reward_descriptor_, &packetc2w_get_feed_back_vip_reward::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_feed_back_vip_reward_result_descriptor_, &packetw2c_get_feed_back_vip_reward_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_feed_back_keylist_descriptor_, &packetc2w_get_feed_back_keylist::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_feed_back_keylist_result_descriptor_, &packetw2c_get_feed_back_keylist_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_chip_treasure_info_descriptor_, &packetw2c_syn_chip_treasure_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_chip_treasure_lottery_descriptor_, &packetc2w_chip_treasure_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_chip_treasure_lottery_result_descriptor_, &packetw2c_chip_treasure_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    sendGoldHistory_descriptor_, &sendGoldHistory::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    sendGoldInfo_descriptor_, &sendGoldInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_summer_plan_info_descriptor_, &packetw2c_syn_summer_plan_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_get_redpacket_task_descriptor_, &packetc2w_summer_plan_get_redpacket_task::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_get_redpacket_task_result_descriptor_, &packetw2c_summer_plan_get_redpacket_task_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_sendgold_info_descriptor_, &packetc2w_summer_plan_sendgold_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_sendgold_info_result_descriptor_, &packetw2c_summer_plan_sendgold_info_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_active_descriptor_, &packetc2w_summer_plan_active::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_active_result_descriptor_, &packetw2c_summer_plan_active_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_recv_redpacket_descriptor_, &packetc2w_summer_plan_recv_redpacket::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_recv_redpacket_result_descriptor_, &packetw2c_summer_plan_recv_redpacket_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_recv_recharged_descriptor_, &packetc2w_summer_plan_recv_recharged::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_recv_recharged_result_descriptor_, &packetw2c_summer_plan_recv_recharged_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_buy_sendgold_gift_descriptor_, &packetc2w_summer_plan_buy_sendgold_gift::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_, &packetw2c_summer_plan_buy_sendgold_gift_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_launch_descriptor_, &packetc2w_summer_plan_launch::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_launch_result_descriptor_, &packetw2c_summer_plan_launch_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_summer_plan_touch_gold_descriptor_, &packetc2w_summer_plan_touch_gold::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_summer_plan_touch_gold_result_descriptor_, &packetw2c_summer_plan_touch_gold_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_syn_happy_summer_info_descriptor_, &packetw2c_syn_happy_summer_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_happy_summer_rank_descriptor_, &packetc2w_get_happy_summer_rank::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_happy_summer_rank_result_descriptor_, &packetw2c_get_happy_summer_rank_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_happy_summer_open_box_descriptor_, &packetc2w_happy_summer_open_box::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_happy_summer_open_box_result_descriptor_, &packetw2c_happy_summer_open_box_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_happy_summer_lottery_descriptor_, &packetc2w_happy_summer_lottery::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_happy_summer_lottery_result_descriptor_, &packetw2c_happy_summer_lottery_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_happy_summer_quest_award_descriptor_, &packetc2w_recv_happy_summer_quest_award::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_happy_summer_quest_award_result_descriptor_, &packetw2c_recv_happy_summer_quest_award_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_happy_summer_quest_descriptor_, &packetc2w_get_happy_summer_quest::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_happy_summer_quest_result_descriptor_, &packetw2c_get_happy_summer_quest_result::default_instance());
}

}  // namespace

void protobuf_ShutdownFile_client2world_5factivity2_2eproto() {
  delete packetw2c_activity_quest_notify::default_instance_;
  delete packetw2c_activity_quest_notify_reflection_;
  delete packetw2c_syn_new_year_info::default_instance_;
  delete packetw2c_syn_new_year_info_reflection_;
  delete packetc2w_recv_new_year_login_reward::default_instance_;
  delete packetc2w_recv_new_year_login_reward_reflection_;
  delete packetw2c_recv_new_year_login_reward_result::default_instance_;
  delete packetw2c_recv_new_year_login_reward_result_reflection_;
  delete packetw2c_syn_national_day_info::default_instance_;
  delete packetw2c_syn_national_day_info_reflection_;
  delete packetw2c_national_day_quest_notify::default_instance_;
  delete packetw2c_national_day_quest_notify_reflection_;
  delete packetc2w_recv_national_day_login_reward::default_instance_;
  delete packetc2w_recv_national_day_login_reward_reflection_;
  delete packetw2c_recv_national_day_login_reward_result::default_instance_;
  delete packetw2c_recv_national_day_login_reward_result_reflection_;
  delete packetc2w_recv_national_day_quest_award::default_instance_;
  delete packetc2w_recv_national_day_quest_award_reflection_;
  delete packetw2c_recv_national_day_quest_award_result::default_instance_;
  delete packetw2c_recv_national_day_quest_award_result_reflection_;
  delete packetc2w_national_day_choose_task::default_instance_;
  delete packetc2w_national_day_choose_task_reflection_;
  delete packetw2c_national_day_choose_task_result::default_instance_;
  delete packetw2c_national_day_choose_task_result_reflection_;
  delete packetw2c_syn_spring_day_info::default_instance_;
  delete packetw2c_syn_spring_day_info_reflection_;
  delete packetc2w_recv_spring_day_login_reward::default_instance_;
  delete packetc2w_recv_spring_day_login_reward_reflection_;
  delete packetw2c_recv_spring_day_login_reward_result::default_instance_;
  delete packetw2c_recv_spring_day_login_reward_result_reflection_;
  delete packetw2c_syn_hunt_fish_info::default_instance_;
  delete packetw2c_syn_hunt_fish_info_reflection_;
  delete packetc2w_get_hunt_fish_quest::default_instance_;
  delete packetc2w_get_hunt_fish_quest_reflection_;
  delete packetw2c_get_hunt_fish_quest_result::default_instance_;
  delete packetw2c_get_hunt_fish_quest_result_reflection_;
  delete packetc2w_recv_hunt_fish_quest_award::default_instance_;
  delete packetc2w_recv_hunt_fish_quest_award_reflection_;
  delete packetw2c_recv_hunt_fish_quest_award_result::default_instance_;
  delete packetw2c_recv_hunt_fish_quest_award_result_reflection_;
  delete packetw2c_syn_recharge_activity_info::default_instance_;
  delete packetw2c_syn_recharge_activity_info_reflection_;
  delete packetc2w_recharge_activity_rebate::default_instance_;
  delete packetc2w_recharge_activity_rebate_reflection_;
  delete packetw2c_recharge_activity_rebate_result::default_instance_;
  delete packetw2c_recharge_activity_rebate_result_reflection_;
  delete packetw2c_syn_wuyi_vacation_info::default_instance_;
  delete packetw2c_syn_wuyi_vacation_info_reflection_;
  delete packetc2w_recv_wuyi_login_reward::default_instance_;
  delete packetc2w_recv_wuyi_login_reward_reflection_;
  delete packetw2c_recv_wuyi_login_reward_result::default_instance_;
  delete packetw2c_recv_wuyi_login_reward_result_reflection_;
  delete packetc2w_recv_wuyi_quest_award::default_instance_;
  delete packetc2w_recv_wuyi_quest_award_reflection_;
  delete packetw2c_recv_wuyi_quest_award_result::default_instance_;
  delete packetw2c_recv_wuyi_quest_award_result_reflection_;
  delete packetc2w_recv_wuyi_handbooks_gold::default_instance_;
  delete packetc2w_recv_wuyi_handbooks_gold_reflection_;
  delete packetw2c_recv_wuyi_handbooks_gold_result::default_instance_;
  delete packetw2c_recv_wuyi_handbooks_gold_result_reflection_;
  delete packetc2w_recv_wuyi_handbooks_award::default_instance_;
  delete packetc2w_recv_wuyi_handbooks_award_reflection_;
  delete packetw2c_recv_wuyi_handbooks_award_result::default_instance_;
  delete packetw2c_recv_wuyi_handbooks_award_result_reflection_;
  delete packetc2w_wuyi_lottery::default_instance_;
  delete packetc2w_wuyi_lottery_reflection_;
  delete packetw2c_wuyi_lottery_result::default_instance_;
  delete packetw2c_wuyi_lottery_result_reflection_;
  delete pointRewardInfos::default_instance_;
  delete pointRewardInfos_reflection_;
  delete pointInfos::default_instance_;
  delete pointInfos_reflection_;
  delete packetw2c_syn_room_quest_info::default_instance_;
  delete packetw2c_syn_room_quest_info_reflection_;
  delete packetc2w_get_room_quest::default_instance_;
  delete packetc2w_get_room_quest_reflection_;
  delete packetw2c_get_room_quest_result::default_instance_;
  delete packetw2c_get_room_quest_result_reflection_;
  delete packetc2w_recv_room_quest_award::default_instance_;
  delete packetc2w_recv_room_quest_award_reflection_;
  delete packetw2c_recv_room_quest_award_result::default_instance_;
  delete packetw2c_recv_room_quest_award_result_reflection_;
  delete packetc2w_recv_room_quest_point_award::default_instance_;
  delete packetc2w_recv_room_quest_point_award_reflection_;
  delete packetw2c_recv_room_quest_point_award_result::default_instance_;
  delete packetw2c_recv_room_quest_point_award_result_reflection_;
  delete packetw2c_syn_catch_fish_info::default_instance_;
  delete packetw2c_syn_catch_fish_info_reflection_;
  delete catchFishHistory::default_instance_;
  delete catchFishHistory_reflection_;
  delete catchFishInfo::default_instance_;
  delete catchFishInfo_reflection_;
  delete packetc2w_catch_fish::default_instance_;
  delete packetc2w_catch_fish_reflection_;
  delete packetw2c_catch_fish_result::default_instance_;
  delete packetw2c_catch_fish_result_reflection_;
  delete packetc2w_catch_fish_history::default_instance_;
  delete packetc2w_catch_fish_history_reflection_;
  delete packetw2c_catch_fish_history_result::default_instance_;
  delete packetw2c_catch_fish_history_result_reflection_;
  delete packetw2c_syn_duanwu_vacation_info::default_instance_;
  delete packetw2c_syn_duanwu_vacation_info_reflection_;
  delete packetc2w_get_duanwu_vacation_quest::default_instance_;
  delete packetc2w_get_duanwu_vacation_quest_reflection_;
  delete packetw2c_get_duanwu_vacation_quest_result::default_instance_;
  delete packetw2c_get_duanwu_vacation_quest_result_reflection_;
  delete packetc2w_recv_duanwu_login_reward::default_instance_;
  delete packetc2w_recv_duanwu_login_reward_reflection_;
  delete packetw2c_recv_duanwu_login_reward_result::default_instance_;
  delete packetw2c_recv_duanwu_login_reward_result_reflection_;
  delete packetc2w_recv_duanwu_quest_award::default_instance_;
  delete packetc2w_recv_duanwu_quest_award_reflection_;
  delete packetw2c_recv_duanwu_quest_award_result::default_instance_;
  delete packetw2c_recv_duanwu_quest_award_result_reflection_;
  delete packetc2w_recv_duanwu_handbooks_gold::default_instance_;
  delete packetc2w_recv_duanwu_handbooks_gold_reflection_;
  delete packetw2c_recv_duanwu_handbooks_gold_result::default_instance_;
  delete packetw2c_recv_duanwu_handbooks_gold_result_reflection_;
  delete packetc2w_recv_duanwu_handbooks_award::default_instance_;
  delete packetc2w_recv_duanwu_handbooks_award_reflection_;
  delete packetw2c_recv_duanwu_handbooks_award_result::default_instance_;
  delete packetw2c_recv_duanwu_handbooks_award_result_reflection_;
  delete packetc2w_duanwu_lottery::default_instance_;
  delete packetc2w_duanwu_lottery_reflection_;
  delete packetw2c_duanwu_lottery_result::default_instance_;
  delete packetw2c_duanwu_lottery_result_reflection_;
  delete packetw2c_syn_summer_vacation_info::default_instance_;
  delete packetw2c_syn_summer_vacation_info_reflection_;
  delete packetc2w_get_summer_quest::default_instance_;
  delete packetc2w_get_summer_quest_reflection_;
  delete packetw2c_get_summer_quest_result::default_instance_;
  delete packetw2c_get_summer_quest_result_reflection_;
  delete packetc2w_recv_summer_login_reward::default_instance_;
  delete packetc2w_recv_summer_login_reward_reflection_;
  delete packetw2c_recv_summer_login_reward_result::default_instance_;
  delete packetw2c_recv_summer_login_reward_result_reflection_;
  delete packetc2w_recv_summer_quest_award::default_instance_;
  delete packetc2w_recv_summer_quest_award_reflection_;
  delete packetw2c_recv_summer_quest_award_result::default_instance_;
  delete packetw2c_recv_summer_quest_award_result_reflection_;
  delete packetc2w_recv_summer_handbooks_gold::default_instance_;
  delete packetc2w_recv_summer_handbooks_gold_reflection_;
  delete packetw2c_recv_summer_handbooks_gold_result::default_instance_;
  delete packetw2c_recv_summer_handbooks_gold_result_reflection_;
  delete packetc2w_recv_summer_handbooks_award::default_instance_;
  delete packetc2w_recv_summer_handbooks_award_reflection_;
  delete packetw2c_recv_summer_handbooks_award_result::default_instance_;
  delete packetw2c_recv_summer_handbooks_award_result_reflection_;
  delete packetc2w_summer_lottery::default_instance_;
  delete packetc2w_summer_lottery_reflection_;
  delete packetw2c_summer_lottery_result::default_instance_;
  delete packetw2c_summer_lottery_result_reflection_;
  delete onr_history_info::default_instance_;
  delete onr_history_info_reflection_;
  delete packetw2c_syn_one_night_rich_info::default_instance_;
  delete packetw2c_syn_one_night_rich_info_reflection_;
  delete packetc2w_recv_one_night_rich_award::default_instance_;
  delete packetc2w_recv_one_night_rich_award_reflection_;
  delete packetw2c_recv_one_night_rich_result::default_instance_;
  delete packetw2c_recv_one_night_rich_result_reflection_;
  delete packetc2w_recv_onr_historyList::default_instance_;
  delete packetc2w_recv_onr_historyList_reflection_;
  delete packetw2c_recv_onr_historyList_result::default_instance_;
  delete packetw2c_recv_onr_historyList_result_reflection_;
  delete packetw2c_syn_fortune_star_info::default_instance_;
  delete packetw2c_syn_fortune_star_info_reflection_;
  delete packetc2w_get_fortune_star_quest::default_instance_;
  delete packetc2w_get_fortune_star_quest_reflection_;
  delete packetw2c_get_fortune_star_quest_result::default_instance_;
  delete packetw2c_get_fortune_star_quest_result_reflection_;
  delete packetc2w_recv_fortune_star_quest_award::default_instance_;
  delete packetc2w_recv_fortune_star_quest_award_reflection_;
  delete packetw2c_recv_fortune_star_quest_award_result::default_instance_;
  delete packetw2c_recv_fortune_star_quest_award_result_reflection_;
  delete packetc2w_recv_fortune_star_award::default_instance_;
  delete packetc2w_recv_fortune_star_award_reflection_;
  delete packetw2c_recv_fortune_star_award_result::default_instance_;
  delete packetw2c_recv_fortune_star_award_result_reflection_;
  delete activity_rank::default_instance_;
  delete activity_rank_reflection_;
  delete personal_tailor_lottery_history::default_instance_;
  delete personal_tailor_lottery_history_reflection_;
  delete packetw2c_syn_personal_tailor_info::default_instance_;
  delete packetw2c_syn_personal_tailor_info_reflection_;
  delete packetc2w_get_personal_tailor_rank::default_instance_;
  delete packetc2w_get_personal_tailor_rank_reflection_;
  delete packetw2c_get_personal_tailor_rank_result::default_instance_;
  delete packetw2c_get_personal_tailor_rank_result_reflection_;
  delete packetc2w_get_personal_tailor_lottry_history::default_instance_;
  delete packetc2w_get_personal_tailor_lottry_history_reflection_;
  delete packetw2c_get_personal_tailor_lottry_history_result::default_instance_;
  delete packetw2c_get_personal_tailor_lottry_history_result_reflection_;
  delete packetc2w_personal_tailor_lottery::default_instance_;
  delete packetc2w_personal_tailor_lottery_reflection_;
  delete packetw2c_personal_tailor_lottery_result::default_instance_;
  delete packetw2c_personal_tailor_lottery_result_reflection_;
  delete packetc2w_personal_tailor_exchange::default_instance_;
  delete packetc2w_personal_tailor_exchange_reflection_;
  delete packetw2c_personal_tailor_exchange_result::default_instance_;
  delete packetw2c_personal_tailor_exchange_result_reflection_;
  delete packetw2c_syn_time_limit_purchase_info::default_instance_;
  delete packetw2c_syn_time_limit_purchase_info_reflection_;
  delete packetc2w_time_limit_purchase_lottery::default_instance_;
  delete packetc2w_time_limit_purchase_lottery_reflection_;
  delete packetw2c_time_limit_purchase_lottery_result::default_instance_;
  delete packetw2c_time_limit_purchase_lottery_result_reflection_;
  delete packetw2c_syn_lucky_bag_info::default_instance_;
  delete packetw2c_syn_lucky_bag_info_reflection_;
  delete packetw2c_syn_vip_limit_purchase_info::default_instance_;
  delete packetw2c_syn_vip_limit_purchase_info_reflection_;
  delete packetw2c_syn_turret_lottery_info::default_instance_;
  delete packetw2c_syn_turret_lottery_info_reflection_;
  delete packetc2w_turret_lottery::default_instance_;
  delete packetc2w_turret_lottery_reflection_;
  delete packetw2c_turret_lottery_result::default_instance_;
  delete packetw2c_turret_lottery_result_reflection_;
  delete packetw2c_syn_smashing_eggs_info::default_instance_;
  delete packetw2c_syn_smashing_eggs_info_reflection_;
  delete packetc2w_get_smashing_eggs_info::default_instance_;
  delete packetc2w_get_smashing_eggs_info_reflection_;
  delete packetc2w_smashing_eggs::default_instance_;
  delete packetc2w_smashing_eggs_reflection_;
  delete packetw2c_smashing_eggs_result::default_instance_;
  delete packetw2c_smashing_eggs_result_reflection_;
  delete packetc2w_get_smashing_eggs_rank::default_instance_;
  delete packetc2w_get_smashing_eggs_rank_reflection_;
  delete packetw2c_get_smashing_eggs_rank_result::default_instance_;
  delete packetw2c_get_smashing_eggs_rank_result_reflection_;
  delete packetw2c_syn_rich_lottery_info::default_instance_;
  delete packetw2c_syn_rich_lottery_info_reflection_;
  delete packetc2w_rich_lottery::default_instance_;
  delete packetc2w_rich_lottery_reflection_;
  delete packetw2c_rich_lottery_result::default_instance_;
  delete packetw2c_rich_lottery_result_reflection_;
  delete packetw2c_syn_summer_revels_info::default_instance_;
  delete packetw2c_syn_summer_revels_info_reflection_;
  delete packetc2w_get_summer_revels_rank::default_instance_;
  delete packetc2w_get_summer_revels_rank_reflection_;
  delete packetw2c_get_summer_revels_rank_result::default_instance_;
  delete packetw2c_get_summer_revels_rank_result_reflection_;
  delete packetc2w_summer_revels_lottery::default_instance_;
  delete packetc2w_summer_revels_lottery_reflection_;
  delete packetw2c_summer_revels_lottery_result::default_instance_;
  delete packetw2c_summer_revels_lottery_result_reflection_;
  delete attackInfo::default_instance_;
  delete attackInfo_reflection_;
  delete demonTowerInfo::default_instance_;
  delete demonTowerInfo_reflection_;
  delete weaponInfo::default_instance_;
  delete weaponInfo_reflection_;
  delete packetw2c_syn_kill_demons_info::default_instance_;
  delete packetw2c_syn_kill_demons_info_reflection_;
  delete packetc2w_recv_kill_demons_quest_award::default_instance_;
  delete packetc2w_recv_kill_demons_quest_award_reflection_;
  delete packetw2c_recv_kill_demons_quest_award_result::default_instance_;
  delete packetw2c_recv_kill_demons_quest_award_result_reflection_;
  delete packetc2w_recv_trial_score_award::default_instance_;
  delete packetc2w_recv_trial_score_award_reflection_;
  delete packetw2c_recv_trial_score_award_result::default_instance_;
  delete packetw2c_recv_trial_score_award_result_reflection_;
  delete packetc2w_recv_star_award::default_instance_;
  delete packetc2w_recv_star_award_reflection_;
  delete packetw2c_recv_star_award_result::default_instance_;
  delete packetw2c_recv_star_award_result_reflection_;
  delete packetc2w_attack_demon::default_instance_;
  delete packetc2w_attack_demon_reflection_;
  delete packetw2c_attack_demon_result::default_instance_;
  delete packetw2c_attack_demon_result_reflection_;
  delete packetc2w_get_kill_demons_rank::default_instance_;
  delete packetc2w_get_kill_demons_rank_reflection_;
  delete packetw2c_get_kill_demons_rank_result::default_instance_;
  delete packetw2c_get_kill_demons_rank_result_reflection_;
  delete packetc2w_kill_demons_smelt::default_instance_;
  delete packetc2w_kill_demons_smelt_reflection_;
  delete packetw2c_kill_demons_smelt_result::default_instance_;
  delete packetw2c_kill_demons_smelt_result_reflection_;
  delete packetc2w_recv_sword_energy_award::default_instance_;
  delete packetc2w_recv_sword_energy_award_reflection_;
  delete packetw2c_recv_sword_energy_award_result::default_instance_;
  delete packetw2c_recv_sword_energy_award_result_reflection_;
  delete packetc2w_kill_demons_task::default_instance_;
  delete packetc2w_kill_demons_task_reflection_;
  delete packetw2c_kill_demons_task_result::default_instance_;
  delete packetw2c_kill_demons_task_result_reflection_;
  delete packetw2c_syn_2020_national_info::default_instance_;
  delete packetw2c_syn_2020_national_info_reflection_;
  delete packetc2w_get_2020_national_quest::default_instance_;
  delete packetc2w_get_2020_national_quest_reflection_;
  delete packetw2c_get_2020_national_quest_result::default_instance_;
  delete packetw2c_get_2020_national_quest_result_reflection_;
  delete packetc2w_recv_2020_national_login_reward::default_instance_;
  delete packetc2w_recv_2020_national_login_reward_reflection_;
  delete packetw2c_recv_2020_national_login_reward_result::default_instance_;
  delete packetw2c_recv_2020_national_login_reward_result_reflection_;
  delete packetc2w_recv_2020_national_quest_award::default_instance_;
  delete packetc2w_recv_2020_national_quest_award_reflection_;
  delete packetw2c_recv_2020_national_quest_award_result::default_instance_;
  delete packetw2c_recv_2020_national_quest_award_result_reflection_;
  delete packetc2w_recv_2020_national_handbooks_gold::default_instance_;
  delete packetc2w_recv_2020_national_handbooks_gold_reflection_;
  delete packetw2c_recv_2020_national_handbooks_gold_result::default_instance_;
  delete packetw2c_recv_2020_national_handbooks_gold_result_reflection_;
  delete packetc2w_recv_2020_national_handbooks_award::default_instance_;
  delete packetc2w_recv_2020_national_handbooks_award_reflection_;
  delete packetw2c_recv_2020_national_handbooks_award_result::default_instance_;
  delete packetw2c_recv_2020_national_handbooks_award_result_reflection_;
  delete packetc2w_2020_national_lottery::default_instance_;
  delete packetc2w_2020_national_lottery_reflection_;
  delete packetw2c_2020_national_lottery_result::default_instance_;
  delete packetw2c_2020_national_lottery_result_reflection_;
  delete packetw2c_syn_personal_tailor_new_info::default_instance_;
  delete packetw2c_syn_personal_tailor_new_info_reflection_;
  delete packetc2w_change_personal_tailor_items::default_instance_;
  delete packetc2w_change_personal_tailor_items_reflection_;
  delete packetw2c_change_personal_tailor_items_result::default_instance_;
  delete packetw2c_change_personal_tailor_items_result_reflection_;
  delete packetw2c_syn_super_value_gift_activity_info::default_instance_;
  delete packetw2c_syn_super_value_gift_activity_info_reflection_;
  delete packetw2c_syn_double_eleven_info::default_instance_;
  delete packetw2c_syn_double_eleven_info_reflection_;
  delete packetc2w_get_double_eleven_quest::default_instance_;
  delete packetc2w_get_double_eleven_quest_reflection_;
  delete packetw2c_get_double_eleven_quest_result::default_instance_;
  delete packetw2c_get_double_eleven_quest_result_reflection_;
  delete packetw2c_syn_double_eleven_gift_reflush::default_instance_;
  delete packetw2c_syn_double_eleven_gift_reflush_reflection_;
  delete packetc2w_get_double_eleven_rank::default_instance_;
  delete packetc2w_get_double_eleven_rank_reflection_;
  delete packetw2c_get_double_eleven_rank_result::default_instance_;
  delete packetw2c_get_double_eleven_rank_result_reflection_;
  delete packetc2w_double_eleven_lottery::default_instance_;
  delete packetc2w_double_eleven_lottery_reflection_;
  delete packetw2c_double_eleven_lottery_result::default_instance_;
  delete packetw2c_double_eleven_lottery_result_reflection_;
  delete packetc2w_receive_double_eleven_recharge_reward::default_instance_;
  delete packetc2w_receive_double_eleven_recharge_reward_reflection_;
  delete packetw2c_receive_double_eleven_recharge_reward_result::default_instance_;
  delete packetw2c_receive_double_eleven_recharge_reward_result_reflection_;
  delete packetc2w_syn_double_eleven_diamond_gift_count::default_instance_;
  delete packetc2w_syn_double_eleven_diamond_gift_count_reflection_;
  delete packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_;
  delete packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_;
  delete packetc2w_recv_double_eleven_quest_award::default_instance_;
  delete packetc2w_recv_double_eleven_quest_award_reflection_;
  delete packetw2c_recv_double_eleven_quest_award_result::default_instance_;
  delete packetw2c_recv_double_eleven_quest_award_result_reflection_;
  delete packetc2w_double_eleven_buy_lottery_ticket::default_instance_;
  delete packetc2w_double_eleven_buy_lottery_ticket_reflection_;
  delete packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_;
  delete packetw2c_double_eleven_buy_lottery_ticket_result_reflection_;
  delete packetw2c_syn_wing_experience_info::default_instance_;
  delete packetw2c_syn_wing_experience_info_reflection_;
  delete packetc2w_wing_experience_receive_wing::default_instance_;
  delete packetc2w_wing_experience_receive_wing_reflection_;
  delete packetw2c_wing_experience_receive_wing_result::default_instance_;
  delete packetw2c_wing_experience_receive_wing_result_reflection_;
  delete exchangeInfo::default_instance_;
  delete exchangeInfo_reflection_;
  delete packetw2c_syn_kingcraft_info::default_instance_;
  delete packetw2c_syn_kingcraft_info_reflection_;
  delete packetc2w_get_kingcraft_rank::default_instance_;
  delete packetc2w_get_kingcraft_rank_reflection_;
  delete packetw2c_get_kingcraft_rank_result::default_instance_;
  delete packetw2c_get_kingcraft_rank_result_reflection_;
  delete packetc2w_kingcraft_lottery::default_instance_;
  delete packetc2w_kingcraft_lottery_reflection_;
  delete packetw2c_kingcraft_lottery_result::default_instance_;
  delete packetw2c_kingcraft_lottery_result_reflection_;
  delete packetc2w_receive_kingcraft_recharge_reward::default_instance_;
  delete packetc2w_receive_kingcraft_recharge_reward_reflection_;
  delete packetw2c_receive_kingcraft_recharge_reward_result::default_instance_;
  delete packetw2c_receive_kingcraft_recharge_reward_result_reflection_;
  delete packetc2w_receive_kingcraft_exchange::default_instance_;
  delete packetc2w_receive_kingcraft_exchange_reflection_;
  delete packetw2c_receive_kingcraft_exchange_result::default_instance_;
  delete packetw2c_receive_kingcraft_exchange_result_reflection_;
  delete packetc2w_kingcraft_sign::default_instance_;
  delete packetc2w_kingcraft_sign_reflection_;
  delete packetw2c_kingcraft_sign_result::default_instance_;
  delete packetw2c_kingcraft_sign_result_reflection_;
  delete packetw2c_syn_double_egg_activity_info::default_instance_;
  delete packetw2c_syn_double_egg_activity_info_reflection_;
  delete touchingFishRecInfo::default_instance_;
  delete touchingFishRecInfo_reflection_;
  delete packetw2c_syn_touching_fish_activity_info::default_instance_;
  delete packetw2c_syn_touching_fish_activity_info_reflection_;
  delete packetw2c_syn_touching_fish_exp::default_instance_;
  delete packetw2c_syn_touching_fish_exp_reflection_;
  delete packetc2w_recv_touching_fish_level_reward::default_instance_;
  delete packetc2w_recv_touching_fish_level_reward_reflection_;
  delete packetw2c_recv_touching_fish_level_reward_result::default_instance_;
  delete packetw2c_recv_touching_fish_level_reward_result_reflection_;
  delete packetc2w_recv_touching_fish_task::default_instance_;
  delete packetc2w_recv_touching_fish_task_reflection_;
  delete packetw2c_recv_touching_fish_task_result::default_instance_;
  delete packetw2c_recv_touching_fish_task_result_reflection_;
  delete packetc2w_recv_touching_fish_quest_award::default_instance_;
  delete packetc2w_recv_touching_fish_quest_award_reflection_;
  delete packetw2c_recv_touching_fish_quest_award_result::default_instance_;
  delete packetw2c_recv_touching_fish_quest_award_result_reflection_;
  delete packetc2w_recv_touching_fish_week_box::default_instance_;
  delete packetc2w_recv_touching_fish_week_box_reflection_;
  delete packetw2c_recv_touching_fish_week_box_result::default_instance_;
  delete packetw2c_recv_touching_fish_week_box_result_reflection_;
  delete packetc2w_flush_touching_fish_quest::default_instance_;
  delete packetc2w_flush_touching_fish_quest_reflection_;
  delete packetw2c_flush_touching_fish_quest_result::default_instance_;
  delete packetw2c_flush_touching_fish_quest_result_reflection_;
  delete packetc2w_get_touching_fish_rank::default_instance_;
  delete packetc2w_get_touching_fish_rank_reflection_;
  delete packetw2c_get_touching_fish_rank_result::default_instance_;
  delete packetw2c_get_touching_fish_rank_result_reflection_;
  delete packetw2c_syn_fishing_celebration_info::default_instance_;
  delete packetw2c_syn_fishing_celebration_info_reflection_;
  delete packetc2w_fishing_celebration_lottery::default_instance_;
  delete packetc2w_fishing_celebration_lottery_reflection_;
  delete packetw2c_fishing_celebration_lottery_result::default_instance_;
  delete packetw2c_fishing_celebration_lottery_result_reflection_;
  delete packetc2w_fishing_celebration_activate::default_instance_;
  delete packetc2w_fishing_celebration_activate_reflection_;
  delete packetw2c_fishing_celebration_activate_result::default_instance_;
  delete packetw2c_fishing_celebration_activate_result_reflection_;
  delete packetc2w_fishing_celebration_exchange::default_instance_;
  delete packetc2w_fishing_celebration_exchange_reflection_;
  delete packetw2c_fishing_celebration_exchange_result::default_instance_;
  delete packetw2c_fishing_celebration_exchange_result_reflection_;
  delete packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_;
  delete packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_;
  delete packetc2w_fishing_celebration_gift_lottery::default_instance_;
  delete packetc2w_fishing_celebration_gift_lottery_reflection_;
  delete packetw2c_fishing_celebration_gift_lottery_result::default_instance_;
  delete packetw2c_fishing_celebration_gift_lottery_result_reflection_;
  delete packetc2w_fishing_celebration_gift_lottery_reward::default_instance_;
  delete packetc2w_fishing_celebration_gift_lottery_reward_reflection_;
  delete packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_;
  delete packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_;
  delete packetc2w_fishing_celebration_buy_gift::default_instance_;
  delete packetc2w_fishing_celebration_buy_gift_reflection_;
  delete packetw2c_fishing_celebration_buy_gift_result::default_instance_;
  delete packetw2c_fishing_celebration_buy_gift_result_reflection_;
  delete packetc2w_get_fishing_celebration_rank::default_instance_;
  delete packetc2w_get_fishing_celebration_rank_reflection_;
  delete packetw2c_get_fishing_celebration_rank_result::default_instance_;
  delete packetw2c_get_fishing_celebration_rank_result_reflection_;
  delete prizeKey::default_instance_;
  delete prizeKey_reflection_;
  delete packetw2c_syn_feed_back_info::default_instance_;
  delete packetw2c_syn_feed_back_info_reflection_;
  delete packetc2w_get_feed_back_vip_reward::default_instance_;
  delete packetc2w_get_feed_back_vip_reward_reflection_;
  delete packetw2c_get_feed_back_vip_reward_result::default_instance_;
  delete packetw2c_get_feed_back_vip_reward_result_reflection_;
  delete packetc2w_get_feed_back_keylist::default_instance_;
  delete packetc2w_get_feed_back_keylist_reflection_;
  delete packetw2c_get_feed_back_keylist_result::default_instance_;
  delete packetw2c_get_feed_back_keylist_result_reflection_;
  delete packetw2c_syn_chip_treasure_info::default_instance_;
  delete packetw2c_syn_chip_treasure_info_reflection_;
  delete packetc2w_chip_treasure_lottery::default_instance_;
  delete packetc2w_chip_treasure_lottery_reflection_;
  delete packetw2c_chip_treasure_lottery_result::default_instance_;
  delete packetw2c_chip_treasure_lottery_result_reflection_;
  delete sendGoldHistory::default_instance_;
  delete sendGoldHistory_reflection_;
  delete sendGoldInfo::default_instance_;
  delete sendGoldInfo_reflection_;
  delete packetw2c_syn_summer_plan_info::default_instance_;
  delete packetw2c_syn_summer_plan_info_reflection_;
  delete packetc2w_summer_plan_get_redpacket_task::default_instance_;
  delete packetc2w_summer_plan_get_redpacket_task_reflection_;
  delete packetw2c_summer_plan_get_redpacket_task_result::default_instance_;
  delete packetw2c_summer_plan_get_redpacket_task_result_reflection_;
  delete packetc2w_summer_plan_sendgold_info::default_instance_;
  delete packetc2w_summer_plan_sendgold_info_reflection_;
  delete packetw2c_summer_plan_sendgold_info_result::default_instance_;
  delete packetw2c_summer_plan_sendgold_info_result_reflection_;
  delete packetc2w_summer_plan_active::default_instance_;
  delete packetc2w_summer_plan_active_reflection_;
  delete packetw2c_summer_plan_active_result::default_instance_;
  delete packetw2c_summer_plan_active_result_reflection_;
  delete packetc2w_summer_plan_recv_redpacket::default_instance_;
  delete packetc2w_summer_plan_recv_redpacket_reflection_;
  delete packetw2c_summer_plan_recv_redpacket_result::default_instance_;
  delete packetw2c_summer_plan_recv_redpacket_result_reflection_;
  delete packetc2w_summer_plan_recv_recharged::default_instance_;
  delete packetc2w_summer_plan_recv_recharged_reflection_;
  delete packetw2c_summer_plan_recv_recharged_result::default_instance_;
  delete packetw2c_summer_plan_recv_recharged_result_reflection_;
  delete packetc2w_summer_plan_buy_sendgold_gift::default_instance_;
  delete packetc2w_summer_plan_buy_sendgold_gift_reflection_;
  delete packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_;
  delete packetw2c_summer_plan_buy_sendgold_gift_result_reflection_;
  delete packetc2w_summer_plan_launch::default_instance_;
  delete packetc2w_summer_plan_launch_reflection_;
  delete packetw2c_summer_plan_launch_result::default_instance_;
  delete packetw2c_summer_plan_launch_result_reflection_;
  delete packetc2w_summer_plan_touch_gold::default_instance_;
  delete packetc2w_summer_plan_touch_gold_reflection_;
  delete packetw2c_summer_plan_touch_gold_result::default_instance_;
  delete packetw2c_summer_plan_touch_gold_result_reflection_;
  delete packetw2c_syn_happy_summer_info::default_instance_;
  delete packetw2c_syn_happy_summer_info_reflection_;
  delete packetc2w_get_happy_summer_rank::default_instance_;
  delete packetc2w_get_happy_summer_rank_reflection_;
  delete packetw2c_get_happy_summer_rank_result::default_instance_;
  delete packetw2c_get_happy_summer_rank_result_reflection_;
  delete packetc2w_happy_summer_open_box::default_instance_;
  delete packetc2w_happy_summer_open_box_reflection_;
  delete packetw2c_happy_summer_open_box_result::default_instance_;
  delete packetw2c_happy_summer_open_box_result_reflection_;
  delete packetc2w_happy_summer_lottery::default_instance_;
  delete packetc2w_happy_summer_lottery_reflection_;
  delete packetw2c_happy_summer_lottery_result::default_instance_;
  delete packetw2c_happy_summer_lottery_result_reflection_;
  delete packetc2w_recv_happy_summer_quest_award::default_instance_;
  delete packetc2w_recv_happy_summer_quest_award_reflection_;
  delete packetw2c_recv_happy_summer_quest_award_result::default_instance_;
  delete packetw2c_recv_happy_summer_quest_award_result_reflection_;
  delete packetc2w_get_happy_summer_quest::default_instance_;
  delete packetc2w_get_happy_summer_quest_reflection_;
  delete packetw2c_get_happy_summer_quest_result::default_instance_;
  delete packetw2c_get_happy_summer_quest_result_reflection_;
}

void protobuf_AddDesc_client2world_5factivity2_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\034client2world_activity2.proto\022\026client2w"
    "orld_protocols\032\033client2world_msg_type.pr"
    "oto\032\022msg_type_def.proto\032\022msg_info_def.pr"
    "oto\"\335\001\n\037packetw2c_activity_quest_notify\022"
    "]\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:\037e_mst_w2c_activit"
    "y_quest_notify\022\022\n\nactivityId\030\002 \001(\005\022\014\n\004ty"
    "pe\030\003 \001(\005\022\n\n\002id\030\004 \001(\005\022\r\n\005count\030\005 \001(\005\022\r\n\005p"
    "aram\030\006 \001(\005\022\017\n\007endtime\030\007 \001(\005\"\305\001\n\033packetw2"
    "c_syn_new_year_info\022Y\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e:\033e_mst_w2c_syn_new_year_info\022\025\n\ractivi"
    "tyState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endT"
    "ime\030\004 \001(\005\022\020\n\010signList\030\005 \003(\005\"\235\001\n$packetc2"
    "w_recv_new_year_login_reward\022b\n\tpacket_i"
    "d\030\001 \001(\0162).client2world_protocols.e_serve"
    "r_msg_type:$e_mst_c2w_recv_new_year_logi"
    "n_reward\022\021\n\tsignIndex\030\002 \001(\005\"\273\001\n+packetw2"
    "c_recv_new_year_login_reward_result\022i\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:+e_mst_w2c_recv_new_ye"
    "ar_login_reward_result\022\021\n\tsignIndex\030\002 \001("
    "\005\022\016\n\006result\030\003 \001(\005\"\253\002\n\037packetw2c_syn_nati"
    "onal_day_info\022]\n\tpacket_id\030\001 \001(\0162).clien"
    "t2world_protocols.e_server_msg_type:\037e_m"
    "st_w2c_syn_national_day_info\022\025\n\ractivity"
    "State\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTim"
    "e\030\004 \001(\005\022\020\n\010signList\030\005 \003(\005\022\023\n\013questBranch"
    "\030\006 \001(\005\022/\n\tquestList\030\007 \003(\0132\034.msg_info_def"
    ".msg_quest_info\022\026\n\016rewardRecvList\030\010 \003(\005\""
    "\302\001\n#packetw2c_national_day_quest_notify\022"
    "a\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:#e_mst_w2c_nationa"
    "l_day_quest_notify\022\014\n\004type\030\002 \001(\005\022\n\n\002id\030\003"
    " \001(\005\022\r\n\005count\030\004 \001(\005\022\017\n\007endtime\030\005 \001(\005\"\245\001\n"
    "(packetc2w_recv_national_day_login_rewar"
    "d\022f\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:(e_mst_c2w_recv_"
    "national_day_login_reward\022\021\n\tsignIndex\030\002"
    " \001(\005\"\303\001\n/packetw2c_recv_national_day_log"
    "in_reward_result\022m\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:/"
    "e_mst_w2c_recv_national_day_login_reward"
    "_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 \001"
    "(\005\"\241\001\n\'packetc2w_recv_national_day_quest"
    "_award\022e\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:\'e_mst_c2w_"
    "recv_national_day_quest_award\022\017\n\007questId"
    "\030\002 \001(\005\"\212\002\n.packetw2c_recv_national_day_q"
    "uest_award_result\022l\n\tpacket_id\030\001 \001(\0162).c"
    "lient2world_protocols.e_server_msg_type:"
    ".e_mst_w2c_recv_national_day_quest_award"
    "_result\022\016\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005"
    "\022\016\n\006branch\030\004 \001(\005\022\022\n\nnextTaskId\030\005 \001(\005\022%\n\005"
    "items\030\006 \003(\0132\026.msg_info_def.ItemInfo\"\226\001\n\""
    "packetc2w_national_day_choose_task\022`\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:\"e_mst_c2w_national_day"
    "_choose_task\022\016\n\006branch\030\002 \001(\005\"\310\001\n)packetw"
    "2c_national_day_choose_task_result\022g\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:)e_mst_w2c_national_day"
    "_choose_task_result\022\016\n\006result\030\002 \001(\005\022\016\n\006b"
    "ranch\030\003 \001(\005\022\022\n\nnextTaskId\030\004 \001(\005\"\311\001\n\035pack"
    "etw2c_syn_spring_day_info\022[\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\035e_mst_w2c_syn_spring_day_info\022\025"
    "\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005"
    "\022\017\n\007endTime\030\004 \001(\005\022\020\n\010signList\030\005 \003(\005\"\241\001\n&"
    "packetc2w_recv_spring_day_login_reward\022d"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type:&e_mst_c2w_recv_spr"
    "ing_day_login_reward\022\021\n\tsignIndex\030\002 \001(\005\""
    "\277\001\n-packetw2c_recv_spring_day_login_rewa"
    "rd_result\022k\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:-e_mst_w"
    "2c_recv_spring_day_login_reward_result\022\021"
    "\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\265\001\n\034pa"
    "cketw2c_syn_hunt_fish_info\022Z\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\034e_mst_w2c_syn_hunt_fish_info\022\025"
    "\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005"
    "\022\017\n\007endTime\030\004 \001(\005\"|\n\035packetc2w_get_hunt_"
    "fish_quest\022[\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:\035e_mst_"
    "c2w_get_hunt_fish_quest\"\273\001\n$packetw2c_ge"
    "t_hunt_fish_quest_result\022b\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:$e_mst_w2c_get_hunt_fish_quest_re"
    "sult\022/\n\tquestList\030\002 \003(\0132\034.msg_info_def.m"
    "sg_quest_info\"\233\001\n$packetc2w_recv_hunt_fi"
    "sh_quest_award\022b\n\tpacket_id\030\001 \001(\0162).clie"
    "nt2world_protocols.e_server_msg_type:$e_"
    "mst_c2w_recv_hunt_fish_quest_award\022\017\n\007qu"
    "estId\030\002 \001(\005\"\340\001\n+packetw2c_recv_hunt_fish"
    "_quest_award_result\022i\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e:+e_mst_w2c_recv_hunt_fish_quest_award_"
    "result\022\016\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022"
    "%\n\005items\030\006 \003(\0132\026.msg_info_def.ItemInfo\"\364"
    "\001\n$packetw2c_syn_recharge_activity_info\022"
    "b\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:$e_mst_w2c_syn_rec"
    "harge_activity_info\022\025\n\ractivityState\030\002 \001"
    "(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\025"
    "\n\rtotalRecharge\030\005 \001(\005\022\026\n\016rewardRecvList\030"
    "\006 \003(\005\"\230\001\n\"packetc2w_recharge_activity_re"
    "bate\022`\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type:\"e_mst_c2w_re"
    "charge_activity_rebate\022\020\n\010rewardId\030\002 \001(\005"
    "\"\266\001\n)packetw2c_recharge_activity_rebate_"
    "result\022g\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:)e_mst_w2c_"
    "recharge_activity_rebate_result\022\016\n\006resul"
    "t\030\002 \001(\005\022\020\n\010rewardId\030\003 \001(\005\"\365\002\n packetw2c_"
    "syn_wuyi_vacation_info\022^\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type: e_mst_w2c_syn_wuyi_vacation_info\022\021"
    "\n\tstartTime\030\002 \001(\005\022\017\n\007endTime\030\003 \001(\005\022\021\n\tsi"
    "gnCount\030\004 \001(\005\022\017\n\007canSign\030\005 \001(\010\022/\n\tquestL"
    "ist\030\006 \003(\0132\034.msg_info_def.msg_quest_info\022"
    "1\n\013haiShenList\030\007 \003(\0132\034.msg_info_def.msg_"
    "quest_info\022\032\n\022handbooksAwardStat\030\010 \003(\010\022\025"
    "\n\rhandbooksStat\030\t \003(\005\022\022\n\npaddyCount\030\n \001("
    "\005\"\225\001\n packetc2w_recv_wuyi_login_reward\022^"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type: e_mst_c2w_recv_wuy"
    "i_login_reward\022\021\n\tsignIndex\030\002 \001(\005\"\312\001\n\'pa"
    "cketw2c_recv_wuyi_login_reward_result\022e\n"
    "\tpacket_id\030\001 \001(\0162).client2world_protocol"
    "s.e_server_msg_type:\'e_mst_w2c_recv_wuyi"
    "_login_reward_result\022\021\n\tsignIndex\030\002 \001(\005\022"
    "\016\n\006result\030\003 \001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\263"
    "\001\n\037packetc2w_recv_wuyi_quest_award\022]\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:\037e_mst_c2w_recv_wuyi_qu"
    "est_award\022\014\n\004type\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005"
    "\022\022\n\nreceiveBit\030\004 \001(\005\"\370\001\n&packetw2c_recv_"
    "wuyi_quest_award_result\022d\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:&e_mst_w2c_recv_wuyi_quest_award_r"
    "esult\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\017\n\007q"
    "uestId\030\004 \001(\005\022\022\n\nreceiveBit\030\005 \001(\005\022%\n\005item"
    "s\030\006 \003(\0132\026.msg_info_def.ItemInfo\"\233\001\n\"pack"
    "etc2w_recv_wuyi_handbooks_gold\022`\n\tpacket"
    "_id\030\001 \001(\0162).client2world_protocols.e_ser"
    "ver_msg_type:\"e_mst_c2w_recv_wuyi_handbo"
    "oks_gold\022\023\n\013handbooksId\030\002 \001(\005\"\271\001\n)packet"
    "w2c_recv_wuyi_handbooks_gold_result\022g\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:)e_mst_w2c_recv_wuyi_h"
    "andbooks_gold_result\022\023\n\013handbooksId\030\002 \001("
    "\005\022\016\n\006result\030\003 \001(\005\"\226\001\n#packetc2w_recv_wuy"
    "i_handbooks_award\022a\n\tpacket_id\030\001 \001(\0162).c"
    "lient2world_protocols.e_server_msg_type:"
    "#e_mst_c2w_recv_wuyi_handbooks_award\022\014\n\004"
    "type\030\002 \001(\005\"\317\001\n*packetw2c_recv_wuyi_handb"
    "ooks_award_result\022h\n\tpacket_id\030\001 \001(\0162).c"
    "lient2world_protocols.e_server_msg_type:"
    "*e_mst_w2c_recv_wuyi_handbooks_award_res"
    "ult\022\016\n\006result\030\002 \001(\005\022\020\n\010typelist\030\003 \003(\005\022\025\n"
    "\rhandbooksGold\030\004 \001(\005\"|\n\026packetc2w_wuyi_l"
    "ottery\022T\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:\026e_mst_c2w_"
    "wuyi_lottery\022\014\n\004type\030\002 \001(\005\"\254\001\n\035packetw2c"
    "_wuyi_lottery_result\022[\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:\035e_mst_w2c_wuyi_lottery_result\022\016\n\006res"
    "ult\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \001("
    "\005\"0\n\020pointRewardInfos\022\n\n\002id\030\001 \001(\005\022\020\n\010rec"
    "eived\030\002 \001(\005\"+\n\npointInfos\022\016\n\006roomId\030\001 \001("
    "\005\022\r\n\005count\030\002 \001(\005\"\313\002\n\035packetw2c_syn_room_"
    "quest_info\022[\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:\035e_mst_"
    "w2c_syn_room_quest_info\022\025\n\ractivityState"
    "\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001"
    "(\005\022B\n\020pointRewardinfos\030\005 \003(\0132(.client2wo"
    "rld_protocols.pointRewardInfos\0227\n\013questP"
    "oints\030\006 \003(\0132\".client2world_protocols.poi"
    "ntInfos\022\025\n\rsharkCardType\030\007 \001(\005\"r\n\030packet"
    "c2w_get_room_quest\022V\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\030e_mst_c2w_get_room_quest\"\310\001\n\037packetw2c"
    "_get_room_quest_result\022]\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type:\037e_mst_w2c_get_room_quest_result\022/\n"
    "\tquestList\030\002 \003(\0132\034.msg_info_def.msg_ques"
    "t_info\022\025\n\rsharkCardType\030\003 \001(\005\"\221\001\n\037packet"
    "c2w_recv_room_quest_award\022]\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\037e_mst_c2w_recv_room_quest_award"
    "\022\017\n\007questId\030\002 \001(\005\"\326\001\n&packetw2c_recv_roo"
    "m_quest_award_result\022d\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:&e_mst_w2c_recv_room_quest_award_resu"
    "lt\022\016\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005i"
    "tems\030\004 \003(\0132\026.msg_info_def.ItemInfo\"\235\001\n%p"
    "acketc2w_recv_room_quest_point_award\022c\n\t"
    "packet_id\030\001 \001(\0162).client2world_protocols"
    ".e_server_msg_type:%e_mst_c2w_recv_room_"
    "quest_point_award\022\017\n\007questId\030\002 \001(\005\"\342\001\n,p"
    "acketw2c_recv_room_quest_point_award_res"
    "ult\022j\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:,e_mst_w2c_rec"
    "v_room_quest_point_award_result\022\016\n\006resul"
    "t\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items\030\004 \003(\0132"
    "\026.msg_info_def.ItemInfo\"\211\002\n\035packetw2c_sy"
    "n_catch_fish_info\022[\n\tpacket_id\030\001 \001(\0162).c"
    "lient2world_protocols.e_server_msg_type:"
    "\035e_mst_w2c_syn_catch_fish_info\022\025\n\ractivi"
    "tyState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endT"
    "ime\030\004 \001(\005\022\021\n\tcoinCount\030\005 \001(\005\022=\n\013historyL"
    "ist\030\006 \003(\0132(.client2world_protocols.catch"
    "FishHistory\"`\n\020catchFishHistory\022\014\n\004time\030"
    "\001 \001(\005\022\020\n\010nickname\030\002 \001(\t\022\020\n\010fishType\030\003 \001("
    "\005\022\014\n\004rate\030\004 \001(\005\022\014\n\004gold\030\005 \001(\005\"+\n\rcatchFi"
    "shInfo\022\014\n\004rate\030\001 \001(\005\022\014\n\004gold\030\002 \001(\005\"\215\001\n\024p"
    "acketc2w_catch_fish\022R\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e:\024e_mst_c2w_catch_fish\022\020\n\010fishType\030\002 \001("
    "\005\022\017\n\007netType\030\003 \001(\005\"\351\001\n\033packetw2c_catch_f"
    "ish_result\022Y\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:\033e_mst_"
    "w2c_catch_fish_result\022\016\n\006result\030\002 \001(\005\022\020\n"
    "\010fishType\030\003 \001(\005\022\017\n\007netType\030\004 \001(\005\022<\n\rcatc"
    "hFishInfo\030\005 \003(\0132%.client2world_protocols"
    ".catchFishInfo\"z\n\034packetc2w_catch_fish_h"
    "istory\022Z\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:\034e_mst_c2w_"
    "catch_fish_history\"\307\001\n#packetw2c_catch_f"
    "ish_history_result\022a\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":#e_mst_w2c_catch_fish_history_result\022=\n"
    "\013historyList\030\002 \003(\0132(.client2world_protoc"
    "ols.catchFishHistory\"\251\002\n\"packetw2c_syn_d"
    "uanwu_vacation_info\022`\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e:\"e_mst_w2c_syn_duanwu_vacation_info\022\021\n"
    "\tstartTime\030\002 \001(\005\022\017\n\007endTime\030\003 \001(\005\022\021\n\tsig"
    "nCount\030\004 \001(\005\022\017\n\007canSign\030\005 \001(\010\022\022\n\nresetTi"
    "mes\030\006 \001(\005\022\032\n\022handbooksAwardStat\030\007 \003(\010\022\025\n"
    "\rhandbooksStat\030\010 \003(\005\022\022\n\npaddyCount\030\t \001(\005"
    "\"\210\001\n#packetc2w_get_duanwu_vacation_quest"
    "\022a\n\tpacket_id\030\001 \001(\0162).client2world_proto"
    "cols.e_server_msg_type:#e_mst_c2w_get_du"
    "anwu_vacation_quest\"\307\001\n*packetw2c_get_du"
    "anwu_vacation_quest_result\022h\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:*e_mst_w2c_get_duanwu_vacation_"
    "quest_result\022/\n\tquestList\030\002 \003(\0132\034.msg_in"
    "fo_def.msg_quest_info\"\231\001\n\"packetc2w_recv"
    "_duanwu_login_reward\022`\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:\"e_mst_c2w_recv_duanwu_login_reward\022\021"
    "\n\tsignIndex\030\002 \001(\005\"\316\001\n)packetw2c_recv_dua"
    "nwu_login_reward_result\022g\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:)e_mst_w2c_recv_duanwu_login_rewar"
    "d_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 "
    "\001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\251\001\n!packetc2w"
    "_recv_duanwu_quest_award\022_\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:!e_mst_c2w_recv_duanwu_quest_awar"
    "d\022\017\n\007questId\030\002 \001(\005\022\022\n\nreceiveBit\030\003 \001(\005\"\356"
    "\001\n(packetw2c_recv_duanwu_quest_award_res"
    "ult\022f\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:(e_mst_w2c_rec"
    "v_duanwu_quest_award_result\022\016\n\006result\030\002 "
    "\001(\005\022\017\n\007questId\030\003 \001(\005\022\022\n\nreceiveBit\030\004 \001(\005"
    "\022%\n\005items\030\005 \003(\0132\026.msg_info_def.ItemInfo\""
    "\237\001\n$packetc2w_recv_duanwu_handbooks_gold"
    "\022b\n\tpacket_id\030\001 \001(\0162).client2world_proto"
    "cols.e_server_msg_type:$e_mst_c2w_recv_d"
    "uanwu_handbooks_gold\022\023\n\013handbooksId\030\002 \001("
    "\005\"\275\001\n+packetw2c_recv_duanwu_handbooks_go"
    "ld_result\022i\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:+e_mst_w"
    "2c_recv_duanwu_handbooks_gold_result\022\023\n\013"
    "handbooksId\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\232\001\n%pa"
    "cketc2w_recv_duanwu_handbooks_award\022c\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:%e_mst_c2w_recv_duanwu"
    "_handbooks_award\022\014\n\004type\030\002 \001(\005\"\323\001\n,packe"
    "tw2c_recv_duanwu_handbooks_award_result\022"
    "j\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:,e_mst_w2c_recv_du"
    "anwu_handbooks_award_result\022\016\n\006result\030\002 "
    "\001(\005\022\020\n\010typelist\030\003 \003(\005\022\025\n\rhandbooksGold\030\004"
    " \001(\005\"\200\001\n\030packetc2w_duanwu_lottery\022V\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:\030e_mst_c2w_duanwu_lotter"
    "y\022\014\n\004type\030\002 \001(\005\"\260\001\n\037packetw2c_duanwu_lot"
    "tery_result\022]\n\tpacket_id\030\001 \001(\0162).client2"
    "world_protocols.e_server_msg_type:\037e_mst"
    "_w2c_duanwu_lottery_result\022\016\n\006result\030\002 \001"
    "(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \003(\005\"\300\002\n\"p"
    "acketw2c_syn_summer_vacation_info\022`\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:\"e_mst_w2c_syn_summer_va"
    "cation_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tst"
    "artTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\tsignCo"
    "unt\030\005 \001(\005\022\022\n\nresetTimes\030\006 \001(\005\022\017\n\007canSign"
    "\030\007 \001(\010\022\032\n\022handbooksAwardStat\030\010 \003(\010\022\025\n\rha"
    "ndbooksStat\030\t \003(\005\022\022\n\npaddyCount\030\n \001(\005\"v\n"
    "\032packetc2w_get_summer_quest\022X\n\tpacket_id"
    "\030\001 \001(\0162).client2world_protocols.e_server"
    "_msg_type:\032e_mst_c2w_get_summer_quest\"\265\001"
    "\n!packetw2c_get_summer_quest_result\022_\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:!e_mst_w2c_get_summer_"
    "quest_result\022/\n\tquestList\030\002 \003(\0132\034.msg_in"
    "fo_def.msg_quest_info\"\231\001\n\"packetc2w_recv"
    "_summer_login_reward\022`\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:\"e_mst_c2w_recv_summer_login_reward\022\021"
    "\n\tsignIndex\030\002 \001(\005\"\316\001\n)packetw2c_recv_sum"
    "mer_login_reward_result\022g\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:)e_mst_w2c_recv_summer_login_rewar"
    "d_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 "
    "\001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\251\001\n!packetc2w"
    "_recv_summer_quest_award\022_\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:!e_mst_c2w_recv_summer_quest_awar"
    "d\022\017\n\007questId\030\002 \001(\005\022\022\n\nreceiveBit\030\003 \001(\005\"\356"
    "\001\n(packetw2c_recv_summer_quest_award_res"
    "ult\022f\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:(e_mst_w2c_rec"
    "v_summer_quest_award_result\022\016\n\006result\030\002 "
    "\001(\005\022\017\n\007questId\030\003 \001(\005\022\022\n\nreceiveBit\030\004 \001(\005"
    "\022%\n\005items\030\005 \003(\0132\026.msg_info_def.ItemInfo\""
    "\237\001\n$packetc2w_recv_summer_handbooks_gold"
    "\022b\n\tpacket_id\030\001 \001(\0162).client2world_proto"
    "cols.e_server_msg_type:$e_mst_c2w_recv_s"
    "ummer_handbooks_gold\022\023\n\013handbooksId\030\002 \001("
    "\005\"\275\001\n+packetw2c_recv_summer_handbooks_go"
    "ld_result\022i\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:+e_mst_w"
    "2c_recv_summer_handbooks_gold_result\022\023\n\013"
    "handbooksId\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\232\001\n%pa"
    "cketc2w_recv_summer_handbooks_award\022c\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:%e_mst_c2w_recv_summer"
    "_handbooks_award\022\014\n\004type\030\002 \001(\005\"\323\001\n,packe"
    "tw2c_recv_summer_handbooks_award_result\022"
    "j\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:,e_mst_w2c_recv_su"
    "mmer_handbooks_award_result\022\016\n\006result\030\002 "
    "\001(\005\022\020\n\010typelist\030\003 \003(\005\022\025\n\rhandbooksGold\030\004"
    " \001(\005\"\200\001\n\030packetc2w_summer_lottery\022V\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:\030e_mst_c2w_summer_lotter"
    "y\022\014\n\004type\030\002 \001(\005\"\260\001\n\037packetw2c_summer_lot"
    "tery_result\022]\n\tpacket_id\030\001 \001(\0162).client2"
    "world_protocols.e_server_msg_type:\037e_mst"
    "_w2c_summer_lottery_result\022\016\n\006result\030\002 \001"
    "(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \003(\005\".\n\020on"
    "r_history_info\022\014\n\004name\030\001 \001(\t\022\014\n\004rate\030\002 \001"
    "(\005\"\373\001\n!packetw2c_syn_one_night_rich_info"
    "\022_\n\tpacket_id\030\001 \001(\0162).client2world_proto"
    "cols.e_server_msg_type:!e_mst_w2c_syn_on"
    "e_night_rich_info\022\025\n\ractivityState\030\002 \001(\005"
    "\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\t"
    "recharged\030\005 \001(\005\022\021\n\tlotteryId\030\006 \001(\005\022\024\n\014re"
    "ceiveCheck\030\007 \003(\010\"\226\001\n#packetc2w_recv_one_"
    "night_rich_award\022a\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:#"
    "e_mst_c2w_recv_one_night_rich_award\022\014\n\004t"
    "ype\030\002 \001(\005\"\267\001\n$packetw2c_recv_one_night_r"
    "ich_result\022b\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:$e_mst_"
    "w2c_recv_one_night_rich_result\022\016\n\006result"
    "\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\"~\n\036p"
    "acketc2w_recv_onr_historyList\022\\\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:\036e_mst_c2w_recv_onr_historyL"
    "ist\"\313\001\n%packetw2c_recv_onr_historyList_r"
    "esult\022c\n\tpacket_id\030\001 \001(\0162).client2world_"
    "protocols.e_server_msg_type:%e_mst_w2c_r"
    "ecv_onr_historyList_result\022=\n\013historyLis"
    "t\030\004 \003(\0132(.client2world_protocols.onr_his"
    "tory_info\"\322\001\n\037packetw2c_syn_fortune_star"
    "_info\022]\n\tpacket_id\030\001 \001(\0162).client2world_"
    "protocols.e_server_msg_type:\037e_mst_w2c_s"
    "yn_fortune_star_info\022\025\n\ractivityState\030\002 "
    "\001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022"
    "\025\n\rmyFortuneStar\030\005 \001(\005\"\202\001\n packetc2w_get"
    "_fortune_star_quest\022^\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e: e_mst_c2w_get_fortune_star_quest\"\301\001\n\'"
    "packetw2c_get_fortune_star_quest_result\022"
    "e\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:\'e_mst_w2c_get_for"
    "tune_star_quest_result\022/\n\tquestList\030\002 \003("
    "\0132\034.msg_info_def.msg_quest_info\"\241\001\n\'pack"
    "etc2w_recv_fortune_star_quest_award\022e\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:\'e_mst_c2w_recv_fortun"
    "e_star_quest_award\022\017\n\007questId\030\002 \001(\005\"\346\001\n."
    "packetw2c_recv_fortune_star_quest_award_"
    "result\022l\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:.e_mst_w2c_"
    "recv_fortune_star_quest_award_result\022\016\n\006"
    "result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items\030\005"
    " \003(\0132\026.msg_info_def.ItemInfo\"\223\001\n!packetc"
    "2w_recv_fortune_star_award\022_\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:!e_mst_c2w_recv_fortune_star_aw"
    "ard\022\r\n\005index\030\002 \001(\005\"\310\001\n(packetw2c_recv_fo"
    "rtune_star_award_result\022f\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:(e_mst_w2c_recv_fortune_star_award"
    "_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\025"
    "\n\rmyFortuneStar\030\004 \001(\005\"~\n\ractivity_rank\022\020"
    "\n\010nickName\030\001 \001(\t\022\020\n\010playerId\030\002 \001(\005\022\013\n\003vi"
    "p\030\003 \001(\005\022\016\n\006headid\030\004 \001(\005\022\017\n\007frameid\030\005 \001(\005"
    "\022\r\n\005score\030\006 \001(\005\022\014\n\004rank\030\007 \001(\005\"T\n\037persona"
    "l_tailor_lottery_history\022\020\n\010nickName\030\001 \001"
    "(\t\022\020\n\010itemName\030\002 \001(\t\022\r\n\005count\030\003 \001(\005\"\212\003\n\""
    "packetw2c_syn_personal_tailor_info\022`\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:\"e_mst_w2c_syn_personal"
    "_tailor_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\ts"
    "tartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\027\n\017excha"
    "ngeTicket1\030\005 \001(\005\022\027\n\017exchangeTicket2\030\006 \001("
    "\005\022\016\n\006points\030\007 \001(\005\0227\n\010rankList\030\010 \003(\0132%.cl"
    "ient2world_protocols.activity_rank\022L\n\013hi"
    "storyList\030\t \003(\01327.client2world_protocols"
    ".personal_tailor_lottery_history\"\206\001\n\"pac"
    "ketc2w_get_personal_tailor_rank\022`\n\tpacke"
    "t_id\030\001 \001(\0162).client2world_protocols.e_se"
    "rver_msg_type:\"e_mst_c2w_get_personal_ta"
    "ilor_rank\"\337\001\n)packetw2c_get_personal_tai"
    "lor_rank_result\022g\n\tpacket_id\030\001 \001(\0162).cli"
    "ent2world_protocols.e_server_msg_type:)e"
    "_mst_w2c_get_personal_tailor_rank_result"
    "\0227\n\010rankList\030\002 \003(\0132%.client2world_protoc"
    "ols.activity_rank\022\020\n\010myPoints\030\003 \001(\005\"\232\001\n,"
    "packetc2w_get_personal_tailor_lottry_his"
    "tory\022j\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type:,e_mst_c2w_ge"
    "t_personal_tailor_lottry_history\"\366\001\n3pac"
    "ketw2c_get_personal_tailor_lottry_histor"
    "y_result\022q\n\tpacket_id\030\001 \001(\0162).client2wor"
    "ld_protocols.e_server_msg_type:3e_mst_w2"
    "c_get_personal_tailor_lottry_history_res"
    "ult\022L\n\013historyList\030\002 \003(\01327.client2world_"
    "protocols.personal_tailor_lottery_histor"
    "y\"\223\001\n!packetc2w_personal_tailor_lottery\022"
    "_\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:!e_mst_c2w_persona"
    "l_tailor_lottery\022\r\n\005count\030\002 \001(\005\"\300\001\n(pack"
    "etw2c_personal_tailor_lottery_result\022f\n\t"
    "packet_id\030\001 \001(\0162).client2world_protocols"
    ".e_server_msg_type:(e_mst_w2c_personal_t"
    "ailor_lottery_result\022\016\n\006result\030\002 \001(\005\022\r\n\005"
    "count\030\003 \001(\005\022\r\n\005index\030\004 \003(\005\"\225\001\n\"packetc2w"
    "_personal_tailor_exchange\022`\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\"e_mst_c2w_personal_tailor_excha"
    "nge\022\r\n\005index\030\002 \001(\005\"\263\001\n)packetw2c_persona"
    "l_tailor_exchange_result\022g\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:)e_mst_w2c_personal_tailor_exchan"
    "ge_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005"
    "\"\334\001\n&packetw2c_syn_time_limit_purchase_i"
    "nfo\022d\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:&e_mst_w2c_syn"
    "_time_limit_purchase_info\022\025\n\ractivitySta"
    "te\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004"
    " \001(\005\022\021\n\titemClock\030\005 \001(\005\"\233\001\n%packetc2w_ti"
    "me_limit_purchase_lottery\022c\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:%e_mst_c2w_time_limit_purchase_l"
    "ottery\022\r\n\005count\030\002 \001(\005\"\310\001\n,packetw2c_time"
    "_limit_purchase_lottery_result\022j\n\tpacket"
    "_id\030\001 \001(\0162).client2world_protocols.e_ser"
    "ver_msg_type:,e_mst_w2c_time_limit_purch"
    "ase_lottery_result\022\016\n\006result\030\002 \001(\005\022\r\n\005co"
    "unt\030\003 \001(\005\022\r\n\005index\030\004 \003(\005\"\265\001\n\034packetw2c_s"
    "yn_lucky_bag_info\022Z\n\tpacket_id\030\001 \001(\0162).c"
    "lient2world_protocols.e_server_msg_type:"
    "\034e_mst_w2c_syn_lucky_bag_info\022\025\n\ractivit"
    "yState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTi"
    "me\030\004 \001(\005\"\307\001\n%packetw2c_syn_vip_limit_pur"
    "chase_info\022c\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:%e_mst_"
    "w2c_syn_vip_limit_purchase_info\022\025\n\ractiv"
    "ityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007end"
    "Time\030\004 \001(\005\"\277\001\n!packetw2c_syn_turret_lott"
    "ery_info\022_\n\tpacket_id\030\001 \001(\0162).client2wor"
    "ld_protocols.e_server_msg_type:!e_mst_w2"
    "c_syn_turret_lottery_info\022\025\n\ractivitySta"
    "te\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004"
    " \001(\005\"\201\001\n\030packetc2w_turret_lottery\022V\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:\030e_mst_c2w_turret_lotter"
    "y\022\r\n\005count\030\002 \001(\005\"\256\001\n\037packetw2c_turret_lo"
    "ttery_result\022]\n\tpacket_id\030\001 \001(\0162).client"
    "2world_protocols.e_server_msg_type:\037e_ms"
    "t_w2c_turret_lottery_result\022\016\n\006result\030\002 "
    "\001(\005\022\r\n\005count\030\003 \001(\005\022\r\n\005index\030\004 \003(\005\"\361\001\n pa"
    "cketw2c_syn_smashing_eggs_info\022^\n\tpacket"
    "_id\030\001 \001(\0162).client2world_protocols.e_ser"
    "ver_msg_type: e_mst_w2c_syn_smashing_egg"
    "s_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstartTi"
    "me\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\trecharged\030\005"
    " \001(\005\022\016\n\006hammer\030\006 \001(\005\022\017\n\007jackpot\030\007 \001(\003\"\202\001"
    "\n packetc2w_get_smashing_eggs_info\022^\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type: e_mst_c2w_get_smashing"
    "_eggs_info\"~\n\027packetc2w_smashing_eggs\022U\n"
    "\tpacket_id\030\001 \001(\0162).client2world_protocol"
    "s.e_server_msg_type:\027e_mst_c2w_smashing_"
    "eggs\022\014\n\004type\030\002 \001(\005\"\253\001\n\036packetw2c_smashin"
    "g_eggs_result\022\\\n\tpacket_id\030\001 \001(\0162).clien"
    "t2world_protocols.e_server_msg_type:\036e_m"
    "st_w2c_smashing_eggs_result\022\016\n\006result\030\002 "
    "\001(\005\022\014\n\004type\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\"\202\001\n pac"
    "ketc2w_get_smashing_eggs_rank\022^\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type: e_mst_c2w_get_smashing_eggs"
    "_rank\"\332\001\n\'packetw2c_get_smashing_eggs_ra"
    "nk_result\022e\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type:\'e_mst_w"
    "2c_get_smashing_eggs_rank_result\0227\n\010rank"
    "List\030\002 \003(\0132%.client2world_protocols.acti"
    "vity_rank\022\017\n\007mypoint\030\003 \001(\005\"\311\001\n\037packetw2c"
    "_syn_rich_lottery_info\022]\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type:\037e_mst_w2c_syn_rich_lottery_info\022\025\n"
    "\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022"
    "\017\n\007endTime\030\004 \001(\005\022\014\n\004mult\030\005 \001(\005\"n\n\026packet"
    "c2w_rich_lottery\022T\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:\026"
    "e_mst_c2w_rich_lottery\"\232\001\n\035packetw2c_ric"
    "h_lottery_result\022[\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:\035"
    "e_mst_w2c_rich_lottery_result\022\016\n\006result\030"
    "\002 \001(\005\022\014\n\004mult\030\003 \001(\005\"\264\002\n packetw2c_syn_su"
    "mmer_revels_info\022^\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type: "
    "e_mst_w2c_syn_summer_revels_info\022\025\n\racti"
    "vityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007en"
    "dTime\030\004 \001(\005\022\016\n\006points\030\005 \001(\005\022\026\n\016todayRech"
    "arged\030\006 \001(\005\0227\n\010rankList\030\007 \003(\0132%.client2w"
    "orld_protocols.activity_rank\022\024\n\014receiveC"
    "heck\030\010 \003(\010\"\202\001\n packetc2w_get_summer_reve"
    "ls_rank\022^\n\tpacket_id\030\001 \001(\0162).client2worl"
    "d_protocols.e_server_msg_type: e_mst_c2w"
    "_get_summer_revels_rank\"\333\001\n\'packetw2c_ge"
    "t_summer_revels_rank_result\022e\n\tpacket_id"
    "\030\001 \001(\0162).client2world_protocols.e_server"
    "_msg_type:\'e_mst_w2c_get_summer_revels_r"
    "ank_result\0227\n\010rankList\030\002 \003(\0132%.client2wo"
    "rld_protocols.activity_rank\022\020\n\010myPoints\030"
    "\003 \001(\005\"\217\001\n\037packetc2w_summer_revels_lotter"
    "y\022]\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:\037e_mst_c2w_summe"
    "r_revels_lottery\022\r\n\005index\030\002 \001(\005\"\324\001\n&pack"
    "etw2c_summer_revels_lottery_result\022d\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:&e_mst_w2c_summer_revel"
    "s_lottery_result\022\016\n\006result\030\002 \001(\005\022\r\n\005inde"
    "x\030\003 \001(\005\022%\n\005items\030\004 \003(\0132\026.msg_info_def.It"
    "emInfo\"1\n\nattackInfo\022\020\n\010weaponId\030\001 \001(\005\022\021"
    "\n\tharmValue\030\002 \001(\005\"\244\001\n\016demonTowerInfo\022\r\n\005"
    "floor\030\001 \001(\005\022\020\n\010leftLife\030\002 \001(\005\022\020\n\010curRoun"
    "d\030\003 \001(\005\022\021\n\tkillCount\030\004 \001(\005\022\021\n\tstarCount\030"
    "\005 \001(\005\0229\n\rattackHistory\030\006 \003(\0132\".client2wo"
    "rld_protocols.attackInfo\"-\n\nweaponInfo\022\020"
    "\n\010weaponId\030\001 \001(\005\022\r\n\005count\030\002 \001(\005\"\366\003\n\036pack"
    "etw2c_syn_kill_demons_info\022\\\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\036e_mst_w2c_syn_kill_demons_info"
    "\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001"
    "(\005\022\017\n\007endTime\030\004 \001(\005\022\022\n\ntrialScore\030\005 \001(\005\022"
    "\031\n\021trialScoreHistory\030\006 \001(\005\022\023\n\013swordEnerg"
    "y\030\007 \001(\005\022\022\n\nsmeltTimes\030\010 \001(\005\022\026\n\016huntDemon"
    "Score\030\t \001(\005\022\024\n\014receiveTrial\030\n \003(\010\022\032\n\022rec"
    "eiveSwordEnergy\030\013 \003(\010\022\023\n\013receiveStar\030\014 \003"
    "(\010\0229\n\ttowerList\030\016 \003(\0132&.client2world_pro"
    "tocols.demonTowerInfo\0226\n\nweaponList\030\017 \003("
    "\0132\".client2world_protocols.weaponInfo\022\021\n"
    "\tstarCount\030\020 \001(\005\"\237\001\n&packetc2w_recv_kill"
    "_demons_quest_award\022d\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e:&e_mst_c2w_recv_kill_demons_quest_awar"
    "d\022\017\n\007questId\030\002 \001(\005\"\344\001\n-packetw2c_recv_ki"
    "ll_demons_quest_award_result\022k\n\tpacket_i"
    "d\030\001 \001(\0162).client2world_protocols.e_serve"
    "r_msg_type:-e_mst_w2c_recv_kill_demons_q"
    "uest_award_result\022\016\n\006result\030\002 \001(\005\022\017\n\007que"
    "stId\030\003 \001(\005\022%\n\005items\030\006 \003(\0132\026.msg_info_def"
    ".ItemInfo\"\221\001\n packetc2w_recv_trial_score"
    "_award\022^\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type: e_mst_c2w_"
    "recv_trial_score_award\022\r\n\005index\030\002 \001(\005\"\257\001"
    "\n\'packetw2c_recv_trial_score_award_resul"
    "t\022e\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:\'e_mst_w2c_recv_"
    "trial_score_award_result\022\016\n\006result\030\002 \001(\005"
    "\022\r\n\005index\030\003 \001(\005\"\203\001\n\031packetc2w_recv_star_"
    "award\022W\n\tpacket_id\030\001 \001(\0162).client2world_"
    "protocols.e_server_msg_type:\031e_mst_c2w_r"
    "ecv_star_award\022\r\n\005index\030\002 \001(\005\"\241\001\n packet"
    "w2c_recv_star_award_result\022^\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type: e_mst_w2c_recv_star_award_resu"
    "lt\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\241\001\n\026pa"
    "cketc2w_attack_demon\022T\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:\026e_mst_c2w_attack_demon\022\r\n\005floor\030\002 \001("
    "\005\022\020\n\010isHangUp\030\003 \001(\010\022\020\n\010weaponId\030\004 \001(\005\"\262\002"
    "\n\035packetw2c_attack_demon_result\022[\n\tpacke"
    "t_id\030\001 \001(\0162).client2world_protocols.e_se"
    "rver_msg_type:\035e_mst_w2c_attack_demon_re"
    "sult\022\016\n\006result\030\002 \001(\005\022\r\n\005floor\030\003 \001(\005\022\020\n\010i"
    "sHangUp\030\004 \001(\010\022\020\n\010weaponId\030\005 \003(\005\022\021\n\tharmV"
    "alue\030\006 \003(\005\022\020\n\010curRound\030\007 \001(\005\022\020\n\010LeftLife"
    "\030\010 \001(\005\022\023\n\013balanceStar\030\t \001(\005\022%\n\005items\030\n \003"
    "(\0132\026.msg_info_def.ItemInfo\"~\n\036packetc2w_"
    "get_kill_demons_rank\022\\\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:\036e_mst_c2w_get_kill_demons_rank\"\224\002\n%p"
    "acketw2c_get_kill_demons_rank_result\022c\n\t"
    "packet_id\030\001 \001(\0162).client2world_protocols"
    ".e_server_msg_type:%e_mst_w2c_get_kill_d"
    "emons_rank_result\0227\n\010rankList\030\002 \003(\0132%.cl"
    "ient2world_protocols.activity_rank\022\026\n\016th"
    "resholdValue\030\003 \003(\005\0225\n\006myRank\030\004 \001(\0132%.cli"
    "ent2world_protocols.activity_rank\"\214\001\n\033pa"
    "cketc2w_kill_demons_smelt\022Y\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\033e_mst_c2w_kill_demons_smelt\022\022\n\n"
    "smeltTimes\030\002 \001(\005\"\277\001\n\"packetw2c_kill_demo"
    "ns_smelt_result\022`\n\tpacket_id\030\001 \001(\0162).cli"
    "ent2world_protocols.e_server_msg_type:\"e"
    "_mst_w2c_kill_demons_smelt_result\022\016\n\006res"
    "ult\030\002 \001(\005\022\022\n\nsmeltTimes\030\003 \001(\005\022\023\n\013smeltRe"
    "ward\030\004 \003(\005\"\223\001\n!packetc2w_recv_sword_ener"
    "gy_award\022_\n\tpacket_id\030\001 \001(\0162).client2wor"
    "ld_protocols.e_server_msg_type:!e_mst_c2"
    "w_recv_sword_energy_award\022\r\n\005index\030\002 \001(\005"
    "\"\261\001\n(packetw2c_recv_sword_energy_award_r"
    "esult\022f\n\tpacket_id\030\001 \001(\0162).client2world_"
    "protocols.e_server_msg_type:(e_mst_w2c_r"
    "ecv_sword_energy_award_result\022\016\n\006result\030"
    "\002 \001(\005\022\r\n\005index\030\003 \001(\005\"v\n\032packetc2w_kill_d"
    "emons_task\022X\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:\032e_mst_"
    "c2w_kill_demons_task\"\265\001\n!packetw2c_kill_"
    "demons_task_result\022_\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":!e_mst_w2c_kill_demons_task_result\022/\n\tq"
    "uestList\030\002 \003(\0132\034.msg_info_def.msg_quest_"
    "info\"\250\002\n packetw2c_syn_2020_national_inf"
    "o\022^\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type: e_mst_w2c_syn_2"
    "020_national_info\022\025\n\ractivityState\030\002 \001(\005"
    "\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\t"
    "signCount\030\005 \001(\005\022\017\n\007canSign\030\006 \001(\010\022\032\n\022hand"
    "booksAwardStat\030\010 \003(\010\022\025\n\rhandbooksStat\030\t "
    "\003(\005\022\022\n\npaddyCount\030\n \001(\005\"\204\001\n!packetc2w_ge"
    "t_2020_national_quest\022_\n\tpacket_id\030\001 \001(\016"
    "2).client2world_protocols.e_server_msg_t"
    "ype:!e_mst_c2w_get_2020_national_quest\"\303"
    "\001\n(packetw2c_get_2020_national_quest_res"
    "ult\022f\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:(e_mst_w2c_get"
    "_2020_national_quest_result\022/\n\tquestList"
    "\030\002 \003(\0132\034.msg_info_def.msg_quest_info\"\247\001\n"
    ")packetc2w_recv_2020_national_login_rewa"
    "rd\022g\n\tpacket_id\030\001 \001(\0162).client2world_pro"
    "tocols.e_server_msg_type:)e_mst_c2w_recv"
    "_2020_national_login_reward\022\021\n\tsignIndex"
    "\030\002 \001(\005\"\334\001\n0packetw2c_recv_2020_national_"
    "login_reward_result\022n\n\tpacket_id\030\001 \001(\0162)"
    ".client2world_protocols.e_server_msg_typ"
    "e:0e_mst_w2c_recv_2020_national_login_re"
    "ward_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result"
    "\030\003 \001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\267\001\n(packet"
    "c2w_recv_2020_national_quest_award\022f\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:(e_mst_c2w_recv_2020_na"
    "tional_quest_award\022\017\n\007questId\030\002 \001(\005\022\022\n\nr"
    "eceiveBit\030\003 \001(\005\"\374\001\n/packetw2c_recv_2020_"
    "national_quest_award_result\022m\n\tpacket_id"
    "\030\001 \001(\0162).client2world_protocols.e_server"
    "_msg_type:/e_mst_w2c_recv_2020_national_"
    "quest_award_result\022\016\n\006result\030\002 \001(\005\022\017\n\007qu"
    "estId\030\003 \001(\005\022\022\n\nreceiveBit\030\004 \001(\005\022%\n\005items"
    "\030\005 \003(\0132\026.msg_info_def.ItemInfo\"\255\001\n+packe"
    "tc2w_recv_2020_national_handbooks_gold\022i"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type:+e_mst_c2w_recv_202"
    "0_national_handbooks_gold\022\023\n\013handbooksId"
    "\030\002 \001(\005\"\313\001\n2packetw2c_recv_2020_national_"
    "handbooks_gold_result\022p\n\tpacket_id\030\001 \001(\016"
    "2).client2world_protocols.e_server_msg_t"
    "ype:2e_mst_w2c_recv_2020_national_handbo"
    "oks_gold_result\022\023\n\013handbooksId\030\002 \001(\005\022\016\n\006"
    "result\030\003 \001(\005\"\250\001\n,packetc2w_recv_2020_nat"
    "ional_handbooks_award\022j\n\tpacket_id\030\001 \001(\016"
    "2).client2world_protocols.e_server_msg_t"
    "ype:,e_mst_c2w_recv_2020_national_handbo"
    "oks_award\022\014\n\004type\030\002 \001(\005\"\306\001\n3packetw2c_re"
    "cv_2020_national_handbooks_award_result\022"
    "q\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type:3e_mst_w2c_recv_20"
    "20_national_handbooks_award_result\022\016\n\006re"
    "sult\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\216\001\n\037packetc2w_2"
    "020_national_lottery\022]\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:\037e_mst_c2w_2020_national_lottery\022\014\n\004t"
    "ype\030\002 \001(\005\"\276\001\n&packetw2c_2020_national_lo"
    "ttery_result\022d\n\tpacket_id\030\001 \001(\0162).client"
    "2world_protocols.e_server_msg_type:&e_ms"
    "t_w2c_2020_national_lottery_result\022\016\n\006re"
    "sult\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \003"
    "(\005\"\336\001\n&packetw2c_syn_personal_tailor_new"
    "_info\022d\n\tpacket_id\030\001 \001(\0162).client2world_"
    "protocols.e_server_msg_type:&e_mst_w2c_s"
    "yn_personal_tailor_new_info\022\025\n\ractivityS"
    "tate\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime"
    "\030\004 \001(\005\022\023\n\013tailorItems\030\005 \003(\005\"\243\001\n&packetc2"
    "w_change_personal_tailor_items\022d\n\tpacket"
    "_id\030\001 \001(\0162).client2world_protocols.e_ser"
    "ver_msg_type:&e_mst_c2w_change_personal_"
    "tailor_items\022\023\n\013tailorItems\030\002 \003(\005\"\301\001\n-pa"
    "cketw2c_change_personal_tailor_items_res"
    "ult\022k\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:-e_mst_w2c_cha"
    "nge_personal_tailor_items_result\022\023\n\013tail"
    "orItems\030\002 \003(\005\022\016\n\006result\030\003 \001(\005\"\325\001\n,packet"
    "w2c_syn_super_value_gift_activity_info\022j"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type:,e_mst_w2c_syn_supe"
    "r_value_gift_activity_info\022\025\n\ractivitySt"
    "ate\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030"
    "\004 \001(\005\"\234\003\n packetw2c_syn_double_eleven_in"
    "fo\022^\n\tpacket_id\030\001 \001(\0162).client2world_pro"
    "tocols.e_server_msg_type: e_mst_w2c_syn_"
    "double_eleven_info\022\025\n\ractivityState\030\002 \001("
    "\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\025\n"
    "\rlotteryTicket\030\005 \001(\005\022\024\n\014lotteryCount\030\006 \001"
    "(\005\022\022\n\nluckyValue\030\007 \001(\005\022\021\n\trecharged\030\010 \001("
    "\005\022\025\n\rrechargeCheck\030\t \003(\005\022\021\n\tleftCount\030\n "
    "\003(\005\022\016\n\006canbuy\030\013 \003(\010\0227\n\010rankList\030\014 \003(\0132%."
    "client2world_protocols.activity_rank\022\026\n\016"
    "thresholdValue\030\r \003(\005\"\204\001\n!packetc2w_get_d"
    "ouble_eleven_quest\022_\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":!e_mst_c2w_get_double_eleven_quest\"\303\001\n("
    "packetw2c_get_double_eleven_quest_result"
    "\022f\n\tpacket_id\030\001 \001(\0162).client2world_proto"
    "cols.e_server_msg_type:(e_mst_w2c_get_do"
    "uble_eleven_quest_result\022/\n\tquestList\030\002 "
    "\003(\0132\034.msg_info_def.msg_quest_info\"\245\001\n(pa"
    "cketw2c_syn_double_eleven_gift_reflush\022f"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type:(e_mst_w2c_syn_doub"
    "le_eleven_gift_reflush\022\021\n\tleftCount\030\002 \003("
    "\005\"\202\001\n packetc2w_get_double_eleven_rank\022^"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type: e_mst_c2w_get_doub"
    "le_eleven_rank\"\202\002\n\'packetw2c_get_double_"
    "eleven_rank_result\022e\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\'e_mst_w2c_get_double_eleven_rank_resul"
    "t\0227\n\010rankList\030\002 \003(\0132%.client2world_proto"
    "cols.activity_rank\022\017\n\007myCount\030\003 \001(\005\022\016\n\006m"
    "yRank\030\004 \001(\005\022\026\n\016thresholdValue\030\005 \003(\005\"\235\001\n\037"
    "packetc2w_double_eleven_lottery\022]\n\tpacke"
    "t_id\030\001 \001(\0162).client2world_protocols.e_se"
    "rver_msg_type:\037e_mst_c2w_double_eleven_l"
    "ottery\022\014\n\004type\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\341\001\n&"
    "packetw2c_double_eleven_lottery_result\022d"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type:&e_mst_w2c_double_e"
    "leven_lottery_result\022\016\n\006result\030\002 \001(\005\022\014\n\004"
    "type\030\003 \001(\005\022\r\n\005count\030\004 \001(\005\022\020\n\010rewardid\030\005 "
    "\003(\005\022\022\n\nrewardidEx\030\006 \003(\005\"\257\001\n/packetc2w_re"
    "ceive_double_eleven_recharge_reward\022m\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:/e_mst_c2w_receive_dou"
    "ble_eleven_recharge_reward\022\r\n\005index\030\002 \001("
    "\005\"\315\001\n6packetw2c_receive_double_eleven_re"
    "charge_reward_result\022t\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:6e_mst_w2c_receive_double_eleven_rech"
    "arge_reward_result\022\016\n\006result\030\002 \001(\005\022\r\n\005in"
    "dex\030\003 \001(\005\"\236\001\n.packetc2w_syn_double_eleve"
    "n_diamond_gift_count\022l\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe:.e_mst_c2w_syn_double_eleven_diamond_"
    "gift_count\"\317\001\n5packetw2c_syn_double_elev"
    "en_diamond_gift_count_result\022s\n\tpacket_i"
    "d\030\001 \001(\0162).client2world_protocols.e_serve"
    "r_msg_type:5e_mst_w2c_syn_double_eleven_"
    "diamond_gift_count_result\022\021\n\tleftCount\030\002"
    " \003(\005\022\016\n\006canbuy\030\003 \003(\010\"\243\001\n(packetc2w_recv_"
    "double_eleven_quest_award\022f\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:(e_mst_c2w_recv_double_eleven_qu"
    "est_award\022\017\n\007questId\030\002 \001(\005\"\350\001\n/packetw2c"
    "_recv_double_eleven_quest_award_result\022m"
    "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
    "ls.e_server_msg_type:/e_mst_w2c_recv_dou"
    "ble_eleven_quest_award_result\022\016\n\006result\030"
    "\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items\030\006 \003(\0132\026."
    "msg_info_def.ItemInfo\"\245\001\n*packetc2w_doub"
    "le_eleven_buy_lottery_ticket\022h\n\tpacket_i"
    "d\030\001 \001(\0162).client2world_protocols.e_serve"
    "r_msg_type:*e_mst_c2w_double_eleven_buy_"
    "lottery_ticket\022\r\n\005index\030\002 \001(\005\"\303\001\n1packet"
    "w2c_double_eleven_buy_lottery_ticket_res"
    "ult\022o\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:1e_mst_w2c_dou"
    "ble_eleven_buy_lottery_ticket_result\022\016\n\006"
    "result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\323\001\n\"packetw2"
    "c_syn_wing_experience_info\022`\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\"e_mst_w2c_syn_wing_experience_"
    "info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime"
    "\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\020\n\010received\030\005 \001("
    "\010\"\216\001\n&packetc2w_wing_experience_receive_"
    "wing\022d\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type:&e_mst_c2w_wi"
    "ng_experience_receive_wing\"\254\001\n-packetw2c"
    "_wing_experience_receive_wing_result\022k\n\t"
    "packet_id\030\001 \001(\0162).client2world_protocols"
    ".e_server_msg_type:-e_mst_w2c_wing_exper"
    "ience_receive_wing_result\022\016\n\006result\030\002 \001("
    "\005\")\n\014exchangeInfo\022\n\n\002id\030\001 \001(\005\022\r\n\005times\030\002"
    " \001(\005\"\322\003\n\034packetw2c_syn_kingcraft_info\022Z\n"
    "\tpacket_id\030\001 \001(\0162).client2world_protocol"
    "s.e_server_msg_type:\034e_mst_w2c_syn_kingc"
    "raft_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstar"
    "tTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\023\n\013shieldCo"
    "unt\030\005 \001(\005\022\025\n\rlotteryTicket\030\006 \001(\005\022\024\n\014lott"
    "eryCount\030\007 \001(\005\022\021\n\trecharged\030\010 \001(\005\022\025\n\rrec"
    "hargeCheck\030\t \003(\005\022\021\n\tsignCount\030\n \001(\005\022\017\n\007c"
    "anSign\030\013 \001(\010\0227\n\010rankList\030\014 \003(\0132%.client2"
    "world_protocols.activity_rank\022\026\n\016thresho"
    "ldValue\030\r \003(\005\022:\n\014exchangeList\030\016 \003(\0132$.cl"
    "ient2world_protocols.exchangeInfo\"z\n\034pac"
    "ketc2w_get_kingcraft_rank\022Z\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:\034e_mst_c2w_get_kingcraft_rank\"\372\001"
    "\n#packetw2c_get_kingcraft_rank_result\022a\n"
    "\tpacket_id\030\001 \001(\0162).client2world_protocol"
    "s.e_server_msg_type:#e_mst_w2c_get_kingc"
    "raft_rank_result\0227\n\010rankList\030\002 \003(\0132%.cli"
    "ent2world_protocols.activity_rank\022\017\n\007myC"
    "ount\030\003 \001(\005\022\016\n\006myRank\030\004 \001(\005\022\026\n\016thresholdV"
    "alue\030\005 \003(\005\"\225\001\n\033packetc2w_kingcraft_lotte"
    "ry\022Y\n\tpacket_id\030\001 \001(\0162).client2world_pro"
    "tocols.e_server_msg_type:\033e_mst_c2w_king"
    "craft_lottery\022\014\n\004type\030\002 \001(\005\022\r\n\005count\030\003 \001"
    "(\005\"\305\001\n\"packetw2c_kingcraft_lottery_resul"
    "t\022`\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:\"e_mst_w2c_kingc"
    "raft_lottery_result\022\016\n\006result\030\002 \001(\005\022\014\n\004t"
    "ype\030\003 \001(\005\022\r\n\005count\030\004 \001(\005\022\020\n\010rewardid\030\005 \003"
    "(\005\"\247\001\n+packetc2w_receive_kingcraft_recha"
    "rge_reward\022i\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:+e_mst_"
    "c2w_receive_kingcraft_recharge_reward\022\r\n"
    "\005index\030\002 \001(\005\"\305\001\n2packetw2c_receive_kingc"
    "raft_recharge_reward_result\022p\n\tpacket_id"
    "\030\001 \001(\0162).client2world_protocols.e_server"
    "_msg_type:2e_mst_w2c_receive_kingcraft_r"
    "echarge_reward_result\022\016\n\006result\030\002 \001(\005\022\r\n"
    "\005index\030\003 \001(\005\"\231\001\n$packetc2w_receive_kingc"
    "raft_exchange\022b\n\tpacket_id\030\001 \001(\0162).clien"
    "t2world_protocols.e_server_msg_type:$e_m"
    "st_c2w_receive_kingcraft_exchange\022\r\n\005ind"
    "ex\030\002 \001(\005\"\267\001\n+packetw2c_receive_kingcraft"
    "_exchange_result\022i\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:+"
    "e_mst_w2c_receive_kingcraft_exchange_res"
    "ult\022\r\n\005index\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\203\001\n\030p"
    "acketc2w_kingcraft_sign\022V\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:\030e_mst_c2w_kingcraft_sign\022\017\n\007signd"
    "ay\030\002 \001(\005\"\241\001\n\037packetw2c_kingcraft_sign_re"
    "sult\022]\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type:\037e_mst_w2c_ki"
    "ngcraft_sign_result\022\017\n\007signday\030\002 \001(\005\022\016\n\006"
    "result\030\003 \001(\005\"\311\001\n&packetw2c_syn_double_eg"
    "g_activity_info\022d\n\tpacket_id\030\001 \001(\0162).cli"
    "ent2world_protocols.e_server_msg_type:&e"
    "_mst_w2c_syn_double_egg_activity_info\022\025\n"
    "\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022"
    "\017\n\007endTime\030\004 \001(\005\"3\n\023touchingFishRecInfo\022"
    "\n\n\002id\030\001 \001(\005\022\020\n\010recValue\030\002 \001(\005\"\237\003\n)packet"
    "w2c_syn_touching_fish_activity_info\022g\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type:)e_mst_w2c_syn_touchin"
    "g_fish_activity_info\022\025\n\ractivityState\030\002 "
    "\001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022"
    "\016\n\006season\030\005 \001(\005\022\013\n\003exp\030\006 \001(\005\022\r\n\005level\030\007 "
    "\001(\005\022\017\n\007curweek\030\010 \001(\005\022\025\n\rweekStartTime\030\t "
    "\001(\005\022\023\n\013weekEndTime\030\n \001(\005\022\017\n\007weekExp\030\013 \001("
    "\005\022@\n\013levelRevIds\030\014 \003(\0132+.client2world_pr"
    "otocols.touchingFishRecInfo\022\022\n\nweekBoxRe"
    "v\030\r \001(\005\"\255\001\n\037packetw2c_syn_touching_fish_"
    "exp\022]\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:\037e_mst_w2c_syn"
    "_touching_fish_exp\022\013\n\003exp\030\002 \001(\005\022\r\n\005level"
    "\030\003 \001(\005\022\017\n\007weekExp\030\004 \001(\005\"\243\001\n)packetc2w_re"
    "cv_touching_fish_level_reward\022g\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:)e_mst_c2w_recv_touching_fis"
    "h_level_reward\022\r\n\005recId\030\016 \001(\005\"\323\001\n0packet"
    "w2c_recv_touching_fish_level_reward_resu"
    "lt\022n\n\tpacket_id\030\001 \001(\0162).client2world_pro"
    "tocols.e_server_msg_type:0e_mst_w2c_recv"
    "_touching_fish_level_reward_result\022\016\n\006re"
    "sult\030\002 \001(\005\022\r\n\005recId\030\003 \001(\005\022\020\n\010recValue\030\004 "
    "\001(\005\"\204\001\n!packetc2w_recv_touching_fish_tas"
    "k\022_\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:!e_mst_c2w_recv_"
    "touching_fish_task\"\370\001\n(packetw2c_recv_to"
    "uching_fish_task_result\022f\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:(e_mst_w2c_recv_touching_fish_task"
    "_result\022/\n\tquestList\030\002 \003(\0132\034.msg_info_de"
    "f.msg_quest_info\0223\n\rweekQuestList\030\003 \003(\0132"
    "\034.msg_info_def.msg_quest_info\"\243\001\n(packet"
    "c2w_recv_touching_fish_quest_award\022f\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:(e_mst_c2w_recv_touchin"
    "g_fish_quest_award\022\017\n\007questId\030\002 \001(\005\"\350\001\n/"
    "packetw2c_recv_touching_fish_quest_award"
    "_result\022m\n\tpacket_id\030\001 \001(\0162).client2worl"
    "d_protocols.e_server_msg_type:/e_mst_w2c"
    "_recv_touching_fish_quest_award_result\022\016"
    "\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items"
    "\030\004 \003(\0132\026.msg_info_def.ItemInfo\"\214\001\n%packe"
    "tc2w_recv_touching_fish_week_box\022c\n\tpack"
    "et_id\030\001 \001(\0162).client2world_protocols.e_s"
    "erver_msg_type:%e_mst_c2w_recv_touching_"
    "fish_week_box\"\345\001\n,packetw2c_recv_touchin"
    "g_fish_week_box_result\022j\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type:,e_mst_w2c_recv_touching_fish_week_"
    "box_result\022\016\n\006result\030\002 \001(\005\022\022\n\nweekBoxRev"
    "\030\003 \001(\005\022%\n\005items\030\004 \003(\0132\026.msg_info_def.Ite"
    "mInfo\"\231\001\n#packetc2w_flush_touching_fish_"
    "quest\022a\n\tpacket_id\030\001 \001(\0162).client2world_"
    "protocols.e_server_msg_type:#e_mst_c2w_f"
    "lush_touching_fish_quest\022\017\n\007questId\030\002 \001("
    "\005\"\313\001\n*packetw2c_flush_touching_fish_ques"
    "t_result\022h\n\tpacket_id\030\001 \001(\0162).client2wor"
    "ld_protocols.e_server_msg_type:*e_mst_w2"
    "c_flush_touching_fish_quest_result\022\016\n\006re"
    "sult\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022\022\n\nnewQuestI"
    "d\030\004 \001(\005\"\202\001\n packetc2w_get_touching_fish_"
    "rank\022^\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type: e_mst_c2w_ge"
    "t_touching_fish_rank\"\230\002\n\'packetw2c_get_t"
    "ouching_fish_rank_result\022e\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:\'e_mst_w2c_get_touching_fish_rank"
    "_result\0227\n\010rankList\030\002 \003(\0132%.client2world"
    "_protocols.activity_rank\022\026\n\016thresholdVal"
    "ue\030\003 \003(\005\0225\n\006myRank\030\004 \001(\0132%.client2world_"
    "protocols.activity_rank\"\327\004\n&packetw2c_sy"
    "n_fishing_celebration_info\022d\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:&e_mst_w2c_syn_fishing_celebrat"
    "ion_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstart"
    "Time\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\r\n\005curlv\030\005 \001"
    "(\005\022\023\n\013bubbleScore\030\006 \001(\005\022\021\n\tcleTicket\030\007 \001"
    "(\005\022\030\n\020cleLotteryTicket\030\010 \001(\005\022\024\n\014lotteryC"
    "ount\030\t \001(\005\022\030\n\020giftLotteryCount\030\n \003(\005\022\034\n\024"
    "giftLotteryFreeCount\030\013 \003(\005\022\030\n\020giftLotter"
    "yState\030\014 \003(\005\022\031\n\021giftLotteryTicket\030\r \003(\005\022"
    ":\n\014exchangeList\030\016 \003(\0132$.client2world_pro"
    "tocols.exchangeInfo\022\r\n\005itemA\030\017 \001(\010\022\r\n\005it"
    "emB\030\020 \001(\010\022\r\n\005itemC\030\021 \001(\010\0227\n\010rankList\030\022 \003"
    "(\0132%.client2world_protocols.activity_ran"
    "k\022\026\n\016thresholdValue\030\023 \003(\005\"\256\001\n%packetc2w_"
    "fishing_celebration_lottery\022c\n\tpacket_id"
    "\030\001 \001(\0162).client2world_protocols.e_server"
    "_msg_type:%e_mst_c2w_fishing_celebration"
    "_lottery\022\022\n\nallLottery\030\002 \001(\010\022\014\n\004type\030\003 \001"
    "(\005\"\362\001\n,packetw2c_fishing_celebration_lot"
    "tery_result\022j\n\tpacket_id\030\001 \001(\0162).client2"
    "world_protocols.e_server_msg_type:,e_mst"
    "_w2c_fishing_celebration_lottery_result\022"
    "\016\n\006result\030\002 \001(\005\022\022\n\nallLottery\030\003 \001(\010\022\014\n\004t"
    "ype\030\004 \001(\005\022\022\n\ncostTocket\030\005 \001(\005\022\020\n\010rewardi"
    "d\030\006 \003(\005\"\232\001\n&packetc2w_fishing_celebratio"
    "n_activate\022d\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:&e_mst_"
    "c2w_fishing_celebration_activate\022\n\n\002lv\030\002"
    " \001(\005\"\270\001\n-packetw2c_fishing_celebration_a"
    "ctivate_result\022k\n\tpacket_id\030\001 \001(\0162).clie"
    "nt2world_protocols.e_server_msg_type:-e_"
    "mst_w2c_fishing_celebration_activate_res"
    "ult\022\016\n\006result\030\002 \001(\005\022\n\n\002lv\030\003 \001(\005\"\254\001\n&pack"
    "etc2w_fishing_celebration_exchange\022d\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:&e_mst_c2w_fishing_cele"
    "bration_exchange\022\r\n\005index\030\002 \001(\005\022\r\n\005count"
    "\030\003 \001(\005\"\332\001\n-packetw2c_fishing_celebration"
    "_exchange_result\022k\n\tpacket_id\030\001 \001(\0162).cl"
    "ient2world_protocols.e_server_msg_type:-"
    "e_mst_w2c_fishing_celebration_exchange_r"
    "esult\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\r\n\005"
    "count\030\004 \001(\005\022\016\n\006getpro\030\005 \001(\005\"\273\001\n3packetw2"
    "c_syn_fishing_celebration_free_gift_lott"
    "ery\022q\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:3e_mst_w2c_syn"
    "_fishing_celebration_free_gift_lottery\022\021"
    "\n\tfreeCount\030\002 \003(\005\"\263\001\n*packetc2w_fishing_"
    "celebration_gift_lottery\022h\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:*e_mst_c2w_fishing_celebration_gi"
    "ft_lottery\022\014\n\004type\030\002 \001(\005\022\r\n\005isAdv\030\003 \001(\010\""
    "\366\001\n1packetw2c_fishing_celebration_gift_l"
    "ottery_result\022o\n\tpacket_id\030\001 \001(\0162).clien"
    "t2world_protocols.e_server_msg_type:1e_m"
    "st_w2c_fishing_celebration_gift_lottery_"
    "result\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\r\n\005"
    "isAdv\030\004 \001(\010\022\020\n\010rewardid\030\005 \001(\005\022\021\n\tfreeCou"
    "nt\030\006 \003(\005\"\262\001\n1packetc2w_fishing_celebrati"
    "on_gift_lottery_reward\022o\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type:1e_mst_c2w_fishing_celebration_gift"
    "_lottery_reward\022\014\n\004type\030\002 \001(\005\"\320\001\n8packet"
    "w2c_fishing_celebration_gift_lottery_rew"
    "ard_result\022v\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:8e_mst_"
    "w2c_fishing_celebration_gift_lottery_rew"
    "ard_result\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030\003 \001(\005"
    "\"\235\001\n&packetc2w_fishing_celebration_buy_g"
    "ift\022d\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:&e_mst_c2w_fis"
    "hing_celebration_buy_gift\022\r\n\005index\030\002 \001(\005"
    "\"\273\001\n-packetw2c_fishing_celebration_buy_g"
    "ift_result\022k\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:-e_mst_"
    "w2c_fishing_celebration_buy_gift_result\022"
    "\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\216\001\n&packe"
    "tc2w_get_fishing_celebration_rank\022d\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:&e_mst_c2w_get_fishing_c"
    "elebration_rank\"\244\002\n-packetw2c_get_fishin"
    "g_celebration_rank_result\022k\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:-e_mst_w2c_get_fishing_celebrati"
    "on_rank_result\0227\n\010rankList\030\002 \003(\0132%.clien"
    "t2world_protocols.activity_rank\022\026\n\016thres"
    "holdValue\030\003 \003(\005\0225\n\006myRank\030\004 \001(\0132%.client"
    "2world_protocols.activity_rank\"7\n\010prizeK"
    "ey\022\014\n\004gear\030\001 \001(\005\022\014\n\004rank\030\002 \001(\005\022\017\n\007keyLis"
    "t\030\003 \003(\t\"\251\002\n\034packetw2c_syn_feed_back_info"
    "\022Z\n\tpacket_id\030\001 \001(\0162).client2world_proto"
    "cols.e_server_msg_type:\034e_mst_w2c_syn_fe"
    "ed_back_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\ts"
    "tartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\023\n\013recei"
    "veTime\030\005 \001(\005\022\017\n\007curGear\030\006 \001(\005\022\027\n\017vipReve"
    "iveCount\030\007 \003(\005\0223\n\tprizeList\030\010 \003(\0132 .clie"
    "nt2world_protocols.prizeKey\"\224\001\n\"packetc2"
    "w_get_feed_back_vip_reward\022`\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\"e_mst_c2w_get_feed_back_vip_re"
    "ward\022\014\n\004gear\030\002 \001(\005\"\330\001\n)packetw2c_get_fee"
    "d_back_vip_reward_result\022g\n\tpacket_id\030\001 "
    "\001(\0162).client2world_protocols.e_server_ms"
    "g_type:)e_mst_w2c_get_feed_back_vip_rewa"
    "rd_result\022\016\n\006result\030\002 \001(\005\022\013\n\003vip\030\003 \001(\005\022\027"
    "\n\017vipReveiveCount\030\004 \001(\005\022\014\n\004gear\030\005 \001(\005\"\216\001"
    "\n\037packetc2w_get_feed_back_keylist\022]\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:\037e_mst_c2w_get_feed_back"
    "_keylist\022\014\n\004gear\030\002 \001(\005\"\255\001\n&packetw2c_get"
    "_feed_back_keylist_result\022d\n\tpacket_id\030\001"
    " \001(\0162).client2world_protocols.e_server_m"
    "sg_type:&e_mst_w2c_get_feed_back_keylist"
    "_result\022\014\n\004gear\030\002 \001(\005\022\017\n\007keyList\030\003 \003(\t\"\275"
    "\001\n packetw2c_syn_chip_treasure_info\022^\n\tp"
    "acket_id\030\001 \001(\0162).client2world_protocols."
    "e_server_msg_type: e_mst_w2c_syn_chip_tr"
    "easure_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tst"
    "artTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\"\235\001\n\037packe"
    "tc2w_chip_treasure_lottery\022]\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:\037e_mst_c2w_chip_treasure_lotter"
    "y\022\014\n\004type\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\312\001\n&packe"
    "tw2c_chip_treasure_lottery_result\022d\n\tpac"
    "ket_id\030\001 \001(\0162).client2world_protocols.e_"
    "server_msg_type:&e_mst_w2c_chip_treasure"
    "_lottery_result\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030"
    "\003 \001(\005\022\r\n\005count\030\004 \001(\005\022\r\n\005index\030\005 \003(\005\"@\n\017s"
    "endGoldHistory\022\r\n\005Round\030\002 \001(\005\022\020\n\010Nicknam"
    "e\030\003 \001(\t\022\014\n\004Gold\030\004 \001(\005\"\242\001\n\014sendGoldInfo\022\014"
    "\n\004Gear\030\001 \001(\005\022\017\n\007jackPot\030\002 \001(\005\022\020\n\010CurRoun"
    "d\030\003 \001(\005\022\020\n\010BuyCount\030\004 \001(\005\022\021\n\tPartTimes\030\005"
    " \001(\005\022<\n\013HistoryList\030\006 \003(\0132\'.client2world"
    "_protocols.sendGoldHistory\"\310\003\n\036packetw2c"
    "_syn_summer_plan_info\022\\\n\tpacket_id\030\001 \001(\016"
    "2).client2world_protocols.e_server_msg_t"
    "ype:\036e_mst_w2c_syn_summer_plan_info\022\025\n\ra"
    "ctivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n"
    "\007endTime\030\004 \001(\005\022\016\n\006active\030\005 \001(\010\022\023\n\013summer"
    "bingo\030\006 \001(\005\022\027\n\017freeRocketCount\030\007 \001(\005\022\026\n\016"
    "freeRocketCold\030\010 \001(\005\022\026\n\016rocketLeftRecv\030\t"
    " \001(\005\022\027\n\017rocketCurHeight\030\n \001(\005\022\021\n\trecharg"
    "ed\030\013 \001(\005\022\025\n\rrechargedRecv\030\014 \003(\005\022\025\n\rdrawE"
    "yeEnergy\030\r \001(\005\022\027\n\017touchGoldEnergy\030\016 \001(\005\022"
    "\024\n\014drawEyeTimes\030\017 \001(\005\022\026\n\016touchGoldTimes\030"
    "\020 \001(\005\"\222\001\n(packetc2w_summer_plan_get_redp"
    "acket_task\022f\n\tpacket_id\030\001 \001(\0162).client2w"
    "orld_protocols.e_server_msg_type:(e_mst_"
    "c2w_summer_plan_get_redpacket_task\"\321\001\n/p"
    "acketw2c_summer_plan_get_redpacket_task_"
    "result\022m\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:/e_mst_w2c_"
    "summer_plan_get_redpacket_task_result\022/\n"
    "\tquestList\030\002 \003(\0132\034.msg_info_def.msg_ques"
    "t_info\"\210\001\n#packetc2w_summer_plan_sendgol"
    "d_info\022a\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:#e_mst_c2w_"
    "summer_plan_sendgold_info\"\326\001\n*packetw2c_"
    "summer_plan_sendgold_info_result\022h\n\tpack"
    "et_id\030\001 \001(\0162).client2world_protocols.e_s"
    "erver_msg_type:*e_mst_w2c_summer_plan_se"
    "ndgold_info_result\022>\n\020sendGoldInfoList\030\002"
    " \003(\0132$.client2world_protocols.sendGoldIn"
    "fo\"z\n\034packetc2w_summer_plan_active\022Z\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:\034e_mst_c2w_summer_plan_"
    "active\"\230\001\n#packetw2c_summer_plan_active_"
    "result\022a\n\tpacket_id\030\001 \001(\0162).client2world"
    "_protocols.e_server_msg_type:#e_mst_w2c_"
    "summer_plan_active_result\022\016\n\006result\030\002 \001("
    "\005\"\231\001\n$packetc2w_summer_plan_recv_redpack"
    "et\022b\n\tpacket_id\030\001 \001(\0162).client2world_pro"
    "tocols.e_server_msg_type:$e_mst_c2w_summ"
    "er_plan_recv_redpacket\022\r\n\005index\030\002 \001(\005\"\336\001"
    "\n+packetw2c_summer_plan_recv_redpacket_r"
    "esult\022i\n\tpacket_id\030\001 \001(\0162).client2world_"
    "protocols.e_server_msg_type:+e_mst_w2c_s"
    "ummer_plan_recv_redpacket_result\022\016\n\006resu"
    "lt\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022%\n\005items\030\004 \003(\0132\026"
    ".msg_info_def.ItemInfo\"\231\001\n$packetc2w_sum"
    "mer_plan_recv_recharged\022b\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:$e_mst_c2w_summer_plan_recv_rechar"
    "ged\022\r\n\005index\030\002 \001(\005\"\267\001\n+packetw2c_summer_"
    "plan_recv_recharged_result\022i\n\tpacket_id\030"
    "\001 \001(\0162).client2world_protocols.e_server_"
    "msg_type:+e_mst_w2c_summer_plan_recv_rec"
    "harged_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003"
    " \001(\005\"\240\001\n\'packetc2w_summer_plan_buy_sendg"
    "old_gift\022e\n\tpacket_id\030\001 \001(\0162).client2wor"
    "ld_protocols.e_server_msg_type:\'e_mst_c2"
    "w_summer_plan_buy_sendgold_gift\022\016\n\006giftI"
    "D\030\002 \001(\005\"\345\001\n.packetw2c_summer_plan_buy_se"
    "ndgold_gift_result\022l\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":.e_mst_w2c_summer_plan_buy_sendgold_gif"
    "t_result\022\016\n\006result\030\002 \001(\005\022\016\n\006giftID\030\003 \001(\005"
    "\022%\n\005items\030\004 \003(\0132\026.msg_info_def.ItemInfo\""
    "z\n\034packetc2w_summer_plan_launch\022Z\n\tpacke"
    "t_id\030\001 \001(\0162).client2world_protocols.e_se"
    "rver_msg_type:\034e_mst_c2w_summer_plan_lau"
    "nch\"\331\001\n#packetw2c_summer_plan_launch_res"
    "ult\022a\n\tpacket_id\030\001 \001(\0162).client2world_pr"
    "otocols.e_server_msg_type:#e_mst_w2c_sum"
    "mer_plan_launch_result\022\016\n\006result\030\002 \001(\005\022\016"
    "\n\006height\030\003 \001(\005\022\027\n\017freeRocketCount\030\004 \001(\005\022"
    "\026\n\016freeRocketCold\030\005 \001(\005\"\221\001\n packetc2w_su"
    "mmer_plan_touch_gold\022^\n\tpacket_id\030\001 \001(\0162"
    ").client2world_protocols.e_server_msg_ty"
    "pe: e_mst_c2w_summer_plan_touch_gold\022\r\n\005"
    "index\030\002 \001(\005\"\355\001\n\'packetw2c_summer_plan_to"
    "uch_gold_result\022e\n\tpacket_id\030\001 \001(\0162).cli"
    "ent2world_protocols.e_server_msg_type:\'e"
    "_mst_w2c_summer_plan_touch_gold_result\022\016"
    "\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\014\n\004free\030\004 "
    "\001(\010\022\025\n\rdrawEyeEnergy\030\005 \001(\005\022\027\n\017touchGoldE"
    "nergy\030\006 \001(\005\"\272\002\n\037packetw2c_syn_happy_summ"
    "er_info\022]\n\tpacket_id\030\001 \001(\0162).client2worl"
    "d_protocols.e_server_msg_type:\037e_mst_w2c"
    "_syn_happy_summer_info\022\025\n\ractivityState\030"
    "\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001("
    "\005\022\016\n\006points\030\005 \001(\005\022\023\n\013blindboxkey\030\006 \001(\005\022\021"
    "\n\tlotterkey\030\007 \001(\005\022\024\n\014blindBoxList\030\010 \003(\005\022"
    "/\n\tquestList\030\t \003(\0132\034.msg_info_def.msg_qu"
    "est_info\"\200\001\n\037packetc2w_get_happy_summer_"
    "rank\022]\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type:\037e_mst_c2w_ge"
    "t_happy_summer_rank\"\200\002\n&packetw2c_get_ha"
    "ppy_summer_rank_result\022d\n\tpacket_id\030\001 \001("
    "\0162).client2world_protocols.e_server_msg_"
    "type:&e_mst_w2c_get_happy_summer_rank_re"
    "sult\0227\n\010rankList\030\002 \003(\0132%.client2world_pr"
    "otocols.activity_rank\022\017\n\007myCount\030\003 \001(\005\022\016"
    "\n\006myRank\030\004 \001(\005\022\026\n\016thresholdValue\030\005 \003(\005\"\217"
    "\001\n\037packetc2w_happy_summer_open_box\022]\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:\037e_mst_c2w_happy_summer"
    "_open_box\022\r\n\005index\030\002 \001(\005\"\324\001\n&packetw2c_h"
    "appy_summer_open_box_result\022d\n\tpacket_id"
    "\030\001 \001(\0162).client2world_protocols.e_server"
    "_msg_type:&e_mst_w2c_happy_summer_open_b"
    "ox_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005"
    "\022\r\n\005items\030\004 \003(\005\022\026\n\016curBlindBoxKey\030\005 \001(\005\""
    "\213\001\n\036packetc2w_happy_summer_lottery\022\\\n\tpa"
    "cket_id\030\001 \001(\0162).client2world_protocols.e"
    "_server_msg_type:\036e_mst_c2w_happy_summer"
    "_lottery\022\013\n\003all\030\002 \001(\010\"\276\001\n%packetw2c_happ"
    "y_summer_lottery_result\022c\n\tpacket_id\030\001 \001"
    "(\0162).client2world_protocols.e_server_msg"
    "_type:%e_mst_w2c_happy_summer_lottery_re"
    "sult\022\013\n\003all\030\002 \001(\010\022\016\n\006result\030\003 \001(\005\022\023\n\013rew"
    "ardIndex\030\004 \003(\005\"\241\001\n\'packetc2w_recv_happy_"
    "summer_quest_award\022e\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\'e_mst_c2w_recv_happy_summer_quest_awar"
    "d\022\017\n\007questId\030\002 \001(\005\"\277\001\n.packetw2c_recv_ha"
    "ppy_summer_quest_award_result\022l\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:.e_mst_w2c_recv_happy_summer"
    "_quest_award_result\022\016\n\006result\030\002 \001(\005\022\017\n\007q"
    "uestId\030\003 \001(\005\"\202\001\n packetc2w_get_happy_sum"
    "mer_quest\022^\n\tpacket_id\030\001 \001(\0162).client2wo"
    "rld_protocols.e_server_msg_type: e_mst_c"
    "2w_get_happy_summer_quest\"\301\001\n\'packetw2c_"
    "get_happy_summer_quest_result\022e\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:\'e_mst_w2c_get_happy_summer_"
    "quest_result\022/\n\tquestList\030\002 \003(\0132\034.msg_in"
    "fo_def.msg_quest_info", 49581);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "client2world_activity2.proto", &protobuf_RegisterTypes);
  packetw2c_activity_quest_notify::default_instance_ = new packetw2c_activity_quest_notify();
  packetw2c_syn_new_year_info::default_instance_ = new packetw2c_syn_new_year_info();
  packetc2w_recv_new_year_login_reward::default_instance_ = new packetc2w_recv_new_year_login_reward();
  packetw2c_recv_new_year_login_reward_result::default_instance_ = new packetw2c_recv_new_year_login_reward_result();
  packetw2c_syn_national_day_info::default_instance_ = new packetw2c_syn_national_day_info();
  packetw2c_national_day_quest_notify::default_instance_ = new packetw2c_national_day_quest_notify();
  packetc2w_recv_national_day_login_reward::default_instance_ = new packetc2w_recv_national_day_login_reward();
  packetw2c_recv_national_day_login_reward_result::default_instance_ = new packetw2c_recv_national_day_login_reward_result();
  packetc2w_recv_national_day_quest_award::default_instance_ = new packetc2w_recv_national_day_quest_award();
  packetw2c_recv_national_day_quest_award_result::default_instance_ = new packetw2c_recv_national_day_quest_award_result();
  packetc2w_national_day_choose_task::default_instance_ = new packetc2w_national_day_choose_task();
  packetw2c_national_day_choose_task_result::default_instance_ = new packetw2c_national_day_choose_task_result();
  packetw2c_syn_spring_day_info::default_instance_ = new packetw2c_syn_spring_day_info();
  packetc2w_recv_spring_day_login_reward::default_instance_ = new packetc2w_recv_spring_day_login_reward();
  packetw2c_recv_spring_day_login_reward_result::default_instance_ = new packetw2c_recv_spring_day_login_reward_result();
  packetw2c_syn_hunt_fish_info::default_instance_ = new packetw2c_syn_hunt_fish_info();
  packetc2w_get_hunt_fish_quest::default_instance_ = new packetc2w_get_hunt_fish_quest();
  packetw2c_get_hunt_fish_quest_result::default_instance_ = new packetw2c_get_hunt_fish_quest_result();
  packetc2w_recv_hunt_fish_quest_award::default_instance_ = new packetc2w_recv_hunt_fish_quest_award();
  packetw2c_recv_hunt_fish_quest_award_result::default_instance_ = new packetw2c_recv_hunt_fish_quest_award_result();
  packetw2c_syn_recharge_activity_info::default_instance_ = new packetw2c_syn_recharge_activity_info();
  packetc2w_recharge_activity_rebate::default_instance_ = new packetc2w_recharge_activity_rebate();
  packetw2c_recharge_activity_rebate_result::default_instance_ = new packetw2c_recharge_activity_rebate_result();
  packetw2c_syn_wuyi_vacation_info::default_instance_ = new packetw2c_syn_wuyi_vacation_info();
  packetc2w_recv_wuyi_login_reward::default_instance_ = new packetc2w_recv_wuyi_login_reward();
  packetw2c_recv_wuyi_login_reward_result::default_instance_ = new packetw2c_recv_wuyi_login_reward_result();
  packetc2w_recv_wuyi_quest_award::default_instance_ = new packetc2w_recv_wuyi_quest_award();
  packetw2c_recv_wuyi_quest_award_result::default_instance_ = new packetw2c_recv_wuyi_quest_award_result();
  packetc2w_recv_wuyi_handbooks_gold::default_instance_ = new packetc2w_recv_wuyi_handbooks_gold();
  packetw2c_recv_wuyi_handbooks_gold_result::default_instance_ = new packetw2c_recv_wuyi_handbooks_gold_result();
  packetc2w_recv_wuyi_handbooks_award::default_instance_ = new packetc2w_recv_wuyi_handbooks_award();
  packetw2c_recv_wuyi_handbooks_award_result::default_instance_ = new packetw2c_recv_wuyi_handbooks_award_result();
  packetc2w_wuyi_lottery::default_instance_ = new packetc2w_wuyi_lottery();
  packetw2c_wuyi_lottery_result::default_instance_ = new packetw2c_wuyi_lottery_result();
  pointRewardInfos::default_instance_ = new pointRewardInfos();
  pointInfos::default_instance_ = new pointInfos();
  packetw2c_syn_room_quest_info::default_instance_ = new packetw2c_syn_room_quest_info();
  packetc2w_get_room_quest::default_instance_ = new packetc2w_get_room_quest();
  packetw2c_get_room_quest_result::default_instance_ = new packetw2c_get_room_quest_result();
  packetc2w_recv_room_quest_award::default_instance_ = new packetc2w_recv_room_quest_award();
  packetw2c_recv_room_quest_award_result::default_instance_ = new packetw2c_recv_room_quest_award_result();
  packetc2w_recv_room_quest_point_award::default_instance_ = new packetc2w_recv_room_quest_point_award();
  packetw2c_recv_room_quest_point_award_result::default_instance_ = new packetw2c_recv_room_quest_point_award_result();
  packetw2c_syn_catch_fish_info::default_instance_ = new packetw2c_syn_catch_fish_info();
  catchFishHistory::default_instance_ = new catchFishHistory();
  catchFishInfo::default_instance_ = new catchFishInfo();
  packetc2w_catch_fish::default_instance_ = new packetc2w_catch_fish();
  packetw2c_catch_fish_result::default_instance_ = new packetw2c_catch_fish_result();
  packetc2w_catch_fish_history::default_instance_ = new packetc2w_catch_fish_history();
  packetw2c_catch_fish_history_result::default_instance_ = new packetw2c_catch_fish_history_result();
  packetw2c_syn_duanwu_vacation_info::default_instance_ = new packetw2c_syn_duanwu_vacation_info();
  packetc2w_get_duanwu_vacation_quest::default_instance_ = new packetc2w_get_duanwu_vacation_quest();
  packetw2c_get_duanwu_vacation_quest_result::default_instance_ = new packetw2c_get_duanwu_vacation_quest_result();
  packetc2w_recv_duanwu_login_reward::default_instance_ = new packetc2w_recv_duanwu_login_reward();
  packetw2c_recv_duanwu_login_reward_result::default_instance_ = new packetw2c_recv_duanwu_login_reward_result();
  packetc2w_recv_duanwu_quest_award::default_instance_ = new packetc2w_recv_duanwu_quest_award();
  packetw2c_recv_duanwu_quest_award_result::default_instance_ = new packetw2c_recv_duanwu_quest_award_result();
  packetc2w_recv_duanwu_handbooks_gold::default_instance_ = new packetc2w_recv_duanwu_handbooks_gold();
  packetw2c_recv_duanwu_handbooks_gold_result::default_instance_ = new packetw2c_recv_duanwu_handbooks_gold_result();
  packetc2w_recv_duanwu_handbooks_award::default_instance_ = new packetc2w_recv_duanwu_handbooks_award();
  packetw2c_recv_duanwu_handbooks_award_result::default_instance_ = new packetw2c_recv_duanwu_handbooks_award_result();
  packetc2w_duanwu_lottery::default_instance_ = new packetc2w_duanwu_lottery();
  packetw2c_duanwu_lottery_result::default_instance_ = new packetw2c_duanwu_lottery_result();
  packetw2c_syn_summer_vacation_info::default_instance_ = new packetw2c_syn_summer_vacation_info();
  packetc2w_get_summer_quest::default_instance_ = new packetc2w_get_summer_quest();
  packetw2c_get_summer_quest_result::default_instance_ = new packetw2c_get_summer_quest_result();
  packetc2w_recv_summer_login_reward::default_instance_ = new packetc2w_recv_summer_login_reward();
  packetw2c_recv_summer_login_reward_result::default_instance_ = new packetw2c_recv_summer_login_reward_result();
  packetc2w_recv_summer_quest_award::default_instance_ = new packetc2w_recv_summer_quest_award();
  packetw2c_recv_summer_quest_award_result::default_instance_ = new packetw2c_recv_summer_quest_award_result();
  packetc2w_recv_summer_handbooks_gold::default_instance_ = new packetc2w_recv_summer_handbooks_gold();
  packetw2c_recv_summer_handbooks_gold_result::default_instance_ = new packetw2c_recv_summer_handbooks_gold_result();
  packetc2w_recv_summer_handbooks_award::default_instance_ = new packetc2w_recv_summer_handbooks_award();
  packetw2c_recv_summer_handbooks_award_result::default_instance_ = new packetw2c_recv_summer_handbooks_award_result();
  packetc2w_summer_lottery::default_instance_ = new packetc2w_summer_lottery();
  packetw2c_summer_lottery_result::default_instance_ = new packetw2c_summer_lottery_result();
  onr_history_info::default_instance_ = new onr_history_info();
  packetw2c_syn_one_night_rich_info::default_instance_ = new packetw2c_syn_one_night_rich_info();
  packetc2w_recv_one_night_rich_award::default_instance_ = new packetc2w_recv_one_night_rich_award();
  packetw2c_recv_one_night_rich_result::default_instance_ = new packetw2c_recv_one_night_rich_result();
  packetc2w_recv_onr_historyList::default_instance_ = new packetc2w_recv_onr_historyList();
  packetw2c_recv_onr_historyList_result::default_instance_ = new packetw2c_recv_onr_historyList_result();
  packetw2c_syn_fortune_star_info::default_instance_ = new packetw2c_syn_fortune_star_info();
  packetc2w_get_fortune_star_quest::default_instance_ = new packetc2w_get_fortune_star_quest();
  packetw2c_get_fortune_star_quest_result::default_instance_ = new packetw2c_get_fortune_star_quest_result();
  packetc2w_recv_fortune_star_quest_award::default_instance_ = new packetc2w_recv_fortune_star_quest_award();
  packetw2c_recv_fortune_star_quest_award_result::default_instance_ = new packetw2c_recv_fortune_star_quest_award_result();
  packetc2w_recv_fortune_star_award::default_instance_ = new packetc2w_recv_fortune_star_award();
  packetw2c_recv_fortune_star_award_result::default_instance_ = new packetw2c_recv_fortune_star_award_result();
  activity_rank::default_instance_ = new activity_rank();
  personal_tailor_lottery_history::default_instance_ = new personal_tailor_lottery_history();
  packetw2c_syn_personal_tailor_info::default_instance_ = new packetw2c_syn_personal_tailor_info();
  packetc2w_get_personal_tailor_rank::default_instance_ = new packetc2w_get_personal_tailor_rank();
  packetw2c_get_personal_tailor_rank_result::default_instance_ = new packetw2c_get_personal_tailor_rank_result();
  packetc2w_get_personal_tailor_lottry_history::default_instance_ = new packetc2w_get_personal_tailor_lottry_history();
  packetw2c_get_personal_tailor_lottry_history_result::default_instance_ = new packetw2c_get_personal_tailor_lottry_history_result();
  packetc2w_personal_tailor_lottery::default_instance_ = new packetc2w_personal_tailor_lottery();
  packetw2c_personal_tailor_lottery_result::default_instance_ = new packetw2c_personal_tailor_lottery_result();
  packetc2w_personal_tailor_exchange::default_instance_ = new packetc2w_personal_tailor_exchange();
  packetw2c_personal_tailor_exchange_result::default_instance_ = new packetw2c_personal_tailor_exchange_result();
  packetw2c_syn_time_limit_purchase_info::default_instance_ = new packetw2c_syn_time_limit_purchase_info();
  packetc2w_time_limit_purchase_lottery::default_instance_ = new packetc2w_time_limit_purchase_lottery();
  packetw2c_time_limit_purchase_lottery_result::default_instance_ = new packetw2c_time_limit_purchase_lottery_result();
  packetw2c_syn_lucky_bag_info::default_instance_ = new packetw2c_syn_lucky_bag_info();
  packetw2c_syn_vip_limit_purchase_info::default_instance_ = new packetw2c_syn_vip_limit_purchase_info();
  packetw2c_syn_turret_lottery_info::default_instance_ = new packetw2c_syn_turret_lottery_info();
  packetc2w_turret_lottery::default_instance_ = new packetc2w_turret_lottery();
  packetw2c_turret_lottery_result::default_instance_ = new packetw2c_turret_lottery_result();
  packetw2c_syn_smashing_eggs_info::default_instance_ = new packetw2c_syn_smashing_eggs_info();
  packetc2w_get_smashing_eggs_info::default_instance_ = new packetc2w_get_smashing_eggs_info();
  packetc2w_smashing_eggs::default_instance_ = new packetc2w_smashing_eggs();
  packetw2c_smashing_eggs_result::default_instance_ = new packetw2c_smashing_eggs_result();
  packetc2w_get_smashing_eggs_rank::default_instance_ = new packetc2w_get_smashing_eggs_rank();
  packetw2c_get_smashing_eggs_rank_result::default_instance_ = new packetw2c_get_smashing_eggs_rank_result();
  packetw2c_syn_rich_lottery_info::default_instance_ = new packetw2c_syn_rich_lottery_info();
  packetc2w_rich_lottery::default_instance_ = new packetc2w_rich_lottery();
  packetw2c_rich_lottery_result::default_instance_ = new packetw2c_rich_lottery_result();
  packetw2c_syn_summer_revels_info::default_instance_ = new packetw2c_syn_summer_revels_info();
  packetc2w_get_summer_revels_rank::default_instance_ = new packetc2w_get_summer_revels_rank();
  packetw2c_get_summer_revels_rank_result::default_instance_ = new packetw2c_get_summer_revels_rank_result();
  packetc2w_summer_revels_lottery::default_instance_ = new packetc2w_summer_revels_lottery();
  packetw2c_summer_revels_lottery_result::default_instance_ = new packetw2c_summer_revels_lottery_result();
  attackInfo::default_instance_ = new attackInfo();
  demonTowerInfo::default_instance_ = new demonTowerInfo();
  weaponInfo::default_instance_ = new weaponInfo();
  packetw2c_syn_kill_demons_info::default_instance_ = new packetw2c_syn_kill_demons_info();
  packetc2w_recv_kill_demons_quest_award::default_instance_ = new packetc2w_recv_kill_demons_quest_award();
  packetw2c_recv_kill_demons_quest_award_result::default_instance_ = new packetw2c_recv_kill_demons_quest_award_result();
  packetc2w_recv_trial_score_award::default_instance_ = new packetc2w_recv_trial_score_award();
  packetw2c_recv_trial_score_award_result::default_instance_ = new packetw2c_recv_trial_score_award_result();
  packetc2w_recv_star_award::default_instance_ = new packetc2w_recv_star_award();
  packetw2c_recv_star_award_result::default_instance_ = new packetw2c_recv_star_award_result();
  packetc2w_attack_demon::default_instance_ = new packetc2w_attack_demon();
  packetw2c_attack_demon_result::default_instance_ = new packetw2c_attack_demon_result();
  packetc2w_get_kill_demons_rank::default_instance_ = new packetc2w_get_kill_demons_rank();
  packetw2c_get_kill_demons_rank_result::default_instance_ = new packetw2c_get_kill_demons_rank_result();
  packetc2w_kill_demons_smelt::default_instance_ = new packetc2w_kill_demons_smelt();
  packetw2c_kill_demons_smelt_result::default_instance_ = new packetw2c_kill_demons_smelt_result();
  packetc2w_recv_sword_energy_award::default_instance_ = new packetc2w_recv_sword_energy_award();
  packetw2c_recv_sword_energy_award_result::default_instance_ = new packetw2c_recv_sword_energy_award_result();
  packetc2w_kill_demons_task::default_instance_ = new packetc2w_kill_demons_task();
  packetw2c_kill_demons_task_result::default_instance_ = new packetw2c_kill_demons_task_result();
  packetw2c_syn_2020_national_info::default_instance_ = new packetw2c_syn_2020_national_info();
  packetc2w_get_2020_national_quest::default_instance_ = new packetc2w_get_2020_national_quest();
  packetw2c_get_2020_national_quest_result::default_instance_ = new packetw2c_get_2020_national_quest_result();
  packetc2w_recv_2020_national_login_reward::default_instance_ = new packetc2w_recv_2020_national_login_reward();
  packetw2c_recv_2020_national_login_reward_result::default_instance_ = new packetw2c_recv_2020_national_login_reward_result();
  packetc2w_recv_2020_national_quest_award::default_instance_ = new packetc2w_recv_2020_national_quest_award();
  packetw2c_recv_2020_national_quest_award_result::default_instance_ = new packetw2c_recv_2020_national_quest_award_result();
  packetc2w_recv_2020_national_handbooks_gold::default_instance_ = new packetc2w_recv_2020_national_handbooks_gold();
  packetw2c_recv_2020_national_handbooks_gold_result::default_instance_ = new packetw2c_recv_2020_national_handbooks_gold_result();
  packetc2w_recv_2020_national_handbooks_award::default_instance_ = new packetc2w_recv_2020_national_handbooks_award();
  packetw2c_recv_2020_national_handbooks_award_result::default_instance_ = new packetw2c_recv_2020_national_handbooks_award_result();
  packetc2w_2020_national_lottery::default_instance_ = new packetc2w_2020_national_lottery();
  packetw2c_2020_national_lottery_result::default_instance_ = new packetw2c_2020_national_lottery_result();
  packetw2c_syn_personal_tailor_new_info::default_instance_ = new packetw2c_syn_personal_tailor_new_info();
  packetc2w_change_personal_tailor_items::default_instance_ = new packetc2w_change_personal_tailor_items();
  packetw2c_change_personal_tailor_items_result::default_instance_ = new packetw2c_change_personal_tailor_items_result();
  packetw2c_syn_super_value_gift_activity_info::default_instance_ = new packetw2c_syn_super_value_gift_activity_info();
  packetw2c_syn_double_eleven_info::default_instance_ = new packetw2c_syn_double_eleven_info();
  packetc2w_get_double_eleven_quest::default_instance_ = new packetc2w_get_double_eleven_quest();
  packetw2c_get_double_eleven_quest_result::default_instance_ = new packetw2c_get_double_eleven_quest_result();
  packetw2c_syn_double_eleven_gift_reflush::default_instance_ = new packetw2c_syn_double_eleven_gift_reflush();
  packetc2w_get_double_eleven_rank::default_instance_ = new packetc2w_get_double_eleven_rank();
  packetw2c_get_double_eleven_rank_result::default_instance_ = new packetw2c_get_double_eleven_rank_result();
  packetc2w_double_eleven_lottery::default_instance_ = new packetc2w_double_eleven_lottery();
  packetw2c_double_eleven_lottery_result::default_instance_ = new packetw2c_double_eleven_lottery_result();
  packetc2w_receive_double_eleven_recharge_reward::default_instance_ = new packetc2w_receive_double_eleven_recharge_reward();
  packetw2c_receive_double_eleven_recharge_reward_result::default_instance_ = new packetw2c_receive_double_eleven_recharge_reward_result();
  packetc2w_syn_double_eleven_diamond_gift_count::default_instance_ = new packetc2w_syn_double_eleven_diamond_gift_count();
  packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_ = new packetw2c_syn_double_eleven_diamond_gift_count_result();
  packetc2w_recv_double_eleven_quest_award::default_instance_ = new packetc2w_recv_double_eleven_quest_award();
  packetw2c_recv_double_eleven_quest_award_result::default_instance_ = new packetw2c_recv_double_eleven_quest_award_result();
  packetc2w_double_eleven_buy_lottery_ticket::default_instance_ = new packetc2w_double_eleven_buy_lottery_ticket();
  packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_ = new packetw2c_double_eleven_buy_lottery_ticket_result();
  packetw2c_syn_wing_experience_info::default_instance_ = new packetw2c_syn_wing_experience_info();
  packetc2w_wing_experience_receive_wing::default_instance_ = new packetc2w_wing_experience_receive_wing();
  packetw2c_wing_experience_receive_wing_result::default_instance_ = new packetw2c_wing_experience_receive_wing_result();
  exchangeInfo::default_instance_ = new exchangeInfo();
  packetw2c_syn_kingcraft_info::default_instance_ = new packetw2c_syn_kingcraft_info();
  packetc2w_get_kingcraft_rank::default_instance_ = new packetc2w_get_kingcraft_rank();
  packetw2c_get_kingcraft_rank_result::default_instance_ = new packetw2c_get_kingcraft_rank_result();
  packetc2w_kingcraft_lottery::default_instance_ = new packetc2w_kingcraft_lottery();
  packetw2c_kingcraft_lottery_result::default_instance_ = new packetw2c_kingcraft_lottery_result();
  packetc2w_receive_kingcraft_recharge_reward::default_instance_ = new packetc2w_receive_kingcraft_recharge_reward();
  packetw2c_receive_kingcraft_recharge_reward_result::default_instance_ = new packetw2c_receive_kingcraft_recharge_reward_result();
  packetc2w_receive_kingcraft_exchange::default_instance_ = new packetc2w_receive_kingcraft_exchange();
  packetw2c_receive_kingcraft_exchange_result::default_instance_ = new packetw2c_receive_kingcraft_exchange_result();
  packetc2w_kingcraft_sign::default_instance_ = new packetc2w_kingcraft_sign();
  packetw2c_kingcraft_sign_result::default_instance_ = new packetw2c_kingcraft_sign_result();
  packetw2c_syn_double_egg_activity_info::default_instance_ = new packetw2c_syn_double_egg_activity_info();
  touchingFishRecInfo::default_instance_ = new touchingFishRecInfo();
  packetw2c_syn_touching_fish_activity_info::default_instance_ = new packetw2c_syn_touching_fish_activity_info();
  packetw2c_syn_touching_fish_exp::default_instance_ = new packetw2c_syn_touching_fish_exp();
  packetc2w_recv_touching_fish_level_reward::default_instance_ = new packetc2w_recv_touching_fish_level_reward();
  packetw2c_recv_touching_fish_level_reward_result::default_instance_ = new packetw2c_recv_touching_fish_level_reward_result();
  packetc2w_recv_touching_fish_task::default_instance_ = new packetc2w_recv_touching_fish_task();
  packetw2c_recv_touching_fish_task_result::default_instance_ = new packetw2c_recv_touching_fish_task_result();
  packetc2w_recv_touching_fish_quest_award::default_instance_ = new packetc2w_recv_touching_fish_quest_award();
  packetw2c_recv_touching_fish_quest_award_result::default_instance_ = new packetw2c_recv_touching_fish_quest_award_result();
  packetc2w_recv_touching_fish_week_box::default_instance_ = new packetc2w_recv_touching_fish_week_box();
  packetw2c_recv_touching_fish_week_box_result::default_instance_ = new packetw2c_recv_touching_fish_week_box_result();
  packetc2w_flush_touching_fish_quest::default_instance_ = new packetc2w_flush_touching_fish_quest();
  packetw2c_flush_touching_fish_quest_result::default_instance_ = new packetw2c_flush_touching_fish_quest_result();
  packetc2w_get_touching_fish_rank::default_instance_ = new packetc2w_get_touching_fish_rank();
  packetw2c_get_touching_fish_rank_result::default_instance_ = new packetw2c_get_touching_fish_rank_result();
  packetw2c_syn_fishing_celebration_info::default_instance_ = new packetw2c_syn_fishing_celebration_info();
  packetc2w_fishing_celebration_lottery::default_instance_ = new packetc2w_fishing_celebration_lottery();
  packetw2c_fishing_celebration_lottery_result::default_instance_ = new packetw2c_fishing_celebration_lottery_result();
  packetc2w_fishing_celebration_activate::default_instance_ = new packetc2w_fishing_celebration_activate();
  packetw2c_fishing_celebration_activate_result::default_instance_ = new packetw2c_fishing_celebration_activate_result();
  packetc2w_fishing_celebration_exchange::default_instance_ = new packetc2w_fishing_celebration_exchange();
  packetw2c_fishing_celebration_exchange_result::default_instance_ = new packetw2c_fishing_celebration_exchange_result();
  packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_ = new packetw2c_syn_fishing_celebration_free_gift_lottery();
  packetc2w_fishing_celebration_gift_lottery::default_instance_ = new packetc2w_fishing_celebration_gift_lottery();
  packetw2c_fishing_celebration_gift_lottery_result::default_instance_ = new packetw2c_fishing_celebration_gift_lottery_result();
  packetc2w_fishing_celebration_gift_lottery_reward::default_instance_ = new packetc2w_fishing_celebration_gift_lottery_reward();
  packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_ = new packetw2c_fishing_celebration_gift_lottery_reward_result();
  packetc2w_fishing_celebration_buy_gift::default_instance_ = new packetc2w_fishing_celebration_buy_gift();
  packetw2c_fishing_celebration_buy_gift_result::default_instance_ = new packetw2c_fishing_celebration_buy_gift_result();
  packetc2w_get_fishing_celebration_rank::default_instance_ = new packetc2w_get_fishing_celebration_rank();
  packetw2c_get_fishing_celebration_rank_result::default_instance_ = new packetw2c_get_fishing_celebration_rank_result();
  prizeKey::default_instance_ = new prizeKey();
  packetw2c_syn_feed_back_info::default_instance_ = new packetw2c_syn_feed_back_info();
  packetc2w_get_feed_back_vip_reward::default_instance_ = new packetc2w_get_feed_back_vip_reward();
  packetw2c_get_feed_back_vip_reward_result::default_instance_ = new packetw2c_get_feed_back_vip_reward_result();
  packetc2w_get_feed_back_keylist::default_instance_ = new packetc2w_get_feed_back_keylist();
  packetw2c_get_feed_back_keylist_result::default_instance_ = new packetw2c_get_feed_back_keylist_result();
  packetw2c_syn_chip_treasure_info::default_instance_ = new packetw2c_syn_chip_treasure_info();
  packetc2w_chip_treasure_lottery::default_instance_ = new packetc2w_chip_treasure_lottery();
  packetw2c_chip_treasure_lottery_result::default_instance_ = new packetw2c_chip_treasure_lottery_result();
  sendGoldHistory::default_instance_ = new sendGoldHistory();
  sendGoldInfo::default_instance_ = new sendGoldInfo();
  packetw2c_syn_summer_plan_info::default_instance_ = new packetw2c_syn_summer_plan_info();
  packetc2w_summer_plan_get_redpacket_task::default_instance_ = new packetc2w_summer_plan_get_redpacket_task();
  packetw2c_summer_plan_get_redpacket_task_result::default_instance_ = new packetw2c_summer_plan_get_redpacket_task_result();
  packetc2w_summer_plan_sendgold_info::default_instance_ = new packetc2w_summer_plan_sendgold_info();
  packetw2c_summer_plan_sendgold_info_result::default_instance_ = new packetw2c_summer_plan_sendgold_info_result();
  packetc2w_summer_plan_active::default_instance_ = new packetc2w_summer_plan_active();
  packetw2c_summer_plan_active_result::default_instance_ = new packetw2c_summer_plan_active_result();
  packetc2w_summer_plan_recv_redpacket::default_instance_ = new packetc2w_summer_plan_recv_redpacket();
  packetw2c_summer_plan_recv_redpacket_result::default_instance_ = new packetw2c_summer_plan_recv_redpacket_result();
  packetc2w_summer_plan_recv_recharged::default_instance_ = new packetc2w_summer_plan_recv_recharged();
  packetw2c_summer_plan_recv_recharged_result::default_instance_ = new packetw2c_summer_plan_recv_recharged_result();
  packetc2w_summer_plan_buy_sendgold_gift::default_instance_ = new packetc2w_summer_plan_buy_sendgold_gift();
  packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_ = new packetw2c_summer_plan_buy_sendgold_gift_result();
  packetc2w_summer_plan_launch::default_instance_ = new packetc2w_summer_plan_launch();
  packetw2c_summer_plan_launch_result::default_instance_ = new packetw2c_summer_plan_launch_result();
  packetc2w_summer_plan_touch_gold::default_instance_ = new packetc2w_summer_plan_touch_gold();
  packetw2c_summer_plan_touch_gold_result::default_instance_ = new packetw2c_summer_plan_touch_gold_result();
  packetw2c_syn_happy_summer_info::default_instance_ = new packetw2c_syn_happy_summer_info();
  packetc2w_get_happy_summer_rank::default_instance_ = new packetc2w_get_happy_summer_rank();
  packetw2c_get_happy_summer_rank_result::default_instance_ = new packetw2c_get_happy_summer_rank_result();
  packetc2w_happy_summer_open_box::default_instance_ = new packetc2w_happy_summer_open_box();
  packetw2c_happy_summer_open_box_result::default_instance_ = new packetw2c_happy_summer_open_box_result();
  packetc2w_happy_summer_lottery::default_instance_ = new packetc2w_happy_summer_lottery();
  packetw2c_happy_summer_lottery_result::default_instance_ = new packetw2c_happy_summer_lottery_result();
  packetc2w_recv_happy_summer_quest_award::default_instance_ = new packetc2w_recv_happy_summer_quest_award();
  packetw2c_recv_happy_summer_quest_award_result::default_instance_ = new packetw2c_recv_happy_summer_quest_award_result();
  packetc2w_get_happy_summer_quest::default_instance_ = new packetc2w_get_happy_summer_quest();
  packetw2c_get_happy_summer_quest_result::default_instance_ = new packetw2c_get_happy_summer_quest_result();
  packetw2c_activity_quest_notify::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_new_year_info::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_new_year_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_new_year_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_national_day_info::default_instance_->InitAsDefaultInstance();
  packetw2c_national_day_quest_notify::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_national_day_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_national_day_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_national_day_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_national_day_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_national_day_choose_task::default_instance_->InitAsDefaultInstance();
  packetw2c_national_day_choose_task_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_spring_day_info::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_spring_day_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_spring_day_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_hunt_fish_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_hunt_fish_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_hunt_fish_quest_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_hunt_fish_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_hunt_fish_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_recharge_activity_info::default_instance_->InitAsDefaultInstance();
  packetc2w_recharge_activity_rebate::default_instance_->InitAsDefaultInstance();
  packetw2c_recharge_activity_rebate_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_wuyi_vacation_info::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_wuyi_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_wuyi_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_wuyi_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_wuyi_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_wuyi_handbooks_gold::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_wuyi_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_wuyi_handbooks_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_wuyi_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_wuyi_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_wuyi_lottery_result::default_instance_->InitAsDefaultInstance();
  pointRewardInfos::default_instance_->InitAsDefaultInstance();
  pointInfos::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_room_quest_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_room_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_room_quest_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_room_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_room_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_room_quest_point_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_room_quest_point_award_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_catch_fish_info::default_instance_->InitAsDefaultInstance();
  catchFishHistory::default_instance_->InitAsDefaultInstance();
  catchFishInfo::default_instance_->InitAsDefaultInstance();
  packetc2w_catch_fish::default_instance_->InitAsDefaultInstance();
  packetw2c_catch_fish_result::default_instance_->InitAsDefaultInstance();
  packetc2w_catch_fish_history::default_instance_->InitAsDefaultInstance();
  packetw2c_catch_fish_history_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_duanwu_vacation_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_duanwu_vacation_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_duanwu_vacation_quest_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_duanwu_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_duanwu_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_duanwu_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_duanwu_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_duanwu_handbooks_gold::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_duanwu_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_duanwu_handbooks_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_duanwu_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_duanwu_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_duanwu_lottery_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_summer_vacation_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_summer_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_summer_quest_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_summer_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_summer_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_summer_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_summer_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_summer_handbooks_gold::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_summer_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_summer_handbooks_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_summer_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_lottery_result::default_instance_->InitAsDefaultInstance();
  onr_history_info::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_one_night_rich_info::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_one_night_rich_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_one_night_rich_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_onr_historyList::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_onr_historyList_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_fortune_star_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_fortune_star_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_fortune_star_quest_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_fortune_star_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_fortune_star_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_fortune_star_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_fortune_star_award_result::default_instance_->InitAsDefaultInstance();
  activity_rank::default_instance_->InitAsDefaultInstance();
  personal_tailor_lottery_history::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_personal_tailor_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_personal_tailor_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_personal_tailor_rank_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_personal_tailor_lottry_history::default_instance_->InitAsDefaultInstance();
  packetw2c_get_personal_tailor_lottry_history_result::default_instance_->InitAsDefaultInstance();
  packetc2w_personal_tailor_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_personal_tailor_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_personal_tailor_exchange::default_instance_->InitAsDefaultInstance();
  packetw2c_personal_tailor_exchange_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_time_limit_purchase_info::default_instance_->InitAsDefaultInstance();
  packetc2w_time_limit_purchase_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_time_limit_purchase_lottery_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_lucky_bag_info::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_vip_limit_purchase_info::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_turret_lottery_info::default_instance_->InitAsDefaultInstance();
  packetc2w_turret_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_turret_lottery_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_smashing_eggs_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_smashing_eggs_info::default_instance_->InitAsDefaultInstance();
  packetc2w_smashing_eggs::default_instance_->InitAsDefaultInstance();
  packetw2c_smashing_eggs_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_smashing_eggs_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_smashing_eggs_rank_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_rich_lottery_info::default_instance_->InitAsDefaultInstance();
  packetc2w_rich_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_rich_lottery_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_summer_revels_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_summer_revels_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_summer_revels_rank_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_revels_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_revels_lottery_result::default_instance_->InitAsDefaultInstance();
  attackInfo::default_instance_->InitAsDefaultInstance();
  demonTowerInfo::default_instance_->InitAsDefaultInstance();
  weaponInfo::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_kill_demons_info::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_kill_demons_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_kill_demons_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_trial_score_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_trial_score_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_star_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_star_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_attack_demon::default_instance_->InitAsDefaultInstance();
  packetw2c_attack_demon_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_kill_demons_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_kill_demons_rank_result::default_instance_->InitAsDefaultInstance();
  packetc2w_kill_demons_smelt::default_instance_->InitAsDefaultInstance();
  packetw2c_kill_demons_smelt_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_sword_energy_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_sword_energy_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_kill_demons_task::default_instance_->InitAsDefaultInstance();
  packetw2c_kill_demons_task_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_2020_national_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_2020_national_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_2020_national_quest_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_2020_national_login_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_2020_national_login_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_2020_national_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_2020_national_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_2020_national_handbooks_gold::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_2020_national_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_2020_national_handbooks_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_2020_national_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_2020_national_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_2020_national_lottery_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_personal_tailor_new_info::default_instance_->InitAsDefaultInstance();
  packetc2w_change_personal_tailor_items::default_instance_->InitAsDefaultInstance();
  packetw2c_change_personal_tailor_items_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_super_value_gift_activity_info::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_double_eleven_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_double_eleven_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_double_eleven_quest_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_double_eleven_gift_reflush::default_instance_->InitAsDefaultInstance();
  packetc2w_get_double_eleven_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_double_eleven_rank_result::default_instance_->InitAsDefaultInstance();
  packetc2w_double_eleven_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_double_eleven_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_receive_double_eleven_recharge_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_receive_double_eleven_recharge_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_syn_double_eleven_diamond_gift_count::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_double_eleven_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_double_eleven_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_double_eleven_buy_lottery_ticket::default_instance_->InitAsDefaultInstance();
  packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_wing_experience_info::default_instance_->InitAsDefaultInstance();
  packetc2w_wing_experience_receive_wing::default_instance_->InitAsDefaultInstance();
  packetw2c_wing_experience_receive_wing_result::default_instance_->InitAsDefaultInstance();
  exchangeInfo::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_kingcraft_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_kingcraft_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_kingcraft_rank_result::default_instance_->InitAsDefaultInstance();
  packetc2w_kingcraft_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_kingcraft_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_receive_kingcraft_recharge_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_receive_kingcraft_recharge_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_receive_kingcraft_exchange::default_instance_->InitAsDefaultInstance();
  packetw2c_receive_kingcraft_exchange_result::default_instance_->InitAsDefaultInstance();
  packetc2w_kingcraft_sign::default_instance_->InitAsDefaultInstance();
  packetw2c_kingcraft_sign_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_double_egg_activity_info::default_instance_->InitAsDefaultInstance();
  touchingFishRecInfo::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_touching_fish_activity_info::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_touching_fish_exp::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_touching_fish_level_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_touching_fish_level_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_touching_fish_task::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_touching_fish_task_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_touching_fish_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_touching_fish_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_touching_fish_week_box::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_touching_fish_week_box_result::default_instance_->InitAsDefaultInstance();
  packetc2w_flush_touching_fish_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_flush_touching_fish_quest_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_touching_fish_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_touching_fish_rank_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_fishing_celebration_info::default_instance_->InitAsDefaultInstance();
  packetc2w_fishing_celebration_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_fishing_celebration_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_fishing_celebration_activate::default_instance_->InitAsDefaultInstance();
  packetw2c_fishing_celebration_activate_result::default_instance_->InitAsDefaultInstance();
  packetc2w_fishing_celebration_exchange::default_instance_->InitAsDefaultInstance();
  packetw2c_fishing_celebration_exchange_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_->InitAsDefaultInstance();
  packetc2w_fishing_celebration_gift_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_fishing_celebration_gift_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_fishing_celebration_gift_lottery_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_fishing_celebration_buy_gift::default_instance_->InitAsDefaultInstance();
  packetw2c_fishing_celebration_buy_gift_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_fishing_celebration_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_fishing_celebration_rank_result::default_instance_->InitAsDefaultInstance();
  prizeKey::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_feed_back_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_feed_back_vip_reward::default_instance_->InitAsDefaultInstance();
  packetw2c_get_feed_back_vip_reward_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_feed_back_keylist::default_instance_->InitAsDefaultInstance();
  packetw2c_get_feed_back_keylist_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_chip_treasure_info::default_instance_->InitAsDefaultInstance();
  packetc2w_chip_treasure_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_chip_treasure_lottery_result::default_instance_->InitAsDefaultInstance();
  sendGoldHistory::default_instance_->InitAsDefaultInstance();
  sendGoldInfo::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_summer_plan_info::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_get_redpacket_task::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_get_redpacket_task_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_sendgold_info::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_sendgold_info_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_active::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_active_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_recv_redpacket::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_recv_redpacket_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_recv_recharged::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_recv_recharged_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_buy_sendgold_gift::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_launch::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_launch_result::default_instance_->InitAsDefaultInstance();
  packetc2w_summer_plan_touch_gold::default_instance_->InitAsDefaultInstance();
  packetw2c_summer_plan_touch_gold_result::default_instance_->InitAsDefaultInstance();
  packetw2c_syn_happy_summer_info::default_instance_->InitAsDefaultInstance();
  packetc2w_get_happy_summer_rank::default_instance_->InitAsDefaultInstance();
  packetw2c_get_happy_summer_rank_result::default_instance_->InitAsDefaultInstance();
  packetc2w_happy_summer_open_box::default_instance_->InitAsDefaultInstance();
  packetw2c_happy_summer_open_box_result::default_instance_->InitAsDefaultInstance();
  packetc2w_happy_summer_lottery::default_instance_->InitAsDefaultInstance();
  packetw2c_happy_summer_lottery_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_happy_summer_quest_award::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_happy_summer_quest_award_result::default_instance_->InitAsDefaultInstance();
  packetc2w_get_happy_summer_quest::default_instance_->InitAsDefaultInstance();
  packetw2c_get_happy_summer_quest_result::default_instance_->InitAsDefaultInstance();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5factivity2_2eproto);
}

// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_client2world_5factivity2_2eproto {
  StaticDescriptorInitializer_client2world_5factivity2_2eproto() {
    protobuf_AddDesc_client2world_5factivity2_2eproto();
  }
} static_descriptor_initializer_client2world_5factivity2_2eproto_;

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

#ifndef _MSC_VER
const int packetw2c_activity_quest_notify::kPacketIdFieldNumber;
const int packetw2c_activity_quest_notify::kActivityIdFieldNumber;
const int packetw2c_activity_quest_notify::kTypeFieldNumber;
const int packetw2c_activity_quest_notify::kIdFieldNumber;
const int packetw2c_activity_quest_notify::kCountFieldNumber;
const int packetw2c_activity_quest_notify::kParamFieldNumber;
const int packetw2c_activity_quest_notify::kEndtimeFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_activity_quest_notify::InitAsDefaultInstance() {
}

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

void packetw2c_activity_quest_notify::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7671;
  activityid_ = 0;
  type_ = 0;
  id_ = 0;
  count_ = 0;
  param_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_activity_quest_notify& packetw2c_activity_quest_notify::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_activity_quest_notify* packetw2c_activity_quest_notify::default_instance_ = NULL;

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

void packetw2c_activity_quest_notify::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7671;
    activityid_ = 0;
    type_ = 0;
    id_ = 0;
    count_ = 0;
    param_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_activity_quest_notify::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_activity_quest_notify];
      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_activityId;
        break;
      }

      // optional int32 activityId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activityid_)));
          set_has_activityid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_id;
        break;
      }

      // optional int32 id = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_id:
          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(40)) goto parse_count;
        break;
      }

      // optional int32 count = 5;
      case 5: {
        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(48)) goto parse_param;
        break;
      }

      // optional int32 param = 6;
      case 6: {
        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(56)) goto parse_endtime;
        break;
      }

      // optional int32 endtime = 7;
      case 7: {
        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->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_activity_quest_notify::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_activity_quest_notify];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int packetw2c_activity_quest_notify::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_activity_quest_notify];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

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

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

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

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

void packetw2c_activity_quest_notify::MergeFrom(const packetw2c_activity_quest_notify& 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_activityid()) {
      set_activityid(from.activityid());
    }
    if (from.has_type()) {
      set_type(from.type());
    }
    if (from.has_id()) {
      set_id(from.id());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
    if (from.has_param()) {
      set_param(from.param());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_activity_quest_notify::IsInitialized() const {

  return true;
}

void packetw2c_activity_quest_notify::Swap(packetw2c_activity_quest_notify* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activityid_, other->activityid_);
    std::swap(type_, other->type_);
    std::swap(id_, other->id_);
    std::swap(count_, other->count_);
    std::swap(param_, other->param_);
    std::swap(endtime_, other->endtime_);
    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_activity_quest_notify::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_activity_quest_notify_descriptor_;
  metadata.reflection = packetw2c_activity_quest_notify_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_syn_new_year_info::kPacketIdFieldNumber;
const int packetw2c_syn_new_year_info::kActivityStateFieldNumber;
const int packetw2c_syn_new_year_info::kStartTimeFieldNumber;
const int packetw2c_syn_new_year_info::kEndTimeFieldNumber;
const int packetw2c_syn_new_year_info::kSignListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_new_year_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_new_year_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7681;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_new_year_info& packetw2c_syn_new_year_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_new_year_info* packetw2c_syn_new_year_info::default_instance_ = NULL;

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

void packetw2c_syn_new_year_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7681;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  signlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_new_year_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_w2c_syn_new_year_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_signList;
        break;
      }

      // repeated int32 signList = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signList:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_signlist())));
        } 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_signlist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_signList;
        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_new_year_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_new_year_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

  // repeated int32 signList = 5;
  for (int i = 0; i < this->signlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->signlist(i), output);
  }

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

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

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

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

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

  // repeated int32 signList = 5;
  for (int i = 0; i < this->signlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->signlist(i), target);
  }

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

int packetw2c_syn_new_year_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_w2c_syn_new_year_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

  }
  // repeated int32 signList = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->signlist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->signlist(i));
    }
    total_size += 1 * this->signlist_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_syn_new_year_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_new_year_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_new_year_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_new_year_info::MergeFrom(const packetw2c_syn_new_year_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  signlist_.MergeFrom(from.signlist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_syn_new_year_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_new_year_info::Swap(packetw2c_syn_new_year_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    signlist_.Swap(&other->signlist_);
    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_new_year_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_new_year_info_descriptor_;
  metadata.reflection = packetw2c_syn_new_year_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_new_year_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_new_year_login_reward::kSignIndexFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_new_year_login_reward::InitAsDefaultInstance() {
}

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

void packetc2w_recv_new_year_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5167;
  signindex_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetc2w_recv_new_year_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_new_year_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_new_year_login_reward_descriptor_;
}

const packetc2w_recv_new_year_login_reward& packetc2w_recv_new_year_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_new_year_login_reward* packetc2w_recv_new_year_login_reward::default_instance_ = NULL;

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

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

bool packetc2w_recv_new_year_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_new_year_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_signIndex;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_new_year_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_new_year_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_new_year_login_reward::MergeFrom(const packetc2w_recv_new_year_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_signindex()) {
      set_signindex(from.signindex());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_new_year_login_reward::IsInitialized() const {

  return true;
}

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


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

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

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

void packetw2c_recv_new_year_login_reward_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_new_year_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7682;
  signindex_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetw2c_recv_new_year_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_new_year_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_new_year_login_reward_result_descriptor_;
}

const packetw2c_recv_new_year_login_reward_result& packetw2c_recv_new_year_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_new_year_login_reward_result* packetw2c_recv_new_year_login_reward_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_new_year_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_new_year_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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->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_new_year_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_new_year_login_reward_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

int packetw2c_recv_new_year_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_new_year_login_reward_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetw2c_recv_new_year_login_reward_result::MergeFrom(const packetw2c_recv_new_year_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_signindex()) {
      set_signindex(from.signindex());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_new_year_login_reward_result::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_syn_national_day_info::kPacketIdFieldNumber;
const int packetw2c_syn_national_day_info::kActivityStateFieldNumber;
const int packetw2c_syn_national_day_info::kStartTimeFieldNumber;
const int packetw2c_syn_national_day_info::kEndTimeFieldNumber;
const int packetw2c_syn_national_day_info::kSignListFieldNumber;
const int packetw2c_syn_national_day_info::kQuestBranchFieldNumber;
const int packetw2c_syn_national_day_info::kQuestListFieldNumber;
const int packetw2c_syn_national_day_info::kRewardRecvListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_national_day_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_national_day_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7672;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  questbranch_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_national_day_info& packetw2c_syn_national_day_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_national_day_info* packetw2c_syn_national_day_info::default_instance_ = NULL;

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

void packetw2c_syn_national_day_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7672;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    questbranch_ = 0;
  }
  signlist_.Clear();
  questlist_.Clear();
  rewardrecvlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_national_day_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_w2c_syn_national_day_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_signList;
        break;
      }

      // repeated int32 signList = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signList:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_signlist())));
        } 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_signlist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_signList;
        if (input->ExpectTag(48)) goto parse_questBranch;
        break;
      }

      // optional int32 questBranch = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questBranch:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questbranch_)));
          set_has_questbranch();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(58)) goto parse_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(58)) goto parse_questList;
        if (input->ExpectTag(64)) goto parse_rewardRecvList;
        break;
      }

      // repeated int32 rewardRecvList = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardRecvList:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 64, input, this->mutable_rewardrecvlist())));
        } 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_rewardrecvlist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_rewardRecvList;
        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_national_day_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_national_day_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

  // repeated int32 signList = 5;
  for (int i = 0; i < this->signlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->signlist(i), output);
  }

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

  // repeated .msg_info_def.msg_quest_info questList = 7;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      7, this->questlist(i), output);
  }

  // repeated int32 rewardRecvList = 8;
  for (int i = 0; i < this->rewardrecvlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      8, this->rewardrecvlist(i), output);
  }

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

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

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

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

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

  // repeated int32 signList = 5;
  for (int i = 0; i < this->signlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->signlist(i), target);
  }

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

  // repeated .msg_info_def.msg_quest_info questList = 7;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        7, this->questlist(i), target);
  }

  // repeated int32 rewardRecvList = 8;
  for (int i = 0; i < this->rewardrecvlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(8, this->rewardrecvlist(i), target);
  }

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

int packetw2c_syn_national_day_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_w2c_syn_national_day_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

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

  }
  // repeated int32 signList = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->signlist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->signlist(i));
    }
    total_size += 1 * this->signlist_size() + data_size;
  }

  // repeated .msg_info_def.msg_quest_info questList = 7;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(i));
  }

  // repeated int32 rewardRecvList = 8;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardrecvlist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardrecvlist(i));
    }
    total_size += 1 * this->rewardrecvlist_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_syn_national_day_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_national_day_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_national_day_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_national_day_info::MergeFrom(const packetw2c_syn_national_day_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  signlist_.MergeFrom(from.signlist_);
  questlist_.MergeFrom(from.questlist_);
  rewardrecvlist_.MergeFrom(from.rewardrecvlist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_questbranch()) {
      set_questbranch(from.questbranch());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_syn_national_day_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_national_day_info::Swap(packetw2c_syn_national_day_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    signlist_.Swap(&other->signlist_);
    std::swap(questbranch_, other->questbranch_);
    questlist_.Swap(&other->questlist_);
    rewardrecvlist_.Swap(&other->rewardrecvlist_);
    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_national_day_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_national_day_info_descriptor_;
  metadata.reflection = packetw2c_syn_national_day_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_national_day_quest_notify::kPacketIdFieldNumber;
const int packetw2c_national_day_quest_notify::kTypeFieldNumber;
const int packetw2c_national_day_quest_notify::kIdFieldNumber;
const int packetw2c_national_day_quest_notify::kCountFieldNumber;
const int packetw2c_national_day_quest_notify::kEndtimeFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_national_day_quest_notify::InitAsDefaultInstance() {
}

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

void packetw2c_national_day_quest_notify::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7673;
  type_ = 0;
  id_ = 0;
  count_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_national_day_quest_notify& packetw2c_national_day_quest_notify::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_national_day_quest_notify* packetw2c_national_day_quest_notify::default_instance_ = NULL;

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

void packetw2c_national_day_quest_notify::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7673;
    type_ = 0;
    id_ = 0;
    count_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_national_day_quest_notify::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_national_day_quest_notify];
      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_id;
        break;
      }

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

      // optional int32 count = 4;
      case 4: {
        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(40)) goto parse_endtime;
        break;
      }

      // optional int32 endtime = 5;
      case 5: {
        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->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_national_day_quest_notify::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_quest_notify];
  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 id = 3;
  if (has_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->id(), output);
  }

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

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

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

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

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

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

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

int packetw2c_national_day_quest_notify::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_national_day_quest_notify];
    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 id = 3;
    if (has_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->id());
    }

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

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

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

void packetw2c_national_day_quest_notify::MergeFrom(const packetw2c_national_day_quest_notify& 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_id()) {
      set_id(from.id());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_national_day_quest_notify::IsInitialized() const {

  return true;
}

void packetw2c_national_day_quest_notify::Swap(packetw2c_national_day_quest_notify* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    std::swap(id_, other->id_);
    std::swap(count_, other->count_);
    std::swap(endtime_, other->endtime_);
    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_national_day_quest_notify::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_national_day_quest_notify_descriptor_;
  metadata.reflection = packetw2c_national_day_quest_notify_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_national_day_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_national_day_login_reward::kSignIndexFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_national_day_login_reward::InitAsDefaultInstance() {
}

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

void packetc2w_recv_national_day_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5159;
  signindex_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetc2w_recv_national_day_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_national_day_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_national_day_login_reward_descriptor_;
}

const packetc2w_recv_national_day_login_reward& packetc2w_recv_national_day_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_national_day_login_reward* packetc2w_recv_national_day_login_reward::default_instance_ = NULL;

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

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

bool packetc2w_recv_national_day_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_national_day_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_signIndex;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_national_day_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_national_day_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_national_day_login_reward::MergeFrom(const packetc2w_recv_national_day_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_signindex()) {
      set_signindex(from.signindex());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_national_day_login_reward::IsInitialized() const {

  return true;
}

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


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

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

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

void packetw2c_recv_national_day_login_reward_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_national_day_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7674;
  signindex_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetw2c_recv_national_day_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_national_day_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_national_day_login_reward_result_descriptor_;
}

const packetw2c_recv_national_day_login_reward_result& packetw2c_recv_national_day_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_national_day_login_reward_result* packetw2c_recv_national_day_login_reward_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_national_day_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_national_day_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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->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_national_day_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_national_day_login_reward_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

int packetw2c_recv_national_day_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_national_day_login_reward_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetw2c_recv_national_day_login_reward_result::MergeFrom(const packetw2c_recv_national_day_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_signindex()) {
      set_signindex(from.signindex());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_national_day_login_reward_result::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetc2w_recv_national_day_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_national_day_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_national_day_quest_award::InitAsDefaultInstance() {
}

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

void packetc2w_recv_national_day_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5160;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recv_national_day_quest_award& packetc2w_recv_national_day_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_national_day_quest_award* packetc2w_recv_national_day_quest_award::default_instance_ = NULL;

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

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

bool packetc2w_recv_national_day_quest_award::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_national_day_quest_award];
      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_questId;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_national_day_quest_award::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_national_day_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_national_day_quest_award::MergeFrom(const packetc2w_recv_national_day_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_national_day_quest_award::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_recv_national_day_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_national_day_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_national_day_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_national_day_quest_award_result::kBranchFieldNumber;
const int packetw2c_recv_national_day_quest_award_result::kNextTaskIdFieldNumber;
const int packetw2c_recv_national_day_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_recv_national_day_quest_award_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_national_day_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7675;
  result_ = 0;
  questid_ = 0;
  branch_ = 0;
  nexttaskid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recv_national_day_quest_award_result& packetw2c_recv_national_day_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_national_day_quest_award_result* packetw2c_recv_national_day_quest_award_result::default_instance_ = NULL;

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

void packetw2c_recv_national_day_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7675;
    result_ = 0;
    questid_ = 0;
    branch_ = 0;
    nexttaskid_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_national_day_quest_award_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_national_day_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_branch;
        break;
      }

      // optional int32 branch = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_branch:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &branch_)));
          set_has_branch();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_nextTaskId;
        break;
      }

      // optional int32 nextTaskId = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_nextTaskId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &nexttaskid_)));
          set_has_nexttaskid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 6;
      case 6: {
        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(50)) goto parse_items;
        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_national_day_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

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

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

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

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

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

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

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

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

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

int packetw2c_recv_national_day_quest_award_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_national_day_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

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

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

  }
  // repeated .msg_info_def.ItemInfo items = 6;
  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_recv_national_day_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_national_day_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_national_day_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_national_day_quest_award_result::MergeFrom(const packetw2c_recv_national_day_quest_award_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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_branch()) {
      set_branch(from.branch());
    }
    if (from.has_nexttaskid()) {
      set_nexttaskid(from.nexttaskid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_national_day_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_national_day_quest_award_result::Swap(packetw2c_recv_national_day_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    std::swap(branch_, other->branch_);
    std::swap(nexttaskid_, other->nexttaskid_);
    items_.Swap(&other->items_);
    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_national_day_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_national_day_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_national_day_quest_award_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_national_day_choose_task::kPacketIdFieldNumber;
const int packetc2w_national_day_choose_task::kBranchFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_national_day_choose_task::InitAsDefaultInstance() {
}

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

void packetc2w_national_day_choose_task::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5161;
  branch_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_national_day_choose_task& packetc2w_national_day_choose_task::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_national_day_choose_task* packetc2w_national_day_choose_task::default_instance_ = NULL;

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

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

bool packetc2w_national_day_choose_task::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_national_day_choose_task];
      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_branch;
        break;
      }

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

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

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

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

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

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

int packetc2w_national_day_choose_task::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_national_day_choose_task];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_national_day_choose_task::MergeFrom(const packetc2w_national_day_choose_task& 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_branch()) {
      set_branch(from.branch());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_national_day_choose_task::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_national_day_choose_task_result::kPacketIdFieldNumber;
const int packetw2c_national_day_choose_task_result::kResultFieldNumber;
const int packetw2c_national_day_choose_task_result::kBranchFieldNumber;
const int packetw2c_national_day_choose_task_result::kNextTaskIdFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_national_day_choose_task_result::InitAsDefaultInstance() {
}

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

void packetw2c_national_day_choose_task_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7676;
  result_ = 0;
  branch_ = 0;
  nexttaskid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_national_day_choose_task_result& packetw2c_national_day_choose_task_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_national_day_choose_task_result* packetw2c_national_day_choose_task_result::default_instance_ = NULL;

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

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

bool packetw2c_national_day_choose_task_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_national_day_choose_task_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_branch;
        break;
      }

      // optional int32 branch = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_branch:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &branch_)));
          set_has_branch();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_nextTaskId;
        break;
      }

      // optional int32 nextTaskId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_nextTaskId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &nexttaskid_)));
          set_has_nexttaskid();
        } 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_national_day_choose_task_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_choose_task_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 branch = 3;
  if (has_branch()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->branch(), output);
  }

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

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

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

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

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

int packetw2c_national_day_choose_task_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_national_day_choose_task_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 branch = 3;
    if (has_branch()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->branch());
    }

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

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

void packetw2c_national_day_choose_task_result::MergeFrom(const packetw2c_national_day_choose_task_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_branch()) {
      set_branch(from.branch());
    }
    if (from.has_nexttaskid()) {
      set_nexttaskid(from.nexttaskid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_national_day_choose_task_result::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_syn_spring_day_info::kPacketIdFieldNumber;
const int packetw2c_syn_spring_day_info::kActivityStateFieldNumber;
const int packetw2c_syn_spring_day_info::kStartTimeFieldNumber;
const int packetw2c_syn_spring_day_info::kEndTimeFieldNumber;
const int packetw2c_syn_spring_day_info::kSignListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_spring_day_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_spring_day_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7683;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_spring_day_info& packetw2c_syn_spring_day_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_spring_day_info* packetw2c_syn_spring_day_info::default_instance_ = NULL;

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

void packetw2c_syn_spring_day_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7683;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  signlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_spring_day_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_w2c_syn_spring_day_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_signList;
        break;
      }

      // repeated int32 signList = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signList:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_signlist())));
        } 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_signlist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_signList;
        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_spring_day_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_spring_day_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

  // repeated int32 signList = 5;
  for (int i = 0; i < this->signlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->signlist(i), output);
  }

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

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

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

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

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

  // repeated int32 signList = 5;
  for (int i = 0; i < this->signlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->signlist(i), target);
  }

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

int packetw2c_syn_spring_day_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_w2c_syn_spring_day_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

  }
  // repeated int32 signList = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->signlist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->signlist(i));
    }
    total_size += 1 * this->signlist_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_syn_spring_day_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_spring_day_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_spring_day_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_spring_day_info::MergeFrom(const packetw2c_syn_spring_day_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  signlist_.MergeFrom(from.signlist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_syn_spring_day_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_spring_day_info::Swap(packetw2c_syn_spring_day_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    signlist_.Swap(&other->signlist_);
    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_spring_day_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_spring_day_info_descriptor_;
  metadata.reflection = packetw2c_syn_spring_day_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_spring_day_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_spring_day_login_reward::kSignIndexFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_spring_day_login_reward::InitAsDefaultInstance() {
}

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

void packetc2w_recv_spring_day_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5168;
  signindex_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetc2w_recv_spring_day_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_spring_day_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_spring_day_login_reward_descriptor_;
}

const packetc2w_recv_spring_day_login_reward& packetc2w_recv_spring_day_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_spring_day_login_reward* packetc2w_recv_spring_day_login_reward::default_instance_ = NULL;

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

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

bool packetc2w_recv_spring_day_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_spring_day_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_signIndex;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_spring_day_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_spring_day_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_spring_day_login_reward::MergeFrom(const packetc2w_recv_spring_day_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_signindex()) {
      set_signindex(from.signindex());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_spring_day_login_reward::IsInitialized() const {

  return true;
}

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


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

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

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

void packetw2c_recv_spring_day_login_reward_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_spring_day_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7684;
  signindex_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetw2c_recv_spring_day_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_spring_day_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_spring_day_login_reward_result_descriptor_;
}

const packetw2c_recv_spring_day_login_reward_result& packetw2c_recv_spring_day_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_spring_day_login_reward_result* packetw2c_recv_spring_day_login_reward_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_spring_day_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_spring_day_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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->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_spring_day_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_spring_day_login_reward_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

int packetw2c_recv_spring_day_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_spring_day_login_reward_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetw2c_recv_spring_day_login_reward_result::MergeFrom(const packetw2c_recv_spring_day_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_signindex()) {
      set_signindex(from.signindex());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_spring_day_login_reward_result::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_syn_hunt_fish_info::kPacketIdFieldNumber;
const int packetw2c_syn_hunt_fish_info::kActivityStateFieldNumber;
const int packetw2c_syn_hunt_fish_info::kStartTimeFieldNumber;
const int packetw2c_syn_hunt_fish_info::kEndTimeFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_hunt_fish_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_hunt_fish_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7687;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_hunt_fish_info& packetw2c_syn_hunt_fish_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_hunt_fish_info* packetw2c_syn_hunt_fish_info::default_instance_ = NULL;

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

void packetw2c_syn_hunt_fish_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7687;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_hunt_fish_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_w2c_syn_hunt_fish_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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->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_hunt_fish_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_hunt_fish_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

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

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

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

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

int packetw2c_syn_hunt_fish_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_w2c_syn_hunt_fish_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

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

void packetw2c_syn_hunt_fish_info::MergeFrom(const packetw2c_syn_hunt_fish_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_syn_hunt_fish_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_hunt_fish_info::Swap(packetw2c_syn_hunt_fish_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    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_hunt_fish_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_hunt_fish_info_descriptor_;
  metadata.reflection = packetw2c_syn_hunt_fish_info_reflection_;
  return metadata;
}


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

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

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

void packetc2w_get_hunt_fish_quest::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetc2w_get_hunt_fish_quest& packetc2w_get_hunt_fish_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_hunt_fish_quest* packetc2w_get_hunt_fish_quest::default_instance_ = NULL;

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

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

bool packetc2w_get_hunt_fish_quest::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_hunt_fish_quest];
      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_hunt_fish_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
  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_hunt_fish_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
  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_hunt_fish_quest::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_hunt_fish_quest];
    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_hunt_fish_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_hunt_fish_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_hunt_fish_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

bool packetc2w_get_hunt_fish_quest::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_get_hunt_fish_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_hunt_fish_quest_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_get_hunt_fish_quest_result::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetw2c_get_hunt_fish_quest_result& packetw2c_get_hunt_fish_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_hunt_fish_quest_result* packetw2c_get_hunt_fish_quest_result::default_instance_ = NULL;

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

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

bool packetw2c_get_hunt_fish_quest_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_hunt_fish_quest_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_questList;
        break;
      }

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

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

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

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

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

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

int packetw2c_get_hunt_fish_quest_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_hunt_fish_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_hunt_fish_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_hunt_fish_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_hunt_fish_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

bool packetw2c_get_hunt_fish_quest_result::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetc2w_recv_hunt_fish_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_hunt_fish_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_hunt_fish_quest_award::InitAsDefaultInstance() {
}

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

void packetc2w_recv_hunt_fish_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5170;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recv_hunt_fish_quest_award& packetc2w_recv_hunt_fish_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_hunt_fish_quest_award* packetc2w_recv_hunt_fish_quest_award::default_instance_ = NULL;

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

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

bool packetc2w_recv_hunt_fish_quest_award::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_hunt_fish_quest_award];
      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_questId;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_hunt_fish_quest_award::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_hunt_fish_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_hunt_fish_quest_award::MergeFrom(const packetc2w_recv_hunt_fish_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_hunt_fish_quest_award::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_recv_hunt_fish_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_hunt_fish_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_hunt_fish_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_hunt_fish_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_recv_hunt_fish_quest_award_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_hunt_fish_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7688;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recv_hunt_fish_quest_award_result& packetw2c_recv_hunt_fish_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_hunt_fish_quest_award_result* packetw2c_recv_hunt_fish_quest_award_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_hunt_fish_quest_award_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_hunt_fish_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 6;
      case 6: {
        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(50)) goto parse_items;
        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_hunt_fish_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_hunt_fish_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

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

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

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

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

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

int packetw2c_recv_hunt_fish_quest_award_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_hunt_fish_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  // repeated .msg_info_def.ItemInfo items = 6;
  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_recv_hunt_fish_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_hunt_fish_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_hunt_fish_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_hunt_fish_quest_award_result::MergeFrom(const packetw2c_recv_hunt_fish_quest_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_hunt_fish_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_hunt_fish_quest_award_result::Swap(packetw2c_recv_hunt_fish_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    items_.Swap(&other->items_);
    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_hunt_fish_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_hunt_fish_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_hunt_fish_quest_award_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_syn_recharge_activity_info::kPacketIdFieldNumber;
const int packetw2c_syn_recharge_activity_info::kActivityStateFieldNumber;
const int packetw2c_syn_recharge_activity_info::kStartTimeFieldNumber;
const int packetw2c_syn_recharge_activity_info::kEndTimeFieldNumber;
const int packetw2c_syn_recharge_activity_info::kTotalRechargeFieldNumber;
const int packetw2c_syn_recharge_activity_info::kRewardRecvListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_recharge_activity_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_recharge_activity_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7692;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  totalrecharge_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_recharge_activity_info& packetw2c_syn_recharge_activity_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_recharge_activity_info* packetw2c_syn_recharge_activity_info::default_instance_ = NULL;

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

void packetw2c_syn_recharge_activity_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7692;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    totalrecharge_ = 0;
  }
  rewardrecvlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_recharge_activity_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_w2c_syn_recharge_activity_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_totalRecharge;
        break;
      }

      // optional int32 totalRecharge = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_totalRecharge:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &totalrecharge_)));
          set_has_totalrecharge();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_rewardRecvList;
        break;
      }

      // repeated int32 rewardRecvList = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardRecvList:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 48, input, this->mutable_rewardrecvlist())));
        } 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_rewardrecvlist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_rewardRecvList;
        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_recharge_activity_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_recharge_activity_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

  // repeated int32 rewardRecvList = 6;
  for (int i = 0; i < this->rewardrecvlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      6, this->rewardrecvlist(i), output);
  }

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

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

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

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

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

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

  // repeated int32 rewardRecvList = 6;
  for (int i = 0; i < this->rewardrecvlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(6, this->rewardrecvlist(i), target);
  }

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

int packetw2c_syn_recharge_activity_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_w2c_syn_recharge_activity_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

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

  }
  // repeated int32 rewardRecvList = 6;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardrecvlist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardrecvlist(i));
    }
    total_size += 1 * this->rewardrecvlist_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_syn_recharge_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_recharge_activity_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_recharge_activity_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_recharge_activity_info::MergeFrom(const packetw2c_syn_recharge_activity_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardrecvlist_.MergeFrom(from.rewardrecvlist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_totalrecharge()) {
      set_totalrecharge(from.totalrecharge());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_syn_recharge_activity_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_recharge_activity_info::Swap(packetw2c_syn_recharge_activity_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(totalrecharge_, other->totalrecharge_);
    rewardrecvlist_.Swap(&other->rewardrecvlist_);
    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_recharge_activity_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_recharge_activity_info_descriptor_;
  metadata.reflection = packetw2c_syn_recharge_activity_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recharge_activity_rebate::kPacketIdFieldNumber;
const int packetc2w_recharge_activity_rebate::kRewardIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recharge_activity_rebate::InitAsDefaultInstance() {
}

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

void packetc2w_recharge_activity_rebate::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5173;
  rewardid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recharge_activity_rebate& packetc2w_recharge_activity_rebate::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recharge_activity_rebate* packetc2w_recharge_activity_rebate::default_instance_ = NULL;

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

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

bool packetc2w_recharge_activity_rebate::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_recharge_activity_rebate];
      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_rewardId;
        break;
      }

      // optional int32 rewardId = 2;
      case 2: {
        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_recharge_activity_rebate::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recharge_activity_rebate];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

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

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

int packetc2w_recharge_activity_rebate::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_recharge_activity_rebate];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

void packetc2w_recharge_activity_rebate::MergeFrom(const packetc2w_recharge_activity_rebate& 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_rewardid()) {
      set_rewardid(from.rewardid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recharge_activity_rebate::IsInitialized() const {

  return true;
}

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


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

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

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

void packetw2c_recharge_activity_rebate_result::InitAsDefaultInstance() {
}

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

void packetw2c_recharge_activity_rebate_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7691;
  result_ = 0;
  rewardid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recharge_activity_rebate_result& packetw2c_recharge_activity_rebate_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recharge_activity_rebate_result* packetw2c_recharge_activity_rebate_result::default_instance_ = NULL;

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

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

bool packetw2c_recharge_activity_rebate_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_recharge_activity_rebate_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_recharge_activity_rebate_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_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_recharge_activity_rebate_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_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_recharge_activity_rebate_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_recharge_activity_rebate_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_recharge_activity_rebate_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recharge_activity_rebate_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recharge_activity_rebate_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

bool packetw2c_recharge_activity_rebate_result::IsInitialized() const {

  return true;
}

void packetw2c_recharge_activity_rebate_result::Swap(packetw2c_recharge_activity_rebate_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_recharge_activity_rebate_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recharge_activity_rebate_result_descriptor_;
  metadata.reflection = packetw2c_recharge_activity_rebate_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_syn_wuyi_vacation_info::kPacketIdFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kStartTimeFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kEndTimeFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kSignCountFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kCanSignFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kQuestListFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kHaiShenListFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kHandbooksAwardStatFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kHandbooksStatFieldNumber;
const int packetw2c_syn_wuyi_vacation_info::kPaddyCountFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_wuyi_vacation_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_wuyi_vacation_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7694;
  starttime_ = 0;
  endtime_ = 0;
  signcount_ = 0;
  cansign_ = false;
  paddycount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_wuyi_vacation_info& packetw2c_syn_wuyi_vacation_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_wuyi_vacation_info* packetw2c_syn_wuyi_vacation_info::default_instance_ = NULL;

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

void packetw2c_syn_wuyi_vacation_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7694;
    starttime_ = 0;
    endtime_ = 0;
    signcount_ = 0;
    cansign_ = false;
  }
  if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    paddycount_ = 0;
  }
  questlist_.Clear();
  haishenlist_.Clear();
  handbooksawardstat_.Clear();
  handbooksstat_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_wuyi_vacation_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_w2c_syn_wuyi_vacation_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_startTime;
        break;
      }

      // optional int32 startTime = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 3;
      case 3: {
        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(32)) goto parse_signCount;
        break;
      }

      // optional int32 signCount = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signcount_)));
          set_has_signcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_canSign;
        break;
      }

      // optional bool canSign = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_canSign:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &cansign_)));
          set_has_cansign();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_questList;
        if (input->ExpectTag(58)) goto parse_haiShenList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info haiShenList = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_haiShenList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_haishenlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(58)) goto parse_haiShenList;
        if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
        break;
      }

      // repeated bool handbooksAwardStat = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksAwardStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 64, input, this->mutable_handbooksawardstat())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_handbooksawardstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
        if (input->ExpectTag(72)) goto parse_handbooksStat;
        break;
      }

      // repeated int32 handbooksStat = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 72, input, this->mutable_handbooksstat())));
        } 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_handbooksstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_handbooksStat;
        if (input->ExpectTag(80)) goto parse_paddyCount;
        break;
      }

      // optional int32 paddyCount = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_paddyCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &paddycount_)));
          set_has_paddycount();
        } 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_wuyi_vacation_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wuyi_vacation_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

  // optional bool canSign = 5;
  if (has_cansign()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->cansign(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 6;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->questlist(i), output);
  }

  // repeated .msg_info_def.msg_quest_info haiShenList = 7;
  for (int i = 0; i < this->haishenlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      7, this->haishenlist(i), output);
  }

  // repeated bool handbooksAwardStat = 8;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      8, this->handbooksawardstat(i), output);
  }

  // repeated int32 handbooksStat = 9;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      9, this->handbooksstat(i), output);
  }

  // optional int32 paddyCount = 10;
  if (has_paddycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->paddycount(), output);
  }

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

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

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

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

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

  // optional bool canSign = 5;
  if (has_cansign()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->cansign(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 6;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->questlist(i), target);
  }

  // repeated .msg_info_def.msg_quest_info haiShenList = 7;
  for (int i = 0; i < this->haishenlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        7, this->haishenlist(i), target);
  }

  // repeated bool handbooksAwardStat = 8;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(8, this->handbooksawardstat(i), target);
  }

  // repeated int32 handbooksStat = 9;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(9, this->handbooksstat(i), target);
  }

  // optional int32 paddyCount = 10;
  if (has_paddycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->paddycount(), target);
  }

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

int packetw2c_syn_wuyi_vacation_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_w2c_syn_wuyi_vacation_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

    // optional bool canSign = 5;
    if (has_cansign()) {
      total_size += 1 + 1;
    }

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

  }
  // repeated .msg_info_def.msg_quest_info questList = 6;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(i));
  }

  // repeated .msg_info_def.msg_quest_info haiShenList = 7;
  total_size += 1 * this->haishenlist_size();
  for (int i = 0; i < this->haishenlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->haishenlist(i));
  }

  // repeated bool handbooksAwardStat = 8;
  {
    int data_size = 0;
    data_size = 1 * this->handbooksawardstat_size();
    total_size += 1 * this->handbooksawardstat_size() + data_size;
  }

  // repeated int32 handbooksStat = 9;
  {
    int data_size = 0;
    for (int i = 0; i < this->handbooksstat_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->handbooksstat(i));
    }
    total_size += 1 * this->handbooksstat_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_syn_wuyi_vacation_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_wuyi_vacation_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_wuyi_vacation_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_wuyi_vacation_info::MergeFrom(const packetw2c_syn_wuyi_vacation_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  haishenlist_.MergeFrom(from.haishenlist_);
  handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  handbooksstat_.MergeFrom(from.handbooksstat_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_signcount()) {
      set_signcount(from.signcount());
    }
    if (from.has_cansign()) {
      set_cansign(from.cansign());
    }
  }
  if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    if (from.has_paddycount()) {
      set_paddycount(from.paddycount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_syn_wuyi_vacation_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_wuyi_vacation_info::Swap(packetw2c_syn_wuyi_vacation_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(signcount_, other->signcount_);
    std::swap(cansign_, other->cansign_);
    questlist_.Swap(&other->questlist_);
    haishenlist_.Swap(&other->haishenlist_);
    handbooksawardstat_.Swap(&other->handbooksawardstat_);
    handbooksstat_.Swap(&other->handbooksstat_);
    std::swap(paddycount_, other->paddycount_);
    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_wuyi_vacation_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_wuyi_vacation_info_descriptor_;
  metadata.reflection = packetw2c_syn_wuyi_vacation_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_wuyi_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_wuyi_login_reward::kSignIndexFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_wuyi_login_reward::InitAsDefaultInstance() {
}

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

void packetc2w_recv_wuyi_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5175;
  signindex_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetc2w_recv_wuyi_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_wuyi_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_wuyi_login_reward_descriptor_;
}

const packetc2w_recv_wuyi_login_reward& packetc2w_recv_wuyi_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_wuyi_login_reward* packetc2w_recv_wuyi_login_reward::default_instance_ = NULL;

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

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

bool packetc2w_recv_wuyi_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_wuyi_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_signIndex;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_wuyi_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_wuyi_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_wuyi_login_reward::MergeFrom(const packetc2w_recv_wuyi_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_signindex()) {
      set_signindex(from.signindex());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_wuyi_login_reward::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_recv_wuyi_login_reward_result::kPacketIdFieldNumber;
const int packetw2c_recv_wuyi_login_reward_result::kSignIndexFieldNumber;
const int packetw2c_recv_wuyi_login_reward_result::kResultFieldNumber;
const int packetw2c_recv_wuyi_login_reward_result::kExHandbooksIdFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_recv_wuyi_login_reward_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_wuyi_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7695;
  signindex_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

void packetw2c_recv_wuyi_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_wuyi_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_wuyi_login_reward_result_descriptor_;
}

const packetw2c_recv_wuyi_login_reward_result& packetw2c_recv_wuyi_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_wuyi_login_reward_result* packetw2c_recv_wuyi_login_reward_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_wuyi_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_wuyi_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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_exHandbooksId;
        break;
      }

      // repeated int32 exHandbooksId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exHandbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_exhandbooksid())));
        } 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_exhandbooksid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_exHandbooksId;
        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_wuyi_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_wuyi_login_reward_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->exhandbooksid(i), output);
  }

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

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

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

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

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->exhandbooksid(i), target);
  }

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

int packetw2c_recv_wuyi_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_wuyi_login_reward_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

  }
  // repeated int32 exHandbooksId = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->exhandbooksid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->exhandbooksid(i));
    }
    total_size += 1 * this->exhandbooksid_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_recv_wuyi_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_wuyi_login_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_wuyi_login_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

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

bool packetw2c_recv_wuyi_login_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_wuyi_login_reward_result::Swap(packetw2c_recv_wuyi_login_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signindex_, other->signindex_);
    std::swap(result_, other->result_);
    exhandbooksid_.Swap(&other->exhandbooksid_);
    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_wuyi_login_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_wuyi_login_reward_result_descriptor_;
  metadata.reflection = packetw2c_recv_wuyi_login_reward_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_wuyi_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_wuyi_quest_award::kTypeFieldNumber;
const int packetc2w_recv_wuyi_quest_award::kQuestIdFieldNumber;
const int packetc2w_recv_wuyi_quest_award::kReceiveBitFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_wuyi_quest_award::InitAsDefaultInstance() {
}

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

void packetc2w_recv_wuyi_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5176;
  type_ = 0;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recv_wuyi_quest_award& packetc2w_recv_wuyi_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_wuyi_quest_award* packetc2w_recv_wuyi_quest_award::default_instance_ = NULL;

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

void packetc2w_recv_wuyi_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5176;
    type_ = 0;
    questid_ = 0;
    receivebit_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_wuyi_quest_award::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_wuyi_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } 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_wuyi_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award];
  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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

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

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

::google::protobuf::uint8* packetc2w_recv_wuyi_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award];
  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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

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

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

int packetc2w_recv_wuyi_quest_award::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_wuyi_quest_award];
    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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

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

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

void packetc2w_recv_wuyi_quest_award::MergeFrom(const packetc2w_recv_wuyi_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_wuyi_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_wuyi_quest_award::Swap(packetc2w_recv_wuyi_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    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_wuyi_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_wuyi_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_wuyi_quest_award_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_recv_wuyi_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_wuyi_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_wuyi_quest_award_result::kTypeFieldNumber;
const int packetw2c_recv_wuyi_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_wuyi_quest_award_result::kReceiveBitFieldNumber;
const int packetw2c_recv_wuyi_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_recv_wuyi_quest_award_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_wuyi_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7696;
  result_ = 0;
  type_ = 0;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recv_wuyi_quest_award_result& packetw2c_recv_wuyi_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_wuyi_quest_award_result* packetw2c_recv_wuyi_quest_award_result::default_instance_ = NULL;

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

void packetw2c_recv_wuyi_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7696;
    result_ = 0;
    type_ = 0;
    questid_ = 0;
    receivebit_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_wuyi_quest_award_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_wuyi_quest_award_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_questId;
        break;
      }

      // optional int32 questId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 6;
      case 6: {
        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(50)) goto parse_items;
        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_wuyi_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_quest_award_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

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

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

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

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

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

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

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

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

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

int packetw2c_recv_wuyi_quest_award_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_wuyi_quest_award_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

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

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

  }
  // repeated .msg_info_def.ItemInfo items = 6;
  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_recv_wuyi_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_wuyi_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_wuyi_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_wuyi_quest_award_result::MergeFrom(const packetw2c_recv_wuyi_quest_award_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_type()) {
      set_type(from.type());
    }
    if (from.has_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_wuyi_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_wuyi_quest_award_result::Swap(packetw2c_recv_wuyi_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    items_.Swap(&other->items_);
    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_wuyi_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_wuyi_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_wuyi_quest_award_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_wuyi_handbooks_gold::kPacketIdFieldNumber;
const int packetc2w_recv_wuyi_handbooks_gold::kHandbooksIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_wuyi_handbooks_gold::InitAsDefaultInstance() {
}

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

void packetc2w_recv_wuyi_handbooks_gold::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5178;
  handbooksid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recv_wuyi_handbooks_gold& packetc2w_recv_wuyi_handbooks_gold::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_wuyi_handbooks_gold* packetc2w_recv_wuyi_handbooks_gold::default_instance_ = NULL;

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

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

bool packetc2w_recv_wuyi_handbooks_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_recv_wuyi_handbooks_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->ExpectTag(16)) goto parse_handbooksId;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_wuyi_handbooks_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_recv_wuyi_handbooks_gold];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_wuyi_handbooks_gold::MergeFrom(const packetc2w_recv_wuyi_handbooks_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());
    }
    if (from.has_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_wuyi_handbooks_gold::IsInitialized() const {

  return true;
}

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


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

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

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

void packetw2c_recv_wuyi_handbooks_gold_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_wuyi_handbooks_gold_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7698;
  handbooksid_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recv_wuyi_handbooks_gold_result& packetw2c_recv_wuyi_handbooks_gold_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_wuyi_handbooks_gold_result* packetw2c_recv_wuyi_handbooks_gold_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_wuyi_handbooks_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_recv_wuyi_handbooks_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_handbooksId;
        break;
      }

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

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

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

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

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

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

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

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

int packetw2c_recv_wuyi_handbooks_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_recv_wuyi_handbooks_gold_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetw2c_recv_wuyi_handbooks_gold_result::MergeFrom(const packetw2c_recv_wuyi_handbooks_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_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_wuyi_handbooks_gold_result::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetc2w_recv_wuyi_handbooks_award::kPacketIdFieldNumber;
const int packetc2w_recv_wuyi_handbooks_award::kTypeFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_wuyi_handbooks_award::InitAsDefaultInstance() {
}

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

void packetc2w_recv_wuyi_handbooks_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5177;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recv_wuyi_handbooks_award& packetc2w_recv_wuyi_handbooks_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_wuyi_handbooks_award* packetc2w_recv_wuyi_handbooks_award::default_instance_ = NULL;

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

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

bool packetc2w_recv_wuyi_handbooks_award::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_wuyi_handbooks_award];
      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->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_wuyi_handbooks_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award];
  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);
  }

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

::google::protobuf::uint8* packetc2w_recv_wuyi_handbooks_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award];
  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);
  }

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

int packetc2w_recv_wuyi_handbooks_award::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_wuyi_handbooks_award];
    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());
    }

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

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

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

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

bool packetc2w_recv_wuyi_handbooks_award::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_recv_wuyi_handbooks_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_wuyi_handbooks_award_result::kResultFieldNumber;
const int packetw2c_recv_wuyi_handbooks_award_result::kTypelistFieldNumber;
const int packetw2c_recv_wuyi_handbooks_award_result::kHandbooksGoldFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_recv_wuyi_handbooks_award_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_wuyi_handbooks_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7697;
  result_ = 0;
  handbooksgold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recv_wuyi_handbooks_award_result& packetw2c_recv_wuyi_handbooks_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_wuyi_handbooks_award_result* packetw2c_recv_wuyi_handbooks_award_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_wuyi_handbooks_award_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_wuyi_handbooks_award_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_typelist;
        break;
      }

      // repeated int32 typelist = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_typelist:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 24, input, this->mutable_typelist())));
        } 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_typelist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_typelist;
        if (input->ExpectTag(32)) goto parse_handbooksGold;
        break;
      }

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

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

  // repeated int32 typelist = 3;
  for (int i = 0; i < this->typelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      3, this->typelist(i), output);
  }

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

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

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

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

  // repeated int32 typelist = 3;
  for (int i = 0; i < this->typelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(3, this->typelist(i), target);
  }

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

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

int packetw2c_recv_wuyi_handbooks_award_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_wuyi_handbooks_award_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 handbooksGold = 4;
    if (has_handbooksgold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksgold());
    }

  }
  // repeated int32 typelist = 3;
  {
    int data_size = 0;
    for (int i = 0; i < this->typelist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->typelist(i));
    }
    total_size += 1 * this->typelist_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_recv_wuyi_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_wuyi_handbooks_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_wuyi_handbooks_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_wuyi_handbooks_award_result::MergeFrom(const packetw2c_recv_wuyi_handbooks_award_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  typelist_.MergeFrom(from.typelist_);
  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_handbooksgold()) {
      set_handbooksgold(from.handbooksgold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_wuyi_handbooks_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_wuyi_handbooks_award_result::Swap(packetw2c_recv_wuyi_handbooks_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    typelist_.Swap(&other->typelist_);
    std::swap(handbooksgold_, other->handbooksgold_);
    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_wuyi_handbooks_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_wuyi_handbooks_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_wuyi_handbooks_award_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_wuyi_lottery::kPacketIdFieldNumber;
const int packetc2w_wuyi_lottery::kTypeFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_wuyi_lottery::InitAsDefaultInstance() {
}

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

void packetc2w_wuyi_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5179;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_wuyi_lottery& packetc2w_wuyi_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_wuyi_lottery* packetc2w_wuyi_lottery::default_instance_ = NULL;

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

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

bool packetc2w_wuyi_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_wuyi_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_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->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_wuyi_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery];
  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);
  }

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

::google::protobuf::uint8* packetc2w_wuyi_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery];
  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);
  }

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

int packetc2w_wuyi_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_wuyi_lottery];
    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());
    }

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

void packetc2w_wuyi_lottery::MergeFrom(const packetc2w_wuyi_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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_wuyi_lottery::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_wuyi_lottery_result::kPacketIdFieldNumber;
const int packetw2c_wuyi_lottery_result::kResultFieldNumber;
const int packetw2c_wuyi_lottery_result::kTypeFieldNumber;
const int packetw2c_wuyi_lottery_result::kRewardIdFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_wuyi_lottery_result::InitAsDefaultInstance() {
}

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

void packetw2c_wuyi_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7699;
  result_ = 0;
  type_ = 0;
  rewardid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_wuyi_lottery_result& packetw2c_wuyi_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_wuyi_lottery_result* packetw2c_wuyi_lottery_result::default_instance_ = NULL;

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

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

bool packetw2c_wuyi_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_wuyi_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_rewardId;
        break;
      }

      // optional int32 rewardId = 4;
      case 4: {
        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_wuyi_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wuyi_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

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

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

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

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

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

int packetw2c_wuyi_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_wuyi_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

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

void packetw2c_wuyi_lottery_result::MergeFrom(const packetw2c_wuyi_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_type()) {
      set_type(from.type());
    }
    if (from.has_rewardid()) {
      set_rewardid(from.rewardid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_wuyi_lottery_result::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int pointRewardInfos::kIdFieldNumber;
const int pointRewardInfos::kReceivedFieldNumber;
#endif  // !_MSC_VER

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

void pointRewardInfos::InitAsDefaultInstance() {
}

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

void pointRewardInfos::SharedCtor() {
  _cached_size_ = 0;
  id_ = 0;
  received_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const pointRewardInfos& pointRewardInfos::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

pointRewardInfos* pointRewardInfos::default_instance_ = NULL;

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

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

bool pointRewardInfos::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_received;
        break;
      }

      // optional int32 received = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_received:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &received_)));
          set_has_received();
        } 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 pointRewardInfos::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 received = 2;
  if (has_received()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->received(), output);
  }

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

::google::protobuf::uint8* pointRewardInfos::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 received = 2;
  if (has_received()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->received(), target);
  }

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

int pointRewardInfos::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 received = 2;
    if (has_received()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->received());
    }

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

void pointRewardInfos::MergeFrom(const pointRewardInfos& 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_received()) {
      set_received(from.received());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool pointRewardInfos::IsInitialized() const {

  return true;
}

void pointRewardInfos::Swap(pointRewardInfos* other) {
  if (other != this) {
    std::swap(id_, other->id_);
    std::swap(received_, other->received_);
    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 pointRewardInfos::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = pointRewardInfos_descriptor_;
  metadata.reflection = pointRewardInfos_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int pointInfos::kRoomIdFieldNumber;
const int pointInfos::kCountFieldNumber;
#endif  // !_MSC_VER

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

void pointInfos::InitAsDefaultInstance() {
}

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

void pointInfos::SharedCtor() {
  _cached_size_ = 0;
  roomid_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const pointInfos& pointInfos::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

pointInfos* pointInfos::default_instance_ = NULL;

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

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

bool pointInfos::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 roomId = 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, &roomid_)));
          set_has_roomid();
        } 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 pointInfos::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 roomId = 1;
  if (has_roomid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->roomid(), 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* pointInfos::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 roomId = 1;
  if (has_roomid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->roomid(), 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 pointInfos::ByteSize() const {
  int total_size = 0;

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

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

void pointInfos::MergeFrom(const pointInfos& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_roomid()) {
      set_roomid(from.roomid());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool pointInfos::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_syn_room_quest_info::kPacketIdFieldNumber;
const int packetw2c_syn_room_quest_info::kActivityStateFieldNumber;
const int packetw2c_syn_room_quest_info::kStartTimeFieldNumber;
const int packetw2c_syn_room_quest_info::kEndTimeFieldNumber;
const int packetw2c_syn_room_quest_info::kPointRewardinfosFieldNumber;
const int packetw2c_syn_room_quest_info::kQuestPointsFieldNumber;
const int packetw2c_syn_room_quest_info::kSharkCardTypeFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_room_quest_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_room_quest_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7701;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  sharkcardtype_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_room_quest_info& packetw2c_syn_room_quest_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_room_quest_info* packetw2c_syn_room_quest_info::default_instance_ = NULL;

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

void packetw2c_syn_room_quest_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7701;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    sharkcardtype_ = 0;
  }
  pointrewardinfos_.Clear();
  questpoints_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_room_quest_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_w2c_syn_room_quest_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

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

      // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_pointRewardinfos:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_pointrewardinfos()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_pointRewardinfos;
        if (input->ExpectTag(50)) goto parse_questPoints;
        break;
      }

      // repeated .client2world_protocols.pointInfos questPoints = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questPoints:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questpoints()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_questPoints;
        if (input->ExpectTag(56)) goto parse_sharkCardType;
        break;
      }

      // optional int32 sharkCardType = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_sharkCardType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &sharkcardtype_)));
          set_has_sharkcardtype();
        } 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_room_quest_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_room_quest_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

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

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

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

  // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
  for (int i = 0; i < this->pointrewardinfos_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      5, this->pointrewardinfos(i), output);
  }

  // repeated .client2world_protocols.pointInfos questPoints = 6;
  for (int i = 0; i < this->questpoints_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->questpoints(i), output);
  }

  // optional int32 sharkCardType = 7;
  if (has_sharkcardtype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->sharkcardtype(), output);
  }

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

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

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

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

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

  // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
  for (int i = 0; i < this->pointrewardinfos_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        5, this->pointrewardinfos(i), target);
  }

  // repeated .client2world_protocols.pointInfos questPoints = 6;
  for (int i = 0; i < this->questpoints_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->questpoints(i), target);
  }

  // optional int32 sharkCardType = 7;
  if (has_sharkcardtype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->sharkcardtype(), target);
  }

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

int packetw2c_syn_room_quest_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_w2c_syn_room_quest_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

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

    // optional int32 sharkCardType = 7;
    if (has_sharkcardtype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->sharkcardtype());
    }

  }
  // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
  total_size += 1 * this->pointrewardinfos_size();
  for (int i = 0; i < this->pointrewardinfos_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->pointrewardinfos(i));
  }

  // repeated .client2world_protocols.pointInfos questPoints = 6;
  total_size += 1 * this->questpoints_size();
  for (int i = 0; i < this->questpoints_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questpoints(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_syn_room_quest_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_room_quest_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_room_quest_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_room_quest_info::MergeFrom(const packetw2c_syn_room_quest_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  pointrewardinfos_.MergeFrom(from.pointrewardinfos_);
  questpoints_.MergeFrom(from.questpoints_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_sharkcardtype()) {
      set_sharkcardtype(from.sharkcardtype());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_syn_room_quest_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_room_quest_info::Swap(packetw2c_syn_room_quest_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    pointrewardinfos_.Swap(&other->pointrewardinfos_);
    questpoints_.Swap(&other->questpoints_);
    std::swap(sharkcardtype_, other->sharkcardtype_);
    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_room_quest_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_room_quest_info_descriptor_;
  metadata.reflection = packetw2c_syn_room_quest_info_reflection_;
  return metadata;
}


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

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

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

void packetc2w_get_room_quest::InitAsDefaultInstance() {
}

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

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

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

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

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

const packetc2w_get_room_quest& packetc2w_get_room_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_room_quest* packetc2w_get_room_quest::default_instance_ = NULL;

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

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

bool packetc2w_get_room_quest::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_room_quest];
      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_room_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
  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_room_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
  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_room_quest::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_room_quest];
    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_room_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_room_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_room_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

bool packetc2w_get_room_quest::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_get_room_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_room_quest_result::kQuestListFieldNumber;
const int packetw2c_get_room_quest_result::kSharkCardTypeFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_get_room_quest_result::InitAsDefaultInstance() {
}

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

void packetw2c_get_room_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7799;
  sharkcardtype_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_get_room_quest_result& packetw2c_get_room_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_room_quest_result* packetw2c_get_room_quest_result::default_instance_ = NULL;

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

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

bool packetw2c_get_room_quest_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_room_quest_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        if (input->ExpectTag(24)) goto parse_sharkCardType;
        break;
      }

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

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

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

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

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

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

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

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

int packetw2c_get_room_quest_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_room_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_room_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_room_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_room_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

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

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

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

bool packetw2c_get_room_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_get_room_quest_result::Swap(packetw2c_get_room_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    std::swap(sharkcardtype_, other->sharkcardtype_);
    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_room_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_room_quest_result_descriptor_;
  metadata.reflection = packetw2c_get_room_quest_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_room_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_room_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_room_quest_award::InitAsDefaultInstance() {
}

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

void packetc2w_recv_room_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5181;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recv_room_quest_award& packetc2w_recv_room_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_room_quest_award* packetc2w_recv_room_quest_award::default_instance_ = NULL;

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

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

bool packetc2w_recv_room_quest_award::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_room_quest_award];
      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_questId;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_room_quest_award::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_room_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_room_quest_award::MergeFrom(const packetc2w_recv_room_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_room_quest_award::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_recv_room_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_room_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_room_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_room_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_recv_room_quest_award_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_room_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7702;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recv_room_quest_award_result& packetw2c_recv_room_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_room_quest_award_result* packetw2c_recv_room_quest_award_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_room_quest_award_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_room_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo 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->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_room_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

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

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

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

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

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

int packetw2c_recv_room_quest_award_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_room_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

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

void packetw2c_recv_room_quest_award_result::MergeFrom(const packetw2c_recv_room_quest_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_room_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_room_quest_award_result::Swap(packetw2c_recv_room_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    items_.Swap(&other->items_);
    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_room_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_room_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_room_quest_award_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_room_quest_point_award::kPacketIdFieldNumber;
const int packetc2w_recv_room_quest_point_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

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

void packetc2w_recv_room_quest_point_award::InitAsDefaultInstance() {
}

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

void packetc2w_recv_room_quest_point_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5182;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetc2w_recv_room_quest_point_award& packetc2w_recv_room_quest_point_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_room_quest_point_award* packetc2w_recv_room_quest_point_award::default_instance_ = NULL;

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

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

bool packetc2w_recv_room_quest_point_award::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_room_quest_point_award];
      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_questId;
        break;
      }

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

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

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

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

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

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

int packetc2w_recv_room_quest_point_award::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_room_quest_point_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

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

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

void packetc2w_recv_room_quest_point_award::MergeFrom(const packetc2w_recv_room_quest_point_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetc2w_recv_room_quest_point_award::IsInitialized() const {

  return true;
}

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


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

#ifndef _MSC_VER
const int packetw2c_recv_room_quest_point_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_room_quest_point_award_result::kResultFieldNumber;
const int packetw2c_recv_room_quest_point_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_room_quest_point_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_recv_room_quest_point_award_result::InitAsDefaultInstance() {
}

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

void packetw2c_recv_room_quest_point_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7703;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_recv_room_quest_point_award_result& packetw2c_recv_room_quest_point_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_room_quest_point_award_result* packetw2c_recv_room_quest_point_award_result::default_instance_ = NULL;

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

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

bool packetw2c_recv_room_quest_point_award_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_room_quest_point_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo 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->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_room_quest_point_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_point_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

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

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

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

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

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

int packetw2c_recv_room_quest_point_award_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_room_quest_point_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

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

void packetw2c_recv_room_quest_point_award_result::MergeFrom(const packetw2c_recv_room_quest_point_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

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

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

bool packetw2c_recv_room_quest_point_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_room_quest_point_award_result::Swap(packetw2c_recv_room_quest_point_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    items_.Swap(&other->items_);
    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_room_quest_point_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_room_quest_point_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_room_quest_point_award_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_syn_catch_fish_info::kPacketIdFieldNumber;
const int packetw2c_syn_catch_fish_info::kActivityStateFieldNumber;
const int packetw2c_syn_catch_fish_info::kStartTimeFieldNumber;
const int packetw2c_syn_catch_fish_info::kEndTimeFieldNumber;
const int packetw2c_syn_catch_fish_info::kCoinCountFieldNumber;
const int packetw2c_syn_catch_fish_info::kHistoryListFieldNumber;
#endif  // !_MSC_VER

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

void packetw2c_syn_catch_fish_info::InitAsDefaultInstance() {
}

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

void packetw2c_syn_catch_fish_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7705;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  coincount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

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

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

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

const packetw2c_syn_catch_fish_info& packetw2c_syn_catch_fish_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_catch_fish_info* packetw2c_syn_catch_fish_info::default_instance_ = NULL;

packetw2c_syn_catch_fish_info* packetw2c_syn_catch_fish_info::New() const {
  return new packetw2c_syn_catch_fish_info;
}

void packetw2c_syn_catch_fish_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7705;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    coincount_ = 0;
  }
  historylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_catch_fish_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_w2c_syn_catch_fish_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_coinCount;
        break;
      }

      // optional int32 coinCount = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_coinCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &coincount_)));
          set_has_coincount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_historyList;
        break;
      }

      // repeated .client2world_protocols.catchFishHistory historyList = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_historyList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_historylist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_historyList;
        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_catch_fish_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 coinCount = 5;
  if (has_coincount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->coincount(), output);
  }

  // repeated .client2world_protocols.catchFishHistory historyList = 6;
  for (int i = 0; i < this->historylist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->historylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_catch_fish_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 coinCount = 5;
  if (has_coincount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->coincount(), target);
  }

  // repeated .client2world_protocols.catchFishHistory historyList = 6;
  for (int i = 0; i < this->historylist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->historylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_catch_fish_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_w2c_syn_catch_fish_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 coinCount = 5;
    if (has_coincount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->coincount());
    }

  }
  // repeated .client2world_protocols.catchFishHistory historyList = 6;
  total_size += 1 * this->historylist_size();
  for (int i = 0; i < this->historylist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->historylist(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_syn_catch_fish_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_catch_fish_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_catch_fish_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_catch_fish_info::MergeFrom(const packetw2c_syn_catch_fish_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  historylist_.MergeFrom(from.historylist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_coincount()) {
      set_coincount(from.coincount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_catch_fish_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_catch_fish_info::CopyFrom(const packetw2c_syn_catch_fish_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_catch_fish_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_catch_fish_info::Swap(packetw2c_syn_catch_fish_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(coincount_, other->coincount_);
    historylist_.Swap(&other->historylist_);
    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_catch_fish_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_catch_fish_info_descriptor_;
  metadata.reflection = packetw2c_syn_catch_fish_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int catchFishHistory::kTimeFieldNumber;
const int catchFishHistory::kNicknameFieldNumber;
const int catchFishHistory::kFishTypeFieldNumber;
const int catchFishHistory::kRateFieldNumber;
const int catchFishHistory::kGoldFieldNumber;
#endif  // !_MSC_VER

catchFishHistory::catchFishHistory()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void catchFishHistory::InitAsDefaultInstance() {
}

catchFishHistory::catchFishHistory(const catchFishHistory& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void catchFishHistory::SharedCtor() {
  _cached_size_ = 0;
  time_ = 0;
  nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  fishtype_ = 0;
  rate_ = 0;
  gold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

catchFishHistory::~catchFishHistory() {
  SharedDtor();
}

void catchFishHistory::SharedDtor() {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    delete nickname_;
  }
  if (this != default_instance_) {
  }
}

void catchFishHistory::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* catchFishHistory::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return catchFishHistory_descriptor_;
}

const catchFishHistory& catchFishHistory::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

catchFishHistory* catchFishHistory::default_instance_ = NULL;

catchFishHistory* catchFishHistory::New() const {
  return new catchFishHistory;
}

void catchFishHistory::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    time_ = 0;
    if (has_nickname()) {
      if (nickname_ != &::google::protobuf::internal::kEmptyString) {
        nickname_->clear();
      }
    }
    fishtype_ = 0;
    rate_ = 0;
    gold_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool catchFishHistory::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 time = 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, &time_)));
          set_has_time();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_nickname;
        break;
      }

      // optional string nickname = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_nickname:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_nickname()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->nickname().data(), this->nickname().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_fishType;
        break;
      }

      // optional int32 fishType = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_fishType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &fishtype_)));
          set_has_fishtype();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_rate;
        break;
      }

      // optional int32 rate = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rate:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rate_)));
          set_has_rate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_gold;
        break;
      }

      // optional int32 gold = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gold_)));
          set_has_gold();
        } 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 catchFishHistory::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 time = 1;
  if (has_time()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->time(), output);
  }

  // optional string nickname = 2;
  if (has_nickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->nickname().data(), this->nickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->nickname(), output);
  }

  // optional int32 fishType = 3;
  if (has_fishtype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishtype(), output);
  }

  // optional int32 rate = 4;
  if (has_rate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->rate(), output);
  }

  // optional int32 gold = 5;
  if (has_gold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gold(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* catchFishHistory::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 time = 1;
  if (has_time()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->time(), target);
  }

  // optional string nickname = 2;
  if (has_nickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->nickname().data(), this->nickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->nickname(), target);
  }

  // optional int32 fishType = 3;
  if (has_fishtype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishtype(), target);
  }

  // optional int32 rate = 4;
  if (has_rate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->rate(), target);
  }

  // optional int32 gold = 5;
  if (has_gold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gold(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int catchFishHistory::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 time = 1;
    if (has_time()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->time());
    }

    // optional string nickname = 2;
    if (has_nickname()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->nickname());
    }

    // optional int32 fishType = 3;
    if (has_fishtype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->fishtype());
    }

    // optional int32 rate = 4;
    if (has_rate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rate());
    }

    // optional int32 gold = 5;
    if (has_gold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gold());
    }

  }
  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 catchFishHistory::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const catchFishHistory* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const catchFishHistory*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void catchFishHistory::MergeFrom(const catchFishHistory& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_time()) {
      set_time(from.time());
    }
    if (from.has_nickname()) {
      set_nickname(from.nickname());
    }
    if (from.has_fishtype()) {
      set_fishtype(from.fishtype());
    }
    if (from.has_rate()) {
      set_rate(from.rate());
    }
    if (from.has_gold()) {
      set_gold(from.gold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void catchFishHistory::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void catchFishHistory::CopyFrom(const catchFishHistory& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool catchFishHistory::IsInitialized() const {

  return true;
}

void catchFishHistory::Swap(catchFishHistory* other) {
  if (other != this) {
    std::swap(time_, other->time_);
    std::swap(nickname_, other->nickname_);
    std::swap(fishtype_, other->fishtype_);
    std::swap(rate_, other->rate_);
    std::swap(gold_, other->gold_);
    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 catchFishHistory::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = catchFishHistory_descriptor_;
  metadata.reflection = catchFishHistory_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int catchFishInfo::kRateFieldNumber;
const int catchFishInfo::kGoldFieldNumber;
#endif  // !_MSC_VER

catchFishInfo::catchFishInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void catchFishInfo::InitAsDefaultInstance() {
}

catchFishInfo::catchFishInfo(const catchFishInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void catchFishInfo::SharedCtor() {
  _cached_size_ = 0;
  rate_ = 0;
  gold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

catchFishInfo::~catchFishInfo() {
  SharedDtor();
}

void catchFishInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void catchFishInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* catchFishInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return catchFishInfo_descriptor_;
}

const catchFishInfo& catchFishInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

catchFishInfo* catchFishInfo::default_instance_ = NULL;

catchFishInfo* catchFishInfo::New() const {
  return new catchFishInfo;
}

void catchFishInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    rate_ = 0;
    gold_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool catchFishInfo::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 rate = 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, &rate_)));
          set_has_rate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_gold;
        break;
      }

      // optional int32 gold = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gold_)));
          set_has_gold();
        } 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 catchFishInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 rate = 1;
  if (has_rate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->rate(), output);
  }

  // optional int32 gold = 2;
  if (has_gold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gold(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* catchFishInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 rate = 1;
  if (has_rate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->rate(), target);
  }

  // optional int32 gold = 2;
  if (has_gold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gold(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int catchFishInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 rate = 1;
    if (has_rate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rate());
    }

    // optional int32 gold = 2;
    if (has_gold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gold());
    }

  }
  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 catchFishInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const catchFishInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const catchFishInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void catchFishInfo::MergeFrom(const catchFishInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_rate()) {
      set_rate(from.rate());
    }
    if (from.has_gold()) {
      set_gold(from.gold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void catchFishInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void catchFishInfo::CopyFrom(const catchFishInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool catchFishInfo::IsInitialized() const {

  return true;
}

void catchFishInfo::Swap(catchFishInfo* other) {
  if (other != this) {
    std::swap(rate_, other->rate_);
    std::swap(gold_, other->gold_);
    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 catchFishInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = catchFishInfo_descriptor_;
  metadata.reflection = catchFishInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_catch_fish::kPacketIdFieldNumber;
const int packetc2w_catch_fish::kFishTypeFieldNumber;
const int packetc2w_catch_fish::kNetTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_catch_fish::packetc2w_catch_fish()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_catch_fish::InitAsDefaultInstance() {
}

packetc2w_catch_fish::packetc2w_catch_fish(const packetc2w_catch_fish& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_catch_fish::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5180;
  fishtype_ = 0;
  nettype_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_catch_fish::~packetc2w_catch_fish() {
  SharedDtor();
}

void packetc2w_catch_fish::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_catch_fish::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_catch_fish::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_catch_fish_descriptor_;
}

const packetc2w_catch_fish& packetc2w_catch_fish::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_catch_fish* packetc2w_catch_fish::default_instance_ = NULL;

packetc2w_catch_fish* packetc2w_catch_fish::New() const {
  return new packetc2w_catch_fish;
}

void packetc2w_catch_fish::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5180;
    fishtype_ = 0;
    nettype_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_catch_fish::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_catch_fish];
      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_fishType;
        break;
      }

      // optional int32 fishType = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_fishType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &fishtype_)));
          set_has_fishtype();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_netType;
        break;
      }

      // optional int32 netType = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_netType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &nettype_)));
          set_has_nettype();
        } 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_catch_fish::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 fishType = 2;
  if (has_fishtype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishtype(), output);
  }

  // optional int32 netType = 3;
  if (has_nettype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nettype(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_catch_fish::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 fishType = 2;
  if (has_fishtype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishtype(), target);
  }

  // optional int32 netType = 3;
  if (has_nettype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nettype(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_catch_fish::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_catch_fish];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 fishType = 2;
    if (has_fishtype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->fishtype());
    }

    // optional int32 netType = 3;
    if (has_nettype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->nettype());
    }

  }
  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_catch_fish::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_catch_fish* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_catch_fish*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_catch_fish::MergeFrom(const packetc2w_catch_fish& 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_fishtype()) {
      set_fishtype(from.fishtype());
    }
    if (from.has_nettype()) {
      set_nettype(from.nettype());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_catch_fish::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_catch_fish::CopyFrom(const packetc2w_catch_fish& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_catch_fish::IsInitialized() const {

  return true;
}

void packetc2w_catch_fish::Swap(packetc2w_catch_fish* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(fishtype_, other->fishtype_);
    std::swap(nettype_, other->nettype_);
    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_catch_fish::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_catch_fish_descriptor_;
  metadata.reflection = packetc2w_catch_fish_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_catch_fish_result::kPacketIdFieldNumber;
const int packetw2c_catch_fish_result::kResultFieldNumber;
const int packetw2c_catch_fish_result::kFishTypeFieldNumber;
const int packetw2c_catch_fish_result::kNetTypeFieldNumber;
const int packetw2c_catch_fish_result::kCatchFishInfoFieldNumber;
#endif  // !_MSC_VER

packetw2c_catch_fish_result::packetw2c_catch_fish_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_catch_fish_result::InitAsDefaultInstance() {
}

packetw2c_catch_fish_result::packetw2c_catch_fish_result(const packetw2c_catch_fish_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_catch_fish_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7706;
  result_ = 0;
  fishtype_ = 0;
  nettype_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_catch_fish_result::~packetw2c_catch_fish_result() {
  SharedDtor();
}

void packetw2c_catch_fish_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_catch_fish_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_catch_fish_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_catch_fish_result_descriptor_;
}

const packetw2c_catch_fish_result& packetw2c_catch_fish_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_catch_fish_result* packetw2c_catch_fish_result::default_instance_ = NULL;

packetw2c_catch_fish_result* packetw2c_catch_fish_result::New() const {
  return new packetw2c_catch_fish_result;
}

void packetw2c_catch_fish_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7706;
    result_ = 0;
    fishtype_ = 0;
    nettype_ = 0;
  }
  catchfishinfo_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_catch_fish_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_catch_fish_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_fishType;
        break;
      }

      // optional int32 fishType = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_fishType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &fishtype_)));
          set_has_fishtype();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_netType;
        break;
      }

      // optional int32 netType = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_netType:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &nettype_)));
          set_has_nettype();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_catchFishInfo;
        break;
      }

      // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_catchFishInfo:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_catchfishinfo()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_catchFishInfo;
        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_catch_fish_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_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 fishType = 3;
  if (has_fishtype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishtype(), output);
  }

  // optional int32 netType = 4;
  if (has_nettype()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nettype(), output);
  }

  // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
  for (int i = 0; i < this->catchfishinfo_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      5, this->catchfishinfo(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_catch_fish_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_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 fishType = 3;
  if (has_fishtype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishtype(), target);
  }

  // optional int32 netType = 4;
  if (has_nettype()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nettype(), target);
  }

  // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
  for (int i = 0; i < this->catchfishinfo_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        5, this->catchfishinfo(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_catch_fish_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_catch_fish_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 fishType = 3;
    if (has_fishtype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->fishtype());
    }

    // optional int32 netType = 4;
    if (has_nettype()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->nettype());
    }

  }
  // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
  total_size += 1 * this->catchfishinfo_size();
  for (int i = 0; i < this->catchfishinfo_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->catchfishinfo(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_catch_fish_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_catch_fish_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_catch_fish_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_catch_fish_result::MergeFrom(const packetw2c_catch_fish_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  catchfishinfo_.MergeFrom(from.catchfishinfo_);
  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_fishtype()) {
      set_fishtype(from.fishtype());
    }
    if (from.has_nettype()) {
      set_nettype(from.nettype());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_catch_fish_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_catch_fish_result::CopyFrom(const packetw2c_catch_fish_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_catch_fish_result::IsInitialized() const {

  return true;
}

void packetw2c_catch_fish_result::Swap(packetw2c_catch_fish_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(fishtype_, other->fishtype_);
    std::swap(nettype_, other->nettype_);
    catchfishinfo_.Swap(&other->catchfishinfo_);
    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_catch_fish_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_catch_fish_result_descriptor_;
  metadata.reflection = packetw2c_catch_fish_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_catch_fish_history::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_catch_fish_history::packetc2w_catch_fish_history()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_catch_fish_history::InitAsDefaultInstance() {
}

packetc2w_catch_fish_history::packetc2w_catch_fish_history(const packetc2w_catch_fish_history& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_catch_fish_history::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5189;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_catch_fish_history::~packetc2w_catch_fish_history() {
  SharedDtor();
}

void packetc2w_catch_fish_history::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_catch_fish_history::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_catch_fish_history::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_catch_fish_history_descriptor_;
}

const packetc2w_catch_fish_history& packetc2w_catch_fish_history::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_catch_fish_history* packetc2w_catch_fish_history::default_instance_ = NULL;

packetc2w_catch_fish_history* packetc2w_catch_fish_history::New() const {
  return new packetc2w_catch_fish_history;
}

void packetc2w_catch_fish_history::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5189;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_catch_fish_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_catch_fish_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_catch_fish_history::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_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_catch_fish_history::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_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_catch_fish_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_catch_fish_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_catch_fish_history::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_catch_fish_history* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_catch_fish_history*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_catch_fish_history::MergeFrom(const packetc2w_catch_fish_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_catch_fish_history::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_catch_fish_history::CopyFrom(const packetc2w_catch_fish_history& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_catch_fish_history::IsInitialized() const {

  return true;
}

void packetc2w_catch_fish_history::Swap(packetc2w_catch_fish_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_catch_fish_history::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_catch_fish_history_descriptor_;
  metadata.reflection = packetc2w_catch_fish_history_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_catch_fish_history_result::kPacketIdFieldNumber;
const int packetw2c_catch_fish_history_result::kHistoryListFieldNumber;
#endif  // !_MSC_VER

packetw2c_catch_fish_history_result::packetw2c_catch_fish_history_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_catch_fish_history_result::InitAsDefaultInstance() {
}

packetw2c_catch_fish_history_result::packetw2c_catch_fish_history_result(const packetw2c_catch_fish_history_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_catch_fish_history_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7714;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_catch_fish_history_result::~packetw2c_catch_fish_history_result() {
  SharedDtor();
}

void packetw2c_catch_fish_history_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_catch_fish_history_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_catch_fish_history_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_catch_fish_history_result_descriptor_;
}

const packetw2c_catch_fish_history_result& packetw2c_catch_fish_history_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_catch_fish_history_result* packetw2c_catch_fish_history_result::default_instance_ = NULL;

packetw2c_catch_fish_history_result* packetw2c_catch_fish_history_result::New() const {
  return new packetw2c_catch_fish_history_result;
}

void packetw2c_catch_fish_history_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7714;
  }
  historylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_catch_fish_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_catch_fish_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_historyList;
        break;
      }

      // repeated .client2world_protocols.catchFishHistory historyList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_historyList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_historylist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_historyList;
        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_catch_fish_history_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.catchFishHistory historyList = 2;
  for (int i = 0; i < this->historylist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->historylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_catch_fish_history_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.catchFishHistory historyList = 2;
  for (int i = 0; i < this->historylist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->historylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_catch_fish_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_catch_fish_history_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .client2world_protocols.catchFishHistory historyList = 2;
  total_size += 1 * this->historylist_size();
  for (int i = 0; i < this->historylist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->historylist(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_catch_fish_history_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_catch_fish_history_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_catch_fish_history_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_catch_fish_history_result::MergeFrom(const packetw2c_catch_fish_history_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  historylist_.MergeFrom(from.historylist_);
  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_catch_fish_history_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_catch_fish_history_result::CopyFrom(const packetw2c_catch_fish_history_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_catch_fish_history_result::IsInitialized() const {

  return true;
}

void packetw2c_catch_fish_history_result::Swap(packetw2c_catch_fish_history_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    historylist_.Swap(&other->historylist_);
    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_catch_fish_history_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_catch_fish_history_result_descriptor_;
  metadata.reflection = packetw2c_catch_fish_history_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_duanwu_vacation_info::kPacketIdFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kStartTimeFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kEndTimeFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kSignCountFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kCanSignFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kResetTimesFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kHandbooksAwardStatFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kHandbooksStatFieldNumber;
const int packetw2c_syn_duanwu_vacation_info::kPaddyCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_duanwu_vacation_info::packetw2c_syn_duanwu_vacation_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_duanwu_vacation_info::InitAsDefaultInstance() {
}

packetw2c_syn_duanwu_vacation_info::packetw2c_syn_duanwu_vacation_info(const packetw2c_syn_duanwu_vacation_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_duanwu_vacation_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7708;
  starttime_ = 0;
  endtime_ = 0;
  signcount_ = 0;
  cansign_ = false;
  resettimes_ = 0;
  paddycount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_duanwu_vacation_info::~packetw2c_syn_duanwu_vacation_info() {
  SharedDtor();
}

void packetw2c_syn_duanwu_vacation_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_duanwu_vacation_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_duanwu_vacation_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_duanwu_vacation_info_descriptor_;
}

const packetw2c_syn_duanwu_vacation_info& packetw2c_syn_duanwu_vacation_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_duanwu_vacation_info* packetw2c_syn_duanwu_vacation_info::default_instance_ = NULL;

packetw2c_syn_duanwu_vacation_info* packetw2c_syn_duanwu_vacation_info::New() const {
  return new packetw2c_syn_duanwu_vacation_info;
}

void packetw2c_syn_duanwu_vacation_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7708;
    starttime_ = 0;
    endtime_ = 0;
    signcount_ = 0;
    cansign_ = false;
    resettimes_ = 0;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    paddycount_ = 0;
  }
  handbooksawardstat_.Clear();
  handbooksstat_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_duanwu_vacation_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_w2c_syn_duanwu_vacation_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_startTime;
        break;
      }

      // optional int32 startTime = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 3;
      case 3: {
        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(32)) goto parse_signCount;
        break;
      }

      // optional int32 signCount = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signcount_)));
          set_has_signcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_canSign;
        break;
      }

      // optional bool canSign = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_canSign:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &cansign_)));
          set_has_cansign();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_resetTimes;
        break;
      }

      // optional int32 resetTimes = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_resetTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &resettimes_)));
          set_has_resettimes();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_handbooksAwardStat;
        break;
      }

      // repeated bool handbooksAwardStat = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksAwardStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 56, input, this->mutable_handbooksawardstat())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_handbooksawardstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_handbooksAwardStat;
        if (input->ExpectTag(64)) goto parse_handbooksStat;
        break;
      }

      // repeated int32 handbooksStat = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 64, input, this->mutable_handbooksstat())));
        } 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_handbooksstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_handbooksStat;
        if (input->ExpectTag(72)) goto parse_paddyCount;
        break;
      }

      // optional int32 paddyCount = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_paddyCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &paddycount_)));
          set_has_paddycount();
        } 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_duanwu_vacation_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 startTime = 2;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->starttime(), output);
  }

  // optional int32 endTime = 3;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->endtime(), output);
  }

  // optional int32 signCount = 4;
  if (has_signcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->signcount(), output);
  }

  // optional bool canSign = 5;
  if (has_cansign()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->cansign(), output);
  }

  // optional int32 resetTimes = 6;
  if (has_resettimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->resettimes(), output);
  }

  // repeated bool handbooksAwardStat = 7;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      7, this->handbooksawardstat(i), output);
  }

  // repeated int32 handbooksStat = 8;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      8, this->handbooksstat(i), output);
  }

  // optional int32 paddyCount = 9;
  if (has_paddycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->paddycount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_duanwu_vacation_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 startTime = 2;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->starttime(), target);
  }

  // optional int32 endTime = 3;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->endtime(), target);
  }

  // optional int32 signCount = 4;
  if (has_signcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->signcount(), target);
  }

  // optional bool canSign = 5;
  if (has_cansign()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->cansign(), target);
  }

  // optional int32 resetTimes = 6;
  if (has_resettimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->resettimes(), target);
  }

  // repeated bool handbooksAwardStat = 7;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(7, this->handbooksawardstat(i), target);
  }

  // repeated int32 handbooksStat = 8;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(8, this->handbooksstat(i), target);
  }

  // optional int32 paddyCount = 9;
  if (has_paddycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->paddycount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_duanwu_vacation_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_w2c_syn_duanwu_vacation_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 startTime = 2;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 3;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 signCount = 4;
    if (has_signcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signcount());
    }

    // optional bool canSign = 5;
    if (has_cansign()) {
      total_size += 1 + 1;
    }

    // optional int32 resetTimes = 6;
    if (has_resettimes()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->resettimes());
    }

  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    // optional int32 paddyCount = 9;
    if (has_paddycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->paddycount());
    }

  }
  // repeated bool handbooksAwardStat = 7;
  {
    int data_size = 0;
    data_size = 1 * this->handbooksawardstat_size();
    total_size += 1 * this->handbooksawardstat_size() + data_size;
  }

  // repeated int32 handbooksStat = 8;
  {
    int data_size = 0;
    for (int i = 0; i < this->handbooksstat_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->handbooksstat(i));
    }
    total_size += 1 * this->handbooksstat_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_syn_duanwu_vacation_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_duanwu_vacation_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_duanwu_vacation_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_duanwu_vacation_info::MergeFrom(const packetw2c_syn_duanwu_vacation_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  handbooksstat_.MergeFrom(from.handbooksstat_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_signcount()) {
      set_signcount(from.signcount());
    }
    if (from.has_cansign()) {
      set_cansign(from.cansign());
    }
    if (from.has_resettimes()) {
      set_resettimes(from.resettimes());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_paddycount()) {
      set_paddycount(from.paddycount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_duanwu_vacation_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_duanwu_vacation_info::CopyFrom(const packetw2c_syn_duanwu_vacation_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_duanwu_vacation_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_duanwu_vacation_info::Swap(packetw2c_syn_duanwu_vacation_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(signcount_, other->signcount_);
    std::swap(cansign_, other->cansign_);
    std::swap(resettimes_, other->resettimes_);
    handbooksawardstat_.Swap(&other->handbooksawardstat_);
    handbooksstat_.Swap(&other->handbooksstat_);
    std::swap(paddycount_, other->paddycount_);
    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_duanwu_vacation_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_duanwu_vacation_info_descriptor_;
  metadata.reflection = packetw2c_syn_duanwu_vacation_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_duanwu_vacation_quest::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_duanwu_vacation_quest::packetc2w_get_duanwu_vacation_quest()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_duanwu_vacation_quest::InitAsDefaultInstance() {
}

packetc2w_get_duanwu_vacation_quest::packetc2w_get_duanwu_vacation_quest(const packetc2w_get_duanwu_vacation_quest& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_duanwu_vacation_quest::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5252;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_duanwu_vacation_quest::~packetc2w_get_duanwu_vacation_quest() {
  SharedDtor();
}

void packetc2w_get_duanwu_vacation_quest::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_duanwu_vacation_quest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_duanwu_vacation_quest::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_duanwu_vacation_quest_descriptor_;
}

const packetc2w_get_duanwu_vacation_quest& packetc2w_get_duanwu_vacation_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_duanwu_vacation_quest* packetc2w_get_duanwu_vacation_quest::default_instance_ = NULL;

packetc2w_get_duanwu_vacation_quest* packetc2w_get_duanwu_vacation_quest::New() const {
  return new packetc2w_get_duanwu_vacation_quest;
}

void packetc2w_get_duanwu_vacation_quest::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5252;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_duanwu_vacation_quest::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_duanwu_vacation_quest];
      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_duanwu_vacation_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
  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_duanwu_vacation_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
  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_duanwu_vacation_quest::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_duanwu_vacation_quest];
    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_duanwu_vacation_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_duanwu_vacation_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_duanwu_vacation_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_duanwu_vacation_quest::MergeFrom(const packetc2w_get_duanwu_vacation_quest& 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_duanwu_vacation_quest::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_duanwu_vacation_quest::CopyFrom(const packetc2w_get_duanwu_vacation_quest& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_duanwu_vacation_quest::IsInitialized() const {

  return true;
}

void packetc2w_get_duanwu_vacation_quest::Swap(packetc2w_get_duanwu_vacation_quest* 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_duanwu_vacation_quest::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_duanwu_vacation_quest_descriptor_;
  metadata.reflection = packetc2w_get_duanwu_vacation_quest_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_duanwu_vacation_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_duanwu_vacation_quest_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_duanwu_vacation_quest_result::packetw2c_get_duanwu_vacation_quest_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_duanwu_vacation_quest_result::InitAsDefaultInstance() {
}

packetw2c_get_duanwu_vacation_quest_result::packetw2c_get_duanwu_vacation_quest_result(const packetw2c_get_duanwu_vacation_quest_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_duanwu_vacation_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7800;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_duanwu_vacation_quest_result::~packetw2c_get_duanwu_vacation_quest_result() {
  SharedDtor();
}

void packetw2c_get_duanwu_vacation_quest_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_duanwu_vacation_quest_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_duanwu_vacation_quest_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_duanwu_vacation_quest_result_descriptor_;
}

const packetw2c_get_duanwu_vacation_quest_result& packetw2c_get_duanwu_vacation_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_duanwu_vacation_quest_result* packetw2c_get_duanwu_vacation_quest_result::default_instance_ = NULL;

packetw2c_get_duanwu_vacation_quest_result* packetw2c_get_duanwu_vacation_quest_result::New() const {
  return new packetw2c_get_duanwu_vacation_quest_result;
}

void packetw2c_get_duanwu_vacation_quest_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7800;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_duanwu_vacation_quest_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_duanwu_vacation_quest_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_duanwu_vacation_quest_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_duanwu_vacation_quest_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_duanwu_vacation_quest_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_duanwu_vacation_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_duanwu_vacation_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_duanwu_vacation_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_duanwu_vacation_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_duanwu_vacation_quest_result::MergeFrom(const packetw2c_get_duanwu_vacation_quest_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_duanwu_vacation_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_duanwu_vacation_quest_result::CopyFrom(const packetw2c_get_duanwu_vacation_quest_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_duanwu_vacation_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_get_duanwu_vacation_quest_result::Swap(packetw2c_get_duanwu_vacation_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_duanwu_vacation_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_duanwu_vacation_quest_result_descriptor_;
  metadata.reflection = packetw2c_get_duanwu_vacation_quest_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_duanwu_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_duanwu_login_reward::kSignIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_duanwu_login_reward::packetc2w_recv_duanwu_login_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_duanwu_login_reward::InitAsDefaultInstance() {
}

packetc2w_recv_duanwu_login_reward::packetc2w_recv_duanwu_login_reward(const packetc2w_recv_duanwu_login_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5184;
  signindex_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_duanwu_login_reward::~packetc2w_recv_duanwu_login_reward() {
  SharedDtor();
}

void packetc2w_recv_duanwu_login_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_duanwu_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_duanwu_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_duanwu_login_reward_descriptor_;
}

const packetc2w_recv_duanwu_login_reward& packetc2w_recv_duanwu_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_duanwu_login_reward* packetc2w_recv_duanwu_login_reward::default_instance_ = NULL;

packetc2w_recv_duanwu_login_reward* packetc2w_recv_duanwu_login_reward::New() const {
  return new packetc2w_recv_duanwu_login_reward;
}

void packetc2w_recv_duanwu_login_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5184;
    signindex_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_duanwu_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_duanwu_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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_duanwu_login_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_duanwu_login_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_duanwu_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_duanwu_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signIndex = 2;
    if (has_signindex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signindex());
    }

  }
  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_duanwu_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_duanwu_login_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_login_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_duanwu_login_reward::MergeFrom(const packetc2w_recv_duanwu_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_signindex()) {
      set_signindex(from.signindex());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_duanwu_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_login_reward::CopyFrom(const packetc2w_recv_duanwu_login_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_duanwu_login_reward::IsInitialized() const {

  return true;
}

void packetc2w_recv_duanwu_login_reward::Swap(packetc2w_recv_duanwu_login_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signindex_, other->signindex_);
    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_duanwu_login_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_duanwu_login_reward_descriptor_;
  metadata.reflection = packetc2w_recv_duanwu_login_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_duanwu_login_reward_result::kPacketIdFieldNumber;
const int packetw2c_recv_duanwu_login_reward_result::kSignIndexFieldNumber;
const int packetw2c_recv_duanwu_login_reward_result::kResultFieldNumber;
const int packetw2c_recv_duanwu_login_reward_result::kExHandbooksIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_duanwu_login_reward_result::packetw2c_recv_duanwu_login_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_duanwu_login_reward_result::InitAsDefaultInstance() {
}

packetw2c_recv_duanwu_login_reward_result::packetw2c_recv_duanwu_login_reward_result(const packetw2c_recv_duanwu_login_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7709;
  signindex_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_duanwu_login_reward_result::~packetw2c_recv_duanwu_login_reward_result() {
  SharedDtor();
}

void packetw2c_recv_duanwu_login_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_duanwu_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_duanwu_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_duanwu_login_reward_result_descriptor_;
}

const packetw2c_recv_duanwu_login_reward_result& packetw2c_recv_duanwu_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_duanwu_login_reward_result* packetw2c_recv_duanwu_login_reward_result::default_instance_ = NULL;

packetw2c_recv_duanwu_login_reward_result* packetw2c_recv_duanwu_login_reward_result::New() const {
  return new packetw2c_recv_duanwu_login_reward_result;
}

void packetw2c_recv_duanwu_login_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7709;
    signindex_ = 0;
    result_ = 0;
  }
  exhandbooksid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_duanwu_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_duanwu_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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_exHandbooksId;
        break;
      }

      // repeated int32 exHandbooksId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exHandbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_exhandbooksid())));
        } 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_exhandbooksid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_exHandbooksId;
        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_duanwu_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_duanwu_login_reward_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->exhandbooksid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_duanwu_login_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_login_reward_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->exhandbooksid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_duanwu_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_duanwu_login_reward_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signIndex = 2;
    if (has_signindex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signindex());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  // repeated int32 exHandbooksId = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->exhandbooksid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->exhandbooksid(i));
    }
    total_size += 1 * this->exhandbooksid_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_recv_duanwu_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_duanwu_login_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_login_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_duanwu_login_reward_result::MergeFrom(const packetw2c_recv_duanwu_login_reward_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  exhandbooksid_.MergeFrom(from.exhandbooksid_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_signindex()) {
      set_signindex(from.signindex());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_duanwu_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_login_reward_result::CopyFrom(const packetw2c_recv_duanwu_login_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_duanwu_login_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_duanwu_login_reward_result::Swap(packetw2c_recv_duanwu_login_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signindex_, other->signindex_);
    std::swap(result_, other->result_);
    exhandbooksid_.Swap(&other->exhandbooksid_);
    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_duanwu_login_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_duanwu_login_reward_result_descriptor_;
  metadata.reflection = packetw2c_recv_duanwu_login_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_duanwu_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_duanwu_quest_award::kQuestIdFieldNumber;
const int packetc2w_recv_duanwu_quest_award::kReceiveBitFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_duanwu_quest_award::packetc2w_recv_duanwu_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_duanwu_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_duanwu_quest_award::packetc2w_recv_duanwu_quest_award(const packetc2w_recv_duanwu_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5185;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_duanwu_quest_award::~packetc2w_recv_duanwu_quest_award() {
  SharedDtor();
}

void packetc2w_recv_duanwu_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_duanwu_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_duanwu_quest_award_descriptor_;
}

const packetc2w_recv_duanwu_quest_award& packetc2w_recv_duanwu_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_duanwu_quest_award* packetc2w_recv_duanwu_quest_award::default_instance_ = NULL;

packetc2w_recv_duanwu_quest_award* packetc2w_recv_duanwu_quest_award::New() const {
  return new packetc2w_recv_duanwu_quest_award;
}

void packetc2w_recv_duanwu_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5185;
    questid_ = 0;
    receivebit_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_duanwu_quest_award::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_duanwu_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } 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_duanwu_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  // optional int32 receiveBit = 3;
  if (has_receivebit()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->receivebit(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_duanwu_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  // optional int32 receiveBit = 3;
  if (has_receivebit()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->receivebit(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_duanwu_quest_award::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_duanwu_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

    // optional int32 receiveBit = 3;
    if (has_receivebit()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->receivebit());
    }

  }
  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_duanwu_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_duanwu_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_duanwu_quest_award::MergeFrom(const packetc2w_recv_duanwu_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_duanwu_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_quest_award::CopyFrom(const packetc2w_recv_duanwu_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_duanwu_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_duanwu_quest_award::Swap(packetc2w_recv_duanwu_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    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_duanwu_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_duanwu_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_duanwu_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_duanwu_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_duanwu_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_duanwu_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_duanwu_quest_award_result::kReceiveBitFieldNumber;
const int packetw2c_recv_duanwu_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_duanwu_quest_award_result::packetw2c_recv_duanwu_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_duanwu_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_duanwu_quest_award_result::packetw2c_recv_duanwu_quest_award_result(const packetw2c_recv_duanwu_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7710;
  result_ = 0;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_duanwu_quest_award_result::~packetw2c_recv_duanwu_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_duanwu_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_duanwu_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_duanwu_quest_award_result_descriptor_;
}

const packetw2c_recv_duanwu_quest_award_result& packetw2c_recv_duanwu_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_duanwu_quest_award_result* packetw2c_recv_duanwu_quest_award_result::default_instance_ = NULL;

packetw2c_recv_duanwu_quest_award_result* packetw2c_recv_duanwu_quest_award_result::New() const {
  return new packetw2c_recv_duanwu_quest_award_result;
}

void packetw2c_recv_duanwu_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7710;
    result_ = 0;
    questid_ = 0;
    receivebit_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_duanwu_quest_award_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_duanwu_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 5;
      case 5: {
        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(42)) goto parse_items;
        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_duanwu_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // optional int32 receiveBit = 4;
  if (has_receivebit()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->receivebit(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      5, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_duanwu_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // optional int32 receiveBit = 4;
  if (has_receivebit()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->receivebit(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        5, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_duanwu_quest_award_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_duanwu_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

    // optional int32 receiveBit = 4;
    if (has_receivebit()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->receivebit());
    }

  }
  // repeated .msg_info_def.ItemInfo items = 5;
  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_recv_duanwu_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_duanwu_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_duanwu_quest_award_result::MergeFrom(const packetw2c_recv_duanwu_quest_award_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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_duanwu_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_quest_award_result::CopyFrom(const packetw2c_recv_duanwu_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_duanwu_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_duanwu_quest_award_result::Swap(packetw2c_recv_duanwu_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    items_.Swap(&other->items_);
    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_duanwu_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_duanwu_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_duanwu_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_duanwu_handbooks_gold::kPacketIdFieldNumber;
const int packetc2w_recv_duanwu_handbooks_gold::kHandbooksIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_duanwu_handbooks_gold::packetc2w_recv_duanwu_handbooks_gold()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_duanwu_handbooks_gold::InitAsDefaultInstance() {
}

packetc2w_recv_duanwu_handbooks_gold::packetc2w_recv_duanwu_handbooks_gold(const packetc2w_recv_duanwu_handbooks_gold& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_handbooks_gold::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5186;
  handbooksid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_duanwu_handbooks_gold::~packetc2w_recv_duanwu_handbooks_gold() {
  SharedDtor();
}

void packetc2w_recv_duanwu_handbooks_gold::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_duanwu_handbooks_gold::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_gold::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_duanwu_handbooks_gold_descriptor_;
}

const packetc2w_recv_duanwu_handbooks_gold& packetc2w_recv_duanwu_handbooks_gold::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_duanwu_handbooks_gold* packetc2w_recv_duanwu_handbooks_gold::default_instance_ = NULL;

packetc2w_recv_duanwu_handbooks_gold* packetc2w_recv_duanwu_handbooks_gold::New() const {
  return new packetc2w_recv_duanwu_handbooks_gold;
}

void packetc2w_recv_duanwu_handbooks_gold::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5186;
    handbooksid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_duanwu_handbooks_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_recv_duanwu_handbooks_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->ExpectTag(16)) goto parse_handbooksId;
        break;
      }

      // optional int32 handbooksId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksid_)));
          set_has_handbooksid();
        } 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_duanwu_handbooks_gold::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_duanwu_handbooks_gold::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_duanwu_handbooks_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_recv_duanwu_handbooks_gold];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 handbooksId = 2;
    if (has_handbooksid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksid());
    }

  }
  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_duanwu_handbooks_gold::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_duanwu_handbooks_gold* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_handbooks_gold*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_duanwu_handbooks_gold::MergeFrom(const packetc2w_recv_duanwu_handbooks_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());
    }
    if (from.has_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_duanwu_handbooks_gold::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_handbooks_gold::CopyFrom(const packetc2w_recv_duanwu_handbooks_gold& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_duanwu_handbooks_gold::IsInitialized() const {

  return true;
}

void packetc2w_recv_duanwu_handbooks_gold::Swap(packetc2w_recv_duanwu_handbooks_gold* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(handbooksid_, other->handbooksid_);
    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_duanwu_handbooks_gold::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_duanwu_handbooks_gold_descriptor_;
  metadata.reflection = packetc2w_recv_duanwu_handbooks_gold_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_duanwu_handbooks_gold_result::kPacketIdFieldNumber;
const int packetw2c_recv_duanwu_handbooks_gold_result::kHandbooksIdFieldNumber;
const int packetw2c_recv_duanwu_handbooks_gold_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_duanwu_handbooks_gold_result::packetw2c_recv_duanwu_handbooks_gold_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_duanwu_handbooks_gold_result::InitAsDefaultInstance() {
}

packetw2c_recv_duanwu_handbooks_gold_result::packetw2c_recv_duanwu_handbooks_gold_result(const packetw2c_recv_duanwu_handbooks_gold_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_handbooks_gold_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7711;
  handbooksid_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_duanwu_handbooks_gold_result::~packetw2c_recv_duanwu_handbooks_gold_result() {
  SharedDtor();
}

void packetw2c_recv_duanwu_handbooks_gold_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_duanwu_handbooks_gold_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_gold_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_duanwu_handbooks_gold_result_descriptor_;
}

const packetw2c_recv_duanwu_handbooks_gold_result& packetw2c_recv_duanwu_handbooks_gold_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_duanwu_handbooks_gold_result* packetw2c_recv_duanwu_handbooks_gold_result::default_instance_ = NULL;

packetw2c_recv_duanwu_handbooks_gold_result* packetw2c_recv_duanwu_handbooks_gold_result::New() const {
  return new packetw2c_recv_duanwu_handbooks_gold_result;
}

void packetw2c_recv_duanwu_handbooks_gold_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7711;
    handbooksid_ = 0;
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_duanwu_handbooks_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_recv_duanwu_handbooks_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_handbooksId;
        break;
      }

      // optional int32 handbooksId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksid_)));
          set_has_handbooksid();
        } 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->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_duanwu_handbooks_gold_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_duanwu_handbooks_gold_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_duanwu_handbooks_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_recv_duanwu_handbooks_gold_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 handbooksId = 2;
    if (has_handbooksid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksid());
    }

    // optional int32 result = 3;
    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_recv_duanwu_handbooks_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_duanwu_handbooks_gold_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_handbooks_gold_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_duanwu_handbooks_gold_result::MergeFrom(const packetw2c_recv_duanwu_handbooks_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_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_duanwu_handbooks_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_handbooks_gold_result::CopyFrom(const packetw2c_recv_duanwu_handbooks_gold_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_duanwu_handbooks_gold_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_duanwu_handbooks_gold_result::Swap(packetw2c_recv_duanwu_handbooks_gold_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(handbooksid_, other->handbooksid_);
    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_recv_duanwu_handbooks_gold_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_duanwu_handbooks_gold_result_descriptor_;
  metadata.reflection = packetw2c_recv_duanwu_handbooks_gold_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_duanwu_handbooks_award::kPacketIdFieldNumber;
const int packetc2w_recv_duanwu_handbooks_award::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_duanwu_handbooks_award::packetc2w_recv_duanwu_handbooks_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_duanwu_handbooks_award::InitAsDefaultInstance() {
}

packetc2w_recv_duanwu_handbooks_award::packetc2w_recv_duanwu_handbooks_award(const packetc2w_recv_duanwu_handbooks_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_handbooks_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5187;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_duanwu_handbooks_award::~packetc2w_recv_duanwu_handbooks_award() {
  SharedDtor();
}

void packetc2w_recv_duanwu_handbooks_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_duanwu_handbooks_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_duanwu_handbooks_award_descriptor_;
}

const packetc2w_recv_duanwu_handbooks_award& packetc2w_recv_duanwu_handbooks_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_duanwu_handbooks_award* packetc2w_recv_duanwu_handbooks_award::default_instance_ = NULL;

packetc2w_recv_duanwu_handbooks_award* packetc2w_recv_duanwu_handbooks_award::New() const {
  return new packetc2w_recv_duanwu_handbooks_award;
}

void packetc2w_recv_duanwu_handbooks_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5187;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_duanwu_handbooks_award::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_duanwu_handbooks_award];
      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->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_duanwu_handbooks_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_duanwu_handbooks_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_duanwu_handbooks_award::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_duanwu_handbooks_award];
    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());
    }

  }
  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_duanwu_handbooks_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_duanwu_handbooks_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_handbooks_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_duanwu_handbooks_award::MergeFrom(const packetc2w_recv_duanwu_handbooks_award& 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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_duanwu_handbooks_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_duanwu_handbooks_award::CopyFrom(const packetc2w_recv_duanwu_handbooks_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_duanwu_handbooks_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_duanwu_handbooks_award::Swap(packetc2w_recv_duanwu_handbooks_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_recv_duanwu_handbooks_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_duanwu_handbooks_award_descriptor_;
  metadata.reflection = packetc2w_recv_duanwu_handbooks_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_duanwu_handbooks_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_duanwu_handbooks_award_result::kResultFieldNumber;
const int packetw2c_recv_duanwu_handbooks_award_result::kTypelistFieldNumber;
const int packetw2c_recv_duanwu_handbooks_award_result::kHandbooksGoldFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_duanwu_handbooks_award_result::packetw2c_recv_duanwu_handbooks_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_duanwu_handbooks_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_duanwu_handbooks_award_result::packetw2c_recv_duanwu_handbooks_award_result(const packetw2c_recv_duanwu_handbooks_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_handbooks_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7713;
  result_ = 0;
  handbooksgold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_duanwu_handbooks_award_result::~packetw2c_recv_duanwu_handbooks_award_result() {
  SharedDtor();
}

void packetw2c_recv_duanwu_handbooks_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_duanwu_handbooks_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_duanwu_handbooks_award_result_descriptor_;
}

const packetw2c_recv_duanwu_handbooks_award_result& packetw2c_recv_duanwu_handbooks_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_duanwu_handbooks_award_result* packetw2c_recv_duanwu_handbooks_award_result::default_instance_ = NULL;

packetw2c_recv_duanwu_handbooks_award_result* packetw2c_recv_duanwu_handbooks_award_result::New() const {
  return new packetw2c_recv_duanwu_handbooks_award_result;
}

void packetw2c_recv_duanwu_handbooks_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7713;
    result_ = 0;
    handbooksgold_ = 0;
  }
  typelist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_duanwu_handbooks_award_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_duanwu_handbooks_award_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_typelist;
        break;
      }

      // repeated int32 typelist = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_typelist:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 24, input, this->mutable_typelist())));
        } 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_typelist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_typelist;
        if (input->ExpectTag(32)) goto parse_handbooksGold;
        break;
      }

      // optional int32 handbooksGold = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksGold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksgold_)));
          set_has_handbooksgold();
        } 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_duanwu_handbooks_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 result = 2;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  }

  // repeated int32 typelist = 3;
  for (int i = 0; i < this->typelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      3, this->typelist(i), output);
  }

  // optional int32 handbooksGold = 4;
  if (has_handbooksgold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->handbooksgold(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_duanwu_handbooks_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 result = 2;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  }

  // repeated int32 typelist = 3;
  for (int i = 0; i < this->typelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(3, this->typelist(i), target);
  }

  // optional int32 handbooksGold = 4;
  if (has_handbooksgold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->handbooksgold(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_duanwu_handbooks_award_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_duanwu_handbooks_award_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 handbooksGold = 4;
    if (has_handbooksgold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksgold());
    }

  }
  // repeated int32 typelist = 3;
  {
    int data_size = 0;
    for (int i = 0; i < this->typelist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->typelist(i));
    }
    total_size += 1 * this->typelist_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_recv_duanwu_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_duanwu_handbooks_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_handbooks_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_duanwu_handbooks_award_result::MergeFrom(const packetw2c_recv_duanwu_handbooks_award_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  typelist_.MergeFrom(from.typelist_);
  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_handbooksgold()) {
      set_handbooksgold(from.handbooksgold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_duanwu_handbooks_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_duanwu_handbooks_award_result::CopyFrom(const packetw2c_recv_duanwu_handbooks_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_duanwu_handbooks_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_duanwu_handbooks_award_result::Swap(packetw2c_recv_duanwu_handbooks_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    typelist_.Swap(&other->typelist_);
    std::swap(handbooksgold_, other->handbooksgold_);
    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_duanwu_handbooks_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_duanwu_handbooks_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_duanwu_handbooks_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_duanwu_lottery::kPacketIdFieldNumber;
const int packetc2w_duanwu_lottery::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_duanwu_lottery::packetc2w_duanwu_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_duanwu_lottery::InitAsDefaultInstance() {
}

packetc2w_duanwu_lottery::packetc2w_duanwu_lottery(const packetc2w_duanwu_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_duanwu_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5188;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_duanwu_lottery::~packetc2w_duanwu_lottery() {
  SharedDtor();
}

void packetc2w_duanwu_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_duanwu_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_duanwu_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_duanwu_lottery_descriptor_;
}

const packetc2w_duanwu_lottery& packetc2w_duanwu_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_duanwu_lottery* packetc2w_duanwu_lottery::default_instance_ = NULL;

packetc2w_duanwu_lottery* packetc2w_duanwu_lottery::New() const {
  return new packetc2w_duanwu_lottery;
}

void packetc2w_duanwu_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5188;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_duanwu_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_duanwu_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_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->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_duanwu_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_duanwu_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_duanwu_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_duanwu_lottery];
    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());
    }

  }
  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_duanwu_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_duanwu_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_duanwu_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_duanwu_lottery::MergeFrom(const packetc2w_duanwu_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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_duanwu_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_duanwu_lottery::CopyFrom(const packetc2w_duanwu_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_duanwu_lottery::IsInitialized() const {

  return true;
}

void packetc2w_duanwu_lottery::Swap(packetc2w_duanwu_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_duanwu_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_duanwu_lottery_descriptor_;
  metadata.reflection = packetc2w_duanwu_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_duanwu_lottery_result::kPacketIdFieldNumber;
const int packetw2c_duanwu_lottery_result::kResultFieldNumber;
const int packetw2c_duanwu_lottery_result::kTypeFieldNumber;
const int packetw2c_duanwu_lottery_result::kRewardIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_duanwu_lottery_result::packetw2c_duanwu_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_duanwu_lottery_result::InitAsDefaultInstance() {
}

packetw2c_duanwu_lottery_result::packetw2c_duanwu_lottery_result(const packetw2c_duanwu_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_duanwu_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7712;
  result_ = 0;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_duanwu_lottery_result::~packetw2c_duanwu_lottery_result() {
  SharedDtor();
}

void packetw2c_duanwu_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_duanwu_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_duanwu_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_duanwu_lottery_result_descriptor_;
}

const packetw2c_duanwu_lottery_result& packetw2c_duanwu_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_duanwu_lottery_result* packetw2c_duanwu_lottery_result::default_instance_ = NULL;

packetw2c_duanwu_lottery_result* packetw2c_duanwu_lottery_result::New() const {
  return new packetw2c_duanwu_lottery_result;
}

void packetw2c_duanwu_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7712;
    result_ = 0;
    type_ = 0;
  }
  rewardid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_duanwu_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_duanwu_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_rewardId;
        break;
      }

      // repeated int32 rewardId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_rewardid())));
        } 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_rewardid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_rewardId;
        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_duanwu_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // repeated int32 rewardId = 4;
  for (int i = 0; i < this->rewardid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->rewardid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_duanwu_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // repeated int32 rewardId = 4;
  for (int i = 0; i < this->rewardid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->rewardid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_duanwu_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_duanwu_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

  }
  // repeated int32 rewardId = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardid(i));
    }
    total_size += 1 * this->rewardid_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_duanwu_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_duanwu_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_duanwu_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_duanwu_lottery_result::MergeFrom(const packetw2c_duanwu_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardid_.MergeFrom(from.rewardid_);
  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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_duanwu_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_duanwu_lottery_result::CopyFrom(const packetw2c_duanwu_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_duanwu_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_duanwu_lottery_result::Swap(packetw2c_duanwu_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    rewardid_.Swap(&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_duanwu_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_duanwu_lottery_result_descriptor_;
  metadata.reflection = packetw2c_duanwu_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_summer_vacation_info::kPacketIdFieldNumber;
const int packetw2c_syn_summer_vacation_info::kActivityStateFieldNumber;
const int packetw2c_syn_summer_vacation_info::kStartTimeFieldNumber;
const int packetw2c_syn_summer_vacation_info::kEndTimeFieldNumber;
const int packetw2c_syn_summer_vacation_info::kSignCountFieldNumber;
const int packetw2c_syn_summer_vacation_info::kResetTimesFieldNumber;
const int packetw2c_syn_summer_vacation_info::kCanSignFieldNumber;
const int packetw2c_syn_summer_vacation_info::kHandbooksAwardStatFieldNumber;
const int packetw2c_syn_summer_vacation_info::kHandbooksStatFieldNumber;
const int packetw2c_syn_summer_vacation_info::kPaddyCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_summer_vacation_info::packetw2c_syn_summer_vacation_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_summer_vacation_info::InitAsDefaultInstance() {
}

packetw2c_syn_summer_vacation_info::packetw2c_syn_summer_vacation_info(const packetw2c_syn_summer_vacation_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_summer_vacation_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7680;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  signcount_ = 0;
  resettimes_ = 0;
  cansign_ = false;
  paddycount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_summer_vacation_info::~packetw2c_syn_summer_vacation_info() {
  SharedDtor();
}

void packetw2c_syn_summer_vacation_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_summer_vacation_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_summer_vacation_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_summer_vacation_info_descriptor_;
}

const packetw2c_syn_summer_vacation_info& packetw2c_syn_summer_vacation_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_summer_vacation_info* packetw2c_syn_summer_vacation_info::default_instance_ = NULL;

packetw2c_syn_summer_vacation_info* packetw2c_syn_summer_vacation_info::New() const {
  return new packetw2c_syn_summer_vacation_info;
}

void packetw2c_syn_summer_vacation_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7680;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    signcount_ = 0;
    resettimes_ = 0;
    cansign_ = false;
  }
  if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    paddycount_ = 0;
  }
  handbooksawardstat_.Clear();
  handbooksstat_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_summer_vacation_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_w2c_syn_summer_vacation_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_signCount;
        break;
      }

      // optional int32 signCount = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signcount_)));
          set_has_signcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_resetTimes;
        break;
      }

      // optional int32 resetTimes = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_resetTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &resettimes_)));
          set_has_resettimes();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_canSign;
        break;
      }

      // optional bool canSign = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_canSign:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &cansign_)));
          set_has_cansign();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
        break;
      }

      // repeated bool handbooksAwardStat = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksAwardStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 64, input, this->mutable_handbooksawardstat())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_handbooksawardstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
        if (input->ExpectTag(72)) goto parse_handbooksStat;
        break;
      }

      // repeated int32 handbooksStat = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 72, input, this->mutable_handbooksstat())));
        } 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_handbooksstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_handbooksStat;
        if (input->ExpectTag(80)) goto parse_paddyCount;
        break;
      }

      // optional int32 paddyCount = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_paddyCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &paddycount_)));
          set_has_paddycount();
        } 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_summer_vacation_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 signCount = 5;
  if (has_signcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->signcount(), output);
  }

  // optional int32 resetTimes = 6;
  if (has_resettimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->resettimes(), output);
  }

  // optional bool canSign = 7;
  if (has_cansign()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->cansign(), output);
  }

  // repeated bool handbooksAwardStat = 8;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      8, this->handbooksawardstat(i), output);
  }

  // repeated int32 handbooksStat = 9;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      9, this->handbooksstat(i), output);
  }

  // optional int32 paddyCount = 10;
  if (has_paddycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->paddycount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_summer_vacation_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 signCount = 5;
  if (has_signcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->signcount(), target);
  }

  // optional int32 resetTimes = 6;
  if (has_resettimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->resettimes(), target);
  }

  // optional bool canSign = 7;
  if (has_cansign()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->cansign(), target);
  }

  // repeated bool handbooksAwardStat = 8;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(8, this->handbooksawardstat(i), target);
  }

  // repeated int32 handbooksStat = 9;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(9, this->handbooksstat(i), target);
  }

  // optional int32 paddyCount = 10;
  if (has_paddycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->paddycount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_summer_vacation_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_w2c_syn_summer_vacation_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 signCount = 5;
    if (has_signcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signcount());
    }

    // optional int32 resetTimes = 6;
    if (has_resettimes()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->resettimes());
    }

    // optional bool canSign = 7;
    if (has_cansign()) {
      total_size += 1 + 1;
    }

  }
  if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    // optional int32 paddyCount = 10;
    if (has_paddycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->paddycount());
    }

  }
  // repeated bool handbooksAwardStat = 8;
  {
    int data_size = 0;
    data_size = 1 * this->handbooksawardstat_size();
    total_size += 1 * this->handbooksawardstat_size() + data_size;
  }

  // repeated int32 handbooksStat = 9;
  {
    int data_size = 0;
    for (int i = 0; i < this->handbooksstat_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->handbooksstat(i));
    }
    total_size += 1 * this->handbooksstat_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_syn_summer_vacation_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_summer_vacation_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_summer_vacation_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_summer_vacation_info::MergeFrom(const packetw2c_syn_summer_vacation_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  handbooksstat_.MergeFrom(from.handbooksstat_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_signcount()) {
      set_signcount(from.signcount());
    }
    if (from.has_resettimes()) {
      set_resettimes(from.resettimes());
    }
    if (from.has_cansign()) {
      set_cansign(from.cansign());
    }
  }
  if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    if (from.has_paddycount()) {
      set_paddycount(from.paddycount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_summer_vacation_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_summer_vacation_info::CopyFrom(const packetw2c_syn_summer_vacation_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_summer_vacation_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_summer_vacation_info::Swap(packetw2c_syn_summer_vacation_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(signcount_, other->signcount_);
    std::swap(resettimes_, other->resettimes_);
    std::swap(cansign_, other->cansign_);
    handbooksawardstat_.Swap(&other->handbooksawardstat_);
    handbooksstat_.Swap(&other->handbooksstat_);
    std::swap(paddycount_, other->paddycount_);
    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_summer_vacation_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_summer_vacation_info_descriptor_;
  metadata.reflection = packetw2c_syn_summer_vacation_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_summer_quest::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_summer_quest::packetc2w_get_summer_quest()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_summer_quest::InitAsDefaultInstance() {
}

packetc2w_get_summer_quest::packetc2w_get_summer_quest(const packetc2w_get_summer_quest& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_summer_quest::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5253;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_summer_quest::~packetc2w_get_summer_quest() {
  SharedDtor();
}

void packetc2w_get_summer_quest::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_summer_quest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_summer_quest::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_summer_quest_descriptor_;
}

const packetc2w_get_summer_quest& packetc2w_get_summer_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_summer_quest* packetc2w_get_summer_quest::default_instance_ = NULL;

packetc2w_get_summer_quest* packetc2w_get_summer_quest::New() const {
  return new packetc2w_get_summer_quest;
}

void packetc2w_get_summer_quest::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5253;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_summer_quest::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_summer_quest];
      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_summer_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
  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_summer_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
  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_summer_quest::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_summer_quest];
    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_summer_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_summer_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_summer_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_summer_quest::MergeFrom(const packetc2w_get_summer_quest& 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_summer_quest::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_summer_quest::CopyFrom(const packetc2w_get_summer_quest& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_summer_quest::IsInitialized() const {

  return true;
}

void packetc2w_get_summer_quest::Swap(packetc2w_get_summer_quest* 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_summer_quest::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_summer_quest_descriptor_;
  metadata.reflection = packetc2w_get_summer_quest_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_summer_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_summer_quest_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_summer_quest_result::packetw2c_get_summer_quest_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_summer_quest_result::InitAsDefaultInstance() {
}

packetw2c_get_summer_quest_result::packetw2c_get_summer_quest_result(const packetw2c_get_summer_quest_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_summer_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7801;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_summer_quest_result::~packetw2c_get_summer_quest_result() {
  SharedDtor();
}

void packetw2c_get_summer_quest_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_summer_quest_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_summer_quest_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_summer_quest_result_descriptor_;
}

const packetw2c_get_summer_quest_result& packetw2c_get_summer_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_summer_quest_result* packetw2c_get_summer_quest_result::default_instance_ = NULL;

packetw2c_get_summer_quest_result* packetw2c_get_summer_quest_result::New() const {
  return new packetw2c_get_summer_quest_result;
}

void packetw2c_get_summer_quest_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7801;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_summer_quest_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_summer_quest_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_summer_quest_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_summer_quest_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_summer_quest_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_summer_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_summer_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_summer_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_summer_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_summer_quest_result::MergeFrom(const packetw2c_get_summer_quest_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_summer_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_summer_quest_result::CopyFrom(const packetw2c_get_summer_quest_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_summer_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_get_summer_quest_result::Swap(packetw2c_get_summer_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_summer_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_summer_quest_result_descriptor_;
  metadata.reflection = packetw2c_get_summer_quest_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_summer_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_summer_login_reward::kSignIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_summer_login_reward::packetc2w_recv_summer_login_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_summer_login_reward::InitAsDefaultInstance() {
}

packetc2w_recv_summer_login_reward::packetc2w_recv_summer_login_reward(const packetc2w_recv_summer_login_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_summer_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5166;
  signindex_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_summer_login_reward::~packetc2w_recv_summer_login_reward() {
  SharedDtor();
}

void packetc2w_recv_summer_login_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_summer_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_summer_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_summer_login_reward_descriptor_;
}

const packetc2w_recv_summer_login_reward& packetc2w_recv_summer_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_summer_login_reward* packetc2w_recv_summer_login_reward::default_instance_ = NULL;

packetc2w_recv_summer_login_reward* packetc2w_recv_summer_login_reward::New() const {
  return new packetc2w_recv_summer_login_reward;
}

void packetc2w_recv_summer_login_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5166;
    signindex_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_summer_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_summer_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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_summer_login_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_summer_login_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_summer_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_summer_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signIndex = 2;
    if (has_signindex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signindex());
    }

  }
  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_summer_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_summer_login_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_login_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_summer_login_reward::MergeFrom(const packetc2w_recv_summer_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_signindex()) {
      set_signindex(from.signindex());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_summer_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_summer_login_reward::CopyFrom(const packetc2w_recv_summer_login_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_summer_login_reward::IsInitialized() const {

  return true;
}

void packetc2w_recv_summer_login_reward::Swap(packetc2w_recv_summer_login_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signindex_, other->signindex_);
    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_summer_login_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_summer_login_reward_descriptor_;
  metadata.reflection = packetc2w_recv_summer_login_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_summer_login_reward_result::kPacketIdFieldNumber;
const int packetw2c_recv_summer_login_reward_result::kSignIndexFieldNumber;
const int packetw2c_recv_summer_login_reward_result::kResultFieldNumber;
const int packetw2c_recv_summer_login_reward_result::kExHandbooksIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_summer_login_reward_result::packetw2c_recv_summer_login_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_summer_login_reward_result::InitAsDefaultInstance() {
}

packetw2c_recv_summer_login_reward_result::packetw2c_recv_summer_login_reward_result(const packetw2c_recv_summer_login_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_summer_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7668;
  signindex_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_summer_login_reward_result::~packetw2c_recv_summer_login_reward_result() {
  SharedDtor();
}

void packetw2c_recv_summer_login_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_summer_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_summer_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_summer_login_reward_result_descriptor_;
}

const packetw2c_recv_summer_login_reward_result& packetw2c_recv_summer_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_summer_login_reward_result* packetw2c_recv_summer_login_reward_result::default_instance_ = NULL;

packetw2c_recv_summer_login_reward_result* packetw2c_recv_summer_login_reward_result::New() const {
  return new packetw2c_recv_summer_login_reward_result;
}

void packetw2c_recv_summer_login_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7668;
    signindex_ = 0;
    result_ = 0;
  }
  exhandbooksid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_summer_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_summer_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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_exHandbooksId;
        break;
      }

      // repeated int32 exHandbooksId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exHandbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_exhandbooksid())));
        } 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_exhandbooksid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_exHandbooksId;
        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_summer_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_summer_login_reward_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->exhandbooksid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_summer_login_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_login_reward_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->exhandbooksid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_summer_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_summer_login_reward_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signIndex = 2;
    if (has_signindex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signindex());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  // repeated int32 exHandbooksId = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->exhandbooksid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->exhandbooksid(i));
    }
    total_size += 1 * this->exhandbooksid_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_recv_summer_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_summer_login_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_login_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_summer_login_reward_result::MergeFrom(const packetw2c_recv_summer_login_reward_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  exhandbooksid_.MergeFrom(from.exhandbooksid_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_signindex()) {
      set_signindex(from.signindex());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_summer_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_summer_login_reward_result::CopyFrom(const packetw2c_recv_summer_login_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_summer_login_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_summer_login_reward_result::Swap(packetw2c_recv_summer_login_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signindex_, other->signindex_);
    std::swap(result_, other->result_);
    exhandbooksid_.Swap(&other->exhandbooksid_);
    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_summer_login_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_summer_login_reward_result_descriptor_;
  metadata.reflection = packetw2c_recv_summer_login_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_summer_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_summer_quest_award::kQuestIdFieldNumber;
const int packetc2w_recv_summer_quest_award::kReceiveBitFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_summer_quest_award::packetc2w_recv_summer_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_summer_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_summer_quest_award::packetc2w_recv_summer_quest_award(const packetc2w_recv_summer_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_summer_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7667;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_summer_quest_award::~packetc2w_recv_summer_quest_award() {
  SharedDtor();
}

void packetc2w_recv_summer_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_summer_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_summer_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_summer_quest_award_descriptor_;
}

const packetc2w_recv_summer_quest_award& packetc2w_recv_summer_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_summer_quest_award* packetc2w_recv_summer_quest_award::default_instance_ = NULL;

packetc2w_recv_summer_quest_award* packetc2w_recv_summer_quest_award::New() const {
  return new packetc2w_recv_summer_quest_award;
}

void packetc2w_recv_summer_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7667;
    questid_ = 0;
    receivebit_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_summer_quest_award::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_summer_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } 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_summer_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  // optional int32 receiveBit = 3;
  if (has_receivebit()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->receivebit(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_summer_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  // optional int32 receiveBit = 3;
  if (has_receivebit()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->receivebit(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_summer_quest_award::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_summer_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

    // optional int32 receiveBit = 3;
    if (has_receivebit()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->receivebit());
    }

  }
  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_summer_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_summer_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_summer_quest_award::MergeFrom(const packetc2w_recv_summer_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_summer_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_summer_quest_award::CopyFrom(const packetc2w_recv_summer_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_summer_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_summer_quest_award::Swap(packetc2w_recv_summer_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    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_summer_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_summer_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_summer_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_summer_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_summer_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_summer_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_summer_quest_award_result::kReceiveBitFieldNumber;
const int packetw2c_recv_summer_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_summer_quest_award_result::packetw2c_recv_summer_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_summer_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_summer_quest_award_result::packetw2c_recv_summer_quest_award_result(const packetw2c_recv_summer_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_summer_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7666;
  result_ = 0;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_summer_quest_award_result::~packetw2c_recv_summer_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_summer_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_summer_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_summer_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_summer_quest_award_result_descriptor_;
}

const packetw2c_recv_summer_quest_award_result& packetw2c_recv_summer_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_summer_quest_award_result* packetw2c_recv_summer_quest_award_result::default_instance_ = NULL;

packetw2c_recv_summer_quest_award_result* packetw2c_recv_summer_quest_award_result::New() const {
  return new packetw2c_recv_summer_quest_award_result;
}

void packetw2c_recv_summer_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7666;
    result_ = 0;
    questid_ = 0;
    receivebit_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_summer_quest_award_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_summer_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 5;
      case 5: {
        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(42)) goto parse_items;
        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_summer_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // optional int32 receiveBit = 4;
  if (has_receivebit()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->receivebit(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      5, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_summer_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // optional int32 receiveBit = 4;
  if (has_receivebit()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->receivebit(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        5, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_summer_quest_award_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_summer_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

    // optional int32 receiveBit = 4;
    if (has_receivebit()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->receivebit());
    }

  }
  // repeated .msg_info_def.ItemInfo items = 5;
  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_recv_summer_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_summer_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_summer_quest_award_result::MergeFrom(const packetw2c_recv_summer_quest_award_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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_summer_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_summer_quest_award_result::CopyFrom(const packetw2c_recv_summer_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_summer_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_summer_quest_award_result::Swap(packetw2c_recv_summer_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    items_.Swap(&other->items_);
    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_summer_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_summer_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_summer_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_summer_handbooks_gold::kPacketIdFieldNumber;
const int packetc2w_recv_summer_handbooks_gold::kHandbooksIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_summer_handbooks_gold::packetc2w_recv_summer_handbooks_gold()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_summer_handbooks_gold::InitAsDefaultInstance() {
}

packetc2w_recv_summer_handbooks_gold::packetc2w_recv_summer_handbooks_gold(const packetc2w_recv_summer_handbooks_gold& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_summer_handbooks_gold::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5138;
  handbooksid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_summer_handbooks_gold::~packetc2w_recv_summer_handbooks_gold() {
  SharedDtor();
}

void packetc2w_recv_summer_handbooks_gold::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_summer_handbooks_gold::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_gold::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_summer_handbooks_gold_descriptor_;
}

const packetc2w_recv_summer_handbooks_gold& packetc2w_recv_summer_handbooks_gold::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_summer_handbooks_gold* packetc2w_recv_summer_handbooks_gold::default_instance_ = NULL;

packetc2w_recv_summer_handbooks_gold* packetc2w_recv_summer_handbooks_gold::New() const {
  return new packetc2w_recv_summer_handbooks_gold;
}

void packetc2w_recv_summer_handbooks_gold::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5138;
    handbooksid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_summer_handbooks_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_recv_summer_handbooks_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->ExpectTag(16)) goto parse_handbooksId;
        break;
      }

      // optional int32 handbooksId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksid_)));
          set_has_handbooksid();
        } 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_summer_handbooks_gold::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_summer_handbooks_gold::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_summer_handbooks_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_recv_summer_handbooks_gold];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 handbooksId = 2;
    if (has_handbooksid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksid());
    }

  }
  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_summer_handbooks_gold::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_summer_handbooks_gold* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_handbooks_gold*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_summer_handbooks_gold::MergeFrom(const packetc2w_recv_summer_handbooks_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());
    }
    if (from.has_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_summer_handbooks_gold::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_summer_handbooks_gold::CopyFrom(const packetc2w_recv_summer_handbooks_gold& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_summer_handbooks_gold::IsInitialized() const {

  return true;
}

void packetc2w_recv_summer_handbooks_gold::Swap(packetc2w_recv_summer_handbooks_gold* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(handbooksid_, other->handbooksid_);
    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_summer_handbooks_gold::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_summer_handbooks_gold_descriptor_;
  metadata.reflection = packetc2w_recv_summer_handbooks_gold_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_summer_handbooks_gold_result::kPacketIdFieldNumber;
const int packetw2c_recv_summer_handbooks_gold_result::kHandbooksIdFieldNumber;
const int packetw2c_recv_summer_handbooks_gold_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_summer_handbooks_gold_result::packetw2c_recv_summer_handbooks_gold_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_summer_handbooks_gold_result::InitAsDefaultInstance() {
}

packetw2c_recv_summer_handbooks_gold_result::packetw2c_recv_summer_handbooks_gold_result(const packetw2c_recv_summer_handbooks_gold_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_summer_handbooks_gold_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7649;
  handbooksid_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_summer_handbooks_gold_result::~packetw2c_recv_summer_handbooks_gold_result() {
  SharedDtor();
}

void packetw2c_recv_summer_handbooks_gold_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_summer_handbooks_gold_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_gold_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_summer_handbooks_gold_result_descriptor_;
}

const packetw2c_recv_summer_handbooks_gold_result& packetw2c_recv_summer_handbooks_gold_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_summer_handbooks_gold_result* packetw2c_recv_summer_handbooks_gold_result::default_instance_ = NULL;

packetw2c_recv_summer_handbooks_gold_result* packetw2c_recv_summer_handbooks_gold_result::New() const {
  return new packetw2c_recv_summer_handbooks_gold_result;
}

void packetw2c_recv_summer_handbooks_gold_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7649;
    handbooksid_ = 0;
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_summer_handbooks_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_recv_summer_handbooks_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_handbooksId;
        break;
      }

      // optional int32 handbooksId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksid_)));
          set_has_handbooksid();
        } 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->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_summer_handbooks_gold_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_summer_handbooks_gold_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_summer_handbooks_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_recv_summer_handbooks_gold_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 handbooksId = 2;
    if (has_handbooksid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksid());
    }

    // optional int32 result = 3;
    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_recv_summer_handbooks_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_summer_handbooks_gold_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_handbooks_gold_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_summer_handbooks_gold_result::MergeFrom(const packetw2c_recv_summer_handbooks_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_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_summer_handbooks_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_summer_handbooks_gold_result::CopyFrom(const packetw2c_recv_summer_handbooks_gold_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_summer_handbooks_gold_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_summer_handbooks_gold_result::Swap(packetw2c_recv_summer_handbooks_gold_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(handbooksid_, other->handbooksid_);
    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_recv_summer_handbooks_gold_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_summer_handbooks_gold_result_descriptor_;
  metadata.reflection = packetw2c_recv_summer_handbooks_gold_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_summer_handbooks_award::kPacketIdFieldNumber;
const int packetc2w_recv_summer_handbooks_award::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_summer_handbooks_award::packetc2w_recv_summer_handbooks_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_summer_handbooks_award::InitAsDefaultInstance() {
}

packetc2w_recv_summer_handbooks_award::packetc2w_recv_summer_handbooks_award(const packetc2w_recv_summer_handbooks_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_summer_handbooks_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5154;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_summer_handbooks_award::~packetc2w_recv_summer_handbooks_award() {
  SharedDtor();
}

void packetc2w_recv_summer_handbooks_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_summer_handbooks_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_summer_handbooks_award_descriptor_;
}

const packetc2w_recv_summer_handbooks_award& packetc2w_recv_summer_handbooks_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_summer_handbooks_award* packetc2w_recv_summer_handbooks_award::default_instance_ = NULL;

packetc2w_recv_summer_handbooks_award* packetc2w_recv_summer_handbooks_award::New() const {
  return new packetc2w_recv_summer_handbooks_award;
}

void packetc2w_recv_summer_handbooks_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5154;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_summer_handbooks_award::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_summer_handbooks_award];
      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->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_summer_handbooks_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_summer_handbooks_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_summer_handbooks_award::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_summer_handbooks_award];
    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());
    }

  }
  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_summer_handbooks_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_summer_handbooks_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_handbooks_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_summer_handbooks_award::MergeFrom(const packetc2w_recv_summer_handbooks_award& 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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_summer_handbooks_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_summer_handbooks_award::CopyFrom(const packetc2w_recv_summer_handbooks_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_summer_handbooks_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_summer_handbooks_award::Swap(packetc2w_recv_summer_handbooks_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_recv_summer_handbooks_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_summer_handbooks_award_descriptor_;
  metadata.reflection = packetc2w_recv_summer_handbooks_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_summer_handbooks_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_summer_handbooks_award_result::kResultFieldNumber;
const int packetw2c_recv_summer_handbooks_award_result::kTypelistFieldNumber;
const int packetw2c_recv_summer_handbooks_award_result::kHandbooksGoldFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_summer_handbooks_award_result::packetw2c_recv_summer_handbooks_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_summer_handbooks_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_summer_handbooks_award_result::packetw2c_recv_summer_handbooks_award_result(const packetw2c_recv_summer_handbooks_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_summer_handbooks_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7647;
  result_ = 0;
  handbooksgold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_summer_handbooks_award_result::~packetw2c_recv_summer_handbooks_award_result() {
  SharedDtor();
}

void packetw2c_recv_summer_handbooks_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_summer_handbooks_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_summer_handbooks_award_result_descriptor_;
}

const packetw2c_recv_summer_handbooks_award_result& packetw2c_recv_summer_handbooks_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_summer_handbooks_award_result* packetw2c_recv_summer_handbooks_award_result::default_instance_ = NULL;

packetw2c_recv_summer_handbooks_award_result* packetw2c_recv_summer_handbooks_award_result::New() const {
  return new packetw2c_recv_summer_handbooks_award_result;
}

void packetw2c_recv_summer_handbooks_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7647;
    result_ = 0;
    handbooksgold_ = 0;
  }
  typelist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_summer_handbooks_award_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_summer_handbooks_award_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_typelist;
        break;
      }

      // repeated int32 typelist = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_typelist:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 24, input, this->mutable_typelist())));
        } 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_typelist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_typelist;
        if (input->ExpectTag(32)) goto parse_handbooksGold;
        break;
      }

      // optional int32 handbooksGold = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksGold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksgold_)));
          set_has_handbooksgold();
        } 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_summer_handbooks_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 result = 2;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  }

  // repeated int32 typelist = 3;
  for (int i = 0; i < this->typelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      3, this->typelist(i), output);
  }

  // optional int32 handbooksGold = 4;
  if (has_handbooksgold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->handbooksgold(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_summer_handbooks_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 result = 2;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  }

  // repeated int32 typelist = 3;
  for (int i = 0; i < this->typelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(3, this->typelist(i), target);
  }

  // optional int32 handbooksGold = 4;
  if (has_handbooksgold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->handbooksgold(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_summer_handbooks_award_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_summer_handbooks_award_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 handbooksGold = 4;
    if (has_handbooksgold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksgold());
    }

  }
  // repeated int32 typelist = 3;
  {
    int data_size = 0;
    for (int i = 0; i < this->typelist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->typelist(i));
    }
    total_size += 1 * this->typelist_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_recv_summer_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_summer_handbooks_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_handbooks_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_summer_handbooks_award_result::MergeFrom(const packetw2c_recv_summer_handbooks_award_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  typelist_.MergeFrom(from.typelist_);
  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_handbooksgold()) {
      set_handbooksgold(from.handbooksgold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_summer_handbooks_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_summer_handbooks_award_result::CopyFrom(const packetw2c_recv_summer_handbooks_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_summer_handbooks_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_summer_handbooks_award_result::Swap(packetw2c_recv_summer_handbooks_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    typelist_.Swap(&other->typelist_);
    std::swap(handbooksgold_, other->handbooksgold_);
    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_summer_handbooks_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_summer_handbooks_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_summer_handbooks_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_lottery::kPacketIdFieldNumber;
const int packetc2w_summer_lottery::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_lottery::packetc2w_summer_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_lottery::InitAsDefaultInstance() {
}

packetc2w_summer_lottery::packetc2w_summer_lottery(const packetc2w_summer_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5156;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_lottery::~packetc2w_summer_lottery() {
  SharedDtor();
}

void packetc2w_summer_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_lottery_descriptor_;
}

const packetc2w_summer_lottery& packetc2w_summer_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_lottery* packetc2w_summer_lottery::default_instance_ = NULL;

packetc2w_summer_lottery* packetc2w_summer_lottery::New() const {
  return new packetc2w_summer_lottery;
}

void packetc2w_summer_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5156;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_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_summer_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_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->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_summer_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_summer_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_summer_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_summer_lottery];
    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());
    }

  }
  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_summer_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_lottery::MergeFrom(const packetc2w_summer_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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_summer_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_lottery::CopyFrom(const packetc2w_summer_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_lottery::IsInitialized() const {

  return true;
}

void packetc2w_summer_lottery::Swap(packetc2w_summer_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_summer_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_lottery_descriptor_;
  metadata.reflection = packetc2w_summer_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_lottery_result::kPacketIdFieldNumber;
const int packetw2c_summer_lottery_result::kResultFieldNumber;
const int packetw2c_summer_lottery_result::kTypeFieldNumber;
const int packetw2c_summer_lottery_result::kRewardIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_lottery_result::packetw2c_summer_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_lottery_result::InitAsDefaultInstance() {
}

packetw2c_summer_lottery_result::packetw2c_summer_lottery_result(const packetw2c_summer_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7670;
  result_ = 0;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_lottery_result::~packetw2c_summer_lottery_result() {
  SharedDtor();
}

void packetw2c_summer_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_lottery_result_descriptor_;
}

const packetw2c_summer_lottery_result& packetw2c_summer_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_lottery_result* packetw2c_summer_lottery_result::default_instance_ = NULL;

packetw2c_summer_lottery_result* packetw2c_summer_lottery_result::New() const {
  return new packetw2c_summer_lottery_result;
}

void packetw2c_summer_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7670;
    result_ = 0;
    type_ = 0;
  }
  rewardid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_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_summer_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_rewardId;
        break;
      }

      // repeated int32 rewardId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_rewardid())));
        } 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_rewardid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_rewardId;
        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_summer_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // repeated int32 rewardId = 4;
  for (int i = 0; i < this->rewardid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->rewardid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // repeated int32 rewardId = 4;
  for (int i = 0; i < this->rewardid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->rewardid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_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_summer_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

  }
  // repeated int32 rewardId = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardid(i));
    }
    total_size += 1 * this->rewardid_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_summer_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_lottery_result::MergeFrom(const packetw2c_summer_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardid_.MergeFrom(from.rewardid_);
  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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_summer_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_lottery_result::CopyFrom(const packetw2c_summer_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_lottery_result::Swap(packetw2c_summer_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    rewardid_.Swap(&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_summer_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_lottery_result_descriptor_;
  metadata.reflection = packetw2c_summer_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int onr_history_info::kNameFieldNumber;
const int onr_history_info::kRateFieldNumber;
#endif  // !_MSC_VER

onr_history_info::onr_history_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void onr_history_info::InitAsDefaultInstance() {
}

onr_history_info::onr_history_info(const onr_history_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void onr_history_info::SharedCtor() {
  _cached_size_ = 0;
  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  rate_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

onr_history_info::~onr_history_info() {
  SharedDtor();
}

void onr_history_info::SharedDtor() {
  if (name_ != &::google::protobuf::internal::kEmptyString) {
    delete name_;
  }
  if (this != default_instance_) {
  }
}

void onr_history_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* onr_history_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return onr_history_info_descriptor_;
}

const onr_history_info& onr_history_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

onr_history_info* onr_history_info::default_instance_ = NULL;

onr_history_info* onr_history_info::New() const {
  return new onr_history_info;
}

void onr_history_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (has_name()) {
      if (name_ != &::google::protobuf::internal::kEmptyString) {
        name_->clear();
      }
    }
    rate_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool onr_history_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 string name = 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_name()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->name().data(), this->name().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_rate;
        break;
      }

      // optional int32 rate = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rate:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rate_)));
          set_has_rate();
        } 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 onr_history_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional string name = 1;
  if (has_name()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->name().data(), this->name().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      1, this->name(), output);
  }

  // optional int32 rate = 2;
  if (has_rate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rate(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* onr_history_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional string name = 1;
  if (has_name()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->name().data(), this->name().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->name(), target);
  }

  // optional int32 rate = 2;
  if (has_rate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rate(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int onr_history_info::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional string name = 1;
    if (has_name()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->name());
    }

    // optional int32 rate = 2;
    if (has_rate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rate());
    }

  }
  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 onr_history_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const onr_history_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const onr_history_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void onr_history_info::MergeFrom(const onr_history_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_name()) {
      set_name(from.name());
    }
    if (from.has_rate()) {
      set_rate(from.rate());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void onr_history_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void onr_history_info::CopyFrom(const onr_history_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool onr_history_info::IsInitialized() const {

  return true;
}

void onr_history_info::Swap(onr_history_info* other) {
  if (other != this) {
    std::swap(name_, other->name_);
    std::swap(rate_, other->rate_);
    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 onr_history_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = onr_history_info_descriptor_;
  metadata.reflection = onr_history_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_one_night_rich_info::kPacketIdFieldNumber;
const int packetw2c_syn_one_night_rich_info::kActivityStateFieldNumber;
const int packetw2c_syn_one_night_rich_info::kStartTimeFieldNumber;
const int packetw2c_syn_one_night_rich_info::kEndTimeFieldNumber;
const int packetw2c_syn_one_night_rich_info::kRechargedFieldNumber;
const int packetw2c_syn_one_night_rich_info::kLotteryIdFieldNumber;
const int packetw2c_syn_one_night_rich_info::kReceiveCheckFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_one_night_rich_info::packetw2c_syn_one_night_rich_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_one_night_rich_info::InitAsDefaultInstance() {
}

packetw2c_syn_one_night_rich_info::packetw2c_syn_one_night_rich_info(const packetw2c_syn_one_night_rich_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_one_night_rich_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7715;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  recharged_ = 0;
  lotteryid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_one_night_rich_info::~packetw2c_syn_one_night_rich_info() {
  SharedDtor();
}

void packetw2c_syn_one_night_rich_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_one_night_rich_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_one_night_rich_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_one_night_rich_info_descriptor_;
}

const packetw2c_syn_one_night_rich_info& packetw2c_syn_one_night_rich_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_one_night_rich_info* packetw2c_syn_one_night_rich_info::default_instance_ = NULL;

packetw2c_syn_one_night_rich_info* packetw2c_syn_one_night_rich_info::New() const {
  return new packetw2c_syn_one_night_rich_info;
}

void packetw2c_syn_one_night_rich_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7715;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    recharged_ = 0;
    lotteryid_ = 0;
  }
  receivecheck_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_one_night_rich_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_w2c_syn_one_night_rich_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_recharged;
        break;
      }

      // optional int32 recharged = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recharged:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recharged_)));
          set_has_recharged();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_lotteryId;
        break;
      }

      // optional int32 lotteryId = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lotteryId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lotteryid_)));
          set_has_lotteryid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_receiveCheck;
        break;
      }

      // repeated bool receiveCheck = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveCheck:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 56, input, this->mutable_receivecheck())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_receivecheck())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_receiveCheck;
        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_one_night_rich_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 recharged = 5;
  if (has_recharged()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->recharged(), output);
  }

  // optional int32 lotteryId = 6;
  if (has_lotteryid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->lotteryid(), output);
  }

  // repeated bool receiveCheck = 7;
  for (int i = 0; i < this->receivecheck_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      7, this->receivecheck(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_one_night_rich_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 recharged = 5;
  if (has_recharged()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->recharged(), target);
  }

  // optional int32 lotteryId = 6;
  if (has_lotteryid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->lotteryid(), target);
  }

  // repeated bool receiveCheck = 7;
  for (int i = 0; i < this->receivecheck_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(7, this->receivecheck(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_one_night_rich_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_w2c_syn_one_night_rich_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 recharged = 5;
    if (has_recharged()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recharged());
    }

    // optional int32 lotteryId = 6;
    if (has_lotteryid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lotteryid());
    }

  }
  // repeated bool receiveCheck = 7;
  {
    int data_size = 0;
    data_size = 1 * this->receivecheck_size();
    total_size += 1 * this->receivecheck_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_syn_one_night_rich_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_one_night_rich_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_one_night_rich_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_one_night_rich_info::MergeFrom(const packetw2c_syn_one_night_rich_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  receivecheck_.MergeFrom(from.receivecheck_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_recharged()) {
      set_recharged(from.recharged());
    }
    if (from.has_lotteryid()) {
      set_lotteryid(from.lotteryid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_one_night_rich_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_one_night_rich_info::CopyFrom(const packetw2c_syn_one_night_rich_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_one_night_rich_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_one_night_rich_info::Swap(packetw2c_syn_one_night_rich_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(recharged_, other->recharged_);
    std::swap(lotteryid_, other->lotteryid_);
    receivecheck_.Swap(&other->receivecheck_);
    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_one_night_rich_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_one_night_rich_info_descriptor_;
  metadata.reflection = packetw2c_syn_one_night_rich_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_one_night_rich_award::kPacketIdFieldNumber;
const int packetc2w_recv_one_night_rich_award::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_one_night_rich_award::packetc2w_recv_one_night_rich_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_one_night_rich_award::InitAsDefaultInstance() {
}

packetc2w_recv_one_night_rich_award::packetc2w_recv_one_night_rich_award(const packetc2w_recv_one_night_rich_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_one_night_rich_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5153;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_one_night_rich_award::~packetc2w_recv_one_night_rich_award() {
  SharedDtor();
}

void packetc2w_recv_one_night_rich_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_one_night_rich_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_one_night_rich_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_one_night_rich_award_descriptor_;
}

const packetc2w_recv_one_night_rich_award& packetc2w_recv_one_night_rich_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_one_night_rich_award* packetc2w_recv_one_night_rich_award::default_instance_ = NULL;

packetc2w_recv_one_night_rich_award* packetc2w_recv_one_night_rich_award::New() const {
  return new packetc2w_recv_one_night_rich_award;
}

void packetc2w_recv_one_night_rich_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5153;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_one_night_rich_award::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_one_night_rich_award];
      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->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_one_night_rich_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_one_night_rich_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_one_night_rich_award::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_one_night_rich_award];
    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());
    }

  }
  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_one_night_rich_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_one_night_rich_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_one_night_rich_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_one_night_rich_award::MergeFrom(const packetc2w_recv_one_night_rich_award& 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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_one_night_rich_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_one_night_rich_award::CopyFrom(const packetc2w_recv_one_night_rich_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_one_night_rich_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_one_night_rich_award::Swap(packetc2w_recv_one_night_rich_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_recv_one_night_rich_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_one_night_rich_award_descriptor_;
  metadata.reflection = packetc2w_recv_one_night_rich_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_one_night_rich_result::kPacketIdFieldNumber;
const int packetw2c_recv_one_night_rich_result::kResultFieldNumber;
const int packetw2c_recv_one_night_rich_result::kTypeFieldNumber;
const int packetw2c_recv_one_night_rich_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_one_night_rich_result::packetw2c_recv_one_night_rich_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_one_night_rich_result::InitAsDefaultInstance() {
}

packetw2c_recv_one_night_rich_result::packetw2c_recv_one_night_rich_result(const packetw2c_recv_one_night_rich_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_one_night_rich_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7645;
  result_ = 0;
  type_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_one_night_rich_result::~packetw2c_recv_one_night_rich_result() {
  SharedDtor();
}

void packetw2c_recv_one_night_rich_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_one_night_rich_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_one_night_rich_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_one_night_rich_result_descriptor_;
}

const packetw2c_recv_one_night_rich_result& packetw2c_recv_one_night_rich_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_one_night_rich_result* packetw2c_recv_one_night_rich_result::default_instance_ = NULL;

packetw2c_recv_one_night_rich_result* packetw2c_recv_one_night_rich_result::New() const {
  return new packetw2c_recv_one_night_rich_result;
}

void packetw2c_recv_one_night_rich_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7645;
    result_ = 0;
    type_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_one_night_rich_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_one_night_rich_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_index;
        break;
      }

      // optional int32 index = 4;
      case 4: {
        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_one_night_rich_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // optional int32 index = 4;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_one_night_rich_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // optional int32 index = 4;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_one_night_rich_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_one_night_rich_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 index = 4;
    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_one_night_rich_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_one_night_rich_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_one_night_rich_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_one_night_rich_result::MergeFrom(const packetw2c_recv_one_night_rich_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_type()) {
      set_type(from.type());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_one_night_rich_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_one_night_rich_result::CopyFrom(const packetw2c_recv_one_night_rich_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_one_night_rich_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_one_night_rich_result::Swap(packetw2c_recv_one_night_rich_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    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 packetw2c_recv_one_night_rich_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_one_night_rich_result_descriptor_;
  metadata.reflection = packetw2c_recv_one_night_rich_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_onr_historyList::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_onr_historyList::packetc2w_recv_onr_historyList()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_onr_historyList::InitAsDefaultInstance() {
}

packetc2w_recv_onr_historyList::packetc2w_recv_onr_historyList(const packetc2w_recv_onr_historyList& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_onr_historyList::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5191;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_onr_historyList::~packetc2w_recv_onr_historyList() {
  SharedDtor();
}

void packetc2w_recv_onr_historyList::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_onr_historyList::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_onr_historyList::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_onr_historyList_descriptor_;
}

const packetc2w_recv_onr_historyList& packetc2w_recv_onr_historyList::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_onr_historyList* packetc2w_recv_onr_historyList::default_instance_ = NULL;

packetc2w_recv_onr_historyList* packetc2w_recv_onr_historyList::New() const {
  return new packetc2w_recv_onr_historyList;
}

void packetc2w_recv_onr_historyList::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5191;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_onr_historyList::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_onr_historyList];
      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_recv_onr_historyList::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList];
  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_recv_onr_historyList::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList];
  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_recv_onr_historyList::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_onr_historyList];
    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_recv_onr_historyList::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_onr_historyList* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_onr_historyList*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_onr_historyList::MergeFrom(const packetc2w_recv_onr_historyList& 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_recv_onr_historyList::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_onr_historyList::CopyFrom(const packetc2w_recv_onr_historyList& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_onr_historyList::IsInitialized() const {

  return true;
}

void packetc2w_recv_onr_historyList::Swap(packetc2w_recv_onr_historyList* 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_recv_onr_historyList::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_onr_historyList_descriptor_;
  metadata.reflection = packetc2w_recv_onr_historyList_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_onr_historyList_result::kPacketIdFieldNumber;
const int packetw2c_recv_onr_historyList_result::kHistoryListFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_onr_historyList_result::packetw2c_recv_onr_historyList_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_onr_historyList_result::InitAsDefaultInstance() {
}

packetw2c_recv_onr_historyList_result::packetw2c_recv_onr_historyList_result(const packetw2c_recv_onr_historyList_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_onr_historyList_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7717;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_onr_historyList_result::~packetw2c_recv_onr_historyList_result() {
  SharedDtor();
}

void packetw2c_recv_onr_historyList_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_onr_historyList_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_onr_historyList_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_onr_historyList_result_descriptor_;
}

const packetw2c_recv_onr_historyList_result& packetw2c_recv_onr_historyList_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_onr_historyList_result* packetw2c_recv_onr_historyList_result::default_instance_ = NULL;

packetw2c_recv_onr_historyList_result* packetw2c_recv_onr_historyList_result::New() const {
  return new packetw2c_recv_onr_historyList_result;
}

void packetw2c_recv_onr_historyList_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7717;
  }
  historylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_onr_historyList_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_onr_historyList_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(34)) goto parse_historyList;
        break;
      }

      // repeated .client2world_protocols.onr_history_info historyList = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_historyList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_historylist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_historyList;
        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_onr_historyList_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.onr_history_info historyList = 4;
  for (int i = 0; i < this->historylist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->historylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_onr_historyList_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.onr_history_info historyList = 4;
  for (int i = 0; i < this->historylist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->historylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_onr_historyList_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_onr_historyList_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .client2world_protocols.onr_history_info historyList = 4;
  total_size += 1 * this->historylist_size();
  for (int i = 0; i < this->historylist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->historylist(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_recv_onr_historyList_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_onr_historyList_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_onr_historyList_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_onr_historyList_result::MergeFrom(const packetw2c_recv_onr_historyList_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  historylist_.MergeFrom(from.historylist_);
  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_recv_onr_historyList_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_onr_historyList_result::CopyFrom(const packetw2c_recv_onr_historyList_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_onr_historyList_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_onr_historyList_result::Swap(packetw2c_recv_onr_historyList_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    historylist_.Swap(&other->historylist_);
    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_onr_historyList_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_onr_historyList_result_descriptor_;
  metadata.reflection = packetw2c_recv_onr_historyList_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_fortune_star_info::kPacketIdFieldNumber;
const int packetw2c_syn_fortune_star_info::kActivityStateFieldNumber;
const int packetw2c_syn_fortune_star_info::kStartTimeFieldNumber;
const int packetw2c_syn_fortune_star_info::kEndTimeFieldNumber;
const int packetw2c_syn_fortune_star_info::kMyFortuneStarFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_fortune_star_info::packetw2c_syn_fortune_star_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_fortune_star_info::InitAsDefaultInstance() {
}

packetw2c_syn_fortune_star_info::packetw2c_syn_fortune_star_info(const packetw2c_syn_fortune_star_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_fortune_star_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7716;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  myfortunestar_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_fortune_star_info::~packetw2c_syn_fortune_star_info() {
  SharedDtor();
}

void packetw2c_syn_fortune_star_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_fortune_star_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_fortune_star_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_fortune_star_info_descriptor_;
}

const packetw2c_syn_fortune_star_info& packetw2c_syn_fortune_star_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_fortune_star_info* packetw2c_syn_fortune_star_info::default_instance_ = NULL;

packetw2c_syn_fortune_star_info* packetw2c_syn_fortune_star_info::New() const {
  return new packetw2c_syn_fortune_star_info;
}

void packetw2c_syn_fortune_star_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7716;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    myfortunestar_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_fortune_star_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_w2c_syn_fortune_star_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_myFortuneStar;
        break;
      }

      // optional int32 myFortuneStar = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myFortuneStar:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &myfortunestar_)));
          set_has_myfortunestar();
        } 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_fortune_star_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 myFortuneStar = 5;
  if (has_myfortunestar()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->myfortunestar(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_fortune_star_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 myFortuneStar = 5;
  if (has_myfortunestar()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->myfortunestar(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_fortune_star_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_w2c_syn_fortune_star_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 myFortuneStar = 5;
    if (has_myfortunestar()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->myfortunestar());
    }

  }
  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_fortune_star_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_fortune_star_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_fortune_star_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_fortune_star_info::MergeFrom(const packetw2c_syn_fortune_star_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_myfortunestar()) {
      set_myfortunestar(from.myfortunestar());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_fortune_star_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_fortune_star_info::CopyFrom(const packetw2c_syn_fortune_star_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_fortune_star_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_fortune_star_info::Swap(packetw2c_syn_fortune_star_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(myfortunestar_, other->myfortunestar_);
    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_fortune_star_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_fortune_star_info_descriptor_;
  metadata.reflection = packetw2c_syn_fortune_star_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_fortune_star_quest::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_fortune_star_quest::packetc2w_get_fortune_star_quest()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_fortune_star_quest::InitAsDefaultInstance() {
}

packetc2w_get_fortune_star_quest::packetc2w_get_fortune_star_quest(const packetc2w_get_fortune_star_quest& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_fortune_star_quest::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5254;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_fortune_star_quest::~packetc2w_get_fortune_star_quest() {
  SharedDtor();
}

void packetc2w_get_fortune_star_quest::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_fortune_star_quest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_fortune_star_quest::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_fortune_star_quest_descriptor_;
}

const packetc2w_get_fortune_star_quest& packetc2w_get_fortune_star_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_fortune_star_quest* packetc2w_get_fortune_star_quest::default_instance_ = NULL;

packetc2w_get_fortune_star_quest* packetc2w_get_fortune_star_quest::New() const {
  return new packetc2w_get_fortune_star_quest;
}

void packetc2w_get_fortune_star_quest::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5254;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_fortune_star_quest::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_fortune_star_quest];
      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_fortune_star_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
  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_fortune_star_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
  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_fortune_star_quest::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_fortune_star_quest];
    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_fortune_star_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_fortune_star_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_fortune_star_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_fortune_star_quest::MergeFrom(const packetc2w_get_fortune_star_quest& 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_fortune_star_quest::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_fortune_star_quest::CopyFrom(const packetc2w_get_fortune_star_quest& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_fortune_star_quest::IsInitialized() const {

  return true;
}

void packetc2w_get_fortune_star_quest::Swap(packetc2w_get_fortune_star_quest* 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_fortune_star_quest::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_fortune_star_quest_descriptor_;
  metadata.reflection = packetc2w_get_fortune_star_quest_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_fortune_star_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_fortune_star_quest_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_fortune_star_quest_result::packetw2c_get_fortune_star_quest_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_fortune_star_quest_result::InitAsDefaultInstance() {
}

packetw2c_get_fortune_star_quest_result::packetw2c_get_fortune_star_quest_result(const packetw2c_get_fortune_star_quest_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_fortune_star_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7802;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_fortune_star_quest_result::~packetw2c_get_fortune_star_quest_result() {
  SharedDtor();
}

void packetw2c_get_fortune_star_quest_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_fortune_star_quest_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_fortune_star_quest_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_fortune_star_quest_result_descriptor_;
}

const packetw2c_get_fortune_star_quest_result& packetw2c_get_fortune_star_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_fortune_star_quest_result* packetw2c_get_fortune_star_quest_result::default_instance_ = NULL;

packetw2c_get_fortune_star_quest_result* packetw2c_get_fortune_star_quest_result::New() const {
  return new packetw2c_get_fortune_star_quest_result;
}

void packetw2c_get_fortune_star_quest_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7802;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_fortune_star_quest_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_fortune_star_quest_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_fortune_star_quest_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_fortune_star_quest_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_fortune_star_quest_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_fortune_star_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_fortune_star_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_fortune_star_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_fortune_star_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_fortune_star_quest_result::MergeFrom(const packetw2c_get_fortune_star_quest_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_fortune_star_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_fortune_star_quest_result::CopyFrom(const packetw2c_get_fortune_star_quest_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_fortune_star_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_get_fortune_star_quest_result::Swap(packetw2c_get_fortune_star_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_fortune_star_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_fortune_star_quest_result_descriptor_;
  metadata.reflection = packetw2c_get_fortune_star_quest_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_fortune_star_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_fortune_star_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_fortune_star_quest_award::packetc2w_recv_fortune_star_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_fortune_star_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_fortune_star_quest_award::packetc2w_recv_fortune_star_quest_award(const packetc2w_recv_fortune_star_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_fortune_star_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5137;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_fortune_star_quest_award::~packetc2w_recv_fortune_star_quest_award() {
  SharedDtor();
}

void packetc2w_recv_fortune_star_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_fortune_star_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_fortune_star_quest_award_descriptor_;
}

const packetc2w_recv_fortune_star_quest_award& packetc2w_recv_fortune_star_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_fortune_star_quest_award* packetc2w_recv_fortune_star_quest_award::default_instance_ = NULL;

packetc2w_recv_fortune_star_quest_award* packetc2w_recv_fortune_star_quest_award::New() const {
  return new packetc2w_recv_fortune_star_quest_award;
}

void packetc2w_recv_fortune_star_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5137;
    questid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_fortune_star_quest_award::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_fortune_star_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } 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_fortune_star_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_fortune_star_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_fortune_star_quest_award::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_fortune_star_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  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_fortune_star_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_fortune_star_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_fortune_star_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_fortune_star_quest_award::MergeFrom(const packetc2w_recv_fortune_star_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_fortune_star_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_fortune_star_quest_award::CopyFrom(const packetc2w_recv_fortune_star_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_fortune_star_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_fortune_star_quest_award::Swap(packetc2w_recv_fortune_star_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    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_fortune_star_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_fortune_star_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_fortune_star_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_fortune_star_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_fortune_star_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_fortune_star_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_fortune_star_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_fortune_star_quest_award_result::packetw2c_recv_fortune_star_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_fortune_star_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_fortune_star_quest_award_result::packetw2c_recv_fortune_star_quest_award_result(const packetw2c_recv_fortune_star_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_fortune_star_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7650;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_fortune_star_quest_award_result::~packetw2c_recv_fortune_star_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_fortune_star_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_fortune_star_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_fortune_star_quest_award_result_descriptor_;
}

const packetw2c_recv_fortune_star_quest_award_result& packetw2c_recv_fortune_star_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_fortune_star_quest_award_result* packetw2c_recv_fortune_star_quest_award_result::default_instance_ = NULL;

packetw2c_recv_fortune_star_quest_award_result* packetw2c_recv_fortune_star_quest_award_result::New() const {
  return new packetw2c_recv_fortune_star_quest_award_result;
}

void packetw2c_recv_fortune_star_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7650;
    result_ = 0;
    questid_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_fortune_star_quest_award_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_fortune_star_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 5;
      case 5: {
        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(42)) goto parse_items;
        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_fortune_star_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      5, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_fortune_star_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        5, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_fortune_star_quest_award_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_fortune_star_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  // repeated .msg_info_def.ItemInfo items = 5;
  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_recv_fortune_star_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_fortune_star_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_fortune_star_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_fortune_star_quest_award_result::MergeFrom(const packetw2c_recv_fortune_star_quest_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_fortune_star_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_fortune_star_quest_award_result::CopyFrom(const packetw2c_recv_fortune_star_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_fortune_star_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_fortune_star_quest_award_result::Swap(packetw2c_recv_fortune_star_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    items_.Swap(&other->items_);
    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_fortune_star_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_fortune_star_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_fortune_star_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_fortune_star_award::kPacketIdFieldNumber;
const int packetc2w_recv_fortune_star_award::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_fortune_star_award::packetc2w_recv_fortune_star_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_fortune_star_award::InitAsDefaultInstance() {
}

packetc2w_recv_fortune_star_award::packetc2w_recv_fortune_star_award(const packetc2w_recv_fortune_star_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_fortune_star_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5190;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_fortune_star_award::~packetc2w_recv_fortune_star_award() {
  SharedDtor();
}

void packetc2w_recv_fortune_star_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_fortune_star_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_fortune_star_award_descriptor_;
}

const packetc2w_recv_fortune_star_award& packetc2w_recv_fortune_star_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_fortune_star_award* packetc2w_recv_fortune_star_award::default_instance_ = NULL;

packetc2w_recv_fortune_star_award* packetc2w_recv_fortune_star_award::New() const {
  return new packetc2w_recv_fortune_star_award;
}

void packetc2w_recv_fortune_star_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5190;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_fortune_star_award::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_fortune_star_award];
      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_fortune_star_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award];
  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_fortune_star_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award];
  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_fortune_star_award::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_fortune_star_award];
    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_fortune_star_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_fortune_star_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_fortune_star_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_fortune_star_award::MergeFrom(const packetc2w_recv_fortune_star_award& 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_fortune_star_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_fortune_star_award::CopyFrom(const packetc2w_recv_fortune_star_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_fortune_star_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_fortune_star_award::Swap(packetc2w_recv_fortune_star_award* 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_fortune_star_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_fortune_star_award_descriptor_;
  metadata.reflection = packetc2w_recv_fortune_star_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_fortune_star_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_fortune_star_award_result::kResultFieldNumber;
const int packetw2c_recv_fortune_star_award_result::kIndexFieldNumber;
const int packetw2c_recv_fortune_star_award_result::kMyFortuneStarFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_fortune_star_award_result::packetw2c_recv_fortune_star_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_fortune_star_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_fortune_star_award_result::packetw2c_recv_fortune_star_award_result(const packetw2c_recv_fortune_star_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_fortune_star_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7648;
  result_ = 0;
  index_ = 0;
  myfortunestar_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_fortune_star_award_result::~packetw2c_recv_fortune_star_award_result() {
  SharedDtor();
}

void packetw2c_recv_fortune_star_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_fortune_star_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_fortune_star_award_result_descriptor_;
}

const packetw2c_recv_fortune_star_award_result& packetw2c_recv_fortune_star_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_fortune_star_award_result* packetw2c_recv_fortune_star_award_result::default_instance_ = NULL;

packetw2c_recv_fortune_star_award_result* packetw2c_recv_fortune_star_award_result::New() const {
  return new packetw2c_recv_fortune_star_award_result;
}

void packetw2c_recv_fortune_star_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7648;
    result_ = 0;
    index_ = 0;
    myfortunestar_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_fortune_star_award_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_fortune_star_award_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_myFortuneStar;
        break;
      }

      // optional int32 myFortuneStar = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myFortuneStar:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &myfortunestar_)));
          set_has_myfortunestar();
        } 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_fortune_star_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_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 myFortuneStar = 4;
  if (has_myfortunestar()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myfortunestar(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_fortune_star_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_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 myFortuneStar = 4;
  if (has_myfortunestar()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myfortunestar(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_fortune_star_award_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_fortune_star_award_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 myFortuneStar = 4;
    if (has_myfortunestar()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->myfortunestar());
    }

  }
  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_fortune_star_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_fortune_star_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_fortune_star_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_fortune_star_award_result::MergeFrom(const packetw2c_recv_fortune_star_award_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_myfortunestar()) {
      set_myfortunestar(from.myfortunestar());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_fortune_star_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_fortune_star_award_result::CopyFrom(const packetw2c_recv_fortune_star_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_fortune_star_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_fortune_star_award_result::Swap(packetw2c_recv_fortune_star_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    std::swap(myfortunestar_, other->myfortunestar_);
    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_fortune_star_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_fortune_star_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_fortune_star_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int activity_rank::kNickNameFieldNumber;
const int activity_rank::kPlayerIdFieldNumber;
const int activity_rank::kVipFieldNumber;
const int activity_rank::kHeadidFieldNumber;
const int activity_rank::kFrameidFieldNumber;
const int activity_rank::kScoreFieldNumber;
const int activity_rank::kRankFieldNumber;
#endif  // !_MSC_VER

activity_rank::activity_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void activity_rank::InitAsDefaultInstance() {
}

activity_rank::activity_rank(const activity_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void activity_rank::SharedCtor() {
  _cached_size_ = 0;
  nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  playerid_ = 0;
  vip_ = 0;
  headid_ = 0;
  frameid_ = 0;
  score_ = 0;
  rank_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

activity_rank::~activity_rank() {
  SharedDtor();
}

void activity_rank::SharedDtor() {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    delete nickname_;
  }
  if (this != default_instance_) {
  }
}

void activity_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* activity_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return activity_rank_descriptor_;
}

const activity_rank& activity_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

activity_rank* activity_rank::default_instance_ = NULL;

activity_rank* activity_rank::New() const {
  return new activity_rank;
}

void activity_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (has_nickname()) {
      if (nickname_ != &::google::protobuf::internal::kEmptyString) {
        nickname_->clear();
      }
    }
    playerid_ = 0;
    vip_ = 0;
    headid_ = 0;
    frameid_ = 0;
    score_ = 0;
    rank_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool activity_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional 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_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_vip;
        break;
      }

      // optional int32 vip = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_vip:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &vip_)));
          set_has_vip();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_headid;
        break;
      }

      // optional int32 headid = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_headid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &headid_)));
          set_has_headid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_frameid;
        break;
      }

      // optional int32 frameid = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_frameid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &frameid_)));
          set_has_frameid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_score;
        break;
      }

      // optional int32 score = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_score:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &score_)));
          set_has_score();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_rank;
        break;
      }

      // optional int32 rank = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rank:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rank_)));
          set_has_rank();
        } 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 activity_rank::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 playerId = 2;
  if (has_playerid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  }

  // optional int32 vip = 3;
  if (has_vip()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->vip(), output);
  }

  // optional int32 headid = 4;
  if (has_headid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->headid(), output);
  }

  // optional int32 frameid = 5;
  if (has_frameid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->frameid(), output);
  }

  // optional int32 score = 6;
  if (has_score()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->score(), output);
  }

  // optional int32 rank = 7;
  if (has_rank()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->rank(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* activity_rank::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 playerId = 2;
  if (has_playerid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  }

  // optional int32 vip = 3;
  if (has_vip()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->vip(), target);
  }

  // optional int32 headid = 4;
  if (has_headid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->headid(), target);
  }

  // optional int32 frameid = 5;
  if (has_frameid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->frameid(), target);
  }

  // optional int32 score = 6;
  if (has_score()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->score(), target);
  }

  // optional int32 rank = 7;
  if (has_rank()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->rank(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int activity_rank::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 playerId = 2;
    if (has_playerid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->playerid());
    }

    // optional int32 vip = 3;
    if (has_vip()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->vip());
    }

    // optional int32 headid = 4;
    if (has_headid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->headid());
    }

    // optional int32 frameid = 5;
    if (has_frameid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->frameid());
    }

    // optional int32 score = 6;
    if (has_score()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->score());
    }

    // optional int32 rank = 7;
    if (has_rank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rank());
    }

  }
  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 activity_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const activity_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const activity_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void activity_rank::MergeFrom(const activity_rank& 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_playerid()) {
      set_playerid(from.playerid());
    }
    if (from.has_vip()) {
      set_vip(from.vip());
    }
    if (from.has_headid()) {
      set_headid(from.headid());
    }
    if (from.has_frameid()) {
      set_frameid(from.frameid());
    }
    if (from.has_score()) {
      set_score(from.score());
    }
    if (from.has_rank()) {
      set_rank(from.rank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void activity_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void activity_rank::CopyFrom(const activity_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool activity_rank::IsInitialized() const {

  return true;
}

void activity_rank::Swap(activity_rank* other) {
  if (other != this) {
    std::swap(nickname_, other->nickname_);
    std::swap(playerid_, other->playerid_);
    std::swap(vip_, other->vip_);
    std::swap(headid_, other->headid_);
    std::swap(frameid_, other->frameid_);
    std::swap(score_, other->score_);
    std::swap(rank_, other->rank_);
    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 activity_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = activity_rank_descriptor_;
  metadata.reflection = activity_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int personal_tailor_lottery_history::kNickNameFieldNumber;
const int personal_tailor_lottery_history::kItemNameFieldNumber;
const int personal_tailor_lottery_history::kCountFieldNumber;
#endif  // !_MSC_VER

personal_tailor_lottery_history::personal_tailor_lottery_history()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void personal_tailor_lottery_history::InitAsDefaultInstance() {
}

personal_tailor_lottery_history::personal_tailor_lottery_history(const personal_tailor_lottery_history& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void personal_tailor_lottery_history::SharedCtor() {
  _cached_size_ = 0;
  nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  itemname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

personal_tailor_lottery_history::~personal_tailor_lottery_history() {
  SharedDtor();
}

void personal_tailor_lottery_history::SharedDtor() {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    delete nickname_;
  }
  if (itemname_ != &::google::protobuf::internal::kEmptyString) {
    delete itemname_;
  }
  if (this != default_instance_) {
  }
}

void personal_tailor_lottery_history::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* personal_tailor_lottery_history::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return personal_tailor_lottery_history_descriptor_;
}

const personal_tailor_lottery_history& personal_tailor_lottery_history::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

personal_tailor_lottery_history* personal_tailor_lottery_history::default_instance_ = NULL;

personal_tailor_lottery_history* personal_tailor_lottery_history::New() const {
  return new personal_tailor_lottery_history;
}

void personal_tailor_lottery_history::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (has_nickname()) {
      if (nickname_ != &::google::protobuf::internal::kEmptyString) {
        nickname_->clear();
      }
    }
    if (has_itemname()) {
      if (itemname_ != &::google::protobuf::internal::kEmptyString) {
        itemname_->clear();
      }
    }
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool personal_tailor_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 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(18)) goto parse_itemName;
        break;
      }

      // optional string itemName = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_itemName:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_itemname()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->itemname().data(), this->itemname().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } 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 personal_tailor_lottery_history::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 string itemName = 2;
  if (has_itemname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->itemname().data(), this->itemname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->itemname(), 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* personal_tailor_lottery_history::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 string itemName = 2;
  if (has_itemname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->itemname().data(), this->itemname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->itemname(), 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 personal_tailor_lottery_history::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 string itemName = 2;
    if (has_itemname()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->itemname());
    }

    // 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 personal_tailor_lottery_history::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const personal_tailor_lottery_history* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const personal_tailor_lottery_history*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void personal_tailor_lottery_history::MergeFrom(const personal_tailor_lottery_history& 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_itemname()) {
      set_itemname(from.itemname());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void personal_tailor_lottery_history::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void personal_tailor_lottery_history::CopyFrom(const personal_tailor_lottery_history& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool personal_tailor_lottery_history::IsInitialized() const {

  return true;
}

void personal_tailor_lottery_history::Swap(personal_tailor_lottery_history* other) {
  if (other != this) {
    std::swap(nickname_, other->nickname_);
    std::swap(itemname_, other->itemname_);
    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 personal_tailor_lottery_history::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = personal_tailor_lottery_history_descriptor_;
  metadata.reflection = personal_tailor_lottery_history_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_personal_tailor_info::kPacketIdFieldNumber;
const int packetw2c_syn_personal_tailor_info::kActivityStateFieldNumber;
const int packetw2c_syn_personal_tailor_info::kStartTimeFieldNumber;
const int packetw2c_syn_personal_tailor_info::kEndTimeFieldNumber;
const int packetw2c_syn_personal_tailor_info::kExchangeTicket1FieldNumber;
const int packetw2c_syn_personal_tailor_info::kExchangeTicket2FieldNumber;
const int packetw2c_syn_personal_tailor_info::kPointsFieldNumber;
const int packetw2c_syn_personal_tailor_info::kRankListFieldNumber;
const int packetw2c_syn_personal_tailor_info::kHistoryListFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_personal_tailor_info::packetw2c_syn_personal_tailor_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_personal_tailor_info::InitAsDefaultInstance() {
}

packetw2c_syn_personal_tailor_info::packetw2c_syn_personal_tailor_info(const packetw2c_syn_personal_tailor_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_personal_tailor_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7718;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  exchangeticket1_ = 0;
  exchangeticket2_ = 0;
  points_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_personal_tailor_info::~packetw2c_syn_personal_tailor_info() {
  SharedDtor();
}

void packetw2c_syn_personal_tailor_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_personal_tailor_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_personal_tailor_info_descriptor_;
}

const packetw2c_syn_personal_tailor_info& packetw2c_syn_personal_tailor_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_personal_tailor_info* packetw2c_syn_personal_tailor_info::default_instance_ = NULL;

packetw2c_syn_personal_tailor_info* packetw2c_syn_personal_tailor_info::New() const {
  return new packetw2c_syn_personal_tailor_info;
}

void packetw2c_syn_personal_tailor_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7718;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    exchangeticket1_ = 0;
    exchangeticket2_ = 0;
    points_ = 0;
  }
  ranklist_.Clear();
  historylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_personal_tailor_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_w2c_syn_personal_tailor_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_exchangeTicket1;
        break;
      }

      // optional int32 exchangeTicket1 = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exchangeTicket1:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangeticket1_)));
          set_has_exchangeticket1();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_exchangeTicket2;
        break;
      }

      // optional int32 exchangeTicket2 = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exchangeTicket2:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exchangeticket2_)));
          set_has_exchangeticket2();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_points;
        break;
      }

      // optional int32 points = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_points:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &points_)));
          set_has_points();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(66)) goto parse_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(66)) goto parse_rankList;
        if (input->ExpectTag(74)) goto parse_historyList;
        break;
      }

      // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_historyList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_historylist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(74)) goto parse_historyList;
        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_personal_tailor_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 exchangeTicket1 = 5;
  if (has_exchangeticket1()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->exchangeticket1(), output);
  }

  // optional int32 exchangeTicket2 = 6;
  if (has_exchangeticket2()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->exchangeticket2(), output);
  }

  // optional int32 points = 7;
  if (has_points()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->points(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 8;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      8, this->ranklist(i), output);
  }

  // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
  for (int i = 0; i < this->historylist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      9, this->historylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_personal_tailor_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 exchangeTicket1 = 5;
  if (has_exchangeticket1()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->exchangeticket1(), target);
  }

  // optional int32 exchangeTicket2 = 6;
  if (has_exchangeticket2()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->exchangeticket2(), target);
  }

  // optional int32 points = 7;
  if (has_points()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->points(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 8;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        8, this->ranklist(i), target);
  }

  // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
  for (int i = 0; i < this->historylist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        9, this->historylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_personal_tailor_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_w2c_syn_personal_tailor_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 exchangeTicket1 = 5;
    if (has_exchangeticket1()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangeticket1());
    }

    // optional int32 exchangeTicket2 = 6;
    if (has_exchangeticket2()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exchangeticket2());
    }

    // optional int32 points = 7;
    if (has_points()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->points());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 8;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
  total_size += 1 * this->historylist_size();
  for (int i = 0; i < this->historylist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->historylist(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_syn_personal_tailor_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_personal_tailor_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_personal_tailor_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_personal_tailor_info::MergeFrom(const packetw2c_syn_personal_tailor_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  historylist_.MergeFrom(from.historylist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_exchangeticket1()) {
      set_exchangeticket1(from.exchangeticket1());
    }
    if (from.has_exchangeticket2()) {
      set_exchangeticket2(from.exchangeticket2());
    }
    if (from.has_points()) {
      set_points(from.points());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_personal_tailor_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_personal_tailor_info::CopyFrom(const packetw2c_syn_personal_tailor_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_personal_tailor_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_personal_tailor_info::Swap(packetw2c_syn_personal_tailor_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(exchangeticket1_, other->exchangeticket1_);
    std::swap(exchangeticket2_, other->exchangeticket2_);
    std::swap(points_, other->points_);
    ranklist_.Swap(&other->ranklist_);
    historylist_.Swap(&other->historylist_);
    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_personal_tailor_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_personal_tailor_info_descriptor_;
  metadata.reflection = packetw2c_syn_personal_tailor_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_personal_tailor_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_personal_tailor_rank::packetc2w_get_personal_tailor_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_personal_tailor_rank::InitAsDefaultInstance() {
}

packetc2w_get_personal_tailor_rank::packetc2w_get_personal_tailor_rank(const packetc2w_get_personal_tailor_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_personal_tailor_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5195;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_personal_tailor_rank::~packetc2w_get_personal_tailor_rank() {
  SharedDtor();
}

void packetc2w_get_personal_tailor_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_personal_tailor_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_personal_tailor_rank_descriptor_;
}

const packetc2w_get_personal_tailor_rank& packetc2w_get_personal_tailor_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_personal_tailor_rank* packetc2w_get_personal_tailor_rank::default_instance_ = NULL;

packetc2w_get_personal_tailor_rank* packetc2w_get_personal_tailor_rank::New() const {
  return new packetc2w_get_personal_tailor_rank;
}

void packetc2w_get_personal_tailor_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5195;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_personal_tailor_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_personal_tailor_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank];
  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_personal_tailor_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank];
  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_personal_tailor_rank::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_personal_tailor_rank];
    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_personal_tailor_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_personal_tailor_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_personal_tailor_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_personal_tailor_rank::MergeFrom(const packetc2w_get_personal_tailor_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_personal_tailor_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_personal_tailor_rank::CopyFrom(const packetc2w_get_personal_tailor_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_personal_tailor_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_personal_tailor_rank::Swap(packetc2w_get_personal_tailor_rank* 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_personal_tailor_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_personal_tailor_rank_descriptor_;
  metadata.reflection = packetc2w_get_personal_tailor_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_personal_tailor_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_personal_tailor_rank_result::kRankListFieldNumber;
const int packetw2c_get_personal_tailor_rank_result::kMyPointsFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_personal_tailor_rank_result::packetw2c_get_personal_tailor_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_personal_tailor_rank_result::InitAsDefaultInstance() {
}

packetw2c_get_personal_tailor_rank_result::packetw2c_get_personal_tailor_rank_result(const packetw2c_get_personal_tailor_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_personal_tailor_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7722;
  mypoints_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_personal_tailor_rank_result::~packetw2c_get_personal_tailor_rank_result() {
  SharedDtor();
}

void packetw2c_get_personal_tailor_rank_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_personal_tailor_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_personal_tailor_rank_result_descriptor_;
}

const packetw2c_get_personal_tailor_rank_result& packetw2c_get_personal_tailor_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_personal_tailor_rank_result* packetw2c_get_personal_tailor_rank_result::default_instance_ = NULL;

packetw2c_get_personal_tailor_rank_result* packetw2c_get_personal_tailor_rank_result::New() const {
  return new packetw2c_get_personal_tailor_rank_result;
}

void packetw2c_get_personal_tailor_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7722;
    mypoints_ = 0;
  }
  ranklist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_personal_tailor_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_myPoints;
        break;
      }

      // optional int32 myPoints = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myPoints:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mypoints_)));
          set_has_mypoints();
        } 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_personal_tailor_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // optional int32 myPoints = 3;
  if (has_mypoints()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mypoints(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_personal_tailor_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // optional int32 myPoints = 3;
  if (has_mypoints()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mypoints(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_personal_tailor_rank_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_personal_tailor_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 myPoints = 3;
    if (has_mypoints()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mypoints());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_get_personal_tailor_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_personal_tailor_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_personal_tailor_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_personal_tailor_rank_result::MergeFrom(const packetw2c_get_personal_tailor_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mypoints()) {
      set_mypoints(from.mypoints());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_personal_tailor_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_personal_tailor_rank_result::CopyFrom(const packetw2c_get_personal_tailor_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_personal_tailor_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_personal_tailor_rank_result::Swap(packetw2c_get_personal_tailor_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    std::swap(mypoints_, other->mypoints_);
    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_personal_tailor_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_personal_tailor_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_personal_tailor_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_personal_tailor_lottry_history::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_personal_tailor_lottry_history::packetc2w_get_personal_tailor_lottry_history()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_personal_tailor_lottry_history::InitAsDefaultInstance() {
}

packetc2w_get_personal_tailor_lottry_history::packetc2w_get_personal_tailor_lottry_history(const packetc2w_get_personal_tailor_lottry_history& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_personal_tailor_lottry_history::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5196;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_personal_tailor_lottry_history::~packetc2w_get_personal_tailor_lottry_history() {
  SharedDtor();
}

void packetc2w_get_personal_tailor_lottry_history::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_personal_tailor_lottry_history::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_lottry_history::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_personal_tailor_lottry_history_descriptor_;
}

const packetc2w_get_personal_tailor_lottry_history& packetc2w_get_personal_tailor_lottry_history::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_personal_tailor_lottry_history* packetc2w_get_personal_tailor_lottry_history::default_instance_ = NULL;

packetc2w_get_personal_tailor_lottry_history* packetc2w_get_personal_tailor_lottry_history::New() const {
  return new packetc2w_get_personal_tailor_lottry_history;
}

void packetc2w_get_personal_tailor_lottry_history::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5196;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_personal_tailor_lottry_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_get_personal_tailor_lottry_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_get_personal_tailor_lottry_history::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_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_get_personal_tailor_lottry_history::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_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_get_personal_tailor_lottry_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_get_personal_tailor_lottry_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_get_personal_tailor_lottry_history::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_personal_tailor_lottry_history* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_personal_tailor_lottry_history*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_personal_tailor_lottry_history::MergeFrom(const packetc2w_get_personal_tailor_lottry_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_get_personal_tailor_lottry_history::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_personal_tailor_lottry_history::CopyFrom(const packetc2w_get_personal_tailor_lottry_history& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_personal_tailor_lottry_history::IsInitialized() const {

  return true;
}

void packetc2w_get_personal_tailor_lottry_history::Swap(packetc2w_get_personal_tailor_lottry_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_get_personal_tailor_lottry_history::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_personal_tailor_lottry_history_descriptor_;
  metadata.reflection = packetc2w_get_personal_tailor_lottry_history_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_personal_tailor_lottry_history_result::kPacketIdFieldNumber;
const int packetw2c_get_personal_tailor_lottry_history_result::kHistoryListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_personal_tailor_lottry_history_result::packetw2c_get_personal_tailor_lottry_history_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_personal_tailor_lottry_history_result::InitAsDefaultInstance() {
}

packetw2c_get_personal_tailor_lottry_history_result::packetw2c_get_personal_tailor_lottry_history_result(const packetw2c_get_personal_tailor_lottry_history_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_personal_tailor_lottry_history_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7723;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_personal_tailor_lottry_history_result::~packetw2c_get_personal_tailor_lottry_history_result() {
  SharedDtor();
}

void packetw2c_get_personal_tailor_lottry_history_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_personal_tailor_lottry_history_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_lottry_history_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_personal_tailor_lottry_history_result_descriptor_;
}

const packetw2c_get_personal_tailor_lottry_history_result& packetw2c_get_personal_tailor_lottry_history_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_personal_tailor_lottry_history_result* packetw2c_get_personal_tailor_lottry_history_result::default_instance_ = NULL;

packetw2c_get_personal_tailor_lottry_history_result* packetw2c_get_personal_tailor_lottry_history_result::New() const {
  return new packetw2c_get_personal_tailor_lottry_history_result;
}

void packetw2c_get_personal_tailor_lottry_history_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7723;
  }
  historylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_personal_tailor_lottry_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_get_personal_tailor_lottry_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_historyList;
        break;
      }

      // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_historyList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_historylist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_historyList;
        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_personal_tailor_lottry_history_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
  for (int i = 0; i < this->historylist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->historylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_personal_tailor_lottry_history_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
  for (int i = 0; i < this->historylist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->historylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_personal_tailor_lottry_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_get_personal_tailor_lottry_history_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
  total_size += 1 * this->historylist_size();
  for (int i = 0; i < this->historylist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->historylist(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_personal_tailor_lottry_history_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_personal_tailor_lottry_history_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_personal_tailor_lottry_history_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_personal_tailor_lottry_history_result::MergeFrom(const packetw2c_get_personal_tailor_lottry_history_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  historylist_.MergeFrom(from.historylist_);
  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_personal_tailor_lottry_history_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_personal_tailor_lottry_history_result::CopyFrom(const packetw2c_get_personal_tailor_lottry_history_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_personal_tailor_lottry_history_result::IsInitialized() const {

  return true;
}

void packetw2c_get_personal_tailor_lottry_history_result::Swap(packetw2c_get_personal_tailor_lottry_history_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    historylist_.Swap(&other->historylist_);
    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_personal_tailor_lottry_history_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_personal_tailor_lottry_history_result_descriptor_;
  metadata.reflection = packetw2c_get_personal_tailor_lottry_history_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_personal_tailor_lottery::kPacketIdFieldNumber;
const int packetc2w_personal_tailor_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_personal_tailor_lottery::packetc2w_personal_tailor_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_personal_tailor_lottery::InitAsDefaultInstance() {
}

packetc2w_personal_tailor_lottery::packetc2w_personal_tailor_lottery(const packetc2w_personal_tailor_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_personal_tailor_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5192;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_personal_tailor_lottery::~packetc2w_personal_tailor_lottery() {
  SharedDtor();
}

void packetc2w_personal_tailor_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_personal_tailor_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_personal_tailor_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_personal_tailor_lottery_descriptor_;
}

const packetc2w_personal_tailor_lottery& packetc2w_personal_tailor_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_personal_tailor_lottery* packetc2w_personal_tailor_lottery::default_instance_ = NULL;

packetc2w_personal_tailor_lottery* packetc2w_personal_tailor_lottery::New() const {
  return new packetc2w_personal_tailor_lottery;
}

void packetc2w_personal_tailor_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5192;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_personal_tailor_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_personal_tailor_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_personal_tailor_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_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_personal_tailor_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_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_personal_tailor_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_personal_tailor_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_personal_tailor_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_personal_tailor_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_personal_tailor_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_personal_tailor_lottery::MergeFrom(const packetc2w_personal_tailor_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_personal_tailor_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_personal_tailor_lottery::CopyFrom(const packetc2w_personal_tailor_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_personal_tailor_lottery::IsInitialized() const {

  return true;
}

void packetc2w_personal_tailor_lottery::Swap(packetc2w_personal_tailor_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_personal_tailor_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_personal_tailor_lottery_descriptor_;
  metadata.reflection = packetc2w_personal_tailor_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_personal_tailor_lottery_result::kPacketIdFieldNumber;
const int packetw2c_personal_tailor_lottery_result::kResultFieldNumber;
const int packetw2c_personal_tailor_lottery_result::kCountFieldNumber;
const int packetw2c_personal_tailor_lottery_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_personal_tailor_lottery_result::packetw2c_personal_tailor_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_personal_tailor_lottery_result::InitAsDefaultInstance() {
}

packetw2c_personal_tailor_lottery_result::packetw2c_personal_tailor_lottery_result(const packetw2c_personal_tailor_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_personal_tailor_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7646;
  result_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_personal_tailor_lottery_result::~packetw2c_personal_tailor_lottery_result() {
  SharedDtor();
}

void packetw2c_personal_tailor_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_personal_tailor_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_personal_tailor_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_personal_tailor_lottery_result_descriptor_;
}

const packetw2c_personal_tailor_lottery_result& packetw2c_personal_tailor_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_personal_tailor_lottery_result* packetw2c_personal_tailor_lottery_result::default_instance_ = NULL;

packetw2c_personal_tailor_lottery_result* packetw2c_personal_tailor_lottery_result::New() const {
  return new packetw2c_personal_tailor_lottery_result;
}

void packetw2c_personal_tailor_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7646;
    result_ = 0;
    count_ = 0;
  }
  index_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_personal_tailor_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_personal_tailor_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_index;
        break;
      }

      // repeated int32 index = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_index())));
        } 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_index())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_index;
        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_personal_tailor_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_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);
  }

  // repeated int32 index = 4;
  for (int i = 0; i < this->index_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->index(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_personal_tailor_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_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);
  }

  // repeated int32 index = 4;
  for (int i = 0; i < this->index_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->index(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_personal_tailor_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_personal_tailor_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());
    }

  }
  // repeated int32 index = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->index_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->index(i));
    }
    total_size += 1 * this->index_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_personal_tailor_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_personal_tailor_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_personal_tailor_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_personal_tailor_lottery_result::MergeFrom(const packetw2c_personal_tailor_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  index_.MergeFrom(from.index_);
  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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_personal_tailor_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_personal_tailor_lottery_result::CopyFrom(const packetw2c_personal_tailor_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_personal_tailor_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_personal_tailor_lottery_result::Swap(packetw2c_personal_tailor_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(count_, other->count_);
    index_.Swap(&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_personal_tailor_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_personal_tailor_lottery_result_descriptor_;
  metadata.reflection = packetw2c_personal_tailor_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_personal_tailor_exchange::kPacketIdFieldNumber;
const int packetc2w_personal_tailor_exchange::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_personal_tailor_exchange::packetc2w_personal_tailor_exchange()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_personal_tailor_exchange::InitAsDefaultInstance() {
}

packetc2w_personal_tailor_exchange::packetc2w_personal_tailor_exchange(const packetc2w_personal_tailor_exchange& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_personal_tailor_exchange::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5193;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_personal_tailor_exchange::~packetc2w_personal_tailor_exchange() {
  SharedDtor();
}

void packetc2w_personal_tailor_exchange::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_personal_tailor_exchange::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_personal_tailor_exchange::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_personal_tailor_exchange_descriptor_;
}

const packetc2w_personal_tailor_exchange& packetc2w_personal_tailor_exchange::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_personal_tailor_exchange* packetc2w_personal_tailor_exchange::default_instance_ = NULL;

packetc2w_personal_tailor_exchange* packetc2w_personal_tailor_exchange::New() const {
  return new packetc2w_personal_tailor_exchange;
}

void packetc2w_personal_tailor_exchange::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5193;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_personal_tailor_exchange::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_personal_tailor_exchange::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange];
  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_personal_tailor_exchange::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange];
  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_personal_tailor_exchange::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_personal_tailor_exchange];
    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_personal_tailor_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_personal_tailor_exchange* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_personal_tailor_exchange*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_personal_tailor_exchange::MergeFrom(const packetc2w_personal_tailor_exchange& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_personal_tailor_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_personal_tailor_exchange::CopyFrom(const packetc2w_personal_tailor_exchange& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_personal_tailor_exchange::IsInitialized() const {

  return true;
}

void packetc2w_personal_tailor_exchange::Swap(packetc2w_personal_tailor_exchange* 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_personal_tailor_exchange::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_personal_tailor_exchange_descriptor_;
  metadata.reflection = packetc2w_personal_tailor_exchange_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_personal_tailor_exchange_result::kPacketIdFieldNumber;
const int packetw2c_personal_tailor_exchange_result::kResultFieldNumber;
const int packetw2c_personal_tailor_exchange_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_personal_tailor_exchange_result::packetw2c_personal_tailor_exchange_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_personal_tailor_exchange_result::InitAsDefaultInstance() {
}

packetw2c_personal_tailor_exchange_result::packetw2c_personal_tailor_exchange_result(const packetw2c_personal_tailor_exchange_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_personal_tailor_exchange_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7644;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_personal_tailor_exchange_result::~packetw2c_personal_tailor_exchange_result() {
  SharedDtor();
}

void packetw2c_personal_tailor_exchange_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_personal_tailor_exchange_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_personal_tailor_exchange_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_personal_tailor_exchange_result_descriptor_;
}

const packetw2c_personal_tailor_exchange_result& packetw2c_personal_tailor_exchange_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_personal_tailor_exchange_result* packetw2c_personal_tailor_exchange_result::default_instance_ = NULL;

packetw2c_personal_tailor_exchange_result* packetw2c_personal_tailor_exchange_result::New() const {
  return new packetw2c_personal_tailor_exchange_result;
}

void packetw2c_personal_tailor_exchange_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7644;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_personal_tailor_exchange_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_personal_tailor_exchange_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 result = 2;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  }

  // 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_personal_tailor_exchange_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 result = 2;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  }

  // 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_personal_tailor_exchange_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_personal_tailor_exchange_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 result = 2;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

    // optional int32 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_personal_tailor_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_personal_tailor_exchange_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_personal_tailor_exchange_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_personal_tailor_exchange_result::MergeFrom(const packetw2c_personal_tailor_exchange_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_personal_tailor_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_personal_tailor_exchange_result::CopyFrom(const packetw2c_personal_tailor_exchange_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_personal_tailor_exchange_result::IsInitialized() const {

  return true;
}

void packetw2c_personal_tailor_exchange_result::Swap(packetw2c_personal_tailor_exchange_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_personal_tailor_exchange_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_personal_tailor_exchange_result_descriptor_;
  metadata.reflection = packetw2c_personal_tailor_exchange_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_time_limit_purchase_info::kPacketIdFieldNumber;
const int packetw2c_syn_time_limit_purchase_info::kActivityStateFieldNumber;
const int packetw2c_syn_time_limit_purchase_info::kStartTimeFieldNumber;
const int packetw2c_syn_time_limit_purchase_info::kEndTimeFieldNumber;
const int packetw2c_syn_time_limit_purchase_info::kItemClockFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_time_limit_purchase_info::packetw2c_syn_time_limit_purchase_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_time_limit_purchase_info::InitAsDefaultInstance() {
}

packetw2c_syn_time_limit_purchase_info::packetw2c_syn_time_limit_purchase_info(const packetw2c_syn_time_limit_purchase_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_time_limit_purchase_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7719;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  itemclock_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_time_limit_purchase_info::~packetw2c_syn_time_limit_purchase_info() {
  SharedDtor();
}

void packetw2c_syn_time_limit_purchase_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_time_limit_purchase_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_time_limit_purchase_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_time_limit_purchase_info_descriptor_;
}

const packetw2c_syn_time_limit_purchase_info& packetw2c_syn_time_limit_purchase_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_time_limit_purchase_info* packetw2c_syn_time_limit_purchase_info::default_instance_ = NULL;

packetw2c_syn_time_limit_purchase_info* packetw2c_syn_time_limit_purchase_info::New() const {
  return new packetw2c_syn_time_limit_purchase_info;
}

void packetw2c_syn_time_limit_purchase_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7719;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    itemclock_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_time_limit_purchase_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_w2c_syn_time_limit_purchase_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_itemClock;
        break;
      }

      // optional int32 itemClock = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemClock:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &itemclock_)));
          set_has_itemclock();
        } 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_time_limit_purchase_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 itemClock = 5;
  if (has_itemclock()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->itemclock(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_time_limit_purchase_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 itemClock = 5;
  if (has_itemclock()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->itemclock(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_time_limit_purchase_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_w2c_syn_time_limit_purchase_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 itemClock = 5;
    if (has_itemclock()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->itemclock());
    }

  }
  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_time_limit_purchase_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_time_limit_purchase_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_time_limit_purchase_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_time_limit_purchase_info::MergeFrom(const packetw2c_syn_time_limit_purchase_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_itemclock()) {
      set_itemclock(from.itemclock());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_time_limit_purchase_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_time_limit_purchase_info::CopyFrom(const packetw2c_syn_time_limit_purchase_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_time_limit_purchase_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_time_limit_purchase_info::Swap(packetw2c_syn_time_limit_purchase_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(itemclock_, other->itemclock_);
    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_time_limit_purchase_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_time_limit_purchase_info_descriptor_;
  metadata.reflection = packetw2c_syn_time_limit_purchase_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_time_limit_purchase_lottery::kPacketIdFieldNumber;
const int packetc2w_time_limit_purchase_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_time_limit_purchase_lottery::packetc2w_time_limit_purchase_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_time_limit_purchase_lottery::InitAsDefaultInstance() {
}

packetc2w_time_limit_purchase_lottery::packetc2w_time_limit_purchase_lottery(const packetc2w_time_limit_purchase_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_time_limit_purchase_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5194;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_time_limit_purchase_lottery::~packetc2w_time_limit_purchase_lottery() {
  SharedDtor();
}

void packetc2w_time_limit_purchase_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_time_limit_purchase_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_time_limit_purchase_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_time_limit_purchase_lottery_descriptor_;
}

const packetc2w_time_limit_purchase_lottery& packetc2w_time_limit_purchase_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_time_limit_purchase_lottery* packetc2w_time_limit_purchase_lottery::default_instance_ = NULL;

packetc2w_time_limit_purchase_lottery* packetc2w_time_limit_purchase_lottery::New() const {
  return new packetc2w_time_limit_purchase_lottery;
}

void packetc2w_time_limit_purchase_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5194;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_time_limit_purchase_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_time_limit_purchase_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_time_limit_purchase_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_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_time_limit_purchase_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_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_time_limit_purchase_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_time_limit_purchase_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_time_limit_purchase_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_time_limit_purchase_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_time_limit_purchase_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_time_limit_purchase_lottery::MergeFrom(const packetc2w_time_limit_purchase_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_time_limit_purchase_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_time_limit_purchase_lottery::CopyFrom(const packetc2w_time_limit_purchase_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_time_limit_purchase_lottery::IsInitialized() const {

  return true;
}

void packetc2w_time_limit_purchase_lottery::Swap(packetc2w_time_limit_purchase_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_time_limit_purchase_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_time_limit_purchase_lottery_descriptor_;
  metadata.reflection = packetc2w_time_limit_purchase_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_time_limit_purchase_lottery_result::kPacketIdFieldNumber;
const int packetw2c_time_limit_purchase_lottery_result::kResultFieldNumber;
const int packetw2c_time_limit_purchase_lottery_result::kCountFieldNumber;
const int packetw2c_time_limit_purchase_lottery_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_time_limit_purchase_lottery_result::packetw2c_time_limit_purchase_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_time_limit_purchase_lottery_result::InitAsDefaultInstance() {
}

packetw2c_time_limit_purchase_lottery_result::packetw2c_time_limit_purchase_lottery_result(const packetw2c_time_limit_purchase_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_time_limit_purchase_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7720;
  result_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_time_limit_purchase_lottery_result::~packetw2c_time_limit_purchase_lottery_result() {
  SharedDtor();
}

void packetw2c_time_limit_purchase_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_time_limit_purchase_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_time_limit_purchase_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_time_limit_purchase_lottery_result_descriptor_;
}

const packetw2c_time_limit_purchase_lottery_result& packetw2c_time_limit_purchase_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_time_limit_purchase_lottery_result* packetw2c_time_limit_purchase_lottery_result::default_instance_ = NULL;

packetw2c_time_limit_purchase_lottery_result* packetw2c_time_limit_purchase_lottery_result::New() const {
  return new packetw2c_time_limit_purchase_lottery_result;
}

void packetw2c_time_limit_purchase_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7720;
    result_ = 0;
    count_ = 0;
  }
  index_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_time_limit_purchase_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_time_limit_purchase_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_index;
        break;
      }

      // repeated int32 index = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_index())));
        } 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_index())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_index;
        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_time_limit_purchase_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_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);
  }

  // repeated int32 index = 4;
  for (int i = 0; i < this->index_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->index(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_time_limit_purchase_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_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);
  }

  // repeated int32 index = 4;
  for (int i = 0; i < this->index_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->index(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_time_limit_purchase_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_time_limit_purchase_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());
    }

  }
  // repeated int32 index = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->index_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->index(i));
    }
    total_size += 1 * this->index_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_time_limit_purchase_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_time_limit_purchase_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_time_limit_purchase_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_time_limit_purchase_lottery_result::MergeFrom(const packetw2c_time_limit_purchase_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  index_.MergeFrom(from.index_);
  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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_time_limit_purchase_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_time_limit_purchase_lottery_result::CopyFrom(const packetw2c_time_limit_purchase_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_time_limit_purchase_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_time_limit_purchase_lottery_result::Swap(packetw2c_time_limit_purchase_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(count_, other->count_);
    index_.Swap(&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_time_limit_purchase_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_time_limit_purchase_lottery_result_descriptor_;
  metadata.reflection = packetw2c_time_limit_purchase_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_lucky_bag_info::kPacketIdFieldNumber;
const int packetw2c_syn_lucky_bag_info::kActivityStateFieldNumber;
const int packetw2c_syn_lucky_bag_info::kStartTimeFieldNumber;
const int packetw2c_syn_lucky_bag_info::kEndTimeFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_lucky_bag_info::packetw2c_syn_lucky_bag_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_lucky_bag_info::InitAsDefaultInstance() {
}

packetw2c_syn_lucky_bag_info::packetw2c_syn_lucky_bag_info(const packetw2c_syn_lucky_bag_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_lucky_bag_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7721;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_lucky_bag_info::~packetw2c_syn_lucky_bag_info() {
  SharedDtor();
}

void packetw2c_syn_lucky_bag_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_lucky_bag_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_lucky_bag_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_lucky_bag_info_descriptor_;
}

const packetw2c_syn_lucky_bag_info& packetw2c_syn_lucky_bag_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_lucky_bag_info* packetw2c_syn_lucky_bag_info::default_instance_ = NULL;

packetw2c_syn_lucky_bag_info* packetw2c_syn_lucky_bag_info::New() const {
  return new packetw2c_syn_lucky_bag_info;
}

void packetw2c_syn_lucky_bag_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7721;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_lucky_bag_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_w2c_syn_lucky_bag_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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->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_lucky_bag_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_lucky_bag_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_lucky_bag_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_w2c_syn_lucky_bag_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

  }
  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_lucky_bag_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_lucky_bag_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_lucky_bag_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_lucky_bag_info::MergeFrom(const packetw2c_syn_lucky_bag_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_lucky_bag_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_lucky_bag_info::CopyFrom(const packetw2c_syn_lucky_bag_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_lucky_bag_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_lucky_bag_info::Swap(packetw2c_syn_lucky_bag_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    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_lucky_bag_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_lucky_bag_info_descriptor_;
  metadata.reflection = packetw2c_syn_lucky_bag_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_vip_limit_purchase_info::kPacketIdFieldNumber;
const int packetw2c_syn_vip_limit_purchase_info::kActivityStateFieldNumber;
const int packetw2c_syn_vip_limit_purchase_info::kStartTimeFieldNumber;
const int packetw2c_syn_vip_limit_purchase_info::kEndTimeFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_vip_limit_purchase_info::packetw2c_syn_vip_limit_purchase_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_vip_limit_purchase_info::InitAsDefaultInstance() {
}

packetw2c_syn_vip_limit_purchase_info::packetw2c_syn_vip_limit_purchase_info(const packetw2c_syn_vip_limit_purchase_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_vip_limit_purchase_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7724;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_vip_limit_purchase_info::~packetw2c_syn_vip_limit_purchase_info() {
  SharedDtor();
}

void packetw2c_syn_vip_limit_purchase_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_vip_limit_purchase_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_vip_limit_purchase_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_vip_limit_purchase_info_descriptor_;
}

const packetw2c_syn_vip_limit_purchase_info& packetw2c_syn_vip_limit_purchase_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_vip_limit_purchase_info* packetw2c_syn_vip_limit_purchase_info::default_instance_ = NULL;

packetw2c_syn_vip_limit_purchase_info* packetw2c_syn_vip_limit_purchase_info::New() const {
  return new packetw2c_syn_vip_limit_purchase_info;
}

void packetw2c_syn_vip_limit_purchase_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7724;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_vip_limit_purchase_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_w2c_syn_vip_limit_purchase_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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->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_vip_limit_purchase_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_vip_limit_purchase_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_vip_limit_purchase_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_w2c_syn_vip_limit_purchase_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

  }
  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_vip_limit_purchase_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_vip_limit_purchase_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_vip_limit_purchase_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_vip_limit_purchase_info::MergeFrom(const packetw2c_syn_vip_limit_purchase_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_vip_limit_purchase_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_vip_limit_purchase_info::CopyFrom(const packetw2c_syn_vip_limit_purchase_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_vip_limit_purchase_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_vip_limit_purchase_info::Swap(packetw2c_syn_vip_limit_purchase_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    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_vip_limit_purchase_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_vip_limit_purchase_info_descriptor_;
  metadata.reflection = packetw2c_syn_vip_limit_purchase_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_turret_lottery_info::kPacketIdFieldNumber;
const int packetw2c_syn_turret_lottery_info::kActivityStateFieldNumber;
const int packetw2c_syn_turret_lottery_info::kStartTimeFieldNumber;
const int packetw2c_syn_turret_lottery_info::kEndTimeFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_turret_lottery_info::packetw2c_syn_turret_lottery_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_turret_lottery_info::InitAsDefaultInstance() {
}

packetw2c_syn_turret_lottery_info::packetw2c_syn_turret_lottery_info(const packetw2c_syn_turret_lottery_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_turret_lottery_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7725;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_turret_lottery_info::~packetw2c_syn_turret_lottery_info() {
  SharedDtor();
}

void packetw2c_syn_turret_lottery_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_turret_lottery_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_turret_lottery_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_turret_lottery_info_descriptor_;
}

const packetw2c_syn_turret_lottery_info& packetw2c_syn_turret_lottery_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_turret_lottery_info* packetw2c_syn_turret_lottery_info::default_instance_ = NULL;

packetw2c_syn_turret_lottery_info* packetw2c_syn_turret_lottery_info::New() const {
  return new packetw2c_syn_turret_lottery_info;
}

void packetw2c_syn_turret_lottery_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7725;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_turret_lottery_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_w2c_syn_turret_lottery_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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->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_turret_lottery_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_turret_lottery_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_turret_lottery_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_w2c_syn_turret_lottery_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

  }
  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_turret_lottery_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_turret_lottery_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_turret_lottery_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_turret_lottery_info::MergeFrom(const packetw2c_syn_turret_lottery_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_turret_lottery_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_turret_lottery_info::CopyFrom(const packetw2c_syn_turret_lottery_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_turret_lottery_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_turret_lottery_info::Swap(packetw2c_syn_turret_lottery_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    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_turret_lottery_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_turret_lottery_info_descriptor_;
  metadata.reflection = packetw2c_syn_turret_lottery_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_turret_lottery::kPacketIdFieldNumber;
const int packetc2w_turret_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_turret_lottery::packetc2w_turret_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_turret_lottery::InitAsDefaultInstance() {
}

packetc2w_turret_lottery::packetc2w_turret_lottery(const packetc2w_turret_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_turret_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5197;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_turret_lottery::~packetc2w_turret_lottery() {
  SharedDtor();
}

void packetc2w_turret_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_turret_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_turret_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_turret_lottery_descriptor_;
}

const packetc2w_turret_lottery& packetc2w_turret_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_turret_lottery* packetc2w_turret_lottery::default_instance_ = NULL;

packetc2w_turret_lottery* packetc2w_turret_lottery::New() const {
  return new packetc2w_turret_lottery;
}

void packetc2w_turret_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5197;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_turret_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_turret_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_turret_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_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_turret_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_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_turret_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_turret_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_turret_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_turret_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_turret_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_turret_lottery::MergeFrom(const packetc2w_turret_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_turret_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_turret_lottery::CopyFrom(const packetc2w_turret_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_turret_lottery::IsInitialized() const {

  return true;
}

void packetc2w_turret_lottery::Swap(packetc2w_turret_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_turret_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_turret_lottery_descriptor_;
  metadata.reflection = packetc2w_turret_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_turret_lottery_result::kPacketIdFieldNumber;
const int packetw2c_turret_lottery_result::kResultFieldNumber;
const int packetw2c_turret_lottery_result::kCountFieldNumber;
const int packetw2c_turret_lottery_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_turret_lottery_result::packetw2c_turret_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_turret_lottery_result::InitAsDefaultInstance() {
}

packetw2c_turret_lottery_result::packetw2c_turret_lottery_result(const packetw2c_turret_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_turret_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7726;
  result_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_turret_lottery_result::~packetw2c_turret_lottery_result() {
  SharedDtor();
}

void packetw2c_turret_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_turret_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_turret_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_turret_lottery_result_descriptor_;
}

const packetw2c_turret_lottery_result& packetw2c_turret_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_turret_lottery_result* packetw2c_turret_lottery_result::default_instance_ = NULL;

packetw2c_turret_lottery_result* packetw2c_turret_lottery_result::New() const {
  return new packetw2c_turret_lottery_result;
}

void packetw2c_turret_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7726;
    result_ = 0;
    count_ = 0;
  }
  index_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_turret_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_turret_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_index;
        break;
      }

      // repeated int32 index = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_index())));
        } 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_index())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_index;
        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_turret_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_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);
  }

  // repeated int32 index = 4;
  for (int i = 0; i < this->index_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->index(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_turret_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_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);
  }

  // repeated int32 index = 4;
  for (int i = 0; i < this->index_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->index(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_turret_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_turret_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());
    }

  }
  // repeated int32 index = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->index_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->index(i));
    }
    total_size += 1 * this->index_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_turret_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_turret_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_turret_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_turret_lottery_result::MergeFrom(const packetw2c_turret_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  index_.MergeFrom(from.index_);
  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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_turret_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_turret_lottery_result::CopyFrom(const packetw2c_turret_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_turret_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_turret_lottery_result::Swap(packetw2c_turret_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(count_, other->count_);
    index_.Swap(&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_turret_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_turret_lottery_result_descriptor_;
  metadata.reflection = packetw2c_turret_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_smashing_eggs_info::kPacketIdFieldNumber;
const int packetw2c_syn_smashing_eggs_info::kActivityStateFieldNumber;
const int packetw2c_syn_smashing_eggs_info::kStartTimeFieldNumber;
const int packetw2c_syn_smashing_eggs_info::kEndTimeFieldNumber;
const int packetw2c_syn_smashing_eggs_info::kRechargedFieldNumber;
const int packetw2c_syn_smashing_eggs_info::kHammerFieldNumber;
const int packetw2c_syn_smashing_eggs_info::kJackpotFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_smashing_eggs_info::packetw2c_syn_smashing_eggs_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_smashing_eggs_info::InitAsDefaultInstance() {
}

packetw2c_syn_smashing_eggs_info::packetw2c_syn_smashing_eggs_info(const packetw2c_syn_smashing_eggs_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_smashing_eggs_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7730;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  recharged_ = 0;
  hammer_ = 0;
  jackpot_ = GOOGLE_LONGLONG(0);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_smashing_eggs_info::~packetw2c_syn_smashing_eggs_info() {
  SharedDtor();
}

void packetw2c_syn_smashing_eggs_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_smashing_eggs_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_smashing_eggs_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_smashing_eggs_info_descriptor_;
}

const packetw2c_syn_smashing_eggs_info& packetw2c_syn_smashing_eggs_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_smashing_eggs_info* packetw2c_syn_smashing_eggs_info::default_instance_ = NULL;

packetw2c_syn_smashing_eggs_info* packetw2c_syn_smashing_eggs_info::New() const {
  return new packetw2c_syn_smashing_eggs_info;
}

void packetw2c_syn_smashing_eggs_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7730;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    recharged_ = 0;
    hammer_ = 0;
    jackpot_ = GOOGLE_LONGLONG(0);
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_smashing_eggs_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_w2c_syn_smashing_eggs_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_recharged;
        break;
      }

      // optional int32 recharged = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recharged:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recharged_)));
          set_has_recharged();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_hammer;
        break;
      }

      // optional int32 hammer = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_hammer:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &hammer_)));
          set_has_hammer();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_jackpot;
        break;
      }

      // optional int64 jackpot = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_jackpot:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
                 input, &jackpot_)));
          set_has_jackpot();
        } 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_smashing_eggs_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 recharged = 5;
  if (has_recharged()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->recharged(), output);
  }

  // optional int32 hammer = 6;
  if (has_hammer()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->hammer(), output);
  }

  // optional int64 jackpot = 7;
  if (has_jackpot()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt64(7, this->jackpot(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_smashing_eggs_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 recharged = 5;
  if (has_recharged()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->recharged(), target);
  }

  // optional int32 hammer = 6;
  if (has_hammer()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->hammer(), target);
  }

  // optional int64 jackpot = 7;
  if (has_jackpot()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(7, this->jackpot(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_smashing_eggs_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_w2c_syn_smashing_eggs_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 recharged = 5;
    if (has_recharged()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recharged());
    }

    // optional int32 hammer = 6;
    if (has_hammer()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->hammer());
    }

    // optional int64 jackpot = 7;
    if (has_jackpot()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int64Size(
          this->jackpot());
    }

  }
  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_smashing_eggs_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_smashing_eggs_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_smashing_eggs_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_smashing_eggs_info::MergeFrom(const packetw2c_syn_smashing_eggs_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_recharged()) {
      set_recharged(from.recharged());
    }
    if (from.has_hammer()) {
      set_hammer(from.hammer());
    }
    if (from.has_jackpot()) {
      set_jackpot(from.jackpot());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_smashing_eggs_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_smashing_eggs_info::CopyFrom(const packetw2c_syn_smashing_eggs_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_smashing_eggs_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_smashing_eggs_info::Swap(packetw2c_syn_smashing_eggs_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(recharged_, other->recharged_);
    std::swap(hammer_, other->hammer_);
    std::swap(jackpot_, other->jackpot_);
    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_smashing_eggs_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_smashing_eggs_info_descriptor_;
  metadata.reflection = packetw2c_syn_smashing_eggs_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_smashing_eggs_info::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_smashing_eggs_info::packetc2w_get_smashing_eggs_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_smashing_eggs_info::InitAsDefaultInstance() {
}

packetc2w_get_smashing_eggs_info::packetc2w_get_smashing_eggs_info(const packetc2w_get_smashing_eggs_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_smashing_eggs_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5202;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_smashing_eggs_info::~packetc2w_get_smashing_eggs_info() {
  SharedDtor();
}

void packetc2w_get_smashing_eggs_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_smashing_eggs_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_smashing_eggs_info_descriptor_;
}

const packetc2w_get_smashing_eggs_info& packetc2w_get_smashing_eggs_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_smashing_eggs_info* packetc2w_get_smashing_eggs_info::default_instance_ = NULL;

packetc2w_get_smashing_eggs_info* packetc2w_get_smashing_eggs_info::New() const {
  return new packetc2w_get_smashing_eggs_info;
}

void packetc2w_get_smashing_eggs_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5202;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_smashing_eggs_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_smashing_eggs_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->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_smashing_eggs_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info];
  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_smashing_eggs_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info];
  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_smashing_eggs_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_smashing_eggs_info];
    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_smashing_eggs_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_smashing_eggs_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_smashing_eggs_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_smashing_eggs_info::MergeFrom(const packetc2w_get_smashing_eggs_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_smashing_eggs_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_smashing_eggs_info::CopyFrom(const packetc2w_get_smashing_eggs_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_smashing_eggs_info::IsInitialized() const {

  return true;
}

void packetc2w_get_smashing_eggs_info::Swap(packetc2w_get_smashing_eggs_info* 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_smashing_eggs_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_smashing_eggs_info_descriptor_;
  metadata.reflection = packetc2w_get_smashing_eggs_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_smashing_eggs::kPacketIdFieldNumber;
const int packetc2w_smashing_eggs::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_smashing_eggs::packetc2w_smashing_eggs()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_smashing_eggs::InitAsDefaultInstance() {
}

packetc2w_smashing_eggs::packetc2w_smashing_eggs(const packetc2w_smashing_eggs& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_smashing_eggs::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5200;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_smashing_eggs::~packetc2w_smashing_eggs() {
  SharedDtor();
}

void packetc2w_smashing_eggs::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_smashing_eggs::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_smashing_eggs::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_smashing_eggs_descriptor_;
}

const packetc2w_smashing_eggs& packetc2w_smashing_eggs::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_smashing_eggs* packetc2w_smashing_eggs::default_instance_ = NULL;

packetc2w_smashing_eggs* packetc2w_smashing_eggs::New() const {
  return new packetc2w_smashing_eggs;
}

void packetc2w_smashing_eggs::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5200;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_smashing_eggs::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_smashing_eggs];
      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->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_smashing_eggs::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_smashing_eggs::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_smashing_eggs::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_smashing_eggs];
    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());
    }

  }
  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_smashing_eggs::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_smashing_eggs* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_smashing_eggs*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_smashing_eggs::MergeFrom(const packetc2w_smashing_eggs& 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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_smashing_eggs::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_smashing_eggs::CopyFrom(const packetc2w_smashing_eggs& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_smashing_eggs::IsInitialized() const {

  return true;
}

void packetc2w_smashing_eggs::Swap(packetc2w_smashing_eggs* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_smashing_eggs::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_smashing_eggs_descriptor_;
  metadata.reflection = packetc2w_smashing_eggs_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_smashing_eggs_result::kPacketIdFieldNumber;
const int packetw2c_smashing_eggs_result::kResultFieldNumber;
const int packetw2c_smashing_eggs_result::kTypeFieldNumber;
const int packetw2c_smashing_eggs_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_smashing_eggs_result::packetw2c_smashing_eggs_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_smashing_eggs_result::InitAsDefaultInstance() {
}

packetw2c_smashing_eggs_result::packetw2c_smashing_eggs_result(const packetw2c_smashing_eggs_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_smashing_eggs_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7731;
  result_ = 0;
  type_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_smashing_eggs_result::~packetw2c_smashing_eggs_result() {
  SharedDtor();
}

void packetw2c_smashing_eggs_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_smashing_eggs_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_smashing_eggs_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_smashing_eggs_result_descriptor_;
}

const packetw2c_smashing_eggs_result& packetw2c_smashing_eggs_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_smashing_eggs_result* packetw2c_smashing_eggs_result::default_instance_ = NULL;

packetw2c_smashing_eggs_result* packetw2c_smashing_eggs_result::New() const {
  return new packetw2c_smashing_eggs_result;
}

void packetw2c_smashing_eggs_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7731;
    result_ = 0;
    type_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_smashing_eggs_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_smashing_eggs_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_index;
        break;
      }

      // optional int32 index = 4;
      case 4: {
        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_smashing_eggs_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // optional int32 index = 4;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_smashing_eggs_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // optional int32 index = 4;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_smashing_eggs_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_smashing_eggs_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 index = 4;
    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_smashing_eggs_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_smashing_eggs_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_smashing_eggs_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_smashing_eggs_result::MergeFrom(const packetw2c_smashing_eggs_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_type()) {
      set_type(from.type());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_smashing_eggs_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_smashing_eggs_result::CopyFrom(const packetw2c_smashing_eggs_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_smashing_eggs_result::IsInitialized() const {

  return true;
}

void packetw2c_smashing_eggs_result::Swap(packetw2c_smashing_eggs_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    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 packetw2c_smashing_eggs_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_smashing_eggs_result_descriptor_;
  metadata.reflection = packetw2c_smashing_eggs_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_smashing_eggs_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_smashing_eggs_rank::packetc2w_get_smashing_eggs_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_smashing_eggs_rank::InitAsDefaultInstance() {
}

packetc2w_get_smashing_eggs_rank::packetc2w_get_smashing_eggs_rank(const packetc2w_get_smashing_eggs_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_smashing_eggs_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5201;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_smashing_eggs_rank::~packetc2w_get_smashing_eggs_rank() {
  SharedDtor();
}

void packetc2w_get_smashing_eggs_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_smashing_eggs_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_smashing_eggs_rank_descriptor_;
}

const packetc2w_get_smashing_eggs_rank& packetc2w_get_smashing_eggs_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_smashing_eggs_rank* packetc2w_get_smashing_eggs_rank::default_instance_ = NULL;

packetc2w_get_smashing_eggs_rank* packetc2w_get_smashing_eggs_rank::New() const {
  return new packetc2w_get_smashing_eggs_rank;
}

void packetc2w_get_smashing_eggs_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5201;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_smashing_eggs_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_smashing_eggs_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank];
  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_smashing_eggs_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank];
  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_smashing_eggs_rank::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_smashing_eggs_rank];
    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_smashing_eggs_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_smashing_eggs_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_smashing_eggs_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_smashing_eggs_rank::MergeFrom(const packetc2w_get_smashing_eggs_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_smashing_eggs_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_smashing_eggs_rank::CopyFrom(const packetc2w_get_smashing_eggs_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_smashing_eggs_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_smashing_eggs_rank::Swap(packetc2w_get_smashing_eggs_rank* 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_smashing_eggs_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_smashing_eggs_rank_descriptor_;
  metadata.reflection = packetc2w_get_smashing_eggs_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_smashing_eggs_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_smashing_eggs_rank_result::kRankListFieldNumber;
const int packetw2c_get_smashing_eggs_rank_result::kMypointFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_smashing_eggs_rank_result::packetw2c_get_smashing_eggs_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_smashing_eggs_rank_result::InitAsDefaultInstance() {
}

packetw2c_get_smashing_eggs_rank_result::packetw2c_get_smashing_eggs_rank_result(const packetw2c_get_smashing_eggs_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_smashing_eggs_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7732;
  mypoint_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_smashing_eggs_rank_result::~packetw2c_get_smashing_eggs_rank_result() {
  SharedDtor();
}

void packetw2c_get_smashing_eggs_rank_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_smashing_eggs_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_smashing_eggs_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_smashing_eggs_rank_result_descriptor_;
}

const packetw2c_get_smashing_eggs_rank_result& packetw2c_get_smashing_eggs_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_smashing_eggs_rank_result* packetw2c_get_smashing_eggs_rank_result::default_instance_ = NULL;

packetw2c_get_smashing_eggs_rank_result* packetw2c_get_smashing_eggs_rank_result::New() const {
  return new packetw2c_get_smashing_eggs_rank_result;
}

void packetw2c_get_smashing_eggs_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7732;
    mypoint_ = 0;
  }
  ranklist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_smashing_eggs_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_mypoint;
        break;
      }

      // optional int32 mypoint = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_mypoint:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mypoint_)));
          set_has_mypoint();
        } 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_smashing_eggs_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // optional int32 mypoint = 3;
  if (has_mypoint()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mypoint(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_smashing_eggs_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // optional int32 mypoint = 3;
  if (has_mypoint()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mypoint(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_smashing_eggs_rank_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_smashing_eggs_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 mypoint = 3;
    if (has_mypoint()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mypoint());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_get_smashing_eggs_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_smashing_eggs_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_smashing_eggs_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_smashing_eggs_rank_result::MergeFrom(const packetw2c_get_smashing_eggs_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mypoint()) {
      set_mypoint(from.mypoint());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_smashing_eggs_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_smashing_eggs_rank_result::CopyFrom(const packetw2c_get_smashing_eggs_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_smashing_eggs_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_smashing_eggs_rank_result::Swap(packetw2c_get_smashing_eggs_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    std::swap(mypoint_, other->mypoint_);
    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_smashing_eggs_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_smashing_eggs_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_smashing_eggs_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_rich_lottery_info::kPacketIdFieldNumber;
const int packetw2c_syn_rich_lottery_info::kActivityStateFieldNumber;
const int packetw2c_syn_rich_lottery_info::kStartTimeFieldNumber;
const int packetw2c_syn_rich_lottery_info::kEndTimeFieldNumber;
const int packetw2c_syn_rich_lottery_info::kMultFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_rich_lottery_info::packetw2c_syn_rich_lottery_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_rich_lottery_info::InitAsDefaultInstance() {
}

packetw2c_syn_rich_lottery_info::packetw2c_syn_rich_lottery_info(const packetw2c_syn_rich_lottery_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_rich_lottery_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7733;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  mult_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_rich_lottery_info::~packetw2c_syn_rich_lottery_info() {
  SharedDtor();
}

void packetw2c_syn_rich_lottery_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_rich_lottery_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_rich_lottery_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_rich_lottery_info_descriptor_;
}

const packetw2c_syn_rich_lottery_info& packetw2c_syn_rich_lottery_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_rich_lottery_info* packetw2c_syn_rich_lottery_info::default_instance_ = NULL;

packetw2c_syn_rich_lottery_info* packetw2c_syn_rich_lottery_info::New() const {
  return new packetw2c_syn_rich_lottery_info;
}

void packetw2c_syn_rich_lottery_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7733;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    mult_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_rich_lottery_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_w2c_syn_rich_lottery_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_mult;
        break;
      }

      // optional int32 mult = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_mult:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mult_)));
          set_has_mult();
        } 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_rich_lottery_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 mult = 5;
  if (has_mult()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->mult(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_rich_lottery_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 mult = 5;
  if (has_mult()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->mult(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_rich_lottery_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_w2c_syn_rich_lottery_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 mult = 5;
    if (has_mult()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mult());
    }

  }
  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_rich_lottery_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_rich_lottery_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_rich_lottery_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_rich_lottery_info::MergeFrom(const packetw2c_syn_rich_lottery_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_mult()) {
      set_mult(from.mult());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_rich_lottery_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_rich_lottery_info::CopyFrom(const packetw2c_syn_rich_lottery_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_rich_lottery_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_rich_lottery_info::Swap(packetw2c_syn_rich_lottery_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(mult_, other->mult_);
    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_rich_lottery_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_rich_lottery_info_descriptor_;
  metadata.reflection = packetw2c_syn_rich_lottery_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_rich_lottery::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_rich_lottery::packetc2w_rich_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_rich_lottery::InitAsDefaultInstance() {
}

packetc2w_rich_lottery::packetc2w_rich_lottery(const packetc2w_rich_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_rich_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5203;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_rich_lottery::~packetc2w_rich_lottery() {
  SharedDtor();
}

void packetc2w_rich_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_rich_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_rich_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_rich_lottery_descriptor_;
}

const packetc2w_rich_lottery& packetc2w_rich_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_rich_lottery* packetc2w_rich_lottery::default_instance_ = NULL;

packetc2w_rich_lottery* packetc2w_rich_lottery::New() const {
  return new packetc2w_rich_lottery;
}

void packetc2w_rich_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5203;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_rich_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_rich_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_rich_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_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_rich_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_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_rich_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_rich_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_rich_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_rich_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_rich_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_rich_lottery::MergeFrom(const packetc2w_rich_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_rich_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_rich_lottery::CopyFrom(const packetc2w_rich_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_rich_lottery::IsInitialized() const {

  return true;
}

void packetc2w_rich_lottery::Swap(packetc2w_rich_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_rich_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_rich_lottery_descriptor_;
  metadata.reflection = packetc2w_rich_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_rich_lottery_result::kPacketIdFieldNumber;
const int packetw2c_rich_lottery_result::kResultFieldNumber;
const int packetw2c_rich_lottery_result::kMultFieldNumber;
#endif  // !_MSC_VER

packetw2c_rich_lottery_result::packetw2c_rich_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_rich_lottery_result::InitAsDefaultInstance() {
}

packetw2c_rich_lottery_result::packetw2c_rich_lottery_result(const packetw2c_rich_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_rich_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7734;
  result_ = 0;
  mult_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_rich_lottery_result::~packetw2c_rich_lottery_result() {
  SharedDtor();
}

void packetw2c_rich_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_rich_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_rich_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_rich_lottery_result_descriptor_;
}

const packetw2c_rich_lottery_result& packetw2c_rich_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_rich_lottery_result* packetw2c_rich_lottery_result::default_instance_ = NULL;

packetw2c_rich_lottery_result* packetw2c_rich_lottery_result::New() const {
  return new packetw2c_rich_lottery_result;
}

void packetw2c_rich_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7734;
    result_ = 0;
    mult_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_rich_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_rich_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_mult;
        break;
      }

      // optional int32 mult = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_mult:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mult_)));
          set_has_mult();
        } 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_rich_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_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 mult = 3;
  if (has_mult()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mult(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_rich_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_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 mult = 3;
  if (has_mult()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mult(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_rich_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_rich_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 mult = 3;
    if (has_mult()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mult());
    }

  }
  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_rich_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_rich_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_rich_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_rich_lottery_result::MergeFrom(const packetw2c_rich_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_mult()) {
      set_mult(from.mult());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_rich_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_rich_lottery_result::CopyFrom(const packetw2c_rich_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_rich_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_rich_lottery_result::Swap(packetw2c_rich_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(mult_, other->mult_);
    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_rich_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_rich_lottery_result_descriptor_;
  metadata.reflection = packetw2c_rich_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_summer_revels_info::kPacketIdFieldNumber;
const int packetw2c_syn_summer_revels_info::kActivityStateFieldNumber;
const int packetw2c_syn_summer_revels_info::kStartTimeFieldNumber;
const int packetw2c_syn_summer_revels_info::kEndTimeFieldNumber;
const int packetw2c_syn_summer_revels_info::kPointsFieldNumber;
const int packetw2c_syn_summer_revels_info::kTodayRechargedFieldNumber;
const int packetw2c_syn_summer_revels_info::kRankListFieldNumber;
const int packetw2c_syn_summer_revels_info::kReceiveCheckFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_summer_revels_info::packetw2c_syn_summer_revels_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_summer_revels_info::InitAsDefaultInstance() {
}

packetw2c_syn_summer_revels_info::packetw2c_syn_summer_revels_info(const packetw2c_syn_summer_revels_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_summer_revels_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7735;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  points_ = 0;
  todayrecharged_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_summer_revels_info::~packetw2c_syn_summer_revels_info() {
  SharedDtor();
}

void packetw2c_syn_summer_revels_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_summer_revels_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_summer_revels_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_summer_revels_info_descriptor_;
}

const packetw2c_syn_summer_revels_info& packetw2c_syn_summer_revels_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_summer_revels_info* packetw2c_syn_summer_revels_info::default_instance_ = NULL;

packetw2c_syn_summer_revels_info* packetw2c_syn_summer_revels_info::New() const {
  return new packetw2c_syn_summer_revels_info;
}

void packetw2c_syn_summer_revels_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7735;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    points_ = 0;
    todayrecharged_ = 0;
  }
  ranklist_.Clear();
  receivecheck_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_summer_revels_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_w2c_syn_summer_revels_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_points;
        break;
      }

      // optional int32 points = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_points:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &points_)));
          set_has_points();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_todayRecharged;
        break;
      }

      // optional int32 todayRecharged = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_todayRecharged:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &todayrecharged_)));
          set_has_todayrecharged();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(58)) goto parse_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(58)) goto parse_rankList;
        if (input->ExpectTag(64)) goto parse_receiveCheck;
        break;
      }

      // repeated bool receiveCheck = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveCheck:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 64, input, this->mutable_receivecheck())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_receivecheck())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_receiveCheck;
        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_summer_revels_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 points = 5;
  if (has_points()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->points(), output);
  }

  // optional int32 todayRecharged = 6;
  if (has_todayrecharged()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->todayrecharged(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 7;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      7, this->ranklist(i), output);
  }

  // repeated bool receiveCheck = 8;
  for (int i = 0; i < this->receivecheck_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      8, this->receivecheck(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_summer_revels_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 points = 5;
  if (has_points()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->points(), target);
  }

  // optional int32 todayRecharged = 6;
  if (has_todayrecharged()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->todayrecharged(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 7;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        7, this->ranklist(i), target);
  }

  // repeated bool receiveCheck = 8;
  for (int i = 0; i < this->receivecheck_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(8, this->receivecheck(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_summer_revels_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_w2c_syn_summer_revels_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 points = 5;
    if (has_points()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->points());
    }

    // optional int32 todayRecharged = 6;
    if (has_todayrecharged()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->todayrecharged());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 7;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated bool receiveCheck = 8;
  {
    int data_size = 0;
    data_size = 1 * this->receivecheck_size();
    total_size += 1 * this->receivecheck_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_syn_summer_revels_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_summer_revels_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_summer_revels_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_summer_revels_info::MergeFrom(const packetw2c_syn_summer_revels_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  receivecheck_.MergeFrom(from.receivecheck_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_points()) {
      set_points(from.points());
    }
    if (from.has_todayrecharged()) {
      set_todayrecharged(from.todayrecharged());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_summer_revels_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_summer_revels_info::CopyFrom(const packetw2c_syn_summer_revels_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_summer_revels_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_summer_revels_info::Swap(packetw2c_syn_summer_revels_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(points_, other->points_);
    std::swap(todayrecharged_, other->todayrecharged_);
    ranklist_.Swap(&other->ranklist_);
    receivecheck_.Swap(&other->receivecheck_);
    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_summer_revels_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_summer_revels_info_descriptor_;
  metadata.reflection = packetw2c_syn_summer_revels_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_summer_revels_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_summer_revels_rank::packetc2w_get_summer_revels_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_summer_revels_rank::InitAsDefaultInstance() {
}

packetc2w_get_summer_revels_rank::packetc2w_get_summer_revels_rank(const packetc2w_get_summer_revels_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_summer_revels_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5204;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_summer_revels_rank::~packetc2w_get_summer_revels_rank() {
  SharedDtor();
}

void packetc2w_get_summer_revels_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_summer_revels_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_summer_revels_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_summer_revels_rank_descriptor_;
}

const packetc2w_get_summer_revels_rank& packetc2w_get_summer_revels_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_summer_revels_rank* packetc2w_get_summer_revels_rank::default_instance_ = NULL;

packetc2w_get_summer_revels_rank* packetc2w_get_summer_revels_rank::New() const {
  return new packetc2w_get_summer_revels_rank;
}

void packetc2w_get_summer_revels_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5204;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_summer_revels_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_summer_revels_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
  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_summer_revels_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
  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_summer_revels_rank::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_summer_revels_rank];
    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_summer_revels_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_summer_revels_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_summer_revels_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_summer_revels_rank::MergeFrom(const packetc2w_get_summer_revels_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_summer_revels_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_summer_revels_rank::CopyFrom(const packetc2w_get_summer_revels_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_summer_revels_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_summer_revels_rank::Swap(packetc2w_get_summer_revels_rank* 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_summer_revels_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_summer_revels_rank_descriptor_;
  metadata.reflection = packetc2w_get_summer_revels_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_summer_revels_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_summer_revels_rank_result::kRankListFieldNumber;
const int packetw2c_get_summer_revels_rank_result::kMyPointsFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_summer_revels_rank_result::packetw2c_get_summer_revels_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_summer_revels_rank_result::InitAsDefaultInstance() {
}

packetw2c_get_summer_revels_rank_result::packetw2c_get_summer_revels_rank_result(const packetw2c_get_summer_revels_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_summer_revels_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7736;
  mypoints_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_summer_revels_rank_result::~packetw2c_get_summer_revels_rank_result() {
  SharedDtor();
}

void packetw2c_get_summer_revels_rank_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_summer_revels_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_summer_revels_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_summer_revels_rank_result_descriptor_;
}

const packetw2c_get_summer_revels_rank_result& packetw2c_get_summer_revels_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_summer_revels_rank_result* packetw2c_get_summer_revels_rank_result::default_instance_ = NULL;

packetw2c_get_summer_revels_rank_result* packetw2c_get_summer_revels_rank_result::New() const {
  return new packetw2c_get_summer_revels_rank_result;
}

void packetw2c_get_summer_revels_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7736;
    mypoints_ = 0;
  }
  ranklist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_summer_revels_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_myPoints;
        break;
      }

      // optional int32 myPoints = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myPoints:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mypoints_)));
          set_has_mypoints();
        } 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_summer_revels_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // optional int32 myPoints = 3;
  if (has_mypoints()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mypoints(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_summer_revels_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // optional int32 myPoints = 3;
  if (has_mypoints()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mypoints(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_summer_revels_rank_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_summer_revels_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 myPoints = 3;
    if (has_mypoints()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mypoints());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_get_summer_revels_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_summer_revels_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_summer_revels_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_summer_revels_rank_result::MergeFrom(const packetw2c_get_summer_revels_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mypoints()) {
      set_mypoints(from.mypoints());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_summer_revels_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_summer_revels_rank_result::CopyFrom(const packetw2c_get_summer_revels_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_summer_revels_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_summer_revels_rank_result::Swap(packetw2c_get_summer_revels_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    std::swap(mypoints_, other->mypoints_);
    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_summer_revels_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_summer_revels_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_summer_revels_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_revels_lottery::kPacketIdFieldNumber;
const int packetc2w_summer_revels_lottery::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_revels_lottery::packetc2w_summer_revels_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_revels_lottery::InitAsDefaultInstance() {
}

packetc2w_summer_revels_lottery::packetc2w_summer_revels_lottery(const packetc2w_summer_revels_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_revels_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5205;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_revels_lottery::~packetc2w_summer_revels_lottery() {
  SharedDtor();
}

void packetc2w_summer_revels_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_revels_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_revels_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_revels_lottery_descriptor_;
}

const packetc2w_summer_revels_lottery& packetc2w_summer_revels_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_revels_lottery* packetc2w_summer_revels_lottery::default_instance_ = NULL;

packetc2w_summer_revels_lottery* packetc2w_summer_revels_lottery::New() const {
  return new packetc2w_summer_revels_lottery;
}

void packetc2w_summer_revels_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5205;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_revels_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_summer_revels_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_summer_revels_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_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_summer_revels_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_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_summer_revels_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_summer_revels_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_summer_revels_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_revels_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_revels_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_revels_lottery::MergeFrom(const packetc2w_summer_revels_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_summer_revels_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_revels_lottery::CopyFrom(const packetc2w_summer_revels_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_revels_lottery::IsInitialized() const {

  return true;
}

void packetc2w_summer_revels_lottery::Swap(packetc2w_summer_revels_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_summer_revels_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_revels_lottery_descriptor_;
  metadata.reflection = packetc2w_summer_revels_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_revels_lottery_result::kPacketIdFieldNumber;
const int packetw2c_summer_revels_lottery_result::kResultFieldNumber;
const int packetw2c_summer_revels_lottery_result::kIndexFieldNumber;
const int packetw2c_summer_revels_lottery_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_revels_lottery_result::packetw2c_summer_revels_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_revels_lottery_result::InitAsDefaultInstance() {
}

packetw2c_summer_revels_lottery_result::packetw2c_summer_revels_lottery_result(const packetw2c_summer_revels_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_revels_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7737;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_revels_lottery_result::~packetw2c_summer_revels_lottery_result() {
  SharedDtor();
}

void packetw2c_summer_revels_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_revels_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_revels_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_revels_lottery_result_descriptor_;
}

const packetw2c_summer_revels_lottery_result& packetw2c_summer_revels_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_revels_lottery_result* packetw2c_summer_revels_lottery_result::default_instance_ = NULL;

packetw2c_summer_revels_lottery_result* packetw2c_summer_revels_lottery_result::New() const {
  return new packetw2c_summer_revels_lottery_result;
}

void packetw2c_summer_revels_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7737;
    result_ = 0;
    index_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_revels_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_summer_revels_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(34)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo 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->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_summer_revels_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_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);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_revels_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_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);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_revels_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_summer_revels_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());
    }

  }
  // repeated .msg_info_def.ItemInfo 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_summer_revels_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_revels_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_revels_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_revels_lottery_result::MergeFrom(const packetw2c_summer_revels_lottery_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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_summer_revels_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_revels_lottery_result::CopyFrom(const packetw2c_summer_revels_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_revels_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_revels_lottery_result::Swap(packetw2c_summer_revels_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    items_.Swap(&other->items_);
    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_summer_revels_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_revels_lottery_result_descriptor_;
  metadata.reflection = packetw2c_summer_revels_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int attackInfo::kWeaponIdFieldNumber;
const int attackInfo::kHarmValueFieldNumber;
#endif  // !_MSC_VER

attackInfo::attackInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void attackInfo::InitAsDefaultInstance() {
}

attackInfo::attackInfo(const attackInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void attackInfo::SharedCtor() {
  _cached_size_ = 0;
  weaponid_ = 0;
  harmvalue_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

attackInfo::~attackInfo() {
  SharedDtor();
}

void attackInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void attackInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* attackInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return attackInfo_descriptor_;
}

const attackInfo& attackInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

attackInfo* attackInfo::default_instance_ = NULL;

attackInfo* attackInfo::New() const {
  return new attackInfo;
}

void attackInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    weaponid_ = 0;
    harmvalue_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool attackInfo::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 weaponId = 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, &weaponid_)));
          set_has_weaponid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_harmValue;
        break;
      }

      // optional int32 harmValue = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_harmValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &harmvalue_)));
          set_has_harmvalue();
        } 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 attackInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 weaponId = 1;
  if (has_weaponid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->weaponid(), output);
  }

  // optional int32 harmValue = 2;
  if (has_harmvalue()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->harmvalue(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* attackInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 weaponId = 1;
  if (has_weaponid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->weaponid(), target);
  }

  // optional int32 harmValue = 2;
  if (has_harmvalue()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->harmvalue(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int attackInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 weaponId = 1;
    if (has_weaponid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weaponid());
    }

    // optional int32 harmValue = 2;
    if (has_harmvalue()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->harmvalue());
    }

  }
  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 attackInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const attackInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const attackInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void attackInfo::MergeFrom(const attackInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_weaponid()) {
      set_weaponid(from.weaponid());
    }
    if (from.has_harmvalue()) {
      set_harmvalue(from.harmvalue());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void attackInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void attackInfo::CopyFrom(const attackInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool attackInfo::IsInitialized() const {

  return true;
}

void attackInfo::Swap(attackInfo* other) {
  if (other != this) {
    std::swap(weaponid_, other->weaponid_);
    std::swap(harmvalue_, other->harmvalue_);
    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 attackInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = attackInfo_descriptor_;
  metadata.reflection = attackInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int demonTowerInfo::kFloorFieldNumber;
const int demonTowerInfo::kLeftLifeFieldNumber;
const int demonTowerInfo::kCurRoundFieldNumber;
const int demonTowerInfo::kKillCountFieldNumber;
const int demonTowerInfo::kStarCountFieldNumber;
const int demonTowerInfo::kAttackHistoryFieldNumber;
#endif  // !_MSC_VER

demonTowerInfo::demonTowerInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void demonTowerInfo::InitAsDefaultInstance() {
}

demonTowerInfo::demonTowerInfo(const demonTowerInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void demonTowerInfo::SharedCtor() {
  _cached_size_ = 0;
  floor_ = 0;
  leftlife_ = 0;
  curround_ = 0;
  killcount_ = 0;
  starcount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

demonTowerInfo::~demonTowerInfo() {
  SharedDtor();
}

void demonTowerInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void demonTowerInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* demonTowerInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return demonTowerInfo_descriptor_;
}

const demonTowerInfo& demonTowerInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

demonTowerInfo* demonTowerInfo::default_instance_ = NULL;

demonTowerInfo* demonTowerInfo::New() const {
  return new demonTowerInfo;
}

void demonTowerInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    floor_ = 0;
    leftlife_ = 0;
    curround_ = 0;
    killcount_ = 0;
    starcount_ = 0;
  }
  attackhistory_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool demonTowerInfo::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 floor = 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, &floor_)));
          set_has_floor();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_leftLife;
        break;
      }

      // optional int32 leftLife = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_leftLife:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &leftlife_)));
          set_has_leftlife();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_curRound;
        break;
      }

      // optional int32 curRound = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curRound:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curround_)));
          set_has_curround();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_killCount;
        break;
      }

      // optional int32 killCount = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_killCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &killcount_)));
          set_has_killcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_starCount;
        break;
      }

      // optional int32 starCount = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_starCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starcount_)));
          set_has_starcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_attackHistory;
        break;
      }

      // repeated .client2world_protocols.attackInfo attackHistory = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_attackHistory:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_attackhistory()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_attackHistory;
        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 demonTowerInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 floor = 1;
  if (has_floor()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->floor(), output);
  }

  // optional int32 leftLife = 2;
  if (has_leftlife()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->leftlife(), output);
  }

  // optional int32 curRound = 3;
  if (has_curround()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->curround(), output);
  }

  // optional int32 killCount = 4;
  if (has_killcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->killcount(), output);
  }

  // optional int32 starCount = 5;
  if (has_starcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->starcount(), output);
  }

  // repeated .client2world_protocols.attackInfo attackHistory = 6;
  for (int i = 0; i < this->attackhistory_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->attackhistory(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* demonTowerInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 floor = 1;
  if (has_floor()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->floor(), target);
  }

  // optional int32 leftLife = 2;
  if (has_leftlife()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->leftlife(), target);
  }

  // optional int32 curRound = 3;
  if (has_curround()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->curround(), target);
  }

  // optional int32 killCount = 4;
  if (has_killcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->killcount(), target);
  }

  // optional int32 starCount = 5;
  if (has_starcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->starcount(), target);
  }

  // repeated .client2world_protocols.attackInfo attackHistory = 6;
  for (int i = 0; i < this->attackhistory_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->attackhistory(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int demonTowerInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 floor = 1;
    if (has_floor()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->floor());
    }

    // optional int32 leftLife = 2;
    if (has_leftlife()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->leftlife());
    }

    // optional int32 curRound = 3;
    if (has_curround()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curround());
    }

    // optional int32 killCount = 4;
    if (has_killcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->killcount());
    }

    // optional int32 starCount = 5;
    if (has_starcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starcount());
    }

  }
  // repeated .client2world_protocols.attackInfo attackHistory = 6;
  total_size += 1 * this->attackhistory_size();
  for (int i = 0; i < this->attackhistory_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->attackhistory(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 demonTowerInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const demonTowerInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const demonTowerInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void demonTowerInfo::MergeFrom(const demonTowerInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  attackhistory_.MergeFrom(from.attackhistory_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_floor()) {
      set_floor(from.floor());
    }
    if (from.has_leftlife()) {
      set_leftlife(from.leftlife());
    }
    if (from.has_curround()) {
      set_curround(from.curround());
    }
    if (from.has_killcount()) {
      set_killcount(from.killcount());
    }
    if (from.has_starcount()) {
      set_starcount(from.starcount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void demonTowerInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void demonTowerInfo::CopyFrom(const demonTowerInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool demonTowerInfo::IsInitialized() const {

  return true;
}

void demonTowerInfo::Swap(demonTowerInfo* other) {
  if (other != this) {
    std::swap(floor_, other->floor_);
    std::swap(leftlife_, other->leftlife_);
    std::swap(curround_, other->curround_);
    std::swap(killcount_, other->killcount_);
    std::swap(starcount_, other->starcount_);
    attackhistory_.Swap(&other->attackhistory_);
    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 demonTowerInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = demonTowerInfo_descriptor_;
  metadata.reflection = demonTowerInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int weaponInfo::kWeaponIdFieldNumber;
const int weaponInfo::kCountFieldNumber;
#endif  // !_MSC_VER

weaponInfo::weaponInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void weaponInfo::InitAsDefaultInstance() {
}

weaponInfo::weaponInfo(const weaponInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void weaponInfo::SharedCtor() {
  _cached_size_ = 0;
  weaponid_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

weaponInfo::~weaponInfo() {
  SharedDtor();
}

void weaponInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void weaponInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* weaponInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return weaponInfo_descriptor_;
}

const weaponInfo& weaponInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

weaponInfo* weaponInfo::default_instance_ = NULL;

weaponInfo* weaponInfo::New() const {
  return new weaponInfo;
}

void weaponInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    weaponid_ = 0;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool weaponInfo::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 weaponId = 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, &weaponid_)));
          set_has_weaponid();
        } 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 weaponInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 weaponId = 1;
  if (has_weaponid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->weaponid(), 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* weaponInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 weaponId = 1;
  if (has_weaponid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->weaponid(), 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 weaponInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 weaponId = 1;
    if (has_weaponid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weaponid());
    }

    // 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 weaponInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const weaponInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const weaponInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void weaponInfo::MergeFrom(const weaponInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_weaponid()) {
      set_weaponid(from.weaponid());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void weaponInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void weaponInfo::CopyFrom(const weaponInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool weaponInfo::IsInitialized() const {

  return true;
}

void weaponInfo::Swap(weaponInfo* other) {
  if (other != this) {
    std::swap(weaponid_, other->weaponid_);
    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 weaponInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = weaponInfo_descriptor_;
  metadata.reflection = weaponInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_kill_demons_info::kPacketIdFieldNumber;
const int packetw2c_syn_kill_demons_info::kActivityStateFieldNumber;
const int packetw2c_syn_kill_demons_info::kStartTimeFieldNumber;
const int packetw2c_syn_kill_demons_info::kEndTimeFieldNumber;
const int packetw2c_syn_kill_demons_info::kTrialScoreFieldNumber;
const int packetw2c_syn_kill_demons_info::kTrialScoreHistoryFieldNumber;
const int packetw2c_syn_kill_demons_info::kSwordEnergyFieldNumber;
const int packetw2c_syn_kill_demons_info::kSmeltTimesFieldNumber;
const int packetw2c_syn_kill_demons_info::kHuntDemonScoreFieldNumber;
const int packetw2c_syn_kill_demons_info::kReceiveTrialFieldNumber;
const int packetw2c_syn_kill_demons_info::kReceiveSwordEnergyFieldNumber;
const int packetw2c_syn_kill_demons_info::kReceiveStarFieldNumber;
const int packetw2c_syn_kill_demons_info::kTowerListFieldNumber;
const int packetw2c_syn_kill_demons_info::kWeaponListFieldNumber;
const int packetw2c_syn_kill_demons_info::kStarCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_kill_demons_info::packetw2c_syn_kill_demons_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_kill_demons_info::InitAsDefaultInstance() {
}

packetw2c_syn_kill_demons_info::packetw2c_syn_kill_demons_info(const packetw2c_syn_kill_demons_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_kill_demons_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7738;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  trialscore_ = 0;
  trialscorehistory_ = 0;
  swordenergy_ = 0;
  smelttimes_ = 0;
  huntdemonscore_ = 0;
  starcount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_kill_demons_info::~packetw2c_syn_kill_demons_info() {
  SharedDtor();
}

void packetw2c_syn_kill_demons_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_kill_demons_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_kill_demons_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_kill_demons_info_descriptor_;
}

const packetw2c_syn_kill_demons_info& packetw2c_syn_kill_demons_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_kill_demons_info* packetw2c_syn_kill_demons_info::default_instance_ = NULL;

packetw2c_syn_kill_demons_info* packetw2c_syn_kill_demons_info::New() const {
  return new packetw2c_syn_kill_demons_info;
}

void packetw2c_syn_kill_demons_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7738;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    trialscore_ = 0;
    trialscorehistory_ = 0;
    swordenergy_ = 0;
    smelttimes_ = 0;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    huntdemonscore_ = 0;
    starcount_ = 0;
  }
  receivetrial_.Clear();
  receiveswordenergy_.Clear();
  receivestar_.Clear();
  towerlist_.Clear();
  weaponlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_kill_demons_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_w2c_syn_kill_demons_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_trialScore;
        break;
      }

      // optional int32 trialScore = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_trialScore:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &trialscore_)));
          set_has_trialscore();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_trialScoreHistory;
        break;
      }

      // optional int32 trialScoreHistory = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_trialScoreHistory:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &trialscorehistory_)));
          set_has_trialscorehistory();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_swordEnergy;
        break;
      }

      // optional int32 swordEnergy = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_swordEnergy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &swordenergy_)));
          set_has_swordenergy();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_smeltTimes;
        break;
      }

      // optional int32 smeltTimes = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_smeltTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &smelttimes_)));
          set_has_smelttimes();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_huntDemonScore;
        break;
      }

      // optional int32 huntDemonScore = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_huntDemonScore:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &huntdemonscore_)));
          set_has_huntdemonscore();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(80)) goto parse_receiveTrial;
        break;
      }

      // repeated bool receiveTrial = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveTrial:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 80, input, this->mutable_receivetrial())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_receivetrial())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(80)) goto parse_receiveTrial;
        if (input->ExpectTag(88)) goto parse_receiveSwordEnergy;
        break;
      }

      // repeated bool receiveSwordEnergy = 11;
      case 11: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveSwordEnergy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 88, input, this->mutable_receiveswordenergy())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_receiveswordenergy())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(88)) goto parse_receiveSwordEnergy;
        if (input->ExpectTag(96)) goto parse_receiveStar;
        break;
      }

      // repeated bool receiveStar = 12;
      case 12: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveStar:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 96, input, this->mutable_receivestar())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_receivestar())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(96)) goto parse_receiveStar;
        if (input->ExpectTag(114)) goto parse_towerList;
        break;
      }

      // repeated .client2world_protocols.demonTowerInfo towerList = 14;
      case 14: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_towerList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_towerlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(114)) goto parse_towerList;
        if (input->ExpectTag(122)) goto parse_weaponList;
        break;
      }

      // repeated .client2world_protocols.weaponInfo weaponList = 15;
      case 15: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_weaponList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_weaponlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(122)) goto parse_weaponList;
        if (input->ExpectTag(128)) goto parse_starCount;
        break;
      }

      // optional int32 starCount = 16;
      case 16: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_starCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starcount_)));
          set_has_starcount();
        } 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_kill_demons_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 trialScore = 5;
  if (has_trialscore()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->trialscore(), output);
  }

  // optional int32 trialScoreHistory = 6;
  if (has_trialscorehistory()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->trialscorehistory(), output);
  }

  // optional int32 swordEnergy = 7;
  if (has_swordenergy()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->swordenergy(), output);
  }

  // optional int32 smeltTimes = 8;
  if (has_smelttimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->smelttimes(), output);
  }

  // optional int32 huntDemonScore = 9;
  if (has_huntdemonscore()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->huntdemonscore(), output);
  }

  // repeated bool receiveTrial = 10;
  for (int i = 0; i < this->receivetrial_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      10, this->receivetrial(i), output);
  }

  // repeated bool receiveSwordEnergy = 11;
  for (int i = 0; i < this->receiveswordenergy_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      11, this->receiveswordenergy(i), output);
  }

  // repeated bool receiveStar = 12;
  for (int i = 0; i < this->receivestar_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      12, this->receivestar(i), output);
  }

  // repeated .client2world_protocols.demonTowerInfo towerList = 14;
  for (int i = 0; i < this->towerlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      14, this->towerlist(i), output);
  }

  // repeated .client2world_protocols.weaponInfo weaponList = 15;
  for (int i = 0; i < this->weaponlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      15, this->weaponlist(i), output);
  }

  // optional int32 starCount = 16;
  if (has_starcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->starcount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_kill_demons_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 trialScore = 5;
  if (has_trialscore()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->trialscore(), target);
  }

  // optional int32 trialScoreHistory = 6;
  if (has_trialscorehistory()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->trialscorehistory(), target);
  }

  // optional int32 swordEnergy = 7;
  if (has_swordenergy()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->swordenergy(), target);
  }

  // optional int32 smeltTimes = 8;
  if (has_smelttimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->smelttimes(), target);
  }

  // optional int32 huntDemonScore = 9;
  if (has_huntdemonscore()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->huntdemonscore(), target);
  }

  // repeated bool receiveTrial = 10;
  for (int i = 0; i < this->receivetrial_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(10, this->receivetrial(i), target);
  }

  // repeated bool receiveSwordEnergy = 11;
  for (int i = 0; i < this->receiveswordenergy_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(11, this->receiveswordenergy(i), target);
  }

  // repeated bool receiveStar = 12;
  for (int i = 0; i < this->receivestar_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(12, this->receivestar(i), target);
  }

  // repeated .client2world_protocols.demonTowerInfo towerList = 14;
  for (int i = 0; i < this->towerlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        14, this->towerlist(i), target);
  }

  // repeated .client2world_protocols.weaponInfo weaponList = 15;
  for (int i = 0; i < this->weaponlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        15, this->weaponlist(i), target);
  }

  // optional int32 starCount = 16;
  if (has_starcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->starcount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_kill_demons_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_w2c_syn_kill_demons_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 trialScore = 5;
    if (has_trialscore()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->trialscore());
    }

    // optional int32 trialScoreHistory = 6;
    if (has_trialscorehistory()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->trialscorehistory());
    }

    // optional int32 swordEnergy = 7;
    if (has_swordenergy()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->swordenergy());
    }

    // optional int32 smeltTimes = 8;
    if (has_smelttimes()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->smelttimes());
    }

  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    // optional int32 huntDemonScore = 9;
    if (has_huntdemonscore()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->huntdemonscore());
    }

    // optional int32 starCount = 16;
    if (has_starcount()) {
      total_size += 2 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starcount());
    }

  }
  // repeated bool receiveTrial = 10;
  {
    int data_size = 0;
    data_size = 1 * this->receivetrial_size();
    total_size += 1 * this->receivetrial_size() + data_size;
  }

  // repeated bool receiveSwordEnergy = 11;
  {
    int data_size = 0;
    data_size = 1 * this->receiveswordenergy_size();
    total_size += 1 * this->receiveswordenergy_size() + data_size;
  }

  // repeated bool receiveStar = 12;
  {
    int data_size = 0;
    data_size = 1 * this->receivestar_size();
    total_size += 1 * this->receivestar_size() + data_size;
  }

  // repeated .client2world_protocols.demonTowerInfo towerList = 14;
  total_size += 1 * this->towerlist_size();
  for (int i = 0; i < this->towerlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->towerlist(i));
  }

  // repeated .client2world_protocols.weaponInfo weaponList = 15;
  total_size += 1 * this->weaponlist_size();
  for (int i = 0; i < this->weaponlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->weaponlist(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_syn_kill_demons_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_kill_demons_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_kill_demons_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_kill_demons_info::MergeFrom(const packetw2c_syn_kill_demons_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  receivetrial_.MergeFrom(from.receivetrial_);
  receiveswordenergy_.MergeFrom(from.receiveswordenergy_);
  receivestar_.MergeFrom(from.receivestar_);
  towerlist_.MergeFrom(from.towerlist_);
  weaponlist_.MergeFrom(from.weaponlist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_trialscore()) {
      set_trialscore(from.trialscore());
    }
    if (from.has_trialscorehistory()) {
      set_trialscorehistory(from.trialscorehistory());
    }
    if (from.has_swordenergy()) {
      set_swordenergy(from.swordenergy());
    }
    if (from.has_smelttimes()) {
      set_smelttimes(from.smelttimes());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_huntdemonscore()) {
      set_huntdemonscore(from.huntdemonscore());
    }
    if (from.has_starcount()) {
      set_starcount(from.starcount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_kill_demons_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_kill_demons_info::CopyFrom(const packetw2c_syn_kill_demons_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_kill_demons_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_kill_demons_info::Swap(packetw2c_syn_kill_demons_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(trialscore_, other->trialscore_);
    std::swap(trialscorehistory_, other->trialscorehistory_);
    std::swap(swordenergy_, other->swordenergy_);
    std::swap(smelttimes_, other->smelttimes_);
    std::swap(huntdemonscore_, other->huntdemonscore_);
    receivetrial_.Swap(&other->receivetrial_);
    receiveswordenergy_.Swap(&other->receiveswordenergy_);
    receivestar_.Swap(&other->receivestar_);
    towerlist_.Swap(&other->towerlist_);
    weaponlist_.Swap(&other->weaponlist_);
    std::swap(starcount_, other->starcount_);
    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_kill_demons_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_kill_demons_info_descriptor_;
  metadata.reflection = packetw2c_syn_kill_demons_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_kill_demons_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_kill_demons_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_kill_demons_quest_award::packetc2w_recv_kill_demons_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_kill_demons_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_kill_demons_quest_award::packetc2w_recv_kill_demons_quest_award(const packetc2w_recv_kill_demons_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_kill_demons_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5206;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_kill_demons_quest_award::~packetc2w_recv_kill_demons_quest_award() {
  SharedDtor();
}

void packetc2w_recv_kill_demons_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_kill_demons_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_kill_demons_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_kill_demons_quest_award_descriptor_;
}

const packetc2w_recv_kill_demons_quest_award& packetc2w_recv_kill_demons_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_kill_demons_quest_award* packetc2w_recv_kill_demons_quest_award::default_instance_ = NULL;

packetc2w_recv_kill_demons_quest_award* packetc2w_recv_kill_demons_quest_award::New() const {
  return new packetc2w_recv_kill_demons_quest_award;
}

void packetc2w_recv_kill_demons_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5206;
    questid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_kill_demons_quest_award::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_kill_demons_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } 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_kill_demons_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_kill_demons_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_kill_demons_quest_award::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_kill_demons_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  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_kill_demons_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_kill_demons_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_kill_demons_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_kill_demons_quest_award::MergeFrom(const packetc2w_recv_kill_demons_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_kill_demons_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_kill_demons_quest_award::CopyFrom(const packetc2w_recv_kill_demons_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_kill_demons_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_kill_demons_quest_award::Swap(packetc2w_recv_kill_demons_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    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_kill_demons_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_kill_demons_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_kill_demons_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_kill_demons_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_kill_demons_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_kill_demons_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_kill_demons_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_kill_demons_quest_award_result::packetw2c_recv_kill_demons_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_kill_demons_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_kill_demons_quest_award_result::packetw2c_recv_kill_demons_quest_award_result(const packetw2c_recv_kill_demons_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_kill_demons_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7739;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_kill_demons_quest_award_result::~packetw2c_recv_kill_demons_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_kill_demons_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_kill_demons_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_kill_demons_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_kill_demons_quest_award_result_descriptor_;
}

const packetw2c_recv_kill_demons_quest_award_result& packetw2c_recv_kill_demons_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_kill_demons_quest_award_result* packetw2c_recv_kill_demons_quest_award_result::default_instance_ = NULL;

packetw2c_recv_kill_demons_quest_award_result* packetw2c_recv_kill_demons_quest_award_result::New() const {
  return new packetw2c_recv_kill_demons_quest_award_result;
}

void packetw2c_recv_kill_demons_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7739;
    result_ = 0;
    questid_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_kill_demons_quest_award_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_kill_demons_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 6;
      case 6: {
        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(50)) goto parse_items;
        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_kill_demons_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 6;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_kill_demons_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 6;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_kill_demons_quest_award_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_kill_demons_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  // repeated .msg_info_def.ItemInfo items = 6;
  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_recv_kill_demons_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_kill_demons_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_kill_demons_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_kill_demons_quest_award_result::MergeFrom(const packetw2c_recv_kill_demons_quest_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_kill_demons_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_kill_demons_quest_award_result::CopyFrom(const packetw2c_recv_kill_demons_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_kill_demons_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_kill_demons_quest_award_result::Swap(packetw2c_recv_kill_demons_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    items_.Swap(&other->items_);
    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_kill_demons_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_kill_demons_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_kill_demons_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_trial_score_award::kPacketIdFieldNumber;
const int packetc2w_recv_trial_score_award::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_trial_score_award::packetc2w_recv_trial_score_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_trial_score_award::InitAsDefaultInstance() {
}

packetc2w_recv_trial_score_award::packetc2w_recv_trial_score_award(const packetc2w_recv_trial_score_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_trial_score_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5211;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_trial_score_award::~packetc2w_recv_trial_score_award() {
  SharedDtor();
}

void packetc2w_recv_trial_score_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_trial_score_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_trial_score_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_trial_score_award_descriptor_;
}

const packetc2w_recv_trial_score_award& packetc2w_recv_trial_score_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_trial_score_award* packetc2w_recv_trial_score_award::default_instance_ = NULL;

packetc2w_recv_trial_score_award* packetc2w_recv_trial_score_award::New() const {
  return new packetc2w_recv_trial_score_award;
}

void packetc2w_recv_trial_score_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5211;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_trial_score_award::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_trial_score_award];
      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_trial_score_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award];
  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_trial_score_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award];
  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_trial_score_award::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_trial_score_award];
    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_trial_score_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_trial_score_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_trial_score_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_trial_score_award::MergeFrom(const packetc2w_recv_trial_score_award& 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_trial_score_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_trial_score_award::CopyFrom(const packetc2w_recv_trial_score_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_trial_score_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_trial_score_award::Swap(packetc2w_recv_trial_score_award* 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_trial_score_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_trial_score_award_descriptor_;
  metadata.reflection = packetc2w_recv_trial_score_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_trial_score_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_trial_score_award_result::kResultFieldNumber;
const int packetw2c_recv_trial_score_award_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_trial_score_award_result::packetw2c_recv_trial_score_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_trial_score_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_trial_score_award_result::packetw2c_recv_trial_score_award_result(const packetw2c_recv_trial_score_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_trial_score_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7744;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_trial_score_award_result::~packetw2c_recv_trial_score_award_result() {
  SharedDtor();
}

void packetw2c_recv_trial_score_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_trial_score_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_trial_score_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_trial_score_award_result_descriptor_;
}

const packetw2c_recv_trial_score_award_result& packetw2c_recv_trial_score_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_trial_score_award_result* packetw2c_recv_trial_score_award_result::default_instance_ = NULL;

packetw2c_recv_trial_score_award_result* packetw2c_recv_trial_score_award_result::New() const {
  return new packetw2c_recv_trial_score_award_result;
}

void packetw2c_recv_trial_score_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7744;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_trial_score_award_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_trial_score_award_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_trial_score_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_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_trial_score_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_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_trial_score_award_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_trial_score_award_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_trial_score_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_trial_score_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_trial_score_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_trial_score_award_result::MergeFrom(const packetw2c_recv_trial_score_award_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_trial_score_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_trial_score_award_result::CopyFrom(const packetw2c_recv_trial_score_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_trial_score_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_trial_score_award_result::Swap(packetw2c_recv_trial_score_award_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_trial_score_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_trial_score_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_trial_score_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_star_award::kPacketIdFieldNumber;
const int packetc2w_recv_star_award::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_star_award::packetc2w_recv_star_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_star_award::InitAsDefaultInstance() {
}

packetc2w_recv_star_award::packetc2w_recv_star_award(const packetc2w_recv_star_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_star_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5212;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_star_award::~packetc2w_recv_star_award() {
  SharedDtor();
}

void packetc2w_recv_star_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_star_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_star_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_star_award_descriptor_;
}

const packetc2w_recv_star_award& packetc2w_recv_star_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_star_award* packetc2w_recv_star_award::default_instance_ = NULL;

packetc2w_recv_star_award* packetc2w_recv_star_award::New() const {
  return new packetc2w_recv_star_award;
}

void packetc2w_recv_star_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5212;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_star_award::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_star_award];
      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_star_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award];
  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_star_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award];
  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_star_award::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_star_award];
    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_star_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_star_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_star_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_star_award::MergeFrom(const packetc2w_recv_star_award& 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_star_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_star_award::CopyFrom(const packetc2w_recv_star_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_star_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_star_award::Swap(packetc2w_recv_star_award* 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_star_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_star_award_descriptor_;
  metadata.reflection = packetc2w_recv_star_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_star_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_star_award_result::kResultFieldNumber;
const int packetw2c_recv_star_award_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_star_award_result::packetw2c_recv_star_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_star_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_star_award_result::packetw2c_recv_star_award_result(const packetw2c_recv_star_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_star_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7745;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_star_award_result::~packetw2c_recv_star_award_result() {
  SharedDtor();
}

void packetw2c_recv_star_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_star_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_star_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_star_award_result_descriptor_;
}

const packetw2c_recv_star_award_result& packetw2c_recv_star_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_star_award_result* packetw2c_recv_star_award_result::default_instance_ = NULL;

packetw2c_recv_star_award_result* packetw2c_recv_star_award_result::New() const {
  return new packetw2c_recv_star_award_result;
}

void packetw2c_recv_star_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7745;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_star_award_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_star_award_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_star_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_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_star_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_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_star_award_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_star_award_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_star_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_star_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_star_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_star_award_result::MergeFrom(const packetw2c_recv_star_award_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_star_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_star_award_result::CopyFrom(const packetw2c_recv_star_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_star_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_star_award_result::Swap(packetw2c_recv_star_award_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_star_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_star_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_star_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_attack_demon::kPacketIdFieldNumber;
const int packetc2w_attack_demon::kFloorFieldNumber;
const int packetc2w_attack_demon::kIsHangUpFieldNumber;
const int packetc2w_attack_demon::kWeaponIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_attack_demon::packetc2w_attack_demon()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_attack_demon::InitAsDefaultInstance() {
}

packetc2w_attack_demon::packetc2w_attack_demon(const packetc2w_attack_demon& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_attack_demon::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5207;
  floor_ = 0;
  ishangup_ = false;
  weaponid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_attack_demon::~packetc2w_attack_demon() {
  SharedDtor();
}

void packetc2w_attack_demon::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_attack_demon::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_attack_demon::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_attack_demon_descriptor_;
}

const packetc2w_attack_demon& packetc2w_attack_demon::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_attack_demon* packetc2w_attack_demon::default_instance_ = NULL;

packetc2w_attack_demon* packetc2w_attack_demon::New() const {
  return new packetc2w_attack_demon;
}

void packetc2w_attack_demon::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5207;
    floor_ = 0;
    ishangup_ = false;
    weaponid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_attack_demon::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_attack_demon];
      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_floor;
        break;
      }

      // optional int32 floor = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_floor:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &floor_)));
          set_has_floor();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_isHangUp;
        break;
      }

      // optional bool isHangUp = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_isHangUp:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &ishangup_)));
          set_has_ishangup();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_weaponId;
        break;
      }

      // optional int32 weaponId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weaponId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &weaponid_)));
          set_has_weaponid();
        } 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_attack_demon::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 floor = 2;
  if (has_floor()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->floor(), output);
  }

  // optional bool isHangUp = 3;
  if (has_ishangup()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ishangup(), output);
  }

  // optional int32 weaponId = 4;
  if (has_weaponid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->weaponid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_attack_demon::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 floor = 2;
  if (has_floor()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->floor(), target);
  }

  // optional bool isHangUp = 3;
  if (has_ishangup()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ishangup(), target);
  }

  // optional int32 weaponId = 4;
  if (has_weaponid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->weaponid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_attack_demon::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_attack_demon];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 floor = 2;
    if (has_floor()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->floor());
    }

    // optional bool isHangUp = 3;
    if (has_ishangup()) {
      total_size += 1 + 1;
    }

    // optional int32 weaponId = 4;
    if (has_weaponid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weaponid());
    }

  }
  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_attack_demon::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_attack_demon* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_attack_demon*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_attack_demon::MergeFrom(const packetc2w_attack_demon& 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_floor()) {
      set_floor(from.floor());
    }
    if (from.has_ishangup()) {
      set_ishangup(from.ishangup());
    }
    if (from.has_weaponid()) {
      set_weaponid(from.weaponid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_attack_demon::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_attack_demon::CopyFrom(const packetc2w_attack_demon& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_attack_demon::IsInitialized() const {

  return true;
}

void packetc2w_attack_demon::Swap(packetc2w_attack_demon* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(floor_, other->floor_);
    std::swap(ishangup_, other->ishangup_);
    std::swap(weaponid_, other->weaponid_);
    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_attack_demon::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_attack_demon_descriptor_;
  metadata.reflection = packetc2w_attack_demon_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_attack_demon_result::kPacketIdFieldNumber;
const int packetw2c_attack_demon_result::kResultFieldNumber;
const int packetw2c_attack_demon_result::kFloorFieldNumber;
const int packetw2c_attack_demon_result::kIsHangUpFieldNumber;
const int packetw2c_attack_demon_result::kWeaponIdFieldNumber;
const int packetw2c_attack_demon_result::kHarmValueFieldNumber;
const int packetw2c_attack_demon_result::kCurRoundFieldNumber;
const int packetw2c_attack_demon_result::kLeftLifeFieldNumber;
const int packetw2c_attack_demon_result::kBalanceStarFieldNumber;
const int packetw2c_attack_demon_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_attack_demon_result::packetw2c_attack_demon_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_attack_demon_result::InitAsDefaultInstance() {
}

packetw2c_attack_demon_result::packetw2c_attack_demon_result(const packetw2c_attack_demon_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_attack_demon_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7740;
  result_ = 0;
  floor_ = 0;
  ishangup_ = false;
  curround_ = 0;
  leftlife_ = 0;
  balancestar_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_attack_demon_result::~packetw2c_attack_demon_result() {
  SharedDtor();
}

void packetw2c_attack_demon_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_attack_demon_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_attack_demon_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_attack_demon_result_descriptor_;
}

const packetw2c_attack_demon_result& packetw2c_attack_demon_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_attack_demon_result* packetw2c_attack_demon_result::default_instance_ = NULL;

packetw2c_attack_demon_result* packetw2c_attack_demon_result::New() const {
  return new packetw2c_attack_demon_result;
}

void packetw2c_attack_demon_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7740;
    result_ = 0;
    floor_ = 0;
    ishangup_ = false;
    curround_ = 0;
    leftlife_ = 0;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    balancestar_ = 0;
  }
  weaponid_.Clear();
  harmvalue_.Clear();
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_attack_demon_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_attack_demon_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_floor;
        break;
      }

      // optional int32 floor = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_floor:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &floor_)));
          set_has_floor();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_isHangUp;
        break;
      }

      // optional bool isHangUp = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_isHangUp:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &ishangup_)));
          set_has_ishangup();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_weaponId;
        break;
      }

      // repeated int32 weaponId = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weaponId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_weaponid())));
        } 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_weaponid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_weaponId;
        if (input->ExpectTag(48)) goto parse_harmValue;
        break;
      }

      // repeated int32 harmValue = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_harmValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 48, input, this->mutable_harmvalue())));
        } 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_harmvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_harmValue;
        if (input->ExpectTag(56)) goto parse_curRound;
        break;
      }

      // optional int32 curRound = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curRound:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curround_)));
          set_has_curround();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_LeftLife;
        break;
      }

      // optional int32 LeftLife = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_LeftLife:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &leftlife_)));
          set_has_leftlife();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_balanceStar;
        break;
      }

      // optional int32 balanceStar = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_balanceStar:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &balancestar_)));
          set_has_balancestar();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(82)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 10;
      case 10: {
        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(82)) goto parse_items;
        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_attack_demon_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_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 floor = 3;
  if (has_floor()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->floor(), output);
  }

  // optional bool isHangUp = 4;
  if (has_ishangup()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->ishangup(), output);
  }

  // repeated int32 weaponId = 5;
  for (int i = 0; i < this->weaponid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->weaponid(i), output);
  }

  // repeated int32 harmValue = 6;
  for (int i = 0; i < this->harmvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      6, this->harmvalue(i), output);
  }

  // optional int32 curRound = 7;
  if (has_curround()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->curround(), output);
  }

  // optional int32 LeftLife = 8;
  if (has_leftlife()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->leftlife(), output);
  }

  // optional int32 balanceStar = 9;
  if (has_balancestar()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->balancestar(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 10;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      10, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_attack_demon_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_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 floor = 3;
  if (has_floor()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->floor(), target);
  }

  // optional bool isHangUp = 4;
  if (has_ishangup()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->ishangup(), target);
  }

  // repeated int32 weaponId = 5;
  for (int i = 0; i < this->weaponid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->weaponid(i), target);
  }

  // repeated int32 harmValue = 6;
  for (int i = 0; i < this->harmvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(6, this->harmvalue(i), target);
  }

  // optional int32 curRound = 7;
  if (has_curround()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->curround(), target);
  }

  // optional int32 LeftLife = 8;
  if (has_leftlife()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->leftlife(), target);
  }

  // optional int32 balanceStar = 9;
  if (has_balancestar()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->balancestar(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 10;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        10, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_attack_demon_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_attack_demon_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 floor = 3;
    if (has_floor()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->floor());
    }

    // optional bool isHangUp = 4;
    if (has_ishangup()) {
      total_size += 1 + 1;
    }

    // optional int32 curRound = 7;
    if (has_curround()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curround());
    }

    // optional int32 LeftLife = 8;
    if (has_leftlife()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->leftlife());
    }

  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    // optional int32 balanceStar = 9;
    if (has_balancestar()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->balancestar());
    }

  }
  // repeated int32 weaponId = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->weaponid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->weaponid(i));
    }
    total_size += 1 * this->weaponid_size() + data_size;
  }

  // repeated int32 harmValue = 6;
  {
    int data_size = 0;
    for (int i = 0; i < this->harmvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->harmvalue(i));
    }
    total_size += 1 * this->harmvalue_size() + data_size;
  }

  // repeated .msg_info_def.ItemInfo items = 10;
  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_attack_demon_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_attack_demon_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_attack_demon_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_attack_demon_result::MergeFrom(const packetw2c_attack_demon_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  weaponid_.MergeFrom(from.weaponid_);
  harmvalue_.MergeFrom(from.harmvalue_);
  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_floor()) {
      set_floor(from.floor());
    }
    if (from.has_ishangup()) {
      set_ishangup(from.ishangup());
    }
    if (from.has_curround()) {
      set_curround(from.curround());
    }
    if (from.has_leftlife()) {
      set_leftlife(from.leftlife());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_balancestar()) {
      set_balancestar(from.balancestar());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_attack_demon_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_attack_demon_result::CopyFrom(const packetw2c_attack_demon_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_attack_demon_result::IsInitialized() const {

  return true;
}

void packetw2c_attack_demon_result::Swap(packetw2c_attack_demon_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(floor_, other->floor_);
    std::swap(ishangup_, other->ishangup_);
    weaponid_.Swap(&other->weaponid_);
    harmvalue_.Swap(&other->harmvalue_);
    std::swap(curround_, other->curround_);
    std::swap(leftlife_, other->leftlife_);
    std::swap(balancestar_, other->balancestar_);
    items_.Swap(&other->items_);
    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_attack_demon_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_attack_demon_result_descriptor_;
  metadata.reflection = packetw2c_attack_demon_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_kill_demons_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_kill_demons_rank::packetc2w_get_kill_demons_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_kill_demons_rank::InitAsDefaultInstance() {
}

packetc2w_get_kill_demons_rank::packetc2w_get_kill_demons_rank(const packetc2w_get_kill_demons_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_kill_demons_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5208;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_kill_demons_rank::~packetc2w_get_kill_demons_rank() {
  SharedDtor();
}

void packetc2w_get_kill_demons_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_kill_demons_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_kill_demons_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_kill_demons_rank_descriptor_;
}

const packetc2w_get_kill_demons_rank& packetc2w_get_kill_demons_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_kill_demons_rank* packetc2w_get_kill_demons_rank::default_instance_ = NULL;

packetc2w_get_kill_demons_rank* packetc2w_get_kill_demons_rank::New() const {
  return new packetc2w_get_kill_demons_rank;
}

void packetc2w_get_kill_demons_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5208;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_kill_demons_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_kill_demons_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
  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_kill_demons_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
  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_kill_demons_rank::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_kill_demons_rank];
    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_kill_demons_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_kill_demons_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_kill_demons_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_kill_demons_rank::MergeFrom(const packetc2w_get_kill_demons_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_kill_demons_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_kill_demons_rank::CopyFrom(const packetc2w_get_kill_demons_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_kill_demons_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_kill_demons_rank::Swap(packetc2w_get_kill_demons_rank* 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_kill_demons_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_kill_demons_rank_descriptor_;
  metadata.reflection = packetc2w_get_kill_demons_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_kill_demons_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_kill_demons_rank_result::kRankListFieldNumber;
const int packetw2c_get_kill_demons_rank_result::kThresholdValueFieldNumber;
const int packetw2c_get_kill_demons_rank_result::kMyRankFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_kill_demons_rank_result::packetw2c_get_kill_demons_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_kill_demons_rank_result::InitAsDefaultInstance() {
  myrank_ = const_cast< ::client2world_protocols::activity_rank*>(&::client2world_protocols::activity_rank::default_instance());
}

packetw2c_get_kill_demons_rank_result::packetw2c_get_kill_demons_rank_result(const packetw2c_get_kill_demons_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_kill_demons_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7741;
  myrank_ = NULL;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_kill_demons_rank_result::~packetw2c_get_kill_demons_rank_result() {
  SharedDtor();
}

void packetw2c_get_kill_demons_rank_result::SharedDtor() {
  if (this != default_instance_) {
    delete myrank_;
  }
}

void packetw2c_get_kill_demons_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_kill_demons_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_kill_demons_rank_result_descriptor_;
}

const packetw2c_get_kill_demons_rank_result& packetw2c_get_kill_demons_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_kill_demons_rank_result* packetw2c_get_kill_demons_rank_result::default_instance_ = NULL;

packetw2c_get_kill_demons_rank_result* packetw2c_get_kill_demons_rank_result::New() const {
  return new packetw2c_get_kill_demons_rank_result;
}

void packetw2c_get_kill_demons_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7741;
    if (has_myrank()) {
      if (myrank_ != NULL) myrank_->::client2world_protocols::activity_rank::Clear();
    }
  }
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_kill_demons_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 24, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_thresholdValue;
        if (input->ExpectTag(34)) goto parse_myRank;
        break;
      }

      // optional .client2world_protocols.activity_rank myRank = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_myRank:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_myrank()));
        } 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_kill_demons_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // repeated int32 thresholdValue = 3;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      3, this->thresholdvalue(i), output);
  }

  // optional .client2world_protocols.activity_rank myRank = 4;
  if (has_myrank()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->myrank(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_kill_demons_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // repeated int32 thresholdValue = 3;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(3, this->thresholdvalue(i), target);
  }

  // optional .client2world_protocols.activity_rank myRank = 4;
  if (has_myrank()) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->myrank(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_kill_demons_rank_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_kill_demons_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional .client2world_protocols.activity_rank myRank = 4;
    if (has_myrank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->myrank());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 3;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_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_get_kill_demons_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_kill_demons_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_kill_demons_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_kill_demons_rank_result::MergeFrom(const packetw2c_get_kill_demons_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_myrank()) {
      mutable_myrank()->::client2world_protocols::activity_rank::MergeFrom(from.myrank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_kill_demons_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_kill_demons_rank_result::CopyFrom(const packetw2c_get_kill_demons_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_kill_demons_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_kill_demons_rank_result::Swap(packetw2c_get_kill_demons_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    std::swap(myrank_, other->myrank_);
    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_kill_demons_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_kill_demons_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_kill_demons_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_kill_demons_smelt::kPacketIdFieldNumber;
const int packetc2w_kill_demons_smelt::kSmeltTimesFieldNumber;
#endif  // !_MSC_VER

packetc2w_kill_demons_smelt::packetc2w_kill_demons_smelt()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_kill_demons_smelt::InitAsDefaultInstance() {
}

packetc2w_kill_demons_smelt::packetc2w_kill_demons_smelt(const packetc2w_kill_demons_smelt& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_kill_demons_smelt::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5209;
  smelttimes_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_kill_demons_smelt::~packetc2w_kill_demons_smelt() {
  SharedDtor();
}

void packetc2w_kill_demons_smelt::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_kill_demons_smelt::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_kill_demons_smelt::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_kill_demons_smelt_descriptor_;
}

const packetc2w_kill_demons_smelt& packetc2w_kill_demons_smelt::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_kill_demons_smelt* packetc2w_kill_demons_smelt::default_instance_ = NULL;

packetc2w_kill_demons_smelt* packetc2w_kill_demons_smelt::New() const {
  return new packetc2w_kill_demons_smelt;
}

void packetc2w_kill_demons_smelt::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5209;
    smelttimes_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_kill_demons_smelt::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_kill_demons_smelt];
      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_smeltTimes;
        break;
      }

      // optional int32 smeltTimes = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_smeltTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &smelttimes_)));
          set_has_smelttimes();
        } 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_kill_demons_smelt::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 smeltTimes = 2;
  if (has_smelttimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->smelttimes(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_kill_demons_smelt::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 smeltTimes = 2;
  if (has_smelttimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->smelttimes(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_kill_demons_smelt::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_kill_demons_smelt];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 smeltTimes = 2;
    if (has_smelttimes()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->smelttimes());
    }

  }
  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_kill_demons_smelt::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_kill_demons_smelt* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kill_demons_smelt*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_kill_demons_smelt::MergeFrom(const packetc2w_kill_demons_smelt& 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_smelttimes()) {
      set_smelttimes(from.smelttimes());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_kill_demons_smelt::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_kill_demons_smelt::CopyFrom(const packetc2w_kill_demons_smelt& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_kill_demons_smelt::IsInitialized() const {

  return true;
}

void packetc2w_kill_demons_smelt::Swap(packetc2w_kill_demons_smelt* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(smelttimes_, other->smelttimes_);
    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_kill_demons_smelt::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_kill_demons_smelt_descriptor_;
  metadata.reflection = packetc2w_kill_demons_smelt_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_kill_demons_smelt_result::kPacketIdFieldNumber;
const int packetw2c_kill_demons_smelt_result::kResultFieldNumber;
const int packetw2c_kill_demons_smelt_result::kSmeltTimesFieldNumber;
const int packetw2c_kill_demons_smelt_result::kSmeltRewardFieldNumber;
#endif  // !_MSC_VER

packetw2c_kill_demons_smelt_result::packetw2c_kill_demons_smelt_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_kill_demons_smelt_result::InitAsDefaultInstance() {
}

packetw2c_kill_demons_smelt_result::packetw2c_kill_demons_smelt_result(const packetw2c_kill_demons_smelt_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_kill_demons_smelt_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7742;
  result_ = 0;
  smelttimes_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_kill_demons_smelt_result::~packetw2c_kill_demons_smelt_result() {
  SharedDtor();
}

void packetw2c_kill_demons_smelt_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_kill_demons_smelt_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_kill_demons_smelt_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_kill_demons_smelt_result_descriptor_;
}

const packetw2c_kill_demons_smelt_result& packetw2c_kill_demons_smelt_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_kill_demons_smelt_result* packetw2c_kill_demons_smelt_result::default_instance_ = NULL;

packetw2c_kill_demons_smelt_result* packetw2c_kill_demons_smelt_result::New() const {
  return new packetw2c_kill_demons_smelt_result;
}

void packetw2c_kill_demons_smelt_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7742;
    result_ = 0;
    smelttimes_ = 0;
  }
  smeltreward_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_kill_demons_smelt_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_kill_demons_smelt_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_smeltTimes;
        break;
      }

      // optional int32 smeltTimes = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_smeltTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &smelttimes_)));
          set_has_smelttimes();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_smeltReward;
        break;
      }

      // repeated int32 smeltReward = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_smeltReward:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_smeltreward())));
        } 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_smeltreward())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_smeltReward;
        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_kill_demons_smelt_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_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 smeltTimes = 3;
  if (has_smelttimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->smelttimes(), output);
  }

  // repeated int32 smeltReward = 4;
  for (int i = 0; i < this->smeltreward_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->smeltreward(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_kill_demons_smelt_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_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 smeltTimes = 3;
  if (has_smelttimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->smelttimes(), target);
  }

  // repeated int32 smeltReward = 4;
  for (int i = 0; i < this->smeltreward_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->smeltreward(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_kill_demons_smelt_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_kill_demons_smelt_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 smeltTimes = 3;
    if (has_smelttimes()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->smelttimes());
    }

  }
  // repeated int32 smeltReward = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->smeltreward_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->smeltreward(i));
    }
    total_size += 1 * this->smeltreward_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_kill_demons_smelt_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_kill_demons_smelt_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kill_demons_smelt_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_kill_demons_smelt_result::MergeFrom(const packetw2c_kill_demons_smelt_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  smeltreward_.MergeFrom(from.smeltreward_);
  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_smelttimes()) {
      set_smelttimes(from.smelttimes());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_kill_demons_smelt_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_kill_demons_smelt_result::CopyFrom(const packetw2c_kill_demons_smelt_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_kill_demons_smelt_result::IsInitialized() const {

  return true;
}

void packetw2c_kill_demons_smelt_result::Swap(packetw2c_kill_demons_smelt_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(smelttimes_, other->smelttimes_);
    smeltreward_.Swap(&other->smeltreward_);
    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_kill_demons_smelt_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_kill_demons_smelt_result_descriptor_;
  metadata.reflection = packetw2c_kill_demons_smelt_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_sword_energy_award::kPacketIdFieldNumber;
const int packetc2w_recv_sword_energy_award::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_sword_energy_award::packetc2w_recv_sword_energy_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_sword_energy_award::InitAsDefaultInstance() {
}

packetc2w_recv_sword_energy_award::packetc2w_recv_sword_energy_award(const packetc2w_recv_sword_energy_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_sword_energy_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5210;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_sword_energy_award::~packetc2w_recv_sword_energy_award() {
  SharedDtor();
}

void packetc2w_recv_sword_energy_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_sword_energy_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_sword_energy_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_sword_energy_award_descriptor_;
}

const packetc2w_recv_sword_energy_award& packetc2w_recv_sword_energy_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_sword_energy_award* packetc2w_recv_sword_energy_award::default_instance_ = NULL;

packetc2w_recv_sword_energy_award* packetc2w_recv_sword_energy_award::New() const {
  return new packetc2w_recv_sword_energy_award;
}

void packetc2w_recv_sword_energy_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5210;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_sword_energy_award::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_sword_energy_award];
      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_sword_energy_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
  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_sword_energy_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
  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_sword_energy_award::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_sword_energy_award];
    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_sword_energy_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_sword_energy_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_sword_energy_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_sword_energy_award::MergeFrom(const packetc2w_recv_sword_energy_award& 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_sword_energy_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_sword_energy_award::CopyFrom(const packetc2w_recv_sword_energy_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_sword_energy_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_sword_energy_award::Swap(packetc2w_recv_sword_energy_award* 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_sword_energy_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_sword_energy_award_descriptor_;
  metadata.reflection = packetc2w_recv_sword_energy_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_sword_energy_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_sword_energy_award_result::kResultFieldNumber;
const int packetw2c_recv_sword_energy_award_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_sword_energy_award_result::packetw2c_recv_sword_energy_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_sword_energy_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_sword_energy_award_result::packetw2c_recv_sword_energy_award_result(const packetw2c_recv_sword_energy_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_sword_energy_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7743;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_sword_energy_award_result::~packetw2c_recv_sword_energy_award_result() {
  SharedDtor();
}

void packetw2c_recv_sword_energy_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_sword_energy_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_sword_energy_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_sword_energy_award_result_descriptor_;
}

const packetw2c_recv_sword_energy_award_result& packetw2c_recv_sword_energy_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_sword_energy_award_result* packetw2c_recv_sword_energy_award_result::default_instance_ = NULL;

packetw2c_recv_sword_energy_award_result* packetw2c_recv_sword_energy_award_result::New() const {
  return new packetw2c_recv_sword_energy_award_result;
}

void packetw2c_recv_sword_energy_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7743;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_sword_energy_award_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_sword_energy_award_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_sword_energy_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_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_sword_energy_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_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_sword_energy_award_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_sword_energy_award_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_sword_energy_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_sword_energy_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_sword_energy_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_sword_energy_award_result::MergeFrom(const packetw2c_recv_sword_energy_award_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_sword_energy_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_sword_energy_award_result::CopyFrom(const packetw2c_recv_sword_energy_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_sword_energy_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_sword_energy_award_result::Swap(packetw2c_recv_sword_energy_award_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_sword_energy_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_sword_energy_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_sword_energy_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_kill_demons_task::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_kill_demons_task::packetc2w_kill_demons_task()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_kill_demons_task::InitAsDefaultInstance() {
}

packetc2w_kill_demons_task::packetc2w_kill_demons_task(const packetc2w_kill_demons_task& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_kill_demons_task::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5248;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_kill_demons_task::~packetc2w_kill_demons_task() {
  SharedDtor();
}

void packetc2w_kill_demons_task::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_kill_demons_task::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_kill_demons_task::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_kill_demons_task_descriptor_;
}

const packetc2w_kill_demons_task& packetc2w_kill_demons_task::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_kill_demons_task* packetc2w_kill_demons_task::default_instance_ = NULL;

packetc2w_kill_demons_task* packetc2w_kill_demons_task::New() const {
  return new packetc2w_kill_demons_task;
}

void packetc2w_kill_demons_task::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5248;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_kill_demons_task::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_kill_demons_task];
      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_kill_demons_task::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
  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_kill_demons_task::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
  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_kill_demons_task::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_kill_demons_task];
    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_kill_demons_task::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_kill_demons_task* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kill_demons_task*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_kill_demons_task::MergeFrom(const packetc2w_kill_demons_task& 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_kill_demons_task::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_kill_demons_task::CopyFrom(const packetc2w_kill_demons_task& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_kill_demons_task::IsInitialized() const {

  return true;
}

void packetc2w_kill_demons_task::Swap(packetc2w_kill_demons_task* 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_kill_demons_task::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_kill_demons_task_descriptor_;
  metadata.reflection = packetc2w_kill_demons_task_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_kill_demons_task_result::kPacketIdFieldNumber;
const int packetw2c_kill_demons_task_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_kill_demons_task_result::packetw2c_kill_demons_task_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_kill_demons_task_result::InitAsDefaultInstance() {
}

packetw2c_kill_demons_task_result::packetw2c_kill_demons_task_result(const packetw2c_kill_demons_task_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_kill_demons_task_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7795;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_kill_demons_task_result::~packetw2c_kill_demons_task_result() {
  SharedDtor();
}

void packetw2c_kill_demons_task_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_kill_demons_task_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_kill_demons_task_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_kill_demons_task_result_descriptor_;
}

const packetw2c_kill_demons_task_result& packetw2c_kill_demons_task_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_kill_demons_task_result* packetw2c_kill_demons_task_result::default_instance_ = NULL;

packetw2c_kill_demons_task_result* packetw2c_kill_demons_task_result::New() const {
  return new packetw2c_kill_demons_task_result;
}

void packetw2c_kill_demons_task_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7795;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_kill_demons_task_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_kill_demons_task_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_kill_demons_task_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_kill_demons_task_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_kill_demons_task_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_kill_demons_task_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_kill_demons_task_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_kill_demons_task_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kill_demons_task_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_kill_demons_task_result::MergeFrom(const packetw2c_kill_demons_task_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_kill_demons_task_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_kill_demons_task_result::CopyFrom(const packetw2c_kill_demons_task_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_kill_demons_task_result::IsInitialized() const {

  return true;
}

void packetw2c_kill_demons_task_result::Swap(packetw2c_kill_demons_task_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_kill_demons_task_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_kill_demons_task_result_descriptor_;
  metadata.reflection = packetw2c_kill_demons_task_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_2020_national_info::kPacketIdFieldNumber;
const int packetw2c_syn_2020_national_info::kActivityStateFieldNumber;
const int packetw2c_syn_2020_national_info::kStartTimeFieldNumber;
const int packetw2c_syn_2020_national_info::kEndTimeFieldNumber;
const int packetw2c_syn_2020_national_info::kSignCountFieldNumber;
const int packetw2c_syn_2020_national_info::kCanSignFieldNumber;
const int packetw2c_syn_2020_national_info::kHandbooksAwardStatFieldNumber;
const int packetw2c_syn_2020_national_info::kHandbooksStatFieldNumber;
const int packetw2c_syn_2020_national_info::kPaddyCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_2020_national_info::packetw2c_syn_2020_national_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_2020_national_info::InitAsDefaultInstance() {
}

packetw2c_syn_2020_national_info::packetw2c_syn_2020_national_info(const packetw2c_syn_2020_national_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_2020_national_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7746;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  signcount_ = 0;
  cansign_ = false;
  paddycount_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_2020_national_info::~packetw2c_syn_2020_national_info() {
  SharedDtor();
}

void packetw2c_syn_2020_national_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_2020_national_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_2020_national_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_2020_national_info_descriptor_;
}

const packetw2c_syn_2020_national_info& packetw2c_syn_2020_national_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_2020_national_info* packetw2c_syn_2020_national_info::default_instance_ = NULL;

packetw2c_syn_2020_national_info* packetw2c_syn_2020_national_info::New() const {
  return new packetw2c_syn_2020_national_info;
}

void packetw2c_syn_2020_national_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7746;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    signcount_ = 0;
    cansign_ = false;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    paddycount_ = 0;
  }
  handbooksawardstat_.Clear();
  handbooksstat_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_2020_national_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_w2c_syn_2020_national_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_signCount;
        break;
      }

      // optional int32 signCount = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signcount_)));
          set_has_signcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_canSign;
        break;
      }

      // optional bool canSign = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_canSign:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &cansign_)));
          set_has_cansign();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
        break;
      }

      // repeated bool handbooksAwardStat = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksAwardStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 64, input, this->mutable_handbooksawardstat())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_handbooksawardstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
        if (input->ExpectTag(72)) goto parse_handbooksStat;
        break;
      }

      // repeated int32 handbooksStat = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksStat:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 72, input, this->mutable_handbooksstat())));
        } 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_handbooksstat())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_handbooksStat;
        if (input->ExpectTag(80)) goto parse_paddyCount;
        break;
      }

      // optional int32 paddyCount = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_paddyCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &paddycount_)));
          set_has_paddycount();
        } 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_2020_national_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 signCount = 5;
  if (has_signcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->signcount(), output);
  }

  // optional bool canSign = 6;
  if (has_cansign()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->cansign(), output);
  }

  // repeated bool handbooksAwardStat = 8;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      8, this->handbooksawardstat(i), output);
  }

  // repeated int32 handbooksStat = 9;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      9, this->handbooksstat(i), output);
  }

  // optional int32 paddyCount = 10;
  if (has_paddycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->paddycount(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_2020_national_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 signCount = 5;
  if (has_signcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->signcount(), target);
  }

  // optional bool canSign = 6;
  if (has_cansign()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->cansign(), target);
  }

  // repeated bool handbooksAwardStat = 8;
  for (int i = 0; i < this->handbooksawardstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(8, this->handbooksawardstat(i), target);
  }

  // repeated int32 handbooksStat = 9;
  for (int i = 0; i < this->handbooksstat_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(9, this->handbooksstat(i), target);
  }

  // optional int32 paddyCount = 10;
  if (has_paddycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->paddycount(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_2020_national_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_w2c_syn_2020_national_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 signCount = 5;
    if (has_signcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signcount());
    }

    // optional bool canSign = 6;
    if (has_cansign()) {
      total_size += 1 + 1;
    }

  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    // optional int32 paddyCount = 10;
    if (has_paddycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->paddycount());
    }

  }
  // repeated bool handbooksAwardStat = 8;
  {
    int data_size = 0;
    data_size = 1 * this->handbooksawardstat_size();
    total_size += 1 * this->handbooksawardstat_size() + data_size;
  }

  // repeated int32 handbooksStat = 9;
  {
    int data_size = 0;
    for (int i = 0; i < this->handbooksstat_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->handbooksstat(i));
    }
    total_size += 1 * this->handbooksstat_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_syn_2020_national_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_2020_national_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_2020_national_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_2020_national_info::MergeFrom(const packetw2c_syn_2020_national_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  handbooksstat_.MergeFrom(from.handbooksstat_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_signcount()) {
      set_signcount(from.signcount());
    }
    if (from.has_cansign()) {
      set_cansign(from.cansign());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_paddycount()) {
      set_paddycount(from.paddycount());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_2020_national_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_2020_national_info::CopyFrom(const packetw2c_syn_2020_national_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_2020_national_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_2020_national_info::Swap(packetw2c_syn_2020_national_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(signcount_, other->signcount_);
    std::swap(cansign_, other->cansign_);
    handbooksawardstat_.Swap(&other->handbooksawardstat_);
    handbooksstat_.Swap(&other->handbooksstat_);
    std::swap(paddycount_, other->paddycount_);
    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_2020_national_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_2020_national_info_descriptor_;
  metadata.reflection = packetw2c_syn_2020_national_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_2020_national_quest::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_2020_national_quest::packetc2w_get_2020_national_quest()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_2020_national_quest::InitAsDefaultInstance() {
}

packetc2w_get_2020_national_quest::packetc2w_get_2020_national_quest(const packetc2w_get_2020_national_quest& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_2020_national_quest::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5255;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_2020_national_quest::~packetc2w_get_2020_national_quest() {
  SharedDtor();
}

void packetc2w_get_2020_national_quest::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_2020_national_quest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_2020_national_quest::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_2020_national_quest_descriptor_;
}

const packetc2w_get_2020_national_quest& packetc2w_get_2020_national_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_2020_national_quest* packetc2w_get_2020_national_quest::default_instance_ = NULL;

packetc2w_get_2020_national_quest* packetc2w_get_2020_national_quest::New() const {
  return new packetc2w_get_2020_national_quest;
}

void packetc2w_get_2020_national_quest::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5255;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_2020_national_quest::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_2020_national_quest];
      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_2020_national_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
  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_2020_national_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
  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_2020_national_quest::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_2020_national_quest];
    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_2020_national_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_2020_national_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_2020_national_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_2020_national_quest::MergeFrom(const packetc2w_get_2020_national_quest& 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_2020_national_quest::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_2020_national_quest::CopyFrom(const packetc2w_get_2020_national_quest& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_2020_national_quest::IsInitialized() const {

  return true;
}

void packetc2w_get_2020_national_quest::Swap(packetc2w_get_2020_national_quest* 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_2020_national_quest::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_2020_national_quest_descriptor_;
  metadata.reflection = packetc2w_get_2020_national_quest_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_2020_national_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_2020_national_quest_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_2020_national_quest_result::packetw2c_get_2020_national_quest_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_2020_national_quest_result::InitAsDefaultInstance() {
}

packetw2c_get_2020_national_quest_result::packetw2c_get_2020_national_quest_result(const packetw2c_get_2020_national_quest_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_2020_national_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7803;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_2020_national_quest_result::~packetw2c_get_2020_national_quest_result() {
  SharedDtor();
}

void packetw2c_get_2020_national_quest_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_2020_national_quest_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_2020_national_quest_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_2020_national_quest_result_descriptor_;
}

const packetw2c_get_2020_national_quest_result& packetw2c_get_2020_national_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_2020_national_quest_result* packetw2c_get_2020_national_quest_result::default_instance_ = NULL;

packetw2c_get_2020_national_quest_result* packetw2c_get_2020_national_quest_result::New() const {
  return new packetw2c_get_2020_national_quest_result;
}

void packetw2c_get_2020_national_quest_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7803;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_2020_national_quest_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_2020_national_quest_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_2020_national_quest_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_2020_national_quest_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_2020_national_quest_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_2020_national_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_2020_national_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_2020_national_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_2020_national_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_2020_national_quest_result::MergeFrom(const packetw2c_get_2020_national_quest_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_2020_national_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_2020_national_quest_result::CopyFrom(const packetw2c_get_2020_national_quest_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_2020_national_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_get_2020_national_quest_result::Swap(packetw2c_get_2020_national_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_2020_national_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_2020_national_quest_result_descriptor_;
  metadata.reflection = packetw2c_get_2020_national_quest_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_2020_national_login_reward::kPacketIdFieldNumber;
const int packetc2w_recv_2020_national_login_reward::kSignIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_2020_national_login_reward::packetc2w_recv_2020_national_login_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_2020_national_login_reward::InitAsDefaultInstance() {
}

packetc2w_recv_2020_national_login_reward::packetc2w_recv_2020_national_login_reward(const packetc2w_recv_2020_national_login_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_login_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5213;
  signindex_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_2020_national_login_reward::~packetc2w_recv_2020_national_login_reward() {
  SharedDtor();
}

void packetc2w_recv_2020_national_login_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_2020_national_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_2020_national_login_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_2020_national_login_reward_descriptor_;
}

const packetc2w_recv_2020_national_login_reward& packetc2w_recv_2020_national_login_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_2020_national_login_reward* packetc2w_recv_2020_national_login_reward::default_instance_ = NULL;

packetc2w_recv_2020_national_login_reward* packetc2w_recv_2020_national_login_reward::New() const {
  return new packetc2w_recv_2020_national_login_reward;
}

void packetc2w_recv_2020_national_login_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5213;
    signindex_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_2020_national_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_2020_national_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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_2020_national_login_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_2020_national_login_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_2020_national_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_2020_national_login_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signIndex = 2;
    if (has_signindex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signindex());
    }

  }
  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_2020_national_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_2020_national_login_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_login_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_2020_national_login_reward::MergeFrom(const packetc2w_recv_2020_national_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_signindex()) {
      set_signindex(from.signindex());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_2020_national_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_login_reward::CopyFrom(const packetc2w_recv_2020_national_login_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_2020_national_login_reward::IsInitialized() const {

  return true;
}

void packetc2w_recv_2020_national_login_reward::Swap(packetc2w_recv_2020_national_login_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signindex_, other->signindex_);
    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_2020_national_login_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_2020_national_login_reward_descriptor_;
  metadata.reflection = packetc2w_recv_2020_national_login_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_2020_national_login_reward_result::kPacketIdFieldNumber;
const int packetw2c_recv_2020_national_login_reward_result::kSignIndexFieldNumber;
const int packetw2c_recv_2020_national_login_reward_result::kResultFieldNumber;
const int packetw2c_recv_2020_national_login_reward_result::kExHandbooksIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_2020_national_login_reward_result::packetw2c_recv_2020_national_login_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_2020_national_login_reward_result::InitAsDefaultInstance() {
}

packetw2c_recv_2020_national_login_reward_result::packetw2c_recv_2020_national_login_reward_result(const packetw2c_recv_2020_national_login_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_login_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7747;
  signindex_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_2020_national_login_reward_result::~packetw2c_recv_2020_national_login_reward_result() {
  SharedDtor();
}

void packetw2c_recv_2020_national_login_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_2020_national_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_2020_national_login_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_2020_national_login_reward_result_descriptor_;
}

const packetw2c_recv_2020_national_login_reward_result& packetw2c_recv_2020_national_login_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_2020_national_login_reward_result* packetw2c_recv_2020_national_login_reward_result::default_instance_ = NULL;

packetw2c_recv_2020_national_login_reward_result* packetw2c_recv_2020_national_login_reward_result::New() const {
  return new packetw2c_recv_2020_national_login_reward_result;
}

void packetw2c_recv_2020_national_login_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7747;
    signindex_ = 0;
    result_ = 0;
  }
  exhandbooksid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_2020_national_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_2020_national_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_signIndex;
        break;
      }

      // optional int32 signIndex = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signindex_)));
          set_has_signindex();
        } 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_exHandbooksId;
        break;
      }

      // repeated int32 exHandbooksId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exHandbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_exhandbooksid())));
        } 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_exhandbooksid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_exHandbooksId;
        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_2020_national_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_2020_national_login_reward_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->exhandbooksid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_2020_national_login_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_login_reward_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signIndex = 2;
  if (has_signindex()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  // repeated int32 exHandbooksId = 4;
  for (int i = 0; i < this->exhandbooksid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->exhandbooksid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_2020_national_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_2020_national_login_reward_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signIndex = 2;
    if (has_signindex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signindex());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  // repeated int32 exHandbooksId = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->exhandbooksid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->exhandbooksid(i));
    }
    total_size += 1 * this->exhandbooksid_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_recv_2020_national_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_2020_national_login_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_login_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_2020_national_login_reward_result::MergeFrom(const packetw2c_recv_2020_national_login_reward_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  exhandbooksid_.MergeFrom(from.exhandbooksid_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_signindex()) {
      set_signindex(from.signindex());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_2020_national_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_login_reward_result::CopyFrom(const packetw2c_recv_2020_national_login_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_2020_national_login_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_2020_national_login_reward_result::Swap(packetw2c_recv_2020_national_login_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signindex_, other->signindex_);
    std::swap(result_, other->result_);
    exhandbooksid_.Swap(&other->exhandbooksid_);
    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_2020_national_login_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_2020_national_login_reward_result_descriptor_;
  metadata.reflection = packetw2c_recv_2020_national_login_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_2020_national_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_2020_national_quest_award::kQuestIdFieldNumber;
const int packetc2w_recv_2020_national_quest_award::kReceiveBitFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_2020_national_quest_award::packetc2w_recv_2020_national_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_2020_national_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_2020_national_quest_award::packetc2w_recv_2020_national_quest_award(const packetc2w_recv_2020_national_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5217;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_2020_national_quest_award::~packetc2w_recv_2020_national_quest_award() {
  SharedDtor();
}

void packetc2w_recv_2020_national_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_2020_national_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_2020_national_quest_award_descriptor_;
}

const packetc2w_recv_2020_national_quest_award& packetc2w_recv_2020_national_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_2020_national_quest_award* packetc2w_recv_2020_national_quest_award::default_instance_ = NULL;

packetc2w_recv_2020_national_quest_award* packetc2w_recv_2020_national_quest_award::New() const {
  return new packetc2w_recv_2020_national_quest_award;
}

void packetc2w_recv_2020_national_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5217;
    questid_ = 0;
    receivebit_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_2020_national_quest_award::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_2020_national_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } 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_2020_national_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  // optional int32 receiveBit = 3;
  if (has_receivebit()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->receivebit(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_2020_national_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  // optional int32 receiveBit = 3;
  if (has_receivebit()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->receivebit(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_2020_national_quest_award::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_2020_national_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

    // optional int32 receiveBit = 3;
    if (has_receivebit()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->receivebit());
    }

  }
  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_2020_national_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_2020_national_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_2020_national_quest_award::MergeFrom(const packetc2w_recv_2020_national_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_2020_national_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_quest_award::CopyFrom(const packetc2w_recv_2020_national_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_2020_national_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_2020_national_quest_award::Swap(packetc2w_recv_2020_national_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    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_2020_national_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_2020_national_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_2020_national_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_2020_national_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_2020_national_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_2020_national_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_2020_national_quest_award_result::kReceiveBitFieldNumber;
const int packetw2c_recv_2020_national_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_2020_national_quest_award_result::packetw2c_recv_2020_national_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_2020_national_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_2020_national_quest_award_result::packetw2c_recv_2020_national_quest_award_result(const packetw2c_recv_2020_national_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7748;
  result_ = 0;
  questid_ = 0;
  receivebit_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_2020_national_quest_award_result::~packetw2c_recv_2020_national_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_2020_national_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_2020_national_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_2020_national_quest_award_result_descriptor_;
}

const packetw2c_recv_2020_national_quest_award_result& packetw2c_recv_2020_national_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_2020_national_quest_award_result* packetw2c_recv_2020_national_quest_award_result::default_instance_ = NULL;

packetw2c_recv_2020_national_quest_award_result* packetw2c_recv_2020_national_quest_award_result::New() const {
  return new packetw2c_recv_2020_national_quest_award_result;
}

void packetw2c_recv_2020_national_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7748;
    result_ = 0;
    questid_ = 0;
    receivebit_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_2020_national_quest_award_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_2020_national_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_receiveBit;
        break;
      }

      // optional int32 receiveBit = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveBit:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivebit_)));
          set_has_receivebit();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 5;
      case 5: {
        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(42)) goto parse_items;
        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_2020_national_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // optional int32 receiveBit = 4;
  if (has_receivebit()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->receivebit(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      5, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_2020_national_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // optional int32 receiveBit = 4;
  if (has_receivebit()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->receivebit(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 5;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        5, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_2020_national_quest_award_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_2020_national_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

    // optional int32 receiveBit = 4;
    if (has_receivebit()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->receivebit());
    }

  }
  // repeated .msg_info_def.ItemInfo items = 5;
  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_recv_2020_national_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_2020_national_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_2020_national_quest_award_result::MergeFrom(const packetw2c_recv_2020_national_quest_award_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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_receivebit()) {
      set_receivebit(from.receivebit());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_2020_national_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_quest_award_result::CopyFrom(const packetw2c_recv_2020_national_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_2020_national_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_2020_national_quest_award_result::Swap(packetw2c_recv_2020_national_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    std::swap(receivebit_, other->receivebit_);
    items_.Swap(&other->items_);
    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_2020_national_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_2020_national_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_2020_national_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_2020_national_handbooks_gold::kPacketIdFieldNumber;
const int packetc2w_recv_2020_national_handbooks_gold::kHandbooksIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_2020_national_handbooks_gold::packetc2w_recv_2020_national_handbooks_gold()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_2020_national_handbooks_gold::InitAsDefaultInstance() {
}

packetc2w_recv_2020_national_handbooks_gold::packetc2w_recv_2020_national_handbooks_gold(const packetc2w_recv_2020_national_handbooks_gold& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_handbooks_gold::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5214;
  handbooksid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_2020_national_handbooks_gold::~packetc2w_recv_2020_national_handbooks_gold() {
  SharedDtor();
}

void packetc2w_recv_2020_national_handbooks_gold::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_2020_national_handbooks_gold::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_gold::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_2020_national_handbooks_gold_descriptor_;
}

const packetc2w_recv_2020_national_handbooks_gold& packetc2w_recv_2020_national_handbooks_gold::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_2020_national_handbooks_gold* packetc2w_recv_2020_national_handbooks_gold::default_instance_ = NULL;

packetc2w_recv_2020_national_handbooks_gold* packetc2w_recv_2020_national_handbooks_gold::New() const {
  return new packetc2w_recv_2020_national_handbooks_gold;
}

void packetc2w_recv_2020_national_handbooks_gold::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5214;
    handbooksid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_2020_national_handbooks_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_recv_2020_national_handbooks_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->ExpectTag(16)) goto parse_handbooksId;
        break;
      }

      // optional int32 handbooksId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksid_)));
          set_has_handbooksid();
        } 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_2020_national_handbooks_gold::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_2020_national_handbooks_gold::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_2020_national_handbooks_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_recv_2020_national_handbooks_gold];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 handbooksId = 2;
    if (has_handbooksid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksid());
    }

  }
  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_2020_national_handbooks_gold::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_2020_national_handbooks_gold* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_handbooks_gold*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_2020_national_handbooks_gold::MergeFrom(const packetc2w_recv_2020_national_handbooks_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());
    }
    if (from.has_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_2020_national_handbooks_gold::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_handbooks_gold::CopyFrom(const packetc2w_recv_2020_national_handbooks_gold& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_2020_national_handbooks_gold::IsInitialized() const {

  return true;
}

void packetc2w_recv_2020_national_handbooks_gold::Swap(packetc2w_recv_2020_national_handbooks_gold* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(handbooksid_, other->handbooksid_);
    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_2020_national_handbooks_gold::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_2020_national_handbooks_gold_descriptor_;
  metadata.reflection = packetc2w_recv_2020_national_handbooks_gold_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_2020_national_handbooks_gold_result::kPacketIdFieldNumber;
const int packetw2c_recv_2020_national_handbooks_gold_result::kHandbooksIdFieldNumber;
const int packetw2c_recv_2020_national_handbooks_gold_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_2020_national_handbooks_gold_result::packetw2c_recv_2020_national_handbooks_gold_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_2020_national_handbooks_gold_result::InitAsDefaultInstance() {
}

packetw2c_recv_2020_national_handbooks_gold_result::packetw2c_recv_2020_national_handbooks_gold_result(const packetw2c_recv_2020_national_handbooks_gold_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_handbooks_gold_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7750;
  handbooksid_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_2020_national_handbooks_gold_result::~packetw2c_recv_2020_national_handbooks_gold_result() {
  SharedDtor();
}

void packetw2c_recv_2020_national_handbooks_gold_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_2020_national_handbooks_gold_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_gold_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_2020_national_handbooks_gold_result_descriptor_;
}

const packetw2c_recv_2020_national_handbooks_gold_result& packetw2c_recv_2020_national_handbooks_gold_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_2020_national_handbooks_gold_result* packetw2c_recv_2020_national_handbooks_gold_result::default_instance_ = NULL;

packetw2c_recv_2020_national_handbooks_gold_result* packetw2c_recv_2020_national_handbooks_gold_result::New() const {
  return new packetw2c_recv_2020_national_handbooks_gold_result;
}

void packetw2c_recv_2020_national_handbooks_gold_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7750;
    handbooksid_ = 0;
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_2020_national_handbooks_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_recv_2020_national_handbooks_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_handbooksId;
        break;
      }

      // optional int32 handbooksId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_handbooksId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &handbooksid_)));
          set_has_handbooksid();
        } 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->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_2020_national_handbooks_gold_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_2020_national_handbooks_gold_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 handbooksId = 2;
  if (has_handbooksid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_2020_national_handbooks_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_recv_2020_national_handbooks_gold_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 handbooksId = 2;
    if (has_handbooksid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->handbooksid());
    }

    // optional int32 result = 3;
    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_recv_2020_national_handbooks_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_2020_national_handbooks_gold_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_handbooks_gold_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_2020_national_handbooks_gold_result::MergeFrom(const packetw2c_recv_2020_national_handbooks_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_handbooksid()) {
      set_handbooksid(from.handbooksid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_2020_national_handbooks_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_handbooks_gold_result::CopyFrom(const packetw2c_recv_2020_national_handbooks_gold_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_2020_national_handbooks_gold_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_2020_national_handbooks_gold_result::Swap(packetw2c_recv_2020_national_handbooks_gold_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(handbooksid_, other->handbooksid_);
    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_recv_2020_national_handbooks_gold_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_2020_national_handbooks_gold_result_descriptor_;
  metadata.reflection = packetw2c_recv_2020_national_handbooks_gold_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_2020_national_handbooks_award::kPacketIdFieldNumber;
const int packetc2w_recv_2020_national_handbooks_award::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_2020_national_handbooks_award::packetc2w_recv_2020_national_handbooks_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_2020_national_handbooks_award::InitAsDefaultInstance() {
}

packetc2w_recv_2020_national_handbooks_award::packetc2w_recv_2020_national_handbooks_award(const packetc2w_recv_2020_national_handbooks_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_handbooks_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5215;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_2020_national_handbooks_award::~packetc2w_recv_2020_national_handbooks_award() {
  SharedDtor();
}

void packetc2w_recv_2020_national_handbooks_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_2020_national_handbooks_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_2020_national_handbooks_award_descriptor_;
}

const packetc2w_recv_2020_national_handbooks_award& packetc2w_recv_2020_national_handbooks_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_2020_national_handbooks_award* packetc2w_recv_2020_national_handbooks_award::default_instance_ = NULL;

packetc2w_recv_2020_national_handbooks_award* packetc2w_recv_2020_national_handbooks_award::New() const {
  return new packetc2w_recv_2020_national_handbooks_award;
}

void packetc2w_recv_2020_national_handbooks_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5215;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_2020_national_handbooks_award::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_2020_national_handbooks_award];
      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->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_2020_national_handbooks_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_2020_national_handbooks_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_2020_national_handbooks_award::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_2020_national_handbooks_award];
    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());
    }

  }
  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_2020_national_handbooks_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_2020_national_handbooks_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_handbooks_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_2020_national_handbooks_award::MergeFrom(const packetc2w_recv_2020_national_handbooks_award& 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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_2020_national_handbooks_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_2020_national_handbooks_award::CopyFrom(const packetc2w_recv_2020_national_handbooks_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_2020_national_handbooks_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_2020_national_handbooks_award::Swap(packetc2w_recv_2020_national_handbooks_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_recv_2020_national_handbooks_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_2020_national_handbooks_award_descriptor_;
  metadata.reflection = packetc2w_recv_2020_national_handbooks_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_2020_national_handbooks_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_2020_national_handbooks_award_result::kResultFieldNumber;
const int packetw2c_recv_2020_national_handbooks_award_result::kTypeFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_2020_national_handbooks_award_result::packetw2c_recv_2020_national_handbooks_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_2020_national_handbooks_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_2020_national_handbooks_award_result::packetw2c_recv_2020_national_handbooks_award_result(const packetw2c_recv_2020_national_handbooks_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_handbooks_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7749;
  result_ = 0;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_2020_national_handbooks_award_result::~packetw2c_recv_2020_national_handbooks_award_result() {
  SharedDtor();
}

void packetw2c_recv_2020_national_handbooks_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_2020_national_handbooks_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_2020_national_handbooks_award_result_descriptor_;
}

const packetw2c_recv_2020_national_handbooks_award_result& packetw2c_recv_2020_national_handbooks_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_2020_national_handbooks_award_result* packetw2c_recv_2020_national_handbooks_award_result::default_instance_ = NULL;

packetw2c_recv_2020_national_handbooks_award_result* packetw2c_recv_2020_national_handbooks_award_result::New() const {
  return new packetw2c_recv_2020_national_handbooks_award_result;
}

void packetw2c_recv_2020_national_handbooks_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7749;
    result_ = 0;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_2020_national_handbooks_award_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_2020_national_handbooks_award_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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->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_2020_national_handbooks_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_2020_national_handbooks_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_2020_national_handbooks_award_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_2020_national_handbooks_award_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->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 packetw2c_recv_2020_national_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_2020_national_handbooks_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_handbooks_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_2020_national_handbooks_award_result::MergeFrom(const packetw2c_recv_2020_national_handbooks_award_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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_2020_national_handbooks_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_2020_national_handbooks_award_result::CopyFrom(const packetw2c_recv_2020_national_handbooks_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_2020_national_handbooks_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_2020_national_handbooks_award_result::Swap(packetw2c_recv_2020_national_handbooks_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->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 packetw2c_recv_2020_national_handbooks_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_2020_national_handbooks_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_2020_national_handbooks_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_2020_national_lottery::kPacketIdFieldNumber;
const int packetc2w_2020_national_lottery::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_2020_national_lottery::packetc2w_2020_national_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_2020_national_lottery::InitAsDefaultInstance() {
}

packetc2w_2020_national_lottery::packetc2w_2020_national_lottery(const packetc2w_2020_national_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_2020_national_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5216;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_2020_national_lottery::~packetc2w_2020_national_lottery() {
  SharedDtor();
}

void packetc2w_2020_national_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_2020_national_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_2020_national_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_2020_national_lottery_descriptor_;
}

const packetc2w_2020_national_lottery& packetc2w_2020_national_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_2020_national_lottery* packetc2w_2020_national_lottery::default_instance_ = NULL;

packetc2w_2020_national_lottery* packetc2w_2020_national_lottery::New() const {
  return new packetc2w_2020_national_lottery;
}

void packetc2w_2020_national_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5216;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_2020_national_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_2020_national_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_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->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_2020_national_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery];
  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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_2020_national_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery];
  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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_2020_national_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_2020_national_lottery];
    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());
    }

  }
  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_2020_national_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_2020_national_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_2020_national_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_2020_national_lottery::MergeFrom(const packetc2w_2020_national_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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_2020_national_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_2020_national_lottery::CopyFrom(const packetc2w_2020_national_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_2020_national_lottery::IsInitialized() const {

  return true;
}

void packetc2w_2020_national_lottery::Swap(packetc2w_2020_national_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_2020_national_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_2020_national_lottery_descriptor_;
  metadata.reflection = packetc2w_2020_national_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_2020_national_lottery_result::kPacketIdFieldNumber;
const int packetw2c_2020_national_lottery_result::kResultFieldNumber;
const int packetw2c_2020_national_lottery_result::kTypeFieldNumber;
const int packetw2c_2020_national_lottery_result::kRewardIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_2020_national_lottery_result::packetw2c_2020_national_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_2020_national_lottery_result::InitAsDefaultInstance() {
}

packetw2c_2020_national_lottery_result::packetw2c_2020_national_lottery_result(const packetw2c_2020_national_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_2020_national_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7751;
  result_ = 0;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_2020_national_lottery_result::~packetw2c_2020_national_lottery_result() {
  SharedDtor();
}

void packetw2c_2020_national_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_2020_national_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_2020_national_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_2020_national_lottery_result_descriptor_;
}

const packetw2c_2020_national_lottery_result& packetw2c_2020_national_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_2020_national_lottery_result* packetw2c_2020_national_lottery_result::default_instance_ = NULL;

packetw2c_2020_national_lottery_result* packetw2c_2020_national_lottery_result::New() const {
  return new packetw2c_2020_national_lottery_result;
}

void packetw2c_2020_national_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7751;
    result_ = 0;
    type_ = 0;
  }
  rewardid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_2020_national_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_2020_national_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_rewardId;
        break;
      }

      // repeated int32 rewardId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_rewardid())));
        } 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_rewardid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_rewardId;
        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_2020_national_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // repeated int32 rewardId = 4;
  for (int i = 0; i < this->rewardid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->rewardid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_2020_national_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // repeated int32 rewardId = 4;
  for (int i = 0; i < this->rewardid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->rewardid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_2020_national_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_2020_national_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

  }
  // repeated int32 rewardId = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardid(i));
    }
    total_size += 1 * this->rewardid_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_2020_national_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_2020_national_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_2020_national_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_2020_national_lottery_result::MergeFrom(const packetw2c_2020_national_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardid_.MergeFrom(from.rewardid_);
  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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_2020_national_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_2020_national_lottery_result::CopyFrom(const packetw2c_2020_national_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_2020_national_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_2020_national_lottery_result::Swap(packetw2c_2020_national_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    rewardid_.Swap(&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_2020_national_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_2020_national_lottery_result_descriptor_;
  metadata.reflection = packetw2c_2020_national_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_personal_tailor_new_info::kPacketIdFieldNumber;
const int packetw2c_syn_personal_tailor_new_info::kActivityStateFieldNumber;
const int packetw2c_syn_personal_tailor_new_info::kStartTimeFieldNumber;
const int packetw2c_syn_personal_tailor_new_info::kEndTimeFieldNumber;
const int packetw2c_syn_personal_tailor_new_info::kTailorItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_personal_tailor_new_info::packetw2c_syn_personal_tailor_new_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_personal_tailor_new_info::InitAsDefaultInstance() {
}

packetw2c_syn_personal_tailor_new_info::packetw2c_syn_personal_tailor_new_info(const packetw2c_syn_personal_tailor_new_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_personal_tailor_new_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7754;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_personal_tailor_new_info::~packetw2c_syn_personal_tailor_new_info() {
  SharedDtor();
}

void packetw2c_syn_personal_tailor_new_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_personal_tailor_new_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_new_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_personal_tailor_new_info_descriptor_;
}

const packetw2c_syn_personal_tailor_new_info& packetw2c_syn_personal_tailor_new_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_personal_tailor_new_info* packetw2c_syn_personal_tailor_new_info::default_instance_ = NULL;

packetw2c_syn_personal_tailor_new_info* packetw2c_syn_personal_tailor_new_info::New() const {
  return new packetw2c_syn_personal_tailor_new_info;
}

void packetw2c_syn_personal_tailor_new_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7754;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  tailoritems_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_personal_tailor_new_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_w2c_syn_personal_tailor_new_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_tailorItems;
        break;
      }

      // repeated int32 tailorItems = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_tailorItems:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_tailoritems())));
        } 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_tailoritems())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_tailorItems;
        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_personal_tailor_new_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // repeated int32 tailorItems = 5;
  for (int i = 0; i < this->tailoritems_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->tailoritems(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_personal_tailor_new_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // repeated int32 tailorItems = 5;
  for (int i = 0; i < this->tailoritems_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->tailoritems(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_personal_tailor_new_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_w2c_syn_personal_tailor_new_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

  }
  // repeated int32 tailorItems = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->tailoritems_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->tailoritems(i));
    }
    total_size += 1 * this->tailoritems_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_syn_personal_tailor_new_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_personal_tailor_new_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_personal_tailor_new_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_personal_tailor_new_info::MergeFrom(const packetw2c_syn_personal_tailor_new_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  tailoritems_.MergeFrom(from.tailoritems_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_personal_tailor_new_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_personal_tailor_new_info::CopyFrom(const packetw2c_syn_personal_tailor_new_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_personal_tailor_new_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_personal_tailor_new_info::Swap(packetw2c_syn_personal_tailor_new_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    tailoritems_.Swap(&other->tailoritems_);
    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_personal_tailor_new_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_personal_tailor_new_info_descriptor_;
  metadata.reflection = packetw2c_syn_personal_tailor_new_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_change_personal_tailor_items::kPacketIdFieldNumber;
const int packetc2w_change_personal_tailor_items::kTailorItemsFieldNumber;
#endif  // !_MSC_VER

packetc2w_change_personal_tailor_items::packetc2w_change_personal_tailor_items()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_change_personal_tailor_items::InitAsDefaultInstance() {
}

packetc2w_change_personal_tailor_items::packetc2w_change_personal_tailor_items(const packetc2w_change_personal_tailor_items& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_change_personal_tailor_items::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5220;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_change_personal_tailor_items::~packetc2w_change_personal_tailor_items() {
  SharedDtor();
}

void packetc2w_change_personal_tailor_items::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_change_personal_tailor_items::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_change_personal_tailor_items::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_change_personal_tailor_items_descriptor_;
}

const packetc2w_change_personal_tailor_items& packetc2w_change_personal_tailor_items::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_change_personal_tailor_items* packetc2w_change_personal_tailor_items::default_instance_ = NULL;

packetc2w_change_personal_tailor_items* packetc2w_change_personal_tailor_items::New() const {
  return new packetc2w_change_personal_tailor_items;
}

void packetc2w_change_personal_tailor_items::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5220;
  }
  tailoritems_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_change_personal_tailor_items::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_change_personal_tailor_items];
      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_tailorItems;
        break;
      }

      // repeated int32 tailorItems = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_tailorItems:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 16, input, this->mutable_tailoritems())));
        } 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_tailoritems())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_tailorItems;
        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_change_personal_tailor_items::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated int32 tailorItems = 2;
  for (int i = 0; i < this->tailoritems_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      2, this->tailoritems(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_change_personal_tailor_items::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated int32 tailorItems = 2;
  for (int i = 0; i < this->tailoritems_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(2, this->tailoritems(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_change_personal_tailor_items::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_change_personal_tailor_items];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated int32 tailorItems = 2;
  {
    int data_size = 0;
    for (int i = 0; i < this->tailoritems_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->tailoritems(i));
    }
    total_size += 1 * this->tailoritems_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 packetc2w_change_personal_tailor_items::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_change_personal_tailor_items* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_change_personal_tailor_items*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_change_personal_tailor_items::MergeFrom(const packetc2w_change_personal_tailor_items& from) {
  GOOGLE_CHECK_NE(&from, this);
  tailoritems_.MergeFrom(from.tailoritems_);
  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_change_personal_tailor_items::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_change_personal_tailor_items::CopyFrom(const packetc2w_change_personal_tailor_items& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_change_personal_tailor_items::IsInitialized() const {

  return true;
}

void packetc2w_change_personal_tailor_items::Swap(packetc2w_change_personal_tailor_items* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    tailoritems_.Swap(&other->tailoritems_);
    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_change_personal_tailor_items::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_change_personal_tailor_items_descriptor_;
  metadata.reflection = packetc2w_change_personal_tailor_items_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_change_personal_tailor_items_result::kPacketIdFieldNumber;
const int packetw2c_change_personal_tailor_items_result::kTailorItemsFieldNumber;
const int packetw2c_change_personal_tailor_items_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_change_personal_tailor_items_result::packetw2c_change_personal_tailor_items_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_change_personal_tailor_items_result::InitAsDefaultInstance() {
}

packetw2c_change_personal_tailor_items_result::packetw2c_change_personal_tailor_items_result(const packetw2c_change_personal_tailor_items_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_change_personal_tailor_items_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7755;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_change_personal_tailor_items_result::~packetw2c_change_personal_tailor_items_result() {
  SharedDtor();
}

void packetw2c_change_personal_tailor_items_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_change_personal_tailor_items_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_change_personal_tailor_items_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_change_personal_tailor_items_result_descriptor_;
}

const packetw2c_change_personal_tailor_items_result& packetw2c_change_personal_tailor_items_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_change_personal_tailor_items_result* packetw2c_change_personal_tailor_items_result::default_instance_ = NULL;

packetw2c_change_personal_tailor_items_result* packetw2c_change_personal_tailor_items_result::New() const {
  return new packetw2c_change_personal_tailor_items_result;
}

void packetw2c_change_personal_tailor_items_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7755;
    result_ = 0;
  }
  tailoritems_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_change_personal_tailor_items_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_change_personal_tailor_items_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_tailorItems;
        break;
      }

      // repeated int32 tailorItems = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_tailorItems:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 16, input, this->mutable_tailoritems())));
        } 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_tailoritems())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_tailorItems;
        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->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_change_personal_tailor_items_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated int32 tailorItems = 2;
  for (int i = 0; i < this->tailoritems_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      2, this->tailoritems(i), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_change_personal_tailor_items_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated int32 tailorItems = 2;
  for (int i = 0; i < this->tailoritems_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(2, this->tailoritems(i), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_change_personal_tailor_items_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_change_personal_tailor_items_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  // repeated int32 tailorItems = 2;
  {
    int data_size = 0;
    for (int i = 0; i < this->tailoritems_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->tailoritems(i));
    }
    total_size += 1 * this->tailoritems_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_change_personal_tailor_items_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_change_personal_tailor_items_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_change_personal_tailor_items_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_change_personal_tailor_items_result::MergeFrom(const packetw2c_change_personal_tailor_items_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  tailoritems_.MergeFrom(from.tailoritems_);
  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_change_personal_tailor_items_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_change_personal_tailor_items_result::CopyFrom(const packetw2c_change_personal_tailor_items_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_change_personal_tailor_items_result::IsInitialized() const {

  return true;
}

void packetw2c_change_personal_tailor_items_result::Swap(packetw2c_change_personal_tailor_items_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    tailoritems_.Swap(&other->tailoritems_);
    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_change_personal_tailor_items_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_change_personal_tailor_items_result_descriptor_;
  metadata.reflection = packetw2c_change_personal_tailor_items_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_super_value_gift_activity_info::kPacketIdFieldNumber;
const int packetw2c_syn_super_value_gift_activity_info::kActivityStateFieldNumber;
const int packetw2c_syn_super_value_gift_activity_info::kStartTimeFieldNumber;
const int packetw2c_syn_super_value_gift_activity_info::kEndTimeFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_super_value_gift_activity_info::packetw2c_syn_super_value_gift_activity_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_super_value_gift_activity_info::InitAsDefaultInstance() {
}

packetw2c_syn_super_value_gift_activity_info::packetw2c_syn_super_value_gift_activity_info(const packetw2c_syn_super_value_gift_activity_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_super_value_gift_activity_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7757;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_super_value_gift_activity_info::~packetw2c_syn_super_value_gift_activity_info() {
  SharedDtor();
}

void packetw2c_syn_super_value_gift_activity_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_super_value_gift_activity_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_super_value_gift_activity_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_super_value_gift_activity_info_descriptor_;
}

const packetw2c_syn_super_value_gift_activity_info& packetw2c_syn_super_value_gift_activity_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_super_value_gift_activity_info* packetw2c_syn_super_value_gift_activity_info::default_instance_ = NULL;

packetw2c_syn_super_value_gift_activity_info* packetw2c_syn_super_value_gift_activity_info::New() const {
  return new packetw2c_syn_super_value_gift_activity_info;
}

void packetw2c_syn_super_value_gift_activity_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7757;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_super_value_gift_activity_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_w2c_syn_super_value_gift_activity_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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->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_super_value_gift_activity_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_super_value_gift_activity_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_super_value_gift_activity_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_w2c_syn_super_value_gift_activity_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

  }
  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_super_value_gift_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_super_value_gift_activity_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_super_value_gift_activity_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_super_value_gift_activity_info::MergeFrom(const packetw2c_syn_super_value_gift_activity_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_super_value_gift_activity_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_super_value_gift_activity_info::CopyFrom(const packetw2c_syn_super_value_gift_activity_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_super_value_gift_activity_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_super_value_gift_activity_info::Swap(packetw2c_syn_super_value_gift_activity_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    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_super_value_gift_activity_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_super_value_gift_activity_info_descriptor_;
  metadata.reflection = packetw2c_syn_super_value_gift_activity_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_double_eleven_info::kPacketIdFieldNumber;
const int packetw2c_syn_double_eleven_info::kActivityStateFieldNumber;
const int packetw2c_syn_double_eleven_info::kStartTimeFieldNumber;
const int packetw2c_syn_double_eleven_info::kEndTimeFieldNumber;
const int packetw2c_syn_double_eleven_info::kLotteryTicketFieldNumber;
const int packetw2c_syn_double_eleven_info::kLotteryCountFieldNumber;
const int packetw2c_syn_double_eleven_info::kLuckyValueFieldNumber;
const int packetw2c_syn_double_eleven_info::kRechargedFieldNumber;
const int packetw2c_syn_double_eleven_info::kRechargeCheckFieldNumber;
const int packetw2c_syn_double_eleven_info::kLeftCountFieldNumber;
const int packetw2c_syn_double_eleven_info::kCanbuyFieldNumber;
const int packetw2c_syn_double_eleven_info::kRankListFieldNumber;
const int packetw2c_syn_double_eleven_info::kThresholdValueFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_double_eleven_info::packetw2c_syn_double_eleven_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_double_eleven_info::InitAsDefaultInstance() {
}

packetw2c_syn_double_eleven_info::packetw2c_syn_double_eleven_info(const packetw2c_syn_double_eleven_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_double_eleven_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7761;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  lotteryticket_ = 0;
  lotterycount_ = 0;
  luckyvalue_ = 0;
  recharged_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_double_eleven_info::~packetw2c_syn_double_eleven_info() {
  SharedDtor();
}

void packetw2c_syn_double_eleven_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_double_eleven_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_double_eleven_info_descriptor_;
}

const packetw2c_syn_double_eleven_info& packetw2c_syn_double_eleven_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_double_eleven_info* packetw2c_syn_double_eleven_info::default_instance_ = NULL;

packetw2c_syn_double_eleven_info* packetw2c_syn_double_eleven_info::New() const {
  return new packetw2c_syn_double_eleven_info;
}

void packetw2c_syn_double_eleven_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7761;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    lotteryticket_ = 0;
    lotterycount_ = 0;
    luckyvalue_ = 0;
    recharged_ = 0;
  }
  rechargecheck_.Clear();
  leftcount_.Clear();
  canbuy_.Clear();
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_double_eleven_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_w2c_syn_double_eleven_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_lotteryTicket;
        break;
      }

      // optional int32 lotteryTicket = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lotteryTicket:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lotteryticket_)));
          set_has_lotteryticket();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_lotteryCount;
        break;
      }

      // optional int32 lotteryCount = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lotteryCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lotterycount_)));
          set_has_lotterycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_luckyValue;
        break;
      }

      // optional int32 luckyValue = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_luckyValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &luckyvalue_)));
          set_has_luckyvalue();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_recharged;
        break;
      }

      // optional int32 recharged = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recharged:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recharged_)));
          set_has_recharged();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_rechargeCheck;
        break;
      }

      // repeated int32 rechargeCheck = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rechargeCheck:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 72, input, this->mutable_rechargecheck())));
        } 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_rechargecheck())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_rechargeCheck;
        if (input->ExpectTag(80)) goto parse_leftCount;
        break;
      }

      // repeated int32 leftCount = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_leftCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 80, input, this->mutable_leftcount())));
        } 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_leftcount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(80)) goto parse_leftCount;
        if (input->ExpectTag(88)) goto parse_canbuy;
        break;
      }

      // repeated bool canbuy = 11;
      case 11: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_canbuy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 88, input, this->mutable_canbuy())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_canbuy())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(88)) goto parse_canbuy;
        if (input->ExpectTag(98)) goto parse_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 12;
      case 12: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(98)) goto parse_rankList;
        if (input->ExpectTag(104)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 13;
      case 13: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 104, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(104)) goto parse_thresholdValue;
        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_double_eleven_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 lotteryTicket = 5;
  if (has_lotteryticket()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->lotteryticket(), output);
  }

  // optional int32 lotteryCount = 6;
  if (has_lotterycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->lotterycount(), output);
  }

  // optional int32 luckyValue = 7;
  if (has_luckyvalue()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->luckyvalue(), output);
  }

  // optional int32 recharged = 8;
  if (has_recharged()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->recharged(), output);
  }

  // repeated int32 rechargeCheck = 9;
  for (int i = 0; i < this->rechargecheck_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      9, this->rechargecheck(i), output);
  }

  // repeated int32 leftCount = 10;
  for (int i = 0; i < this->leftcount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      10, this->leftcount(i), output);
  }

  // repeated bool canbuy = 11;
  for (int i = 0; i < this->canbuy_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      11, this->canbuy(i), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 12;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      12, this->ranklist(i), output);
  }

  // repeated int32 thresholdValue = 13;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      13, this->thresholdvalue(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_double_eleven_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 lotteryTicket = 5;
  if (has_lotteryticket()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->lotteryticket(), target);
  }

  // optional int32 lotteryCount = 6;
  if (has_lotterycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->lotterycount(), target);
  }

  // optional int32 luckyValue = 7;
  if (has_luckyvalue()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->luckyvalue(), target);
  }

  // optional int32 recharged = 8;
  if (has_recharged()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->recharged(), target);
  }

  // repeated int32 rechargeCheck = 9;
  for (int i = 0; i < this->rechargecheck_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(9, this->rechargecheck(i), target);
  }

  // repeated int32 leftCount = 10;
  for (int i = 0; i < this->leftcount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(10, this->leftcount(i), target);
  }

  // repeated bool canbuy = 11;
  for (int i = 0; i < this->canbuy_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(11, this->canbuy(i), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 12;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        12, this->ranklist(i), target);
  }

  // repeated int32 thresholdValue = 13;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(13, this->thresholdvalue(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_double_eleven_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_w2c_syn_double_eleven_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 lotteryTicket = 5;
    if (has_lotteryticket()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lotteryticket());
    }

    // optional int32 lotteryCount = 6;
    if (has_lotterycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lotterycount());
    }

    // optional int32 luckyValue = 7;
    if (has_luckyvalue()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->luckyvalue());
    }

    // optional int32 recharged = 8;
    if (has_recharged()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recharged());
    }

  }
  // repeated int32 rechargeCheck = 9;
  {
    int data_size = 0;
    for (int i = 0; i < this->rechargecheck_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rechargecheck(i));
    }
    total_size += 1 * this->rechargecheck_size() + data_size;
  }

  // repeated int32 leftCount = 10;
  {
    int data_size = 0;
    for (int i = 0; i < this->leftcount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->leftcount(i));
    }
    total_size += 1 * this->leftcount_size() + data_size;
  }

  // repeated bool canbuy = 11;
  {
    int data_size = 0;
    data_size = 1 * this->canbuy_size();
    total_size += 1 * this->canbuy_size() + data_size;
  }

  // repeated .client2world_protocols.activity_rank rankList = 12;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 13;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_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_syn_double_eleven_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_double_eleven_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_eleven_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_double_eleven_info::MergeFrom(const packetw2c_syn_double_eleven_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  rechargecheck_.MergeFrom(from.rechargecheck_);
  leftcount_.MergeFrom(from.leftcount_);
  canbuy_.MergeFrom(from.canbuy_);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_lotteryticket()) {
      set_lotteryticket(from.lotteryticket());
    }
    if (from.has_lotterycount()) {
      set_lotterycount(from.lotterycount());
    }
    if (from.has_luckyvalue()) {
      set_luckyvalue(from.luckyvalue());
    }
    if (from.has_recharged()) {
      set_recharged(from.recharged());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_double_eleven_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_double_eleven_info::CopyFrom(const packetw2c_syn_double_eleven_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_double_eleven_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_double_eleven_info::Swap(packetw2c_syn_double_eleven_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(lotteryticket_, other->lotteryticket_);
    std::swap(lotterycount_, other->lotterycount_);
    std::swap(luckyvalue_, other->luckyvalue_);
    std::swap(recharged_, other->recharged_);
    rechargecheck_.Swap(&other->rechargecheck_);
    leftcount_.Swap(&other->leftcount_);
    canbuy_.Swap(&other->canbuy_);
    ranklist_.Swap(&other->ranklist_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    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_double_eleven_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_double_eleven_info_descriptor_;
  metadata.reflection = packetw2c_syn_double_eleven_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_double_eleven_quest::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_double_eleven_quest::packetc2w_get_double_eleven_quest()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_double_eleven_quest::InitAsDefaultInstance() {
}

packetc2w_get_double_eleven_quest::packetc2w_get_double_eleven_quest(const packetc2w_get_double_eleven_quest& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_double_eleven_quest::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5249;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_double_eleven_quest::~packetc2w_get_double_eleven_quest() {
  SharedDtor();
}

void packetc2w_get_double_eleven_quest::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_double_eleven_quest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_quest::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_double_eleven_quest_descriptor_;
}

const packetc2w_get_double_eleven_quest& packetc2w_get_double_eleven_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_double_eleven_quest* packetc2w_get_double_eleven_quest::default_instance_ = NULL;

packetc2w_get_double_eleven_quest* packetc2w_get_double_eleven_quest::New() const {
  return new packetc2w_get_double_eleven_quest;
}

void packetc2w_get_double_eleven_quest::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5249;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_double_eleven_quest::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_double_eleven_quest];
      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_double_eleven_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
  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_double_eleven_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
  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_double_eleven_quest::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_double_eleven_quest];
    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_double_eleven_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_double_eleven_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_double_eleven_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_double_eleven_quest::MergeFrom(const packetc2w_get_double_eleven_quest& 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_double_eleven_quest::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_double_eleven_quest::CopyFrom(const packetc2w_get_double_eleven_quest& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_double_eleven_quest::IsInitialized() const {

  return true;
}

void packetc2w_get_double_eleven_quest::Swap(packetc2w_get_double_eleven_quest* 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_double_eleven_quest::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_double_eleven_quest_descriptor_;
  metadata.reflection = packetc2w_get_double_eleven_quest_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_double_eleven_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_double_eleven_quest_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_double_eleven_quest_result::packetw2c_get_double_eleven_quest_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_double_eleven_quest_result::InitAsDefaultInstance() {
}

packetw2c_get_double_eleven_quest_result::packetw2c_get_double_eleven_quest_result(const packetw2c_get_double_eleven_quest_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_double_eleven_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7796;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_double_eleven_quest_result::~packetw2c_get_double_eleven_quest_result() {
  SharedDtor();
}

void packetw2c_get_double_eleven_quest_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_double_eleven_quest_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_quest_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_double_eleven_quest_result_descriptor_;
}

const packetw2c_get_double_eleven_quest_result& packetw2c_get_double_eleven_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_double_eleven_quest_result* packetw2c_get_double_eleven_quest_result::default_instance_ = NULL;

packetw2c_get_double_eleven_quest_result* packetw2c_get_double_eleven_quest_result::New() const {
  return new packetw2c_get_double_eleven_quest_result;
}

void packetw2c_get_double_eleven_quest_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7796;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_double_eleven_quest_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_double_eleven_quest_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_double_eleven_quest_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_double_eleven_quest_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_double_eleven_quest_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_double_eleven_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_double_eleven_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_double_eleven_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_double_eleven_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_double_eleven_quest_result::MergeFrom(const packetw2c_get_double_eleven_quest_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_double_eleven_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_double_eleven_quest_result::CopyFrom(const packetw2c_get_double_eleven_quest_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_double_eleven_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_get_double_eleven_quest_result::Swap(packetw2c_get_double_eleven_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_double_eleven_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_double_eleven_quest_result_descriptor_;
  metadata.reflection = packetw2c_get_double_eleven_quest_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_double_eleven_gift_reflush::kPacketIdFieldNumber;
const int packetw2c_syn_double_eleven_gift_reflush::kLeftCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_double_eleven_gift_reflush::packetw2c_syn_double_eleven_gift_reflush()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_double_eleven_gift_reflush::InitAsDefaultInstance() {
}

packetw2c_syn_double_eleven_gift_reflush::packetw2c_syn_double_eleven_gift_reflush(const packetw2c_syn_double_eleven_gift_reflush& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_double_eleven_gift_reflush::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7766;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_double_eleven_gift_reflush::~packetw2c_syn_double_eleven_gift_reflush() {
  SharedDtor();
}

void packetw2c_syn_double_eleven_gift_reflush::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_double_eleven_gift_reflush::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_gift_reflush::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_double_eleven_gift_reflush_descriptor_;
}

const packetw2c_syn_double_eleven_gift_reflush& packetw2c_syn_double_eleven_gift_reflush::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_double_eleven_gift_reflush* packetw2c_syn_double_eleven_gift_reflush::default_instance_ = NULL;

packetw2c_syn_double_eleven_gift_reflush* packetw2c_syn_double_eleven_gift_reflush::New() const {
  return new packetw2c_syn_double_eleven_gift_reflush;
}

void packetw2c_syn_double_eleven_gift_reflush::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7766;
  }
  leftcount_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_double_eleven_gift_reflush::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_double_eleven_gift_reflush];
      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_leftCount;
        break;
      }

      // repeated int32 leftCount = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_leftCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 16, input, this->mutable_leftcount())));
        } 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_leftcount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_leftCount;
        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_double_eleven_gift_reflush::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated int32 leftCount = 2;
  for (int i = 0; i < this->leftcount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      2, this->leftcount(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_double_eleven_gift_reflush::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated int32 leftCount = 2;
  for (int i = 0; i < this->leftcount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(2, this->leftcount(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_double_eleven_gift_reflush::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_double_eleven_gift_reflush];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated int32 leftCount = 2;
  {
    int data_size = 0;
    for (int i = 0; i < this->leftcount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->leftcount(i));
    }
    total_size += 1 * this->leftcount_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_syn_double_eleven_gift_reflush::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_double_eleven_gift_reflush* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_eleven_gift_reflush*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_double_eleven_gift_reflush::MergeFrom(const packetw2c_syn_double_eleven_gift_reflush& from) {
  GOOGLE_CHECK_NE(&from, this);
  leftcount_.MergeFrom(from.leftcount_);
  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_syn_double_eleven_gift_reflush::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_double_eleven_gift_reflush::CopyFrom(const packetw2c_syn_double_eleven_gift_reflush& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_double_eleven_gift_reflush::IsInitialized() const {

  return true;
}

void packetw2c_syn_double_eleven_gift_reflush::Swap(packetw2c_syn_double_eleven_gift_reflush* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    leftcount_.Swap(&other->leftcount_);
    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_double_eleven_gift_reflush::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_double_eleven_gift_reflush_descriptor_;
  metadata.reflection = packetw2c_syn_double_eleven_gift_reflush_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_double_eleven_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_double_eleven_rank::packetc2w_get_double_eleven_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_double_eleven_rank::InitAsDefaultInstance() {
}

packetc2w_get_double_eleven_rank::packetc2w_get_double_eleven_rank(const packetc2w_get_double_eleven_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_double_eleven_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5228;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_double_eleven_rank::~packetc2w_get_double_eleven_rank() {
  SharedDtor();
}

void packetc2w_get_double_eleven_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_double_eleven_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_double_eleven_rank_descriptor_;
}

const packetc2w_get_double_eleven_rank& packetc2w_get_double_eleven_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_double_eleven_rank* packetc2w_get_double_eleven_rank::default_instance_ = NULL;

packetc2w_get_double_eleven_rank* packetc2w_get_double_eleven_rank::New() const {
  return new packetc2w_get_double_eleven_rank;
}

void packetc2w_get_double_eleven_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5228;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_double_eleven_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_double_eleven_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank];
  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_double_eleven_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank];
  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_double_eleven_rank::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_double_eleven_rank];
    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_double_eleven_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_double_eleven_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_double_eleven_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_double_eleven_rank::MergeFrom(const packetc2w_get_double_eleven_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_double_eleven_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_double_eleven_rank::CopyFrom(const packetc2w_get_double_eleven_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_double_eleven_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_double_eleven_rank::Swap(packetc2w_get_double_eleven_rank* 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_double_eleven_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_double_eleven_rank_descriptor_;
  metadata.reflection = packetc2w_get_double_eleven_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_double_eleven_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_double_eleven_rank_result::kRankListFieldNumber;
const int packetw2c_get_double_eleven_rank_result::kMyCountFieldNumber;
const int packetw2c_get_double_eleven_rank_result::kMyRankFieldNumber;
const int packetw2c_get_double_eleven_rank_result::kThresholdValueFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_double_eleven_rank_result::packetw2c_get_double_eleven_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_double_eleven_rank_result::InitAsDefaultInstance() {
}

packetw2c_get_double_eleven_rank_result::packetw2c_get_double_eleven_rank_result(const packetw2c_get_double_eleven_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_double_eleven_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7762;
  mycount_ = 0;
  myrank_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_double_eleven_rank_result::~packetw2c_get_double_eleven_rank_result() {
  SharedDtor();
}

void packetw2c_get_double_eleven_rank_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_double_eleven_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_double_eleven_rank_result_descriptor_;
}

const packetw2c_get_double_eleven_rank_result& packetw2c_get_double_eleven_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_double_eleven_rank_result* packetw2c_get_double_eleven_rank_result::default_instance_ = NULL;

packetw2c_get_double_eleven_rank_result* packetw2c_get_double_eleven_rank_result::New() const {
  return new packetw2c_get_double_eleven_rank_result;
}

void packetw2c_get_double_eleven_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7762;
    mycount_ = 0;
    myrank_ = 0;
  }
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_double_eleven_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_myCount;
        break;
      }

      // optional int32 myCount = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mycount_)));
          set_has_mycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_myRank;
        break;
      }

      // optional int32 myRank = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myRank:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &myrank_)));
          set_has_myrank();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_thresholdValue;
        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_double_eleven_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // optional int32 myCount = 3;
  if (has_mycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mycount(), output);
  }

  // optional int32 myRank = 4;
  if (has_myrank()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myrank(), output);
  }

  // repeated int32 thresholdValue = 5;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->thresholdvalue(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_double_eleven_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // optional int32 myCount = 3;
  if (has_mycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mycount(), target);
  }

  // optional int32 myRank = 4;
  if (has_myrank()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myrank(), target);
  }

  // repeated int32 thresholdValue = 5;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->thresholdvalue(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_double_eleven_rank_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_double_eleven_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 myCount = 3;
    if (has_mycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mycount());
    }

    // optional int32 myRank = 4;
    if (has_myrank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->myrank());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_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_get_double_eleven_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_double_eleven_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_double_eleven_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_double_eleven_rank_result::MergeFrom(const packetw2c_get_double_eleven_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mycount()) {
      set_mycount(from.mycount());
    }
    if (from.has_myrank()) {
      set_myrank(from.myrank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_double_eleven_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_double_eleven_rank_result::CopyFrom(const packetw2c_get_double_eleven_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_double_eleven_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_double_eleven_rank_result::Swap(packetw2c_get_double_eleven_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    std::swap(mycount_, other->mycount_);
    std::swap(myrank_, other->myrank_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    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_double_eleven_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_double_eleven_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_double_eleven_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_double_eleven_lottery::kPacketIdFieldNumber;
const int packetc2w_double_eleven_lottery::kTypeFieldNumber;
const int packetc2w_double_eleven_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_double_eleven_lottery::packetc2w_double_eleven_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_double_eleven_lottery::InitAsDefaultInstance() {
}

packetc2w_double_eleven_lottery::packetc2w_double_eleven_lottery(const packetc2w_double_eleven_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_double_eleven_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5223;
  type_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_double_eleven_lottery::~packetc2w_double_eleven_lottery() {
  SharedDtor();
}

void packetc2w_double_eleven_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_double_eleven_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_double_eleven_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_double_eleven_lottery_descriptor_;
}

const packetc2w_double_eleven_lottery& packetc2w_double_eleven_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_double_eleven_lottery* packetc2w_double_eleven_lottery::default_instance_ = NULL;

packetc2w_double_eleven_lottery* packetc2w_double_eleven_lottery::New() const {
  return new packetc2w_double_eleven_lottery;
}

void packetc2w_double_eleven_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5223;
    type_ = 0;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_double_eleven_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_double_eleven_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_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_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 packetc2w_double_eleven_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
  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 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* packetc2w_double_eleven_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
  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 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 packetc2w_double_eleven_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_double_eleven_lottery];
    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 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 packetc2w_double_eleven_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_double_eleven_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_double_eleven_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_double_eleven_lottery::MergeFrom(const packetc2w_double_eleven_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_type()) {
      set_type(from.type());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_double_eleven_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_double_eleven_lottery::CopyFrom(const packetc2w_double_eleven_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_double_eleven_lottery::IsInitialized() const {

  return true;
}

void packetc2w_double_eleven_lottery::Swap(packetc2w_double_eleven_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    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_double_eleven_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_double_eleven_lottery_descriptor_;
  metadata.reflection = packetc2w_double_eleven_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_double_eleven_lottery_result::kPacketIdFieldNumber;
const int packetw2c_double_eleven_lottery_result::kResultFieldNumber;
const int packetw2c_double_eleven_lottery_result::kTypeFieldNumber;
const int packetw2c_double_eleven_lottery_result::kCountFieldNumber;
const int packetw2c_double_eleven_lottery_result::kRewardidFieldNumber;
const int packetw2c_double_eleven_lottery_result::kRewardidExFieldNumber;
#endif  // !_MSC_VER

packetw2c_double_eleven_lottery_result::packetw2c_double_eleven_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_double_eleven_lottery_result::InitAsDefaultInstance() {
}

packetw2c_double_eleven_lottery_result::packetw2c_double_eleven_lottery_result(const packetw2c_double_eleven_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_double_eleven_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7763;
  result_ = 0;
  type_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_double_eleven_lottery_result::~packetw2c_double_eleven_lottery_result() {
  SharedDtor();
}

void packetw2c_double_eleven_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_double_eleven_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_double_eleven_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_double_eleven_lottery_result_descriptor_;
}

const packetw2c_double_eleven_lottery_result& packetw2c_double_eleven_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_double_eleven_lottery_result* packetw2c_double_eleven_lottery_result::default_instance_ = NULL;

packetw2c_double_eleven_lottery_result* packetw2c_double_eleven_lottery_result::New() const {
  return new packetw2c_double_eleven_lottery_result;
}

void packetw2c_double_eleven_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7763;
    result_ = 0;
    type_ = 0;
    count_ = 0;
  }
  rewardid_.Clear();
  rewardidex_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_double_eleven_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_double_eleven_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_count;
        break;
      }

      // optional int32 count = 4;
      case 4: {
        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(40)) goto parse_rewardid;
        break;
      }

      // repeated int32 rewardid = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_rewardid())));
        } 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_rewardid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_rewardid;
        if (input->ExpectTag(48)) goto parse_rewardidEx;
        break;
      }

      // repeated int32 rewardidEx = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardidEx:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 48, input, this->mutable_rewardidex())));
        } 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_rewardidex())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_rewardidEx;
        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_double_eleven_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // optional int32 count = 4;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  }

  // repeated int32 rewardid = 5;
  for (int i = 0; i < this->rewardid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->rewardid(i), output);
  }

  // repeated int32 rewardidEx = 6;
  for (int i = 0; i < this->rewardidex_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      6, this->rewardidex(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_double_eleven_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // optional int32 count = 4;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  }

  // repeated int32 rewardid = 5;
  for (int i = 0; i < this->rewardid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->rewardid(i), target);
  }

  // repeated int32 rewardidEx = 6;
  for (int i = 0; i < this->rewardidex_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(6, this->rewardidex(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_double_eleven_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_double_eleven_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 count = 4;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

  }
  // repeated int32 rewardid = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardid(i));
    }
    total_size += 1 * this->rewardid_size() + data_size;
  }

  // repeated int32 rewardidEx = 6;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardidex_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardidex(i));
    }
    total_size += 1 * this->rewardidex_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_double_eleven_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_double_eleven_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_double_eleven_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_double_eleven_lottery_result::MergeFrom(const packetw2c_double_eleven_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardid_.MergeFrom(from.rewardid_);
  rewardidex_.MergeFrom(from.rewardidex_);
  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_type()) {
      set_type(from.type());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_double_eleven_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_double_eleven_lottery_result::CopyFrom(const packetw2c_double_eleven_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_double_eleven_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_double_eleven_lottery_result::Swap(packetw2c_double_eleven_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    std::swap(count_, other->count_);
    rewardid_.Swap(&other->rewardid_);
    rewardidex_.Swap(&other->rewardidex_);
    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_double_eleven_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_double_eleven_lottery_result_descriptor_;
  metadata.reflection = packetw2c_double_eleven_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_receive_double_eleven_recharge_reward::kPacketIdFieldNumber;
const int packetc2w_receive_double_eleven_recharge_reward::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_receive_double_eleven_recharge_reward::packetc2w_receive_double_eleven_recharge_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_receive_double_eleven_recharge_reward::InitAsDefaultInstance() {
}

packetc2w_receive_double_eleven_recharge_reward::packetc2w_receive_double_eleven_recharge_reward(const packetc2w_receive_double_eleven_recharge_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_receive_double_eleven_recharge_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5224;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_receive_double_eleven_recharge_reward::~packetc2w_receive_double_eleven_recharge_reward() {
  SharedDtor();
}

void packetc2w_receive_double_eleven_recharge_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_receive_double_eleven_recharge_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_receive_double_eleven_recharge_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_receive_double_eleven_recharge_reward_descriptor_;
}

const packetc2w_receive_double_eleven_recharge_reward& packetc2w_receive_double_eleven_recharge_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_receive_double_eleven_recharge_reward* packetc2w_receive_double_eleven_recharge_reward::default_instance_ = NULL;

packetc2w_receive_double_eleven_recharge_reward* packetc2w_receive_double_eleven_recharge_reward::New() const {
  return new packetc2w_receive_double_eleven_recharge_reward;
}

void packetc2w_receive_double_eleven_recharge_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5224;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_receive_double_eleven_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_receive_double_eleven_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_receive_double_eleven_recharge_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_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_receive_double_eleven_recharge_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_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_receive_double_eleven_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_receive_double_eleven_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_receive_double_eleven_recharge_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_receive_double_eleven_recharge_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_double_eleven_recharge_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_receive_double_eleven_recharge_reward::MergeFrom(const packetc2w_receive_double_eleven_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_receive_double_eleven_recharge_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_receive_double_eleven_recharge_reward::CopyFrom(const packetc2w_receive_double_eleven_recharge_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_receive_double_eleven_recharge_reward::IsInitialized() const {

  return true;
}

void packetc2w_receive_double_eleven_recharge_reward::Swap(packetc2w_receive_double_eleven_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_receive_double_eleven_recharge_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_receive_double_eleven_recharge_reward_descriptor_;
  metadata.reflection = packetc2w_receive_double_eleven_recharge_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_receive_double_eleven_recharge_reward_result::kPacketIdFieldNumber;
const int packetw2c_receive_double_eleven_recharge_reward_result::kResultFieldNumber;
const int packetw2c_receive_double_eleven_recharge_reward_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_receive_double_eleven_recharge_reward_result::packetw2c_receive_double_eleven_recharge_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_receive_double_eleven_recharge_reward_result::InitAsDefaultInstance() {
}

packetw2c_receive_double_eleven_recharge_reward_result::packetw2c_receive_double_eleven_recharge_reward_result(const packetw2c_receive_double_eleven_recharge_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_receive_double_eleven_recharge_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7764;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_receive_double_eleven_recharge_reward_result::~packetw2c_receive_double_eleven_recharge_reward_result() {
  SharedDtor();
}

void packetw2c_receive_double_eleven_recharge_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_receive_double_eleven_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_receive_double_eleven_recharge_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_receive_double_eleven_recharge_reward_result_descriptor_;
}

const packetw2c_receive_double_eleven_recharge_reward_result& packetw2c_receive_double_eleven_recharge_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_receive_double_eleven_recharge_reward_result* packetw2c_receive_double_eleven_recharge_reward_result::default_instance_ = NULL;

packetw2c_receive_double_eleven_recharge_reward_result* packetw2c_receive_double_eleven_recharge_reward_result::New() const {
  return new packetw2c_receive_double_eleven_recharge_reward_result;
}

void packetw2c_receive_double_eleven_recharge_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7764;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_receive_double_eleven_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_receive_double_eleven_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_receive_double_eleven_recharge_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_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_receive_double_eleven_recharge_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_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_receive_double_eleven_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_receive_double_eleven_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_receive_double_eleven_recharge_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_receive_double_eleven_recharge_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_double_eleven_recharge_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_receive_double_eleven_recharge_reward_result::MergeFrom(const packetw2c_receive_double_eleven_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_receive_double_eleven_recharge_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_receive_double_eleven_recharge_reward_result::CopyFrom(const packetw2c_receive_double_eleven_recharge_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_receive_double_eleven_recharge_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_receive_double_eleven_recharge_reward_result::Swap(packetw2c_receive_double_eleven_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_receive_double_eleven_recharge_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_receive_double_eleven_recharge_reward_result_descriptor_;
  metadata.reflection = packetw2c_receive_double_eleven_recharge_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_syn_double_eleven_diamond_gift_count::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_syn_double_eleven_diamond_gift_count::packetc2w_syn_double_eleven_diamond_gift_count()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_syn_double_eleven_diamond_gift_count::InitAsDefaultInstance() {
}

packetc2w_syn_double_eleven_diamond_gift_count::packetc2w_syn_double_eleven_diamond_gift_count(const packetc2w_syn_double_eleven_diamond_gift_count& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_syn_double_eleven_diamond_gift_count::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5225;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_syn_double_eleven_diamond_gift_count::~packetc2w_syn_double_eleven_diamond_gift_count() {
  SharedDtor();
}

void packetc2w_syn_double_eleven_diamond_gift_count::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_syn_double_eleven_diamond_gift_count::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_syn_double_eleven_diamond_gift_count::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_syn_double_eleven_diamond_gift_count_descriptor_;
}

const packetc2w_syn_double_eleven_diamond_gift_count& packetc2w_syn_double_eleven_diamond_gift_count::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_syn_double_eleven_diamond_gift_count* packetc2w_syn_double_eleven_diamond_gift_count::default_instance_ = NULL;

packetc2w_syn_double_eleven_diamond_gift_count* packetc2w_syn_double_eleven_diamond_gift_count::New() const {
  return new packetc2w_syn_double_eleven_diamond_gift_count;
}

void packetc2w_syn_double_eleven_diamond_gift_count::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5225;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_syn_double_eleven_diamond_gift_count::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_double_eleven_diamond_gift_count::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
  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_double_eleven_diamond_gift_count::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
  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_double_eleven_diamond_gift_count::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_double_eleven_diamond_gift_count];
    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_double_eleven_diamond_gift_count::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_syn_double_eleven_diamond_gift_count* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_syn_double_eleven_diamond_gift_count*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_syn_double_eleven_diamond_gift_count::MergeFrom(const packetc2w_syn_double_eleven_diamond_gift_count& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_syn_double_eleven_diamond_gift_count::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_syn_double_eleven_diamond_gift_count::CopyFrom(const packetc2w_syn_double_eleven_diamond_gift_count& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_syn_double_eleven_diamond_gift_count::IsInitialized() const {

  return true;
}

void packetc2w_syn_double_eleven_diamond_gift_count::Swap(packetc2w_syn_double_eleven_diamond_gift_count* 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_double_eleven_diamond_gift_count::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_syn_double_eleven_diamond_gift_count_descriptor_;
  metadata.reflection = packetc2w_syn_double_eleven_diamond_gift_count_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_double_eleven_diamond_gift_count_result::kPacketIdFieldNumber;
const int packetw2c_syn_double_eleven_diamond_gift_count_result::kLeftCountFieldNumber;
const int packetw2c_syn_double_eleven_diamond_gift_count_result::kCanbuyFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_double_eleven_diamond_gift_count_result::packetw2c_syn_double_eleven_diamond_gift_count_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::InitAsDefaultInstance() {
}

packetw2c_syn_double_eleven_diamond_gift_count_result::packetw2c_syn_double_eleven_diamond_gift_count_result(const packetw2c_syn_double_eleven_diamond_gift_count_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7765;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_double_eleven_diamond_gift_count_result::~packetw2c_syn_double_eleven_diamond_gift_count_result() {
  SharedDtor();
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_diamond_gift_count_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_;
}

const packetw2c_syn_double_eleven_diamond_gift_count_result& packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_double_eleven_diamond_gift_count_result* packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_ = NULL;

packetw2c_syn_double_eleven_diamond_gift_count_result* packetw2c_syn_double_eleven_diamond_gift_count_result::New() const {
  return new packetw2c_syn_double_eleven_diamond_gift_count_result;
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7765;
  }
  leftcount_.Clear();
  canbuy_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_double_eleven_diamond_gift_count_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_leftCount;
        break;
      }

      // repeated int32 leftCount = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_leftCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 16, input, this->mutable_leftcount())));
        } 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_leftcount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_leftCount;
        if (input->ExpectTag(24)) goto parse_canbuy;
        break;
      }

      // repeated bool canbuy = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_canbuy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 1, 24, input, this->mutable_canbuy())));
        } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
                   == ::google::protobuf::internal::WireFormatLite::
                      WIRETYPE_LENGTH_DELIMITED) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, this->mutable_canbuy())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_canbuy;
        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_double_eleven_diamond_gift_count_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated int32 leftCount = 2;
  for (int i = 0; i < this->leftcount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      2, this->leftcount(i), output);
  }

  // repeated bool canbuy = 3;
  for (int i = 0; i < this->canbuy_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(
      3, this->canbuy(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_double_eleven_diamond_gift_count_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated int32 leftCount = 2;
  for (int i = 0; i < this->leftcount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(2, this->leftcount(i), target);
  }

  // repeated bool canbuy = 3;
  for (int i = 0; i < this->canbuy_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteBoolToArray(3, this->canbuy(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_double_eleven_diamond_gift_count_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_double_eleven_diamond_gift_count_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated int32 leftCount = 2;
  {
    int data_size = 0;
    for (int i = 0; i < this->leftcount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->leftcount(i));
    }
    total_size += 1 * this->leftcount_size() + data_size;
  }

  // repeated bool canbuy = 3;
  {
    int data_size = 0;
    data_size = 1 * this->canbuy_size();
    total_size += 1 * this->canbuy_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_syn_double_eleven_diamond_gift_count_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_double_eleven_diamond_gift_count_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_eleven_diamond_gift_count_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::MergeFrom(const packetw2c_syn_double_eleven_diamond_gift_count_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  leftcount_.MergeFrom(from.leftcount_);
  canbuy_.MergeFrom(from.canbuy_);
  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_syn_double_eleven_diamond_gift_count_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::CopyFrom(const packetw2c_syn_double_eleven_diamond_gift_count_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_double_eleven_diamond_gift_count_result::IsInitialized() const {

  return true;
}

void packetw2c_syn_double_eleven_diamond_gift_count_result::Swap(packetw2c_syn_double_eleven_diamond_gift_count_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    leftcount_.Swap(&other->leftcount_);
    canbuy_.Swap(&other->canbuy_);
    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_double_eleven_diamond_gift_count_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_;
  metadata.reflection = packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_double_eleven_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_double_eleven_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_double_eleven_quest_award::packetc2w_recv_double_eleven_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_double_eleven_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_double_eleven_quest_award::packetc2w_recv_double_eleven_quest_award(const packetc2w_recv_double_eleven_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_double_eleven_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5226;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_double_eleven_quest_award::~packetc2w_recv_double_eleven_quest_award() {
  SharedDtor();
}

void packetc2w_recv_double_eleven_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_double_eleven_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_double_eleven_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_double_eleven_quest_award_descriptor_;
}

const packetc2w_recv_double_eleven_quest_award& packetc2w_recv_double_eleven_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_double_eleven_quest_award* packetc2w_recv_double_eleven_quest_award::default_instance_ = NULL;

packetc2w_recv_double_eleven_quest_award* packetc2w_recv_double_eleven_quest_award::New() const {
  return new packetc2w_recv_double_eleven_quest_award;
}

void packetc2w_recv_double_eleven_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5226;
    questid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_double_eleven_quest_award::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_double_eleven_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } 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_double_eleven_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_double_eleven_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_double_eleven_quest_award::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_double_eleven_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  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_double_eleven_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_double_eleven_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_double_eleven_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_double_eleven_quest_award::MergeFrom(const packetc2w_recv_double_eleven_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_double_eleven_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_double_eleven_quest_award::CopyFrom(const packetc2w_recv_double_eleven_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_double_eleven_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_double_eleven_quest_award::Swap(packetc2w_recv_double_eleven_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    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_double_eleven_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_double_eleven_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_double_eleven_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_double_eleven_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_double_eleven_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_double_eleven_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_double_eleven_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_double_eleven_quest_award_result::packetw2c_recv_double_eleven_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_double_eleven_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_double_eleven_quest_award_result::packetw2c_recv_double_eleven_quest_award_result(const packetw2c_recv_double_eleven_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_double_eleven_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7767;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_double_eleven_quest_award_result::~packetw2c_recv_double_eleven_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_double_eleven_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_double_eleven_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_double_eleven_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_double_eleven_quest_award_result_descriptor_;
}

const packetw2c_recv_double_eleven_quest_award_result& packetw2c_recv_double_eleven_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_double_eleven_quest_award_result* packetw2c_recv_double_eleven_quest_award_result::default_instance_ = NULL;

packetw2c_recv_double_eleven_quest_award_result* packetw2c_recv_double_eleven_quest_award_result::New() const {
  return new packetw2c_recv_double_eleven_quest_award_result;
}

void packetw2c_recv_double_eleven_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7767;
    result_ = 0;
    questid_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_double_eleven_quest_award_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_double_eleven_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo items = 6;
      case 6: {
        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(50)) goto parse_items;
        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_double_eleven_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 6;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_double_eleven_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 6;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_double_eleven_quest_award_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_double_eleven_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  // repeated .msg_info_def.ItemInfo items = 6;
  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_recv_double_eleven_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_double_eleven_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_double_eleven_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_double_eleven_quest_award_result::MergeFrom(const packetw2c_recv_double_eleven_quest_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_double_eleven_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_double_eleven_quest_award_result::CopyFrom(const packetw2c_recv_double_eleven_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_double_eleven_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_double_eleven_quest_award_result::Swap(packetw2c_recv_double_eleven_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    items_.Swap(&other->items_);
    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_double_eleven_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_double_eleven_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_double_eleven_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_double_eleven_buy_lottery_ticket::kPacketIdFieldNumber;
const int packetc2w_double_eleven_buy_lottery_ticket::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_double_eleven_buy_lottery_ticket::packetc2w_double_eleven_buy_lottery_ticket()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_double_eleven_buy_lottery_ticket::InitAsDefaultInstance() {
}

packetc2w_double_eleven_buy_lottery_ticket::packetc2w_double_eleven_buy_lottery_ticket(const packetc2w_double_eleven_buy_lottery_ticket& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_double_eleven_buy_lottery_ticket::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5227;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_double_eleven_buy_lottery_ticket::~packetc2w_double_eleven_buy_lottery_ticket() {
  SharedDtor();
}

void packetc2w_double_eleven_buy_lottery_ticket::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_double_eleven_buy_lottery_ticket::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_double_eleven_buy_lottery_ticket::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_double_eleven_buy_lottery_ticket_descriptor_;
}

const packetc2w_double_eleven_buy_lottery_ticket& packetc2w_double_eleven_buy_lottery_ticket::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_double_eleven_buy_lottery_ticket* packetc2w_double_eleven_buy_lottery_ticket::default_instance_ = NULL;

packetc2w_double_eleven_buy_lottery_ticket* packetc2w_double_eleven_buy_lottery_ticket::New() const {
  return new packetc2w_double_eleven_buy_lottery_ticket;
}

void packetc2w_double_eleven_buy_lottery_ticket::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5227;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_double_eleven_buy_lottery_ticket::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_double_eleven_buy_lottery_ticket];
      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_double_eleven_buy_lottery_ticket::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
  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_double_eleven_buy_lottery_ticket::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
  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_double_eleven_buy_lottery_ticket::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_double_eleven_buy_lottery_ticket];
    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_double_eleven_buy_lottery_ticket::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_double_eleven_buy_lottery_ticket* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_double_eleven_buy_lottery_ticket*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_double_eleven_buy_lottery_ticket::MergeFrom(const packetc2w_double_eleven_buy_lottery_ticket& 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_double_eleven_buy_lottery_ticket::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_double_eleven_buy_lottery_ticket::CopyFrom(const packetc2w_double_eleven_buy_lottery_ticket& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_double_eleven_buy_lottery_ticket::IsInitialized() const {

  return true;
}

void packetc2w_double_eleven_buy_lottery_ticket::Swap(packetc2w_double_eleven_buy_lottery_ticket* 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_double_eleven_buy_lottery_ticket::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_double_eleven_buy_lottery_ticket_descriptor_;
  metadata.reflection = packetc2w_double_eleven_buy_lottery_ticket_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_double_eleven_buy_lottery_ticket_result::kPacketIdFieldNumber;
const int packetw2c_double_eleven_buy_lottery_ticket_result::kResultFieldNumber;
const int packetw2c_double_eleven_buy_lottery_ticket_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_double_eleven_buy_lottery_ticket_result::packetw2c_double_eleven_buy_lottery_ticket_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_double_eleven_buy_lottery_ticket_result::InitAsDefaultInstance() {
}

packetw2c_double_eleven_buy_lottery_ticket_result::packetw2c_double_eleven_buy_lottery_ticket_result(const packetw2c_double_eleven_buy_lottery_ticket_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_double_eleven_buy_lottery_ticket_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7768;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_double_eleven_buy_lottery_ticket_result::~packetw2c_double_eleven_buy_lottery_ticket_result() {
  SharedDtor();
}

void packetw2c_double_eleven_buy_lottery_ticket_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_double_eleven_buy_lottery_ticket_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_double_eleven_buy_lottery_ticket_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_;
}

const packetw2c_double_eleven_buy_lottery_ticket_result& packetw2c_double_eleven_buy_lottery_ticket_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_double_eleven_buy_lottery_ticket_result* packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_ = NULL;

packetw2c_double_eleven_buy_lottery_ticket_result* packetw2c_double_eleven_buy_lottery_ticket_result::New() const {
  return new packetw2c_double_eleven_buy_lottery_ticket_result;
}

void packetw2c_double_eleven_buy_lottery_ticket_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7768;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_double_eleven_buy_lottery_ticket_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_double_eleven_buy_lottery_ticket_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_double_eleven_buy_lottery_ticket_result::MergeFrom(const packetw2c_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_double_eleven_buy_lottery_ticket_result::CopyFrom(const packetw2c_double_eleven_buy_lottery_ticket_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_double_eleven_buy_lottery_ticket_result::IsInitialized() const {

  return true;
}

void packetw2c_double_eleven_buy_lottery_ticket_result::Swap(packetw2c_double_eleven_buy_lottery_ticket_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_double_eleven_buy_lottery_ticket_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_;
  metadata.reflection = packetw2c_double_eleven_buy_lottery_ticket_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_wing_experience_info::kPacketIdFieldNumber;
const int packetw2c_syn_wing_experience_info::kActivityStateFieldNumber;
const int packetw2c_syn_wing_experience_info::kStartTimeFieldNumber;
const int packetw2c_syn_wing_experience_info::kEndTimeFieldNumber;
const int packetw2c_syn_wing_experience_info::kReceivedFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_wing_experience_info::packetw2c_syn_wing_experience_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_wing_experience_info::InitAsDefaultInstance() {
}

packetw2c_syn_wing_experience_info::packetw2c_syn_wing_experience_info(const packetw2c_syn_wing_experience_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_wing_experience_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7770;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  received_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_wing_experience_info::~packetw2c_syn_wing_experience_info() {
  SharedDtor();
}

void packetw2c_syn_wing_experience_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_wing_experience_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_wing_experience_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_wing_experience_info_descriptor_;
}

const packetw2c_syn_wing_experience_info& packetw2c_syn_wing_experience_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_wing_experience_info* packetw2c_syn_wing_experience_info::default_instance_ = NULL;

packetw2c_syn_wing_experience_info* packetw2c_syn_wing_experience_info::New() const {
  return new packetw2c_syn_wing_experience_info;
}

void packetw2c_syn_wing_experience_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7770;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    received_ = false;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_wing_experience_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_w2c_syn_wing_experience_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_received;
        break;
      }

      // optional bool received = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_received:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &received_)));
          set_has_received();
        } 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_wing_experience_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional bool received = 5;
  if (has_received()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->received(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_wing_experience_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional bool received = 5;
  if (has_received()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->received(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_wing_experience_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_w2c_syn_wing_experience_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional bool received = 5;
    if (has_received()) {
      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 packetw2c_syn_wing_experience_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_wing_experience_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_wing_experience_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_wing_experience_info::MergeFrom(const packetw2c_syn_wing_experience_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_received()) {
      set_received(from.received());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_wing_experience_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_wing_experience_info::CopyFrom(const packetw2c_syn_wing_experience_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_wing_experience_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_wing_experience_info::Swap(packetw2c_syn_wing_experience_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(received_, other->received_);
    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_wing_experience_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_wing_experience_info_descriptor_;
  metadata.reflection = packetw2c_syn_wing_experience_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_wing_experience_receive_wing::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_wing_experience_receive_wing::packetc2w_wing_experience_receive_wing()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_wing_experience_receive_wing::InitAsDefaultInstance() {
}

packetc2w_wing_experience_receive_wing::packetc2w_wing_experience_receive_wing(const packetc2w_wing_experience_receive_wing& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_wing_experience_receive_wing::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5229;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_wing_experience_receive_wing::~packetc2w_wing_experience_receive_wing() {
  SharedDtor();
}

void packetc2w_wing_experience_receive_wing::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_wing_experience_receive_wing::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_wing_experience_receive_wing::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_wing_experience_receive_wing_descriptor_;
}

const packetc2w_wing_experience_receive_wing& packetc2w_wing_experience_receive_wing::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_wing_experience_receive_wing* packetc2w_wing_experience_receive_wing::default_instance_ = NULL;

packetc2w_wing_experience_receive_wing* packetc2w_wing_experience_receive_wing::New() const {
  return new packetc2w_wing_experience_receive_wing;
}

void packetc2w_wing_experience_receive_wing::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5229;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_wing_experience_receive_wing::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_wing_experience_receive_wing];
      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_wing_experience_receive_wing::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
  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_wing_experience_receive_wing::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
  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_wing_experience_receive_wing::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_wing_experience_receive_wing];
    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_wing_experience_receive_wing::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_wing_experience_receive_wing* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_wing_experience_receive_wing*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_wing_experience_receive_wing::MergeFrom(const packetc2w_wing_experience_receive_wing& 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_wing_experience_receive_wing::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_wing_experience_receive_wing::CopyFrom(const packetc2w_wing_experience_receive_wing& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_wing_experience_receive_wing::IsInitialized() const {

  return true;
}

void packetc2w_wing_experience_receive_wing::Swap(packetc2w_wing_experience_receive_wing* 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_wing_experience_receive_wing::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_wing_experience_receive_wing_descriptor_;
  metadata.reflection = packetc2w_wing_experience_receive_wing_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_wing_experience_receive_wing_result::kPacketIdFieldNumber;
const int packetw2c_wing_experience_receive_wing_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_wing_experience_receive_wing_result::packetw2c_wing_experience_receive_wing_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_wing_experience_receive_wing_result::InitAsDefaultInstance() {
}

packetw2c_wing_experience_receive_wing_result::packetw2c_wing_experience_receive_wing_result(const packetw2c_wing_experience_receive_wing_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_wing_experience_receive_wing_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7769;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_wing_experience_receive_wing_result::~packetw2c_wing_experience_receive_wing_result() {
  SharedDtor();
}

void packetw2c_wing_experience_receive_wing_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_wing_experience_receive_wing_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_wing_experience_receive_wing_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_wing_experience_receive_wing_result_descriptor_;
}

const packetw2c_wing_experience_receive_wing_result& packetw2c_wing_experience_receive_wing_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_wing_experience_receive_wing_result* packetw2c_wing_experience_receive_wing_result::default_instance_ = NULL;

packetw2c_wing_experience_receive_wing_result* packetw2c_wing_experience_receive_wing_result::New() const {
  return new packetw2c_wing_experience_receive_wing_result;
}

void packetw2c_wing_experience_receive_wing_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7769;
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_wing_experience_receive_wing_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_wing_experience_receive_wing_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_wing_experience_receive_wing_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_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_wing_experience_receive_wing_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_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_wing_experience_receive_wing_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_wing_experience_receive_wing_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_wing_experience_receive_wing_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_wing_experience_receive_wing_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_wing_experience_receive_wing_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_wing_experience_receive_wing_result::MergeFrom(const packetw2c_wing_experience_receive_wing_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_wing_experience_receive_wing_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_wing_experience_receive_wing_result::CopyFrom(const packetw2c_wing_experience_receive_wing_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_wing_experience_receive_wing_result::IsInitialized() const {

  return true;
}

void packetw2c_wing_experience_receive_wing_result::Swap(packetw2c_wing_experience_receive_wing_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_wing_experience_receive_wing_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_wing_experience_receive_wing_result_descriptor_;
  metadata.reflection = packetw2c_wing_experience_receive_wing_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int exchangeInfo::kIdFieldNumber;
const int exchangeInfo::kTimesFieldNumber;
#endif  // !_MSC_VER

exchangeInfo::exchangeInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void exchangeInfo::InitAsDefaultInstance() {
}

exchangeInfo::exchangeInfo(const exchangeInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void exchangeInfo::SharedCtor() {
  _cached_size_ = 0;
  id_ = 0;
  times_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

exchangeInfo::~exchangeInfo() {
  SharedDtor();
}

void exchangeInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void exchangeInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* exchangeInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return exchangeInfo_descriptor_;
}

const exchangeInfo& exchangeInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

exchangeInfo* exchangeInfo::default_instance_ = NULL;

exchangeInfo* exchangeInfo::New() const {
  return new exchangeInfo;
}

void exchangeInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    id_ = 0;
    times_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool exchangeInfo::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_times;
        break;
      }

      // optional int32 times = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_times:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &times_)));
          set_has_times();
        } 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 exchangeInfo::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 times = 2;
  if (has_times()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->times(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* exchangeInfo::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 times = 2;
  if (has_times()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->times(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int exchangeInfo::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 times = 2;
    if (has_times()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->times());
    }

  }
  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 exchangeInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const exchangeInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const exchangeInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void exchangeInfo::MergeFrom(const exchangeInfo& 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_times()) {
      set_times(from.times());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void exchangeInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void exchangeInfo::CopyFrom(const exchangeInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool exchangeInfo::IsInitialized() const {

  return true;
}

void exchangeInfo::Swap(exchangeInfo* other) {
  if (other != this) {
    std::swap(id_, other->id_);
    std::swap(times_, other->times_);
    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 exchangeInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = exchangeInfo_descriptor_;
  metadata.reflection = exchangeInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_kingcraft_info::kPacketIdFieldNumber;
const int packetw2c_syn_kingcraft_info::kActivityStateFieldNumber;
const int packetw2c_syn_kingcraft_info::kStartTimeFieldNumber;
const int packetw2c_syn_kingcraft_info::kEndTimeFieldNumber;
const int packetw2c_syn_kingcraft_info::kShieldCountFieldNumber;
const int packetw2c_syn_kingcraft_info::kLotteryTicketFieldNumber;
const int packetw2c_syn_kingcraft_info::kLotteryCountFieldNumber;
const int packetw2c_syn_kingcraft_info::kRechargedFieldNumber;
const int packetw2c_syn_kingcraft_info::kRechargeCheckFieldNumber;
const int packetw2c_syn_kingcraft_info::kSignCountFieldNumber;
const int packetw2c_syn_kingcraft_info::kCanSignFieldNumber;
const int packetw2c_syn_kingcraft_info::kRankListFieldNumber;
const int packetw2c_syn_kingcraft_info::kThresholdValueFieldNumber;
const int packetw2c_syn_kingcraft_info::kExchangeListFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_kingcraft_info::packetw2c_syn_kingcraft_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_kingcraft_info::InitAsDefaultInstance() {
}

packetw2c_syn_kingcraft_info::packetw2c_syn_kingcraft_info(const packetw2c_syn_kingcraft_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_kingcraft_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7771;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  shieldcount_ = 0;
  lotteryticket_ = 0;
  lotterycount_ = 0;
  recharged_ = 0;
  signcount_ = 0;
  cansign_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_kingcraft_info::~packetw2c_syn_kingcraft_info() {
  SharedDtor();
}

void packetw2c_syn_kingcraft_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_kingcraft_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_kingcraft_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_kingcraft_info_descriptor_;
}

const packetw2c_syn_kingcraft_info& packetw2c_syn_kingcraft_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_kingcraft_info* packetw2c_syn_kingcraft_info::default_instance_ = NULL;

packetw2c_syn_kingcraft_info* packetw2c_syn_kingcraft_info::New() const {
  return new packetw2c_syn_kingcraft_info;
}

void packetw2c_syn_kingcraft_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7771;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    shieldcount_ = 0;
    lotteryticket_ = 0;
    lotterycount_ = 0;
    recharged_ = 0;
  }
  if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    signcount_ = 0;
    cansign_ = false;
  }
  rechargecheck_.Clear();
  ranklist_.Clear();
  thresholdvalue_.Clear();
  exchangelist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_kingcraft_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_w2c_syn_kingcraft_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_shieldCount;
        break;
      }

      // optional int32 shieldCount = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_shieldCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &shieldcount_)));
          set_has_shieldcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_lotteryTicket;
        break;
      }

      // optional int32 lotteryTicket = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lotteryTicket:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lotteryticket_)));
          set_has_lotteryticket();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_lotteryCount;
        break;
      }

      // optional int32 lotteryCount = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lotteryCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lotterycount_)));
          set_has_lotterycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_recharged;
        break;
      }

      // optional int32 recharged = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recharged:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recharged_)));
          set_has_recharged();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_rechargeCheck;
        break;
      }

      // repeated int32 rechargeCheck = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rechargeCheck:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 72, input, this->mutable_rechargecheck())));
        } 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_rechargecheck())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_rechargeCheck;
        if (input->ExpectTag(80)) goto parse_signCount;
        break;
      }

      // optional int32 signCount = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signcount_)));
          set_has_signcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(88)) goto parse_canSign;
        break;
      }

      // optional bool canSign = 11;
      case 11: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_canSign:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &cansign_)));
          set_has_cansign();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(98)) goto parse_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 12;
      case 12: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(98)) goto parse_rankList;
        if (input->ExpectTag(104)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 13;
      case 13: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 104, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(104)) goto parse_thresholdValue;
        if (input->ExpectTag(114)) goto parse_exchangeList;
        break;
      }

      // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
      case 14: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_exchangeList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_exchangelist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(114)) goto parse_exchangeList;
        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_kingcraft_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 shieldCount = 5;
  if (has_shieldcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->shieldcount(), output);
  }

  // optional int32 lotteryTicket = 6;
  if (has_lotteryticket()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->lotteryticket(), output);
  }

  // optional int32 lotteryCount = 7;
  if (has_lotterycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->lotterycount(), output);
  }

  // optional int32 recharged = 8;
  if (has_recharged()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->recharged(), output);
  }

  // repeated int32 rechargeCheck = 9;
  for (int i = 0; i < this->rechargecheck_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      9, this->rechargecheck(i), output);
  }

  // optional int32 signCount = 10;
  if (has_signcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->signcount(), output);
  }

  // optional bool canSign = 11;
  if (has_cansign()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->cansign(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 12;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      12, this->ranklist(i), output);
  }

  // repeated int32 thresholdValue = 13;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      13, this->thresholdvalue(i), output);
  }

  // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  for (int i = 0; i < this->exchangelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      14, this->exchangelist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_kingcraft_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 shieldCount = 5;
  if (has_shieldcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->shieldcount(), target);
  }

  // optional int32 lotteryTicket = 6;
  if (has_lotteryticket()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->lotteryticket(), target);
  }

  // optional int32 lotteryCount = 7;
  if (has_lotterycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->lotterycount(), target);
  }

  // optional int32 recharged = 8;
  if (has_recharged()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->recharged(), target);
  }

  // repeated int32 rechargeCheck = 9;
  for (int i = 0; i < this->rechargecheck_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(9, this->rechargecheck(i), target);
  }

  // optional int32 signCount = 10;
  if (has_signcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->signcount(), target);
  }

  // optional bool canSign = 11;
  if (has_cansign()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->cansign(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 12;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        12, this->ranklist(i), target);
  }

  // repeated int32 thresholdValue = 13;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(13, this->thresholdvalue(i), target);
  }

  // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  for (int i = 0; i < this->exchangelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        14, this->exchangelist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_kingcraft_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_w2c_syn_kingcraft_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 shieldCount = 5;
    if (has_shieldcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->shieldcount());
    }

    // optional int32 lotteryTicket = 6;
    if (has_lotteryticket()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lotteryticket());
    }

    // optional int32 lotteryCount = 7;
    if (has_lotterycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lotterycount());
    }

    // optional int32 recharged = 8;
    if (has_recharged()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recharged());
    }

  }
  if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    // optional int32 signCount = 10;
    if (has_signcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signcount());
    }

    // optional bool canSign = 11;
    if (has_cansign()) {
      total_size += 1 + 1;
    }

  }
  // repeated int32 rechargeCheck = 9;
  {
    int data_size = 0;
    for (int i = 0; i < this->rechargecheck_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rechargecheck(i));
    }
    total_size += 1 * this->rechargecheck_size() + data_size;
  }

  // repeated .client2world_protocols.activity_rank rankList = 12;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 13;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_size() + data_size;
  }

  // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  total_size += 1 * this->exchangelist_size();
  for (int i = 0; i < this->exchangelist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->exchangelist(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_syn_kingcraft_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_kingcraft_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_kingcraft_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_kingcraft_info::MergeFrom(const packetw2c_syn_kingcraft_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  rechargecheck_.MergeFrom(from.rechargecheck_);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  exchangelist_.MergeFrom(from.exchangelist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_shieldcount()) {
      set_shieldcount(from.shieldcount());
    }
    if (from.has_lotteryticket()) {
      set_lotteryticket(from.lotteryticket());
    }
    if (from.has_lotterycount()) {
      set_lotterycount(from.lotterycount());
    }
    if (from.has_recharged()) {
      set_recharged(from.recharged());
    }
  }
  if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
    if (from.has_signcount()) {
      set_signcount(from.signcount());
    }
    if (from.has_cansign()) {
      set_cansign(from.cansign());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_kingcraft_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_kingcraft_info::CopyFrom(const packetw2c_syn_kingcraft_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_kingcraft_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_kingcraft_info::Swap(packetw2c_syn_kingcraft_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(shieldcount_, other->shieldcount_);
    std::swap(lotteryticket_, other->lotteryticket_);
    std::swap(lotterycount_, other->lotterycount_);
    std::swap(recharged_, other->recharged_);
    rechargecheck_.Swap(&other->rechargecheck_);
    std::swap(signcount_, other->signcount_);
    std::swap(cansign_, other->cansign_);
    ranklist_.Swap(&other->ranklist_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    exchangelist_.Swap(&other->exchangelist_);
    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_kingcraft_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_kingcraft_info_descriptor_;
  metadata.reflection = packetw2c_syn_kingcraft_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_kingcraft_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_kingcraft_rank::packetc2w_get_kingcraft_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_kingcraft_rank::InitAsDefaultInstance() {
}

packetc2w_get_kingcraft_rank::packetc2w_get_kingcraft_rank(const packetc2w_get_kingcraft_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_kingcraft_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5230;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_kingcraft_rank::~packetc2w_get_kingcraft_rank() {
  SharedDtor();
}

void packetc2w_get_kingcraft_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_kingcraft_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_kingcraft_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_kingcraft_rank_descriptor_;
}

const packetc2w_get_kingcraft_rank& packetc2w_get_kingcraft_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_kingcraft_rank* packetc2w_get_kingcraft_rank::default_instance_ = NULL;

packetc2w_get_kingcraft_rank* packetc2w_get_kingcraft_rank::New() const {
  return new packetc2w_get_kingcraft_rank;
}

void packetc2w_get_kingcraft_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5230;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_kingcraft_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_kingcraft_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank];
  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_kingcraft_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank];
  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_kingcraft_rank::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_kingcraft_rank];
    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_kingcraft_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_kingcraft_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_kingcraft_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_kingcraft_rank::MergeFrom(const packetc2w_get_kingcraft_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_kingcraft_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_kingcraft_rank::CopyFrom(const packetc2w_get_kingcraft_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_kingcraft_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_kingcraft_rank::Swap(packetc2w_get_kingcraft_rank* 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_kingcraft_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_kingcraft_rank_descriptor_;
  metadata.reflection = packetc2w_get_kingcraft_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_kingcraft_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_kingcraft_rank_result::kRankListFieldNumber;
const int packetw2c_get_kingcraft_rank_result::kMyCountFieldNumber;
const int packetw2c_get_kingcraft_rank_result::kMyRankFieldNumber;
const int packetw2c_get_kingcraft_rank_result::kThresholdValueFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_kingcraft_rank_result::packetw2c_get_kingcraft_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_kingcraft_rank_result::InitAsDefaultInstance() {
}

packetw2c_get_kingcraft_rank_result::packetw2c_get_kingcraft_rank_result(const packetw2c_get_kingcraft_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_kingcraft_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7772;
  mycount_ = 0;
  myrank_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_kingcraft_rank_result::~packetw2c_get_kingcraft_rank_result() {
  SharedDtor();
}

void packetw2c_get_kingcraft_rank_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_kingcraft_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_kingcraft_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_kingcraft_rank_result_descriptor_;
}

const packetw2c_get_kingcraft_rank_result& packetw2c_get_kingcraft_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_kingcraft_rank_result* packetw2c_get_kingcraft_rank_result::default_instance_ = NULL;

packetw2c_get_kingcraft_rank_result* packetw2c_get_kingcraft_rank_result::New() const {
  return new packetw2c_get_kingcraft_rank_result;
}

void packetw2c_get_kingcraft_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7772;
    mycount_ = 0;
    myrank_ = 0;
  }
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_kingcraft_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_myCount;
        break;
      }

      // optional int32 myCount = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mycount_)));
          set_has_mycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_myRank;
        break;
      }

      // optional int32 myRank = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myRank:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &myrank_)));
          set_has_myrank();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_thresholdValue;
        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_kingcraft_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // optional int32 myCount = 3;
  if (has_mycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mycount(), output);
  }

  // optional int32 myRank = 4;
  if (has_myrank()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myrank(), output);
  }

  // repeated int32 thresholdValue = 5;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->thresholdvalue(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_kingcraft_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // optional int32 myCount = 3;
  if (has_mycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mycount(), target);
  }

  // optional int32 myRank = 4;
  if (has_myrank()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myrank(), target);
  }

  // repeated int32 thresholdValue = 5;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->thresholdvalue(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_kingcraft_rank_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_kingcraft_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 myCount = 3;
    if (has_mycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mycount());
    }

    // optional int32 myRank = 4;
    if (has_myrank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->myrank());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_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_get_kingcraft_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_kingcraft_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_kingcraft_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_kingcraft_rank_result::MergeFrom(const packetw2c_get_kingcraft_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mycount()) {
      set_mycount(from.mycount());
    }
    if (from.has_myrank()) {
      set_myrank(from.myrank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_kingcraft_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_kingcraft_rank_result::CopyFrom(const packetw2c_get_kingcraft_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_kingcraft_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_kingcraft_rank_result::Swap(packetw2c_get_kingcraft_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    std::swap(mycount_, other->mycount_);
    std::swap(myrank_, other->myrank_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    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_kingcraft_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_kingcraft_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_kingcraft_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_kingcraft_lottery::kPacketIdFieldNumber;
const int packetc2w_kingcraft_lottery::kTypeFieldNumber;
const int packetc2w_kingcraft_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_kingcraft_lottery::packetc2w_kingcraft_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_kingcraft_lottery::InitAsDefaultInstance() {
}

packetc2w_kingcraft_lottery::packetc2w_kingcraft_lottery(const packetc2w_kingcraft_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_kingcraft_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5231;
  type_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_kingcraft_lottery::~packetc2w_kingcraft_lottery() {
  SharedDtor();
}

void packetc2w_kingcraft_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_kingcraft_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_kingcraft_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_kingcraft_lottery_descriptor_;
}

const packetc2w_kingcraft_lottery& packetc2w_kingcraft_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_kingcraft_lottery* packetc2w_kingcraft_lottery::default_instance_ = NULL;

packetc2w_kingcraft_lottery* packetc2w_kingcraft_lottery::New() const {
  return new packetc2w_kingcraft_lottery;
}

void packetc2w_kingcraft_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5231;
    type_ = 0;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_kingcraft_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_kingcraft_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_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_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 packetc2w_kingcraft_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
  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 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* packetc2w_kingcraft_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
  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 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 packetc2w_kingcraft_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_kingcraft_lottery];
    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 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 packetc2w_kingcraft_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_kingcraft_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kingcraft_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_kingcraft_lottery::MergeFrom(const packetc2w_kingcraft_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_type()) {
      set_type(from.type());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_kingcraft_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_kingcraft_lottery::CopyFrom(const packetc2w_kingcraft_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_kingcraft_lottery::IsInitialized() const {

  return true;
}

void packetc2w_kingcraft_lottery::Swap(packetc2w_kingcraft_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    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_kingcraft_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_kingcraft_lottery_descriptor_;
  metadata.reflection = packetc2w_kingcraft_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_kingcraft_lottery_result::kPacketIdFieldNumber;
const int packetw2c_kingcraft_lottery_result::kResultFieldNumber;
const int packetw2c_kingcraft_lottery_result::kTypeFieldNumber;
const int packetw2c_kingcraft_lottery_result::kCountFieldNumber;
const int packetw2c_kingcraft_lottery_result::kRewardidFieldNumber;
#endif  // !_MSC_VER

packetw2c_kingcraft_lottery_result::packetw2c_kingcraft_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_kingcraft_lottery_result::InitAsDefaultInstance() {
}

packetw2c_kingcraft_lottery_result::packetw2c_kingcraft_lottery_result(const packetw2c_kingcraft_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_kingcraft_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7773;
  result_ = 0;
  type_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_kingcraft_lottery_result::~packetw2c_kingcraft_lottery_result() {
  SharedDtor();
}

void packetw2c_kingcraft_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_kingcraft_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_kingcraft_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_kingcraft_lottery_result_descriptor_;
}

const packetw2c_kingcraft_lottery_result& packetw2c_kingcraft_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_kingcraft_lottery_result* packetw2c_kingcraft_lottery_result::default_instance_ = NULL;

packetw2c_kingcraft_lottery_result* packetw2c_kingcraft_lottery_result::New() const {
  return new packetw2c_kingcraft_lottery_result;
}

void packetw2c_kingcraft_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7773;
    result_ = 0;
    type_ = 0;
    count_ = 0;
  }
  rewardid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_kingcraft_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_kingcraft_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_count;
        break;
      }

      // optional int32 count = 4;
      case 4: {
        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(40)) goto parse_rewardid;
        break;
      }

      // repeated int32 rewardid = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_rewardid())));
        } 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_rewardid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_rewardid;
        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_kingcraft_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // optional int32 count = 4;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  }

  // repeated int32 rewardid = 5;
  for (int i = 0; i < this->rewardid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->rewardid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_kingcraft_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // optional int32 count = 4;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  }

  // repeated int32 rewardid = 5;
  for (int i = 0; i < this->rewardid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->rewardid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_kingcraft_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_kingcraft_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 count = 4;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

  }
  // repeated int32 rewardid = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardid(i));
    }
    total_size += 1 * this->rewardid_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_kingcraft_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_kingcraft_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kingcraft_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_kingcraft_lottery_result::MergeFrom(const packetw2c_kingcraft_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardid_.MergeFrom(from.rewardid_);
  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_type()) {
      set_type(from.type());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_kingcraft_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_kingcraft_lottery_result::CopyFrom(const packetw2c_kingcraft_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_kingcraft_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_kingcraft_lottery_result::Swap(packetw2c_kingcraft_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    std::swap(count_, other->count_);
    rewardid_.Swap(&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_kingcraft_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_kingcraft_lottery_result_descriptor_;
  metadata.reflection = packetw2c_kingcraft_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_receive_kingcraft_recharge_reward::kPacketIdFieldNumber;
const int packetc2w_receive_kingcraft_recharge_reward::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_receive_kingcraft_recharge_reward::packetc2w_receive_kingcraft_recharge_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_receive_kingcraft_recharge_reward::InitAsDefaultInstance() {
}

packetc2w_receive_kingcraft_recharge_reward::packetc2w_receive_kingcraft_recharge_reward(const packetc2w_receive_kingcraft_recharge_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_receive_kingcraft_recharge_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5232;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_receive_kingcraft_recharge_reward::~packetc2w_receive_kingcraft_recharge_reward() {
  SharedDtor();
}

void packetc2w_receive_kingcraft_recharge_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_receive_kingcraft_recharge_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_recharge_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_receive_kingcraft_recharge_reward_descriptor_;
}

const packetc2w_receive_kingcraft_recharge_reward& packetc2w_receive_kingcraft_recharge_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_receive_kingcraft_recharge_reward* packetc2w_receive_kingcraft_recharge_reward::default_instance_ = NULL;

packetc2w_receive_kingcraft_recharge_reward* packetc2w_receive_kingcraft_recharge_reward::New() const {
  return new packetc2w_receive_kingcraft_recharge_reward;
}

void packetc2w_receive_kingcraft_recharge_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5232;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_receive_kingcraft_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_receive_kingcraft_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_receive_kingcraft_recharge_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_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_receive_kingcraft_recharge_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_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_receive_kingcraft_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_receive_kingcraft_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_receive_kingcraft_recharge_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_receive_kingcraft_recharge_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_kingcraft_recharge_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_receive_kingcraft_recharge_reward::MergeFrom(const packetc2w_receive_kingcraft_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_receive_kingcraft_recharge_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_receive_kingcraft_recharge_reward::CopyFrom(const packetc2w_receive_kingcraft_recharge_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_receive_kingcraft_recharge_reward::IsInitialized() const {

  return true;
}

void packetc2w_receive_kingcraft_recharge_reward::Swap(packetc2w_receive_kingcraft_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_receive_kingcraft_recharge_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_receive_kingcraft_recharge_reward_descriptor_;
  metadata.reflection = packetc2w_receive_kingcraft_recharge_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_receive_kingcraft_recharge_reward_result::kPacketIdFieldNumber;
const int packetw2c_receive_kingcraft_recharge_reward_result::kResultFieldNumber;
const int packetw2c_receive_kingcraft_recharge_reward_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_receive_kingcraft_recharge_reward_result::packetw2c_receive_kingcraft_recharge_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_receive_kingcraft_recharge_reward_result::InitAsDefaultInstance() {
}

packetw2c_receive_kingcraft_recharge_reward_result::packetw2c_receive_kingcraft_recharge_reward_result(const packetw2c_receive_kingcraft_recharge_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_receive_kingcraft_recharge_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7774;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_receive_kingcraft_recharge_reward_result::~packetw2c_receive_kingcraft_recharge_reward_result() {
  SharedDtor();
}

void packetw2c_receive_kingcraft_recharge_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_receive_kingcraft_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_receive_kingcraft_recharge_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_receive_kingcraft_recharge_reward_result_descriptor_;
}

const packetw2c_receive_kingcraft_recharge_reward_result& packetw2c_receive_kingcraft_recharge_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_receive_kingcraft_recharge_reward_result* packetw2c_receive_kingcraft_recharge_reward_result::default_instance_ = NULL;

packetw2c_receive_kingcraft_recharge_reward_result* packetw2c_receive_kingcraft_recharge_reward_result::New() const {
  return new packetw2c_receive_kingcraft_recharge_reward_result;
}

void packetw2c_receive_kingcraft_recharge_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7774;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_receive_kingcraft_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_receive_kingcraft_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_receive_kingcraft_recharge_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_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_receive_kingcraft_recharge_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_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_receive_kingcraft_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_receive_kingcraft_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_receive_kingcraft_recharge_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_receive_kingcraft_recharge_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_kingcraft_recharge_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_receive_kingcraft_recharge_reward_result::MergeFrom(const packetw2c_receive_kingcraft_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_receive_kingcraft_recharge_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_receive_kingcraft_recharge_reward_result::CopyFrom(const packetw2c_receive_kingcraft_recharge_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_receive_kingcraft_recharge_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_receive_kingcraft_recharge_reward_result::Swap(packetw2c_receive_kingcraft_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_receive_kingcraft_recharge_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_receive_kingcraft_recharge_reward_result_descriptor_;
  metadata.reflection = packetw2c_receive_kingcraft_recharge_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_receive_kingcraft_exchange::kPacketIdFieldNumber;
const int packetc2w_receive_kingcraft_exchange::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_receive_kingcraft_exchange::packetc2w_receive_kingcraft_exchange()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_receive_kingcraft_exchange::InitAsDefaultInstance() {
}

packetc2w_receive_kingcraft_exchange::packetc2w_receive_kingcraft_exchange(const packetc2w_receive_kingcraft_exchange& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_receive_kingcraft_exchange::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5233;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_receive_kingcraft_exchange::~packetc2w_receive_kingcraft_exchange() {
  SharedDtor();
}

void packetc2w_receive_kingcraft_exchange::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_receive_kingcraft_exchange::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_exchange::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_receive_kingcraft_exchange_descriptor_;
}

const packetc2w_receive_kingcraft_exchange& packetc2w_receive_kingcraft_exchange::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_receive_kingcraft_exchange* packetc2w_receive_kingcraft_exchange::default_instance_ = NULL;

packetc2w_receive_kingcraft_exchange* packetc2w_receive_kingcraft_exchange::New() const {
  return new packetc2w_receive_kingcraft_exchange;
}

void packetc2w_receive_kingcraft_exchange::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5233;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_receive_kingcraft_exchange::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_receive_kingcraft_exchange::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
  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_receive_kingcraft_exchange::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
  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_receive_kingcraft_exchange::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_kingcraft_exchange];
    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_receive_kingcraft_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_receive_kingcraft_exchange* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_kingcraft_exchange*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_receive_kingcraft_exchange::MergeFrom(const packetc2w_receive_kingcraft_exchange& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_receive_kingcraft_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_receive_kingcraft_exchange::CopyFrom(const packetc2w_receive_kingcraft_exchange& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_receive_kingcraft_exchange::IsInitialized() const {

  return true;
}

void packetc2w_receive_kingcraft_exchange::Swap(packetc2w_receive_kingcraft_exchange* 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_receive_kingcraft_exchange::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_receive_kingcraft_exchange_descriptor_;
  metadata.reflection = packetc2w_receive_kingcraft_exchange_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_receive_kingcraft_exchange_result::kPacketIdFieldNumber;
const int packetw2c_receive_kingcraft_exchange_result::kIndexFieldNumber;
const int packetw2c_receive_kingcraft_exchange_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_receive_kingcraft_exchange_result::packetw2c_receive_kingcraft_exchange_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_receive_kingcraft_exchange_result::InitAsDefaultInstance() {
}

packetw2c_receive_kingcraft_exchange_result::packetw2c_receive_kingcraft_exchange_result(const packetw2c_receive_kingcraft_exchange_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_receive_kingcraft_exchange_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7775;
  index_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_receive_kingcraft_exchange_result::~packetw2c_receive_kingcraft_exchange_result() {
  SharedDtor();
}

void packetw2c_receive_kingcraft_exchange_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_receive_kingcraft_exchange_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_receive_kingcraft_exchange_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_receive_kingcraft_exchange_result_descriptor_;
}

const packetw2c_receive_kingcraft_exchange_result& packetw2c_receive_kingcraft_exchange_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_receive_kingcraft_exchange_result* packetw2c_receive_kingcraft_exchange_result::default_instance_ = NULL;

packetw2c_receive_kingcraft_exchange_result* packetw2c_receive_kingcraft_exchange_result::New() const {
  return new packetw2c_receive_kingcraft_exchange_result;
}

void packetw2c_receive_kingcraft_exchange_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7775;
    index_ = 0;
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_receive_kingcraft_exchange_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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->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->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_kingcraft_exchange_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
  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);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_receive_kingcraft_exchange_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
  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);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_receive_kingcraft_exchange_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_kingcraft_exchange_result];
    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());
    }

    // optional int32 result = 3;
    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_receive_kingcraft_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_receive_kingcraft_exchange_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_kingcraft_exchange_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_receive_kingcraft_exchange_result::MergeFrom(const packetw2c_receive_kingcraft_exchange_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_index()) {
      set_index(from.index());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_receive_kingcraft_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_receive_kingcraft_exchange_result::CopyFrom(const packetw2c_receive_kingcraft_exchange_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_receive_kingcraft_exchange_result::IsInitialized() const {

  return true;
}

void packetw2c_receive_kingcraft_exchange_result::Swap(packetw2c_receive_kingcraft_exchange_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(index_, other->index_);
    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_receive_kingcraft_exchange_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_receive_kingcraft_exchange_result_descriptor_;
  metadata.reflection = packetw2c_receive_kingcraft_exchange_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_kingcraft_sign::kPacketIdFieldNumber;
const int packetc2w_kingcraft_sign::kSigndayFieldNumber;
#endif  // !_MSC_VER

packetc2w_kingcraft_sign::packetc2w_kingcraft_sign()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_kingcraft_sign::InitAsDefaultInstance() {
}

packetc2w_kingcraft_sign::packetc2w_kingcraft_sign(const packetc2w_kingcraft_sign& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_kingcraft_sign::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5234;
  signday_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_kingcraft_sign::~packetc2w_kingcraft_sign() {
  SharedDtor();
}

void packetc2w_kingcraft_sign::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_kingcraft_sign::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_kingcraft_sign::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_kingcraft_sign_descriptor_;
}

const packetc2w_kingcraft_sign& packetc2w_kingcraft_sign::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_kingcraft_sign* packetc2w_kingcraft_sign::default_instance_ = NULL;

packetc2w_kingcraft_sign* packetc2w_kingcraft_sign::New() const {
  return new packetc2w_kingcraft_sign;
}

void packetc2w_kingcraft_sign::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5234;
    signday_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_kingcraft_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_kingcraft_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_signday;
        break;
      }

      // optional int32 signday = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signday:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signday_)));
          set_has_signday();
        } 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_kingcraft_sign::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signday = 2;
  if (has_signday()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signday(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_kingcraft_sign::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signday = 2;
  if (has_signday()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signday(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_kingcraft_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_kingcraft_sign];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signday = 2;
    if (has_signday()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signday());
    }

  }
  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_kingcraft_sign::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_kingcraft_sign* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kingcraft_sign*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_kingcraft_sign::MergeFrom(const packetc2w_kingcraft_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_signday()) {
      set_signday(from.signday());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_kingcraft_sign::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_kingcraft_sign::CopyFrom(const packetc2w_kingcraft_sign& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_kingcraft_sign::IsInitialized() const {

  return true;
}

void packetc2w_kingcraft_sign::Swap(packetc2w_kingcraft_sign* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signday_, other->signday_);
    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_kingcraft_sign::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_kingcraft_sign_descriptor_;
  metadata.reflection = packetc2w_kingcraft_sign_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_kingcraft_sign_result::kPacketIdFieldNumber;
const int packetw2c_kingcraft_sign_result::kSigndayFieldNumber;
const int packetw2c_kingcraft_sign_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_kingcraft_sign_result::packetw2c_kingcraft_sign_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_kingcraft_sign_result::InitAsDefaultInstance() {
}

packetw2c_kingcraft_sign_result::packetw2c_kingcraft_sign_result(const packetw2c_kingcraft_sign_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_kingcraft_sign_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7776;
  signday_ = 0;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_kingcraft_sign_result::~packetw2c_kingcraft_sign_result() {
  SharedDtor();
}

void packetw2c_kingcraft_sign_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_kingcraft_sign_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_kingcraft_sign_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_kingcraft_sign_result_descriptor_;
}

const packetw2c_kingcraft_sign_result& packetw2c_kingcraft_sign_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_kingcraft_sign_result* packetw2c_kingcraft_sign_result::default_instance_ = NULL;

packetw2c_kingcraft_sign_result* packetw2c_kingcraft_sign_result::New() const {
  return new packetw2c_kingcraft_sign_result;
}

void packetw2c_kingcraft_sign_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7776;
    signday_ = 0;
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_kingcraft_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_kingcraft_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_signday;
        break;
      }

      // optional int32 signday = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_signday:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &signday_)));
          set_has_signday();
        } 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->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_kingcraft_sign_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 signday = 2;
  if (has_signday()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signday(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_kingcraft_sign_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 signday = 2;
  if (has_signday()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signday(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_kingcraft_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_kingcraft_sign_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 signday = 2;
    if (has_signday()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->signday());
    }

    // optional int32 result = 3;
    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_kingcraft_sign_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_kingcraft_sign_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kingcraft_sign_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_kingcraft_sign_result::MergeFrom(const packetw2c_kingcraft_sign_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_signday()) {
      set_signday(from.signday());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_kingcraft_sign_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_kingcraft_sign_result::CopyFrom(const packetw2c_kingcraft_sign_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_kingcraft_sign_result::IsInitialized() const {

  return true;
}

void packetw2c_kingcraft_sign_result::Swap(packetw2c_kingcraft_sign_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(signday_, other->signday_);
    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_kingcraft_sign_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_kingcraft_sign_result_descriptor_;
  metadata.reflection = packetw2c_kingcraft_sign_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_double_egg_activity_info::kPacketIdFieldNumber;
const int packetw2c_syn_double_egg_activity_info::kActivityStateFieldNumber;
const int packetw2c_syn_double_egg_activity_info::kStartTimeFieldNumber;
const int packetw2c_syn_double_egg_activity_info::kEndTimeFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_double_egg_activity_info::packetw2c_syn_double_egg_activity_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_double_egg_activity_info::InitAsDefaultInstance() {
}

packetw2c_syn_double_egg_activity_info::packetw2c_syn_double_egg_activity_info(const packetw2c_syn_double_egg_activity_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_double_egg_activity_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7777;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_double_egg_activity_info::~packetw2c_syn_double_egg_activity_info() {
  SharedDtor();
}

void packetw2c_syn_double_egg_activity_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_double_egg_activity_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_double_egg_activity_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_double_egg_activity_info_descriptor_;
}

const packetw2c_syn_double_egg_activity_info& packetw2c_syn_double_egg_activity_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_double_egg_activity_info* packetw2c_syn_double_egg_activity_info::default_instance_ = NULL;

packetw2c_syn_double_egg_activity_info* packetw2c_syn_double_egg_activity_info::New() const {
  return new packetw2c_syn_double_egg_activity_info;
}

void packetw2c_syn_double_egg_activity_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7777;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_double_egg_activity_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_w2c_syn_double_egg_activity_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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->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_double_egg_activity_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_double_egg_activity_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_double_egg_activity_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_w2c_syn_double_egg_activity_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

  }
  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_double_egg_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_double_egg_activity_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_egg_activity_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_double_egg_activity_info::MergeFrom(const packetw2c_syn_double_egg_activity_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_double_egg_activity_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_double_egg_activity_info::CopyFrom(const packetw2c_syn_double_egg_activity_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_double_egg_activity_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_double_egg_activity_info::Swap(packetw2c_syn_double_egg_activity_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    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_double_egg_activity_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_double_egg_activity_info_descriptor_;
  metadata.reflection = packetw2c_syn_double_egg_activity_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int touchingFishRecInfo::kIdFieldNumber;
const int touchingFishRecInfo::kRecValueFieldNumber;
#endif  // !_MSC_VER

touchingFishRecInfo::touchingFishRecInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void touchingFishRecInfo::InitAsDefaultInstance() {
}

touchingFishRecInfo::touchingFishRecInfo(const touchingFishRecInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void touchingFishRecInfo::SharedCtor() {
  _cached_size_ = 0;
  id_ = 0;
  recvalue_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

touchingFishRecInfo::~touchingFishRecInfo() {
  SharedDtor();
}

void touchingFishRecInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void touchingFishRecInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* touchingFishRecInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return touchingFishRecInfo_descriptor_;
}

const touchingFishRecInfo& touchingFishRecInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

touchingFishRecInfo* touchingFishRecInfo::default_instance_ = NULL;

touchingFishRecInfo* touchingFishRecInfo::New() const {
  return new touchingFishRecInfo;
}

void touchingFishRecInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    id_ = 0;
    recvalue_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool touchingFishRecInfo::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_recValue;
        break;
      }

      // optional int32 recValue = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recvalue_)));
          set_has_recvalue();
        } 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 touchingFishRecInfo::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 recValue = 2;
  if (has_recvalue()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->recvalue(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* touchingFishRecInfo::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 recValue = 2;
  if (has_recvalue()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->recvalue(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int touchingFishRecInfo::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 recValue = 2;
    if (has_recvalue()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recvalue());
    }

  }
  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 touchingFishRecInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const touchingFishRecInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const touchingFishRecInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void touchingFishRecInfo::MergeFrom(const touchingFishRecInfo& 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_recvalue()) {
      set_recvalue(from.recvalue());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void touchingFishRecInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void touchingFishRecInfo::CopyFrom(const touchingFishRecInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool touchingFishRecInfo::IsInitialized() const {

  return true;
}

void touchingFishRecInfo::Swap(touchingFishRecInfo* other) {
  if (other != this) {
    std::swap(id_, other->id_);
    std::swap(recvalue_, other->recvalue_);
    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 touchingFishRecInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = touchingFishRecInfo_descriptor_;
  metadata.reflection = touchingFishRecInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_touching_fish_activity_info::kPacketIdFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kActivityStateFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kStartTimeFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kEndTimeFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kSeasonFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kExpFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kLevelFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kCurweekFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kWeekStartTimeFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kWeekEndTimeFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kWeekExpFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kLevelRevIdsFieldNumber;
const int packetw2c_syn_touching_fish_activity_info::kWeekBoxRevFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_touching_fish_activity_info::packetw2c_syn_touching_fish_activity_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_touching_fish_activity_info::InitAsDefaultInstance() {
}

packetw2c_syn_touching_fish_activity_info::packetw2c_syn_touching_fish_activity_info(const packetw2c_syn_touching_fish_activity_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_touching_fish_activity_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7778;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  season_ = 0;
  exp_ = 0;
  level_ = 0;
  curweek_ = 0;
  weekstarttime_ = 0;
  weekendtime_ = 0;
  weekexp_ = 0;
  weekboxrev_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_touching_fish_activity_info::~packetw2c_syn_touching_fish_activity_info() {
  SharedDtor();
}

void packetw2c_syn_touching_fish_activity_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_touching_fish_activity_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_activity_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_touching_fish_activity_info_descriptor_;
}

const packetw2c_syn_touching_fish_activity_info& packetw2c_syn_touching_fish_activity_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_touching_fish_activity_info* packetw2c_syn_touching_fish_activity_info::default_instance_ = NULL;

packetw2c_syn_touching_fish_activity_info* packetw2c_syn_touching_fish_activity_info::New() const {
  return new packetw2c_syn_touching_fish_activity_info;
}

void packetw2c_syn_touching_fish_activity_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7778;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    season_ = 0;
    exp_ = 0;
    level_ = 0;
    curweek_ = 0;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    weekstarttime_ = 0;
    weekendtime_ = 0;
    weekexp_ = 0;
    weekboxrev_ = 0;
  }
  levelrevids_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_touching_fish_activity_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_w2c_syn_touching_fish_activity_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_season;
        break;
      }

      // optional int32 season = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_season:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &season_)));
          set_has_season();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_exp;
        break;
      }

      // optional int32 exp = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exp:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exp_)));
          set_has_exp();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_level;
        break;
      }

      // optional int32 level = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_level:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &level_)));
          set_has_level();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_curweek;
        break;
      }

      // optional int32 curweek = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curweek:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curweek_)));
          set_has_curweek();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_weekStartTime;
        break;
      }

      // optional int32 weekStartTime = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weekStartTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &weekstarttime_)));
          set_has_weekstarttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(80)) goto parse_weekEndTime;
        break;
      }

      // optional int32 weekEndTime = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weekEndTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &weekendtime_)));
          set_has_weekendtime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(88)) goto parse_weekExp;
        break;
      }

      // optional int32 weekExp = 11;
      case 11: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weekExp:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &weekexp_)));
          set_has_weekexp();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(98)) goto parse_levelRevIds;
        break;
      }

      // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
      case 12: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_levelRevIds:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_levelrevids()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(98)) goto parse_levelRevIds;
        if (input->ExpectTag(104)) goto parse_weekBoxRev;
        break;
      }

      // optional int32 weekBoxRev = 13;
      case 13: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weekBoxRev:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &weekboxrev_)));
          set_has_weekboxrev();
        } 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_touching_fish_activity_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 season = 5;
  if (has_season()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->season(), output);
  }

  // optional int32 exp = 6;
  if (has_exp()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->exp(), output);
  }

  // optional int32 level = 7;
  if (has_level()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->level(), output);
  }

  // optional int32 curweek = 8;
  if (has_curweek()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->curweek(), output);
  }

  // optional int32 weekStartTime = 9;
  if (has_weekstarttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->weekstarttime(), output);
  }

  // optional int32 weekEndTime = 10;
  if (has_weekendtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->weekendtime(), output);
  }

  // optional int32 weekExp = 11;
  if (has_weekexp()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->weekexp(), output);
  }

  // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
  for (int i = 0; i < this->levelrevids_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      12, this->levelrevids(i), output);
  }

  // optional int32 weekBoxRev = 13;
  if (has_weekboxrev()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->weekboxrev(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_touching_fish_activity_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 season = 5;
  if (has_season()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->season(), target);
  }

  // optional int32 exp = 6;
  if (has_exp()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->exp(), target);
  }

  // optional int32 level = 7;
  if (has_level()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->level(), target);
  }

  // optional int32 curweek = 8;
  if (has_curweek()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->curweek(), target);
  }

  // optional int32 weekStartTime = 9;
  if (has_weekstarttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->weekstarttime(), target);
  }

  // optional int32 weekEndTime = 10;
  if (has_weekendtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->weekendtime(), target);
  }

  // optional int32 weekExp = 11;
  if (has_weekexp()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->weekexp(), target);
  }

  // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
  for (int i = 0; i < this->levelrevids_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        12, this->levelrevids(i), target);
  }

  // optional int32 weekBoxRev = 13;
  if (has_weekboxrev()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->weekboxrev(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_touching_fish_activity_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_w2c_syn_touching_fish_activity_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 season = 5;
    if (has_season()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->season());
    }

    // optional int32 exp = 6;
    if (has_exp()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exp());
    }

    // optional int32 level = 7;
    if (has_level()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->level());
    }

    // optional int32 curweek = 8;
    if (has_curweek()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curweek());
    }

  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    // optional int32 weekStartTime = 9;
    if (has_weekstarttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weekstarttime());
    }

    // optional int32 weekEndTime = 10;
    if (has_weekendtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weekendtime());
    }

    // optional int32 weekExp = 11;
    if (has_weekexp()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weekexp());
    }

    // optional int32 weekBoxRev = 13;
    if (has_weekboxrev()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weekboxrev());
    }

  }
  // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
  total_size += 1 * this->levelrevids_size();
  for (int i = 0; i < this->levelrevids_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->levelrevids(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_syn_touching_fish_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_touching_fish_activity_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_touching_fish_activity_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_touching_fish_activity_info::MergeFrom(const packetw2c_syn_touching_fish_activity_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  levelrevids_.MergeFrom(from.levelrevids_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_season()) {
      set_season(from.season());
    }
    if (from.has_exp()) {
      set_exp(from.exp());
    }
    if (from.has_level()) {
      set_level(from.level());
    }
    if (from.has_curweek()) {
      set_curweek(from.curweek());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_weekstarttime()) {
      set_weekstarttime(from.weekstarttime());
    }
    if (from.has_weekendtime()) {
      set_weekendtime(from.weekendtime());
    }
    if (from.has_weekexp()) {
      set_weekexp(from.weekexp());
    }
    if (from.has_weekboxrev()) {
      set_weekboxrev(from.weekboxrev());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_touching_fish_activity_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_touching_fish_activity_info::CopyFrom(const packetw2c_syn_touching_fish_activity_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_touching_fish_activity_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_touching_fish_activity_info::Swap(packetw2c_syn_touching_fish_activity_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(season_, other->season_);
    std::swap(exp_, other->exp_);
    std::swap(level_, other->level_);
    std::swap(curweek_, other->curweek_);
    std::swap(weekstarttime_, other->weekstarttime_);
    std::swap(weekendtime_, other->weekendtime_);
    std::swap(weekexp_, other->weekexp_);
    levelrevids_.Swap(&other->levelrevids_);
    std::swap(weekboxrev_, other->weekboxrev_);
    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_touching_fish_activity_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_touching_fish_activity_info_descriptor_;
  metadata.reflection = packetw2c_syn_touching_fish_activity_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_touching_fish_exp::kPacketIdFieldNumber;
const int packetw2c_syn_touching_fish_exp::kExpFieldNumber;
const int packetw2c_syn_touching_fish_exp::kLevelFieldNumber;
const int packetw2c_syn_touching_fish_exp::kWeekExpFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_touching_fish_exp::packetw2c_syn_touching_fish_exp()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_touching_fish_exp::InitAsDefaultInstance() {
}

packetw2c_syn_touching_fish_exp::packetw2c_syn_touching_fish_exp(const packetw2c_syn_touching_fish_exp& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_touching_fish_exp::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7782;
  exp_ = 0;
  level_ = 0;
  weekexp_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_touching_fish_exp::~packetw2c_syn_touching_fish_exp() {
  SharedDtor();
}

void packetw2c_syn_touching_fish_exp::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_touching_fish_exp::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_exp::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_touching_fish_exp_descriptor_;
}

const packetw2c_syn_touching_fish_exp& packetw2c_syn_touching_fish_exp::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_touching_fish_exp* packetw2c_syn_touching_fish_exp::default_instance_ = NULL;

packetw2c_syn_touching_fish_exp* packetw2c_syn_touching_fish_exp::New() const {
  return new packetw2c_syn_touching_fish_exp;
}

void packetw2c_syn_touching_fish_exp::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7782;
    exp_ = 0;
    level_ = 0;
    weekexp_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_touching_fish_exp::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_touching_fish_exp];
      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_exp;
        break;
      }

      // optional int32 exp = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_exp:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &exp_)));
          set_has_exp();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_level;
        break;
      }

      // optional int32 level = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_level:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &level_)));
          set_has_level();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_weekExp;
        break;
      }

      // optional int32 weekExp = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weekExp:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &weekexp_)));
          set_has_weekexp();
        } 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_touching_fish_exp::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 exp = 2;
  if (has_exp()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->exp(), output);
  }

  // optional int32 level = 3;
  if (has_level()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->level(), output);
  }

  // optional int32 weekExp = 4;
  if (has_weekexp()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->weekexp(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_touching_fish_exp::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 exp = 2;
  if (has_exp()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->exp(), target);
  }

  // optional int32 level = 3;
  if (has_level()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->level(), target);
  }

  // optional int32 weekExp = 4;
  if (has_weekexp()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->weekexp(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_touching_fish_exp::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_touching_fish_exp];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 exp = 2;
    if (has_exp()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->exp());
    }

    // optional int32 level = 3;
    if (has_level()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->level());
    }

    // optional int32 weekExp = 4;
    if (has_weekexp()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weekexp());
    }

  }
  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_touching_fish_exp::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_touching_fish_exp* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_touching_fish_exp*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_touching_fish_exp::MergeFrom(const packetw2c_syn_touching_fish_exp& 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_exp()) {
      set_exp(from.exp());
    }
    if (from.has_level()) {
      set_level(from.level());
    }
    if (from.has_weekexp()) {
      set_weekexp(from.weekexp());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_touching_fish_exp::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_touching_fish_exp::CopyFrom(const packetw2c_syn_touching_fish_exp& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_touching_fish_exp::IsInitialized() const {

  return true;
}

void packetw2c_syn_touching_fish_exp::Swap(packetw2c_syn_touching_fish_exp* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(exp_, other->exp_);
    std::swap(level_, other->level_);
    std::swap(weekexp_, other->weekexp_);
    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_touching_fish_exp::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_touching_fish_exp_descriptor_;
  metadata.reflection = packetw2c_syn_touching_fish_exp_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_touching_fish_level_reward::kPacketIdFieldNumber;
const int packetc2w_recv_touching_fish_level_reward::kRecIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_touching_fish_level_reward::packetc2w_recv_touching_fish_level_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_touching_fish_level_reward::InitAsDefaultInstance() {
}

packetc2w_recv_touching_fish_level_reward::packetc2w_recv_touching_fish_level_reward(const packetc2w_recv_touching_fish_level_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_level_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5237;
  recid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_touching_fish_level_reward::~packetc2w_recv_touching_fish_level_reward() {
  SharedDtor();
}

void packetc2w_recv_touching_fish_level_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_touching_fish_level_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_level_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_touching_fish_level_reward_descriptor_;
}

const packetc2w_recv_touching_fish_level_reward& packetc2w_recv_touching_fish_level_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_touching_fish_level_reward* packetc2w_recv_touching_fish_level_reward::default_instance_ = NULL;

packetc2w_recv_touching_fish_level_reward* packetc2w_recv_touching_fish_level_reward::New() const {
  return new packetc2w_recv_touching_fish_level_reward;
}

void packetc2w_recv_touching_fish_level_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5237;
    recid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_touching_fish_level_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_touching_fish_level_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(112)) goto parse_recId;
        break;
      }

      // optional int32 recId = 14;
      case 14: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recid_)));
          set_has_recid();
        } 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_touching_fish_level_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 recId = 14;
  if (has_recid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->recid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_touching_fish_level_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 recId = 14;
  if (has_recid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->recid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_touching_fish_level_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_touching_fish_level_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 recId = 14;
    if (has_recid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recid());
    }

  }
  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_touching_fish_level_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_touching_fish_level_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_level_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_touching_fish_level_reward::MergeFrom(const packetc2w_recv_touching_fish_level_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_recid()) {
      set_recid(from.recid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_touching_fish_level_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_level_reward::CopyFrom(const packetc2w_recv_touching_fish_level_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_touching_fish_level_reward::IsInitialized() const {

  return true;
}

void packetc2w_recv_touching_fish_level_reward::Swap(packetc2w_recv_touching_fish_level_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(recid_, other->recid_);
    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_touching_fish_level_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_touching_fish_level_reward_descriptor_;
  metadata.reflection = packetc2w_recv_touching_fish_level_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_touching_fish_level_reward_result::kPacketIdFieldNumber;
const int packetw2c_recv_touching_fish_level_reward_result::kResultFieldNumber;
const int packetw2c_recv_touching_fish_level_reward_result::kRecIdFieldNumber;
const int packetw2c_recv_touching_fish_level_reward_result::kRecValueFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_touching_fish_level_reward_result::packetw2c_recv_touching_fish_level_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_touching_fish_level_reward_result::InitAsDefaultInstance() {
}

packetw2c_recv_touching_fish_level_reward_result::packetw2c_recv_touching_fish_level_reward_result(const packetw2c_recv_touching_fish_level_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_level_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7781;
  result_ = 0;
  recid_ = 0;
  recvalue_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_touching_fish_level_reward_result::~packetw2c_recv_touching_fish_level_reward_result() {
  SharedDtor();
}

void packetw2c_recv_touching_fish_level_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_touching_fish_level_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_touching_fish_level_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_touching_fish_level_reward_result_descriptor_;
}

const packetw2c_recv_touching_fish_level_reward_result& packetw2c_recv_touching_fish_level_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_touching_fish_level_reward_result* packetw2c_recv_touching_fish_level_reward_result::default_instance_ = NULL;

packetw2c_recv_touching_fish_level_reward_result* packetw2c_recv_touching_fish_level_reward_result::New() const {
  return new packetw2c_recv_touching_fish_level_reward_result;
}

void packetw2c_recv_touching_fish_level_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7781;
    result_ = 0;
    recid_ = 0;
    recvalue_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_touching_fish_level_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_touching_fish_level_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_recId;
        break;
      }

      // optional int32 recId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recid_)));
          set_has_recid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_recValue;
        break;
      }

      // optional int32 recValue = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recvalue_)));
          set_has_recvalue();
        } 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_touching_fish_level_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_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 recId = 3;
  if (has_recid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->recid(), output);
  }

  // optional int32 recValue = 4;
  if (has_recvalue()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->recvalue(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_touching_fish_level_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_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 recId = 3;
  if (has_recid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->recid(), target);
  }

  // optional int32 recValue = 4;
  if (has_recvalue()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->recvalue(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_touching_fish_level_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_touching_fish_level_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 recId = 3;
    if (has_recid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recid());
    }

    // optional int32 recValue = 4;
    if (has_recvalue()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recvalue());
    }

  }
  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_touching_fish_level_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_touching_fish_level_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_level_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_touching_fish_level_reward_result::MergeFrom(const packetw2c_recv_touching_fish_level_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_recid()) {
      set_recid(from.recid());
    }
    if (from.has_recvalue()) {
      set_recvalue(from.recvalue());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_touching_fish_level_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_level_reward_result::CopyFrom(const packetw2c_recv_touching_fish_level_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_touching_fish_level_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_touching_fish_level_reward_result::Swap(packetw2c_recv_touching_fish_level_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(recid_, other->recid_);
    std::swap(recvalue_, other->recvalue_);
    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_touching_fish_level_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_touching_fish_level_reward_result_descriptor_;
  metadata.reflection = packetw2c_recv_touching_fish_level_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_touching_fish_task::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_touching_fish_task::packetc2w_recv_touching_fish_task()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_touching_fish_task::InitAsDefaultInstance() {
}

packetc2w_recv_touching_fish_task::packetc2w_recv_touching_fish_task(const packetc2w_recv_touching_fish_task& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_task::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5247;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_touching_fish_task::~packetc2w_recv_touching_fish_task() {
  SharedDtor();
}

void packetc2w_recv_touching_fish_task::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_touching_fish_task::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_task::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_touching_fish_task_descriptor_;
}

const packetc2w_recv_touching_fish_task& packetc2w_recv_touching_fish_task::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_touching_fish_task* packetc2w_recv_touching_fish_task::default_instance_ = NULL;

packetc2w_recv_touching_fish_task* packetc2w_recv_touching_fish_task::New() const {
  return new packetc2w_recv_touching_fish_task;
}

void packetc2w_recv_touching_fish_task::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5247;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_touching_fish_task::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_touching_fish_task];
      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_recv_touching_fish_task::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
  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_recv_touching_fish_task::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
  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_recv_touching_fish_task::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_touching_fish_task];
    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_recv_touching_fish_task::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_touching_fish_task* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_task*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_touching_fish_task::MergeFrom(const packetc2w_recv_touching_fish_task& 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_recv_touching_fish_task::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_task::CopyFrom(const packetc2w_recv_touching_fish_task& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_touching_fish_task::IsInitialized() const {

  return true;
}

void packetc2w_recv_touching_fish_task::Swap(packetc2w_recv_touching_fish_task* 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_recv_touching_fish_task::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_touching_fish_task_descriptor_;
  metadata.reflection = packetc2w_recv_touching_fish_task_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_touching_fish_task_result::kPacketIdFieldNumber;
const int packetw2c_recv_touching_fish_task_result::kQuestListFieldNumber;
const int packetw2c_recv_touching_fish_task_result::kWeekQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_touching_fish_task_result::packetw2c_recv_touching_fish_task_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_touching_fish_task_result::InitAsDefaultInstance() {
}

packetw2c_recv_touching_fish_task_result::packetw2c_recv_touching_fish_task_result(const packetw2c_recv_touching_fish_task_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_task_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7794;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_touching_fish_task_result::~packetw2c_recv_touching_fish_task_result() {
  SharedDtor();
}

void packetw2c_recv_touching_fish_task_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_touching_fish_task_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_task_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_touching_fish_task_result_descriptor_;
}

const packetw2c_recv_touching_fish_task_result& packetw2c_recv_touching_fish_task_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_touching_fish_task_result* packetw2c_recv_touching_fish_task_result::default_instance_ = NULL;

packetw2c_recv_touching_fish_task_result* packetw2c_recv_touching_fish_task_result::New() const {
  return new packetw2c_recv_touching_fish_task_result;
}

void packetw2c_recv_touching_fish_task_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7794;
  }
  questlist_.Clear();
  weekquestlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_touching_fish_task_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_touching_fish_task_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        if (input->ExpectTag(26)) goto parse_weekQuestList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_weekQuestList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_weekquestlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_weekQuestList;
        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_touching_fish_task_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
  for (int i = 0; i < this->weekquestlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->weekquestlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_touching_fish_task_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
  for (int i = 0; i < this->weekquestlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->weekquestlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_touching_fish_task_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_touching_fish_task_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(i));
  }

  // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
  total_size += 1 * this->weekquestlist_size();
  for (int i = 0; i < this->weekquestlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->weekquestlist(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_recv_touching_fish_task_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_touching_fish_task_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_task_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_touching_fish_task_result::MergeFrom(const packetw2c_recv_touching_fish_task_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  weekquestlist_.MergeFrom(from.weekquestlist_);
  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_recv_touching_fish_task_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_task_result::CopyFrom(const packetw2c_recv_touching_fish_task_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_touching_fish_task_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_touching_fish_task_result::Swap(packetw2c_recv_touching_fish_task_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    weekquestlist_.Swap(&other->weekquestlist_);
    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_touching_fish_task_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_touching_fish_task_result_descriptor_;
  metadata.reflection = packetw2c_recv_touching_fish_task_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_touching_fish_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_touching_fish_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_touching_fish_quest_award::packetc2w_recv_touching_fish_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_touching_fish_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_touching_fish_quest_award::packetc2w_recv_touching_fish_quest_award(const packetc2w_recv_touching_fish_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5235;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_touching_fish_quest_award::~packetc2w_recv_touching_fish_quest_award() {
  SharedDtor();
}

void packetc2w_recv_touching_fish_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_touching_fish_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_touching_fish_quest_award_descriptor_;
}

const packetc2w_recv_touching_fish_quest_award& packetc2w_recv_touching_fish_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_touching_fish_quest_award* packetc2w_recv_touching_fish_quest_award::default_instance_ = NULL;

packetc2w_recv_touching_fish_quest_award* packetc2w_recv_touching_fish_quest_award::New() const {
  return new packetc2w_recv_touching_fish_quest_award;
}

void packetc2w_recv_touching_fish_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5235;
    questid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_touching_fish_quest_award::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_touching_fish_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } 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_touching_fish_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_touching_fish_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_touching_fish_quest_award::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_touching_fish_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  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_touching_fish_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_touching_fish_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_touching_fish_quest_award::MergeFrom(const packetc2w_recv_touching_fish_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_touching_fish_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_quest_award::CopyFrom(const packetc2w_recv_touching_fish_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_touching_fish_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_touching_fish_quest_award::Swap(packetc2w_recv_touching_fish_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    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_touching_fish_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_touching_fish_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_touching_fish_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_touching_fish_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_touching_fish_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_touching_fish_quest_award_result::kQuestIdFieldNumber;
const int packetw2c_recv_touching_fish_quest_award_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_touching_fish_quest_award_result::packetw2c_recv_touching_fish_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_touching_fish_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_touching_fish_quest_award_result::packetw2c_recv_touching_fish_quest_award_result(const packetw2c_recv_touching_fish_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7779;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_touching_fish_quest_award_result::~packetw2c_recv_touching_fish_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_touching_fish_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_touching_fish_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_touching_fish_quest_award_result_descriptor_;
}

const packetw2c_recv_touching_fish_quest_award_result& packetw2c_recv_touching_fish_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_touching_fish_quest_award_result* packetw2c_recv_touching_fish_quest_award_result::default_instance_ = NULL;

packetw2c_recv_touching_fish_quest_award_result* packetw2c_recv_touching_fish_quest_award_result::New() const {
  return new packetw2c_recv_touching_fish_quest_award_result;
}

void packetw2c_recv_touching_fish_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7779;
    result_ = 0;
    questid_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_touching_fish_quest_award_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_touching_fish_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo 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->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_touching_fish_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_touching_fish_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_touching_fish_quest_award_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_touching_fish_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  // repeated .msg_info_def.ItemInfo 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_recv_touching_fish_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_touching_fish_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_touching_fish_quest_award_result::MergeFrom(const packetw2c_recv_touching_fish_quest_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_touching_fish_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_quest_award_result::CopyFrom(const packetw2c_recv_touching_fish_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_touching_fish_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_touching_fish_quest_award_result::Swap(packetw2c_recv_touching_fish_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    items_.Swap(&other->items_);
    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_touching_fish_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_touching_fish_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_touching_fish_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_touching_fish_week_box::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_touching_fish_week_box::packetc2w_recv_touching_fish_week_box()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_touching_fish_week_box::InitAsDefaultInstance() {
}

packetc2w_recv_touching_fish_week_box::packetc2w_recv_touching_fish_week_box(const packetc2w_recv_touching_fish_week_box& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_week_box::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5236;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_touching_fish_week_box::~packetc2w_recv_touching_fish_week_box() {
  SharedDtor();
}

void packetc2w_recv_touching_fish_week_box::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_touching_fish_week_box::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_week_box::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_touching_fish_week_box_descriptor_;
}

const packetc2w_recv_touching_fish_week_box& packetc2w_recv_touching_fish_week_box::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_touching_fish_week_box* packetc2w_recv_touching_fish_week_box::default_instance_ = NULL;

packetc2w_recv_touching_fish_week_box* packetc2w_recv_touching_fish_week_box::New() const {
  return new packetc2w_recv_touching_fish_week_box;
}

void packetc2w_recv_touching_fish_week_box::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5236;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_touching_fish_week_box::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_touching_fish_week_box];
      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_recv_touching_fish_week_box::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
  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_recv_touching_fish_week_box::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
  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_recv_touching_fish_week_box::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_touching_fish_week_box];
    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_recv_touching_fish_week_box::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_touching_fish_week_box* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_week_box*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_touching_fish_week_box::MergeFrom(const packetc2w_recv_touching_fish_week_box& 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_recv_touching_fish_week_box::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_touching_fish_week_box::CopyFrom(const packetc2w_recv_touching_fish_week_box& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_touching_fish_week_box::IsInitialized() const {

  return true;
}

void packetc2w_recv_touching_fish_week_box::Swap(packetc2w_recv_touching_fish_week_box* 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_recv_touching_fish_week_box::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_touching_fish_week_box_descriptor_;
  metadata.reflection = packetc2w_recv_touching_fish_week_box_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_touching_fish_week_box_result::kPacketIdFieldNumber;
const int packetw2c_recv_touching_fish_week_box_result::kResultFieldNumber;
const int packetw2c_recv_touching_fish_week_box_result::kWeekBoxRevFieldNumber;
const int packetw2c_recv_touching_fish_week_box_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_touching_fish_week_box_result::packetw2c_recv_touching_fish_week_box_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_touching_fish_week_box_result::InitAsDefaultInstance() {
}

packetw2c_recv_touching_fish_week_box_result::packetw2c_recv_touching_fish_week_box_result(const packetw2c_recv_touching_fish_week_box_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_week_box_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7780;
  result_ = 0;
  weekboxrev_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_touching_fish_week_box_result::~packetw2c_recv_touching_fish_week_box_result() {
  SharedDtor();
}

void packetw2c_recv_touching_fish_week_box_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_touching_fish_week_box_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_week_box_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_touching_fish_week_box_result_descriptor_;
}

const packetw2c_recv_touching_fish_week_box_result& packetw2c_recv_touching_fish_week_box_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_touching_fish_week_box_result* packetw2c_recv_touching_fish_week_box_result::default_instance_ = NULL;

packetw2c_recv_touching_fish_week_box_result* packetw2c_recv_touching_fish_week_box_result::New() const {
  return new packetw2c_recv_touching_fish_week_box_result;
}

void packetw2c_recv_touching_fish_week_box_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7780;
    result_ = 0;
    weekboxrev_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_touching_fish_week_box_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_touching_fish_week_box_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_weekBoxRev;
        break;
      }

      // optional int32 weekBoxRev = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_weekBoxRev:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &weekboxrev_)));
          set_has_weekboxrev();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo 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->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_touching_fish_week_box_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_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 weekBoxRev = 3;
  if (has_weekboxrev()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->weekboxrev(), output);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_touching_fish_week_box_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_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 weekBoxRev = 3;
  if (has_weekboxrev()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->weekboxrev(), target);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_touching_fish_week_box_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_touching_fish_week_box_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 weekBoxRev = 3;
    if (has_weekboxrev()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->weekboxrev());
    }

  }
  // repeated .msg_info_def.ItemInfo 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_recv_touching_fish_week_box_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_touching_fish_week_box_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_week_box_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_touching_fish_week_box_result::MergeFrom(const packetw2c_recv_touching_fish_week_box_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_weekboxrev()) {
      set_weekboxrev(from.weekboxrev());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_touching_fish_week_box_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_touching_fish_week_box_result::CopyFrom(const packetw2c_recv_touching_fish_week_box_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_touching_fish_week_box_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_touching_fish_week_box_result::Swap(packetw2c_recv_touching_fish_week_box_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(weekboxrev_, other->weekboxrev_);
    items_.Swap(&other->items_);
    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_touching_fish_week_box_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_touching_fish_week_box_result_descriptor_;
  metadata.reflection = packetw2c_recv_touching_fish_week_box_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_flush_touching_fish_quest::kPacketIdFieldNumber;
const int packetc2w_flush_touching_fish_quest::kQuestIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_flush_touching_fish_quest::packetc2w_flush_touching_fish_quest()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_flush_touching_fish_quest::InitAsDefaultInstance() {
}

packetc2w_flush_touching_fish_quest::packetc2w_flush_touching_fish_quest(const packetc2w_flush_touching_fish_quest& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_flush_touching_fish_quest::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5238;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_flush_touching_fish_quest::~packetc2w_flush_touching_fish_quest() {
  SharedDtor();
}

void packetc2w_flush_touching_fish_quest::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_flush_touching_fish_quest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_flush_touching_fish_quest::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_flush_touching_fish_quest_descriptor_;
}

const packetc2w_flush_touching_fish_quest& packetc2w_flush_touching_fish_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_flush_touching_fish_quest* packetc2w_flush_touching_fish_quest::default_instance_ = NULL;

packetc2w_flush_touching_fish_quest* packetc2w_flush_touching_fish_quest::New() const {
  return new packetc2w_flush_touching_fish_quest;
}

void packetc2w_flush_touching_fish_quest::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5238;
    questid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_flush_touching_fish_quest::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_flush_touching_fish_quest];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } 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_flush_touching_fish_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_flush_touching_fish_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_flush_touching_fish_quest::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_flush_touching_fish_quest];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  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_flush_touching_fish_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_flush_touching_fish_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_flush_touching_fish_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_flush_touching_fish_quest::MergeFrom(const packetc2w_flush_touching_fish_quest& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_flush_touching_fish_quest::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_flush_touching_fish_quest::CopyFrom(const packetc2w_flush_touching_fish_quest& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_flush_touching_fish_quest::IsInitialized() const {

  return true;
}

void packetc2w_flush_touching_fish_quest::Swap(packetc2w_flush_touching_fish_quest* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    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_flush_touching_fish_quest::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_flush_touching_fish_quest_descriptor_;
  metadata.reflection = packetc2w_flush_touching_fish_quest_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_flush_touching_fish_quest_result::kPacketIdFieldNumber;
const int packetw2c_flush_touching_fish_quest_result::kResultFieldNumber;
const int packetw2c_flush_touching_fish_quest_result::kQuestIdFieldNumber;
const int packetw2c_flush_touching_fish_quest_result::kNewQuestIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_flush_touching_fish_quest_result::packetw2c_flush_touching_fish_quest_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_flush_touching_fish_quest_result::InitAsDefaultInstance() {
}

packetw2c_flush_touching_fish_quest_result::packetw2c_flush_touching_fish_quest_result(const packetw2c_flush_touching_fish_quest_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_flush_touching_fish_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7783;
  result_ = 0;
  questid_ = 0;
  newquestid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_flush_touching_fish_quest_result::~packetw2c_flush_touching_fish_quest_result() {
  SharedDtor();
}

void packetw2c_flush_touching_fish_quest_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_flush_touching_fish_quest_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_flush_touching_fish_quest_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_flush_touching_fish_quest_result_descriptor_;
}

const packetw2c_flush_touching_fish_quest_result& packetw2c_flush_touching_fish_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_flush_touching_fish_quest_result* packetw2c_flush_touching_fish_quest_result::default_instance_ = NULL;

packetw2c_flush_touching_fish_quest_result* packetw2c_flush_touching_fish_quest_result::New() const {
  return new packetw2c_flush_touching_fish_quest_result;
}

void packetw2c_flush_touching_fish_quest_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7783;
    result_ = 0;
    questid_ = 0;
    newquestid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_flush_touching_fish_quest_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_flush_touching_fish_quest_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_newQuestId;
        break;
      }

      // optional int32 newQuestId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_newQuestId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &newquestid_)));
          set_has_newquestid();
        } 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_flush_touching_fish_quest_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  // optional int32 newQuestId = 4;
  if (has_newquestid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->newquestid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_flush_touching_fish_quest_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  // optional int32 newQuestId = 4;
  if (has_newquestid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->newquestid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_flush_touching_fish_quest_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_flush_touching_fish_quest_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

    // optional int32 newQuestId = 4;
    if (has_newquestid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->newquestid());
    }

  }
  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_flush_touching_fish_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_flush_touching_fish_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_flush_touching_fish_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_flush_touching_fish_quest_result::MergeFrom(const packetw2c_flush_touching_fish_quest_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_questid()) {
      set_questid(from.questid());
    }
    if (from.has_newquestid()) {
      set_newquestid(from.newquestid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_flush_touching_fish_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_flush_touching_fish_quest_result::CopyFrom(const packetw2c_flush_touching_fish_quest_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_flush_touching_fish_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_flush_touching_fish_quest_result::Swap(packetw2c_flush_touching_fish_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    std::swap(newquestid_, other->newquestid_);
    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_flush_touching_fish_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_flush_touching_fish_quest_result_descriptor_;
  metadata.reflection = packetw2c_flush_touching_fish_quest_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_touching_fish_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_touching_fish_rank::packetc2w_get_touching_fish_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_touching_fish_rank::InitAsDefaultInstance() {
}

packetc2w_get_touching_fish_rank::packetc2w_get_touching_fish_rank(const packetc2w_get_touching_fish_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_touching_fish_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5239;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_touching_fish_rank::~packetc2w_get_touching_fish_rank() {
  SharedDtor();
}

void packetc2w_get_touching_fish_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_touching_fish_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_touching_fish_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_touching_fish_rank_descriptor_;
}

const packetc2w_get_touching_fish_rank& packetc2w_get_touching_fish_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_touching_fish_rank* packetc2w_get_touching_fish_rank::default_instance_ = NULL;

packetc2w_get_touching_fish_rank* packetc2w_get_touching_fish_rank::New() const {
  return new packetc2w_get_touching_fish_rank;
}

void packetc2w_get_touching_fish_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5239;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_touching_fish_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_touching_fish_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
  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_touching_fish_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
  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_touching_fish_rank::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_touching_fish_rank];
    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_touching_fish_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_touching_fish_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_touching_fish_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_touching_fish_rank::MergeFrom(const packetc2w_get_touching_fish_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_touching_fish_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_touching_fish_rank::CopyFrom(const packetc2w_get_touching_fish_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_touching_fish_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_touching_fish_rank::Swap(packetc2w_get_touching_fish_rank* 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_touching_fish_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_touching_fish_rank_descriptor_;
  metadata.reflection = packetc2w_get_touching_fish_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_touching_fish_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_touching_fish_rank_result::kRankListFieldNumber;
const int packetw2c_get_touching_fish_rank_result::kThresholdValueFieldNumber;
const int packetw2c_get_touching_fish_rank_result::kMyRankFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_touching_fish_rank_result::packetw2c_get_touching_fish_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_touching_fish_rank_result::InitAsDefaultInstance() {
  myrank_ = const_cast< ::client2world_protocols::activity_rank*>(&::client2world_protocols::activity_rank::default_instance());
}

packetw2c_get_touching_fish_rank_result::packetw2c_get_touching_fish_rank_result(const packetw2c_get_touching_fish_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_touching_fish_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7784;
  myrank_ = NULL;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_touching_fish_rank_result::~packetw2c_get_touching_fish_rank_result() {
  SharedDtor();
}

void packetw2c_get_touching_fish_rank_result::SharedDtor() {
  if (this != default_instance_) {
    delete myrank_;
  }
}

void packetw2c_get_touching_fish_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_touching_fish_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_touching_fish_rank_result_descriptor_;
}

const packetw2c_get_touching_fish_rank_result& packetw2c_get_touching_fish_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_touching_fish_rank_result* packetw2c_get_touching_fish_rank_result::default_instance_ = NULL;

packetw2c_get_touching_fish_rank_result* packetw2c_get_touching_fish_rank_result::New() const {
  return new packetw2c_get_touching_fish_rank_result;
}

void packetw2c_get_touching_fish_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7784;
    if (has_myrank()) {
      if (myrank_ != NULL) myrank_->::client2world_protocols::activity_rank::Clear();
    }
  }
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_touching_fish_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 24, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_thresholdValue;
        if (input->ExpectTag(34)) goto parse_myRank;
        break;
      }

      // optional .client2world_protocols.activity_rank myRank = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_myRank:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_myrank()));
        } 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_touching_fish_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // repeated int32 thresholdValue = 3;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      3, this->thresholdvalue(i), output);
  }

  // optional .client2world_protocols.activity_rank myRank = 4;
  if (has_myrank()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->myrank(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_touching_fish_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // repeated int32 thresholdValue = 3;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(3, this->thresholdvalue(i), target);
  }

  // optional .client2world_protocols.activity_rank myRank = 4;
  if (has_myrank()) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->myrank(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_touching_fish_rank_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_touching_fish_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional .client2world_protocols.activity_rank myRank = 4;
    if (has_myrank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->myrank());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 3;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_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_get_touching_fish_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_touching_fish_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_touching_fish_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_touching_fish_rank_result::MergeFrom(const packetw2c_get_touching_fish_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_myrank()) {
      mutable_myrank()->::client2world_protocols::activity_rank::MergeFrom(from.myrank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_touching_fish_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_touching_fish_rank_result::CopyFrom(const packetw2c_get_touching_fish_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_touching_fish_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_touching_fish_rank_result::Swap(packetw2c_get_touching_fish_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    std::swap(myrank_, other->myrank_);
    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_touching_fish_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_touching_fish_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_touching_fish_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_fishing_celebration_info::kPacketIdFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kActivityStateFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kStartTimeFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kEndTimeFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kCurlvFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kBubbleScoreFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kCleTicketFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kCleLotteryTicketFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kLotteryCountFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kGiftLotteryCountFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kGiftLotteryFreeCountFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kGiftLotteryStateFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kGiftLotteryTicketFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kExchangeListFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kItemAFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kItemBFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kItemCFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kRankListFieldNumber;
const int packetw2c_syn_fishing_celebration_info::kThresholdValueFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_fishing_celebration_info::packetw2c_syn_fishing_celebration_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_fishing_celebration_info::InitAsDefaultInstance() {
}

packetw2c_syn_fishing_celebration_info::packetw2c_syn_fishing_celebration_info(const packetw2c_syn_fishing_celebration_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_fishing_celebration_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7785;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  curlv_ = 0;
  bubblescore_ = 0;
  cleticket_ = 0;
  clelotteryticket_ = 0;
  lotterycount_ = 0;
  itema_ = false;
  itemb_ = false;
  itemc_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_fishing_celebration_info::~packetw2c_syn_fishing_celebration_info() {
  SharedDtor();
}

void packetw2c_syn_fishing_celebration_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_fishing_celebration_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_fishing_celebration_info_descriptor_;
}

const packetw2c_syn_fishing_celebration_info& packetw2c_syn_fishing_celebration_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_fishing_celebration_info* packetw2c_syn_fishing_celebration_info::default_instance_ = NULL;

packetw2c_syn_fishing_celebration_info* packetw2c_syn_fishing_celebration_info::New() const {
  return new packetw2c_syn_fishing_celebration_info;
}

void packetw2c_syn_fishing_celebration_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7785;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    curlv_ = 0;
    bubblescore_ = 0;
    cleticket_ = 0;
    clelotteryticket_ = 0;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    lotterycount_ = 0;
    itema_ = false;
    itemb_ = false;
  }
  if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
    itemc_ = false;
  }
  giftlotterycount_.Clear();
  giftlotteryfreecount_.Clear();
  giftlotterystate_.Clear();
  giftlotteryticket_.Clear();
  exchangelist_.Clear();
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_fishing_celebration_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_w2c_syn_fishing_celebration_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_curlv;
        break;
      }

      // optional int32 curlv = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curlv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curlv_)));
          set_has_curlv();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_bubbleScore;
        break;
      }

      // optional int32 bubbleScore = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_bubbleScore:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &bubblescore_)));
          set_has_bubblescore();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_cleTicket;
        break;
      }

      // optional int32 cleTicket = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_cleTicket:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &cleticket_)));
          set_has_cleticket();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_cleLotteryTicket;
        break;
      }

      // optional int32 cleLotteryTicket = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_cleLotteryTicket:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &clelotteryticket_)));
          set_has_clelotteryticket();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_lotteryCount;
        break;
      }

      // optional int32 lotteryCount = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lotteryCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lotterycount_)));
          set_has_lotterycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(80)) goto parse_giftLotteryCount;
        break;
      }

      // repeated int32 giftLotteryCount = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftLotteryCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 80, input, this->mutable_giftlotterycount())));
        } 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_giftlotterycount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(80)) goto parse_giftLotteryCount;
        if (input->ExpectTag(88)) goto parse_giftLotteryFreeCount;
        break;
      }

      // repeated int32 giftLotteryFreeCount = 11;
      case 11: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftLotteryFreeCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 88, input, this->mutable_giftlotteryfreecount())));
        } 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_giftlotteryfreecount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(88)) goto parse_giftLotteryFreeCount;
        if (input->ExpectTag(96)) goto parse_giftLotteryState;
        break;
      }

      // repeated int32 giftLotteryState = 12;
      case 12: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftLotteryState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 96, input, this->mutable_giftlotterystate())));
        } 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_giftlotterystate())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(96)) goto parse_giftLotteryState;
        if (input->ExpectTag(104)) goto parse_giftLotteryTicket;
        break;
      }

      // repeated int32 giftLotteryTicket = 13;
      case 13: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_giftLotteryTicket:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 104, input, this->mutable_giftlotteryticket())));
        } 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_giftlotteryticket())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(104)) goto parse_giftLotteryTicket;
        if (input->ExpectTag(114)) goto parse_exchangeList;
        break;
      }

      // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
      case 14: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_exchangeList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_exchangelist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(114)) goto parse_exchangeList;
        if (input->ExpectTag(120)) goto parse_itemA;
        break;
      }

      // optional bool itemA = 15;
      case 15: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemA:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &itema_)));
          set_has_itema();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(128)) goto parse_itemB;
        break;
      }

      // optional bool itemB = 16;
      case 16: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemB:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &itemb_)));
          set_has_itemb();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(136)) goto parse_itemC;
        break;
      }

      // optional bool itemC = 17;
      case 17: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_itemC:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &itemc_)));
          set_has_itemc();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(146)) goto parse_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 18;
      case 18: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(146)) goto parse_rankList;
        if (input->ExpectTag(152)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 19;
      case 19: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 2, 152, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(152)) goto parse_thresholdValue;
        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_fishing_celebration_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 curlv = 5;
  if (has_curlv()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curlv(), output);
  }

  // optional int32 bubbleScore = 6;
  if (has_bubblescore()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bubblescore(), output);
  }

  // optional int32 cleTicket = 7;
  if (has_cleticket()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->cleticket(), output);
  }

  // optional int32 cleLotteryTicket = 8;
  if (has_clelotteryticket()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->clelotteryticket(), output);
  }

  // optional int32 lotteryCount = 9;
  if (has_lotterycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->lotterycount(), output);
  }

  // repeated int32 giftLotteryCount = 10;
  for (int i = 0; i < this->giftlotterycount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      10, this->giftlotterycount(i), output);
  }

  // repeated int32 giftLotteryFreeCount = 11;
  for (int i = 0; i < this->giftlotteryfreecount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      11, this->giftlotteryfreecount(i), output);
  }

  // repeated int32 giftLotteryState = 12;
  for (int i = 0; i < this->giftlotterystate_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      12, this->giftlotterystate(i), output);
  }

  // repeated int32 giftLotteryTicket = 13;
  for (int i = 0; i < this->giftlotteryticket_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      13, this->giftlotteryticket(i), output);
  }

  // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  for (int i = 0; i < this->exchangelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      14, this->exchangelist(i), output);
  }

  // optional bool itemA = 15;
  if (has_itema()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->itema(), output);
  }

  // optional bool itemB = 16;
  if (has_itemb()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->itemb(), output);
  }

  // optional bool itemC = 17;
  if (has_itemc()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->itemc(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 18;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      18, this->ranklist(i), output);
  }

  // repeated int32 thresholdValue = 19;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      19, this->thresholdvalue(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_fishing_celebration_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 curlv = 5;
  if (has_curlv()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curlv(), target);
  }

  // optional int32 bubbleScore = 6;
  if (has_bubblescore()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bubblescore(), target);
  }

  // optional int32 cleTicket = 7;
  if (has_cleticket()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->cleticket(), target);
  }

  // optional int32 cleLotteryTicket = 8;
  if (has_clelotteryticket()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->clelotteryticket(), target);
  }

  // optional int32 lotteryCount = 9;
  if (has_lotterycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->lotterycount(), target);
  }

  // repeated int32 giftLotteryCount = 10;
  for (int i = 0; i < this->giftlotterycount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(10, this->giftlotterycount(i), target);
  }

  // repeated int32 giftLotteryFreeCount = 11;
  for (int i = 0; i < this->giftlotteryfreecount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(11, this->giftlotteryfreecount(i), target);
  }

  // repeated int32 giftLotteryState = 12;
  for (int i = 0; i < this->giftlotterystate_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(12, this->giftlotterystate(i), target);
  }

  // repeated int32 giftLotteryTicket = 13;
  for (int i = 0; i < this->giftlotteryticket_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(13, this->giftlotteryticket(i), target);
  }

  // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  for (int i = 0; i < this->exchangelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        14, this->exchangelist(i), target);
  }

  // optional bool itemA = 15;
  if (has_itema()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(15, this->itema(), target);
  }

  // optional bool itemB = 16;
  if (has_itemb()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->itemb(), target);
  }

  // optional bool itemC = 17;
  if (has_itemc()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->itemc(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 18;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        18, this->ranklist(i), target);
  }

  // repeated int32 thresholdValue = 19;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(19, this->thresholdvalue(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_fishing_celebration_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_w2c_syn_fishing_celebration_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 curlv = 5;
    if (has_curlv()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curlv());
    }

    // optional int32 bubbleScore = 6;
    if (has_bubblescore()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->bubblescore());
    }

    // optional int32 cleTicket = 7;
    if (has_cleticket()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->cleticket());
    }

    // optional int32 cleLotteryTicket = 8;
    if (has_clelotteryticket()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->clelotteryticket());
    }

  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    // optional int32 lotteryCount = 9;
    if (has_lotterycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lotterycount());
    }

    // optional bool itemA = 15;
    if (has_itema()) {
      total_size += 1 + 1;
    }

    // optional bool itemB = 16;
    if (has_itemb()) {
      total_size += 2 + 1;
    }

  }
  if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
    // optional bool itemC = 17;
    if (has_itemc()) {
      total_size += 2 + 1;
    }

  }
  // repeated int32 giftLotteryCount = 10;
  {
    int data_size = 0;
    for (int i = 0; i < this->giftlotterycount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->giftlotterycount(i));
    }
    total_size += 1 * this->giftlotterycount_size() + data_size;
  }

  // repeated int32 giftLotteryFreeCount = 11;
  {
    int data_size = 0;
    for (int i = 0; i < this->giftlotteryfreecount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->giftlotteryfreecount(i));
    }
    total_size += 1 * this->giftlotteryfreecount_size() + data_size;
  }

  // repeated int32 giftLotteryState = 12;
  {
    int data_size = 0;
    for (int i = 0; i < this->giftlotterystate_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->giftlotterystate(i));
    }
    total_size += 1 * this->giftlotterystate_size() + data_size;
  }

  // repeated int32 giftLotteryTicket = 13;
  {
    int data_size = 0;
    for (int i = 0; i < this->giftlotteryticket_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->giftlotteryticket(i));
    }
    total_size += 1 * this->giftlotteryticket_size() + data_size;
  }

  // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  total_size += 1 * this->exchangelist_size();
  for (int i = 0; i < this->exchangelist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->exchangelist(i));
  }

  // repeated .client2world_protocols.activity_rank rankList = 18;
  total_size += 2 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 19;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 2 * this->thresholdvalue_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_syn_fishing_celebration_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_fishing_celebration_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_fishing_celebration_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_fishing_celebration_info::MergeFrom(const packetw2c_syn_fishing_celebration_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  giftlotterycount_.MergeFrom(from.giftlotterycount_);
  giftlotteryfreecount_.MergeFrom(from.giftlotteryfreecount_);
  giftlotterystate_.MergeFrom(from.giftlotterystate_);
  giftlotteryticket_.MergeFrom(from.giftlotteryticket_);
  exchangelist_.MergeFrom(from.exchangelist_);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_curlv()) {
      set_curlv(from.curlv());
    }
    if (from.has_bubblescore()) {
      set_bubblescore(from.bubblescore());
    }
    if (from.has_cleticket()) {
      set_cleticket(from.cleticket());
    }
    if (from.has_clelotteryticket()) {
      set_clelotteryticket(from.clelotteryticket());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_lotterycount()) {
      set_lotterycount(from.lotterycount());
    }
    if (from.has_itema()) {
      set_itema(from.itema());
    }
    if (from.has_itemb()) {
      set_itemb(from.itemb());
    }
  }
  if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
    if (from.has_itemc()) {
      set_itemc(from.itemc());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_fishing_celebration_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_fishing_celebration_info::CopyFrom(const packetw2c_syn_fishing_celebration_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_fishing_celebration_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_fishing_celebration_info::Swap(packetw2c_syn_fishing_celebration_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(curlv_, other->curlv_);
    std::swap(bubblescore_, other->bubblescore_);
    std::swap(cleticket_, other->cleticket_);
    std::swap(clelotteryticket_, other->clelotteryticket_);
    std::swap(lotterycount_, other->lotterycount_);
    giftlotterycount_.Swap(&other->giftlotterycount_);
    giftlotteryfreecount_.Swap(&other->giftlotteryfreecount_);
    giftlotterystate_.Swap(&other->giftlotterystate_);
    giftlotteryticket_.Swap(&other->giftlotteryticket_);
    exchangelist_.Swap(&other->exchangelist_);
    std::swap(itema_, other->itema_);
    std::swap(itemb_, other->itemb_);
    std::swap(itemc_, other->itemc_);
    ranklist_.Swap(&other->ranklist_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    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_fishing_celebration_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_fishing_celebration_info_descriptor_;
  metadata.reflection = packetw2c_syn_fishing_celebration_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_fishing_celebration_lottery::kPacketIdFieldNumber;
const int packetc2w_fishing_celebration_lottery::kAllLotteryFieldNumber;
const int packetc2w_fishing_celebration_lottery::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_fishing_celebration_lottery::packetc2w_fishing_celebration_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_fishing_celebration_lottery::InitAsDefaultInstance() {
}

packetc2w_fishing_celebration_lottery::packetc2w_fishing_celebration_lottery(const packetc2w_fishing_celebration_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5241;
  alllottery_ = false;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_fishing_celebration_lottery::~packetc2w_fishing_celebration_lottery() {
  SharedDtor();
}

void packetc2w_fishing_celebration_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_fishing_celebration_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_fishing_celebration_lottery_descriptor_;
}

const packetc2w_fishing_celebration_lottery& packetc2w_fishing_celebration_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_fishing_celebration_lottery* packetc2w_fishing_celebration_lottery::default_instance_ = NULL;

packetc2w_fishing_celebration_lottery* packetc2w_fishing_celebration_lottery::New() const {
  return new packetc2w_fishing_celebration_lottery;
}

void packetc2w_fishing_celebration_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5241;
    alllottery_ = false;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_fishing_celebration_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_fishing_celebration_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_allLottery;
        break;
      }

      // optional bool allLottery = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_allLottery:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &alllottery_)));
          set_has_alllottery();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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->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_fishing_celebration_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional bool allLottery = 2;
  if (has_alllottery()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->alllottery(), output);
  }

  // optional int32 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_fishing_celebration_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional bool allLottery = 2;
  if (has_alllottery()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->alllottery(), target);
  }

  // optional int32 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_fishing_celebration_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_fishing_celebration_lottery];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional bool allLottery = 2;
    if (has_alllottery()) {
      total_size += 1 + 1;
    }

    // optional int32 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->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_fishing_celebration_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_fishing_celebration_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_fishing_celebration_lottery::MergeFrom(const packetc2w_fishing_celebration_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_alllottery()) {
      set_alllottery(from.alllottery());
    }
    if (from.has_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_fishing_celebration_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_lottery::CopyFrom(const packetc2w_fishing_celebration_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_fishing_celebration_lottery::IsInitialized() const {

  return true;
}

void packetc2w_fishing_celebration_lottery::Swap(packetc2w_fishing_celebration_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(alllottery_, other->alllottery_);
    std::swap(type_, other->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_fishing_celebration_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_fishing_celebration_lottery_descriptor_;
  metadata.reflection = packetc2w_fishing_celebration_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_fishing_celebration_lottery_result::kPacketIdFieldNumber;
const int packetw2c_fishing_celebration_lottery_result::kResultFieldNumber;
const int packetw2c_fishing_celebration_lottery_result::kAllLotteryFieldNumber;
const int packetw2c_fishing_celebration_lottery_result::kTypeFieldNumber;
const int packetw2c_fishing_celebration_lottery_result::kCostTocketFieldNumber;
const int packetw2c_fishing_celebration_lottery_result::kRewardidFieldNumber;
#endif  // !_MSC_VER

packetw2c_fishing_celebration_lottery_result::packetw2c_fishing_celebration_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_fishing_celebration_lottery_result::InitAsDefaultInstance() {
}

packetw2c_fishing_celebration_lottery_result::packetw2c_fishing_celebration_lottery_result(const packetw2c_fishing_celebration_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7787;
  result_ = 0;
  alllottery_ = false;
  type_ = 0;
  costtocket_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_fishing_celebration_lottery_result::~packetw2c_fishing_celebration_lottery_result() {
  SharedDtor();
}

void packetw2c_fishing_celebration_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_fishing_celebration_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_fishing_celebration_lottery_result_descriptor_;
}

const packetw2c_fishing_celebration_lottery_result& packetw2c_fishing_celebration_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_fishing_celebration_lottery_result* packetw2c_fishing_celebration_lottery_result::default_instance_ = NULL;

packetw2c_fishing_celebration_lottery_result* packetw2c_fishing_celebration_lottery_result::New() const {
  return new packetw2c_fishing_celebration_lottery_result;
}

void packetw2c_fishing_celebration_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7787;
    result_ = 0;
    alllottery_ = false;
    type_ = 0;
    costtocket_ = 0;
  }
  rewardid_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_fishing_celebration_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_fishing_celebration_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_allLottery;
        break;
      }

      // optional bool allLottery = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_allLottery:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &alllottery_)));
          set_has_alllottery();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_type;
        break;
      }

      // optional int32 type = 4;
      case 4: {
        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(40)) goto parse_costTocket;
        break;
      }

      // optional int32 costTocket = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_costTocket:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &costtocket_)));
          set_has_costtocket();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_rewardid;
        break;
      }

      // repeated int32 rewardid = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardid:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 48, input, this->mutable_rewardid())));
        } 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_rewardid())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_rewardid;
        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_fishing_celebration_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_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 bool allLottery = 3;
  if (has_alllottery()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->alllottery(), output);
  }

  // optional int32 type = 4;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->type(), output);
  }

  // optional int32 costTocket = 5;
  if (has_costtocket()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->costtocket(), output);
  }

  // repeated int32 rewardid = 6;
  for (int i = 0; i < this->rewardid_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      6, this->rewardid(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_fishing_celebration_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_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 bool allLottery = 3;
  if (has_alllottery()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->alllottery(), target);
  }

  // optional int32 type = 4;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->type(), target);
  }

  // optional int32 costTocket = 5;
  if (has_costtocket()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->costtocket(), target);
  }

  // repeated int32 rewardid = 6;
  for (int i = 0; i < this->rewardid_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(6, this->rewardid(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_fishing_celebration_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_fishing_celebration_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 bool allLottery = 3;
    if (has_alllottery()) {
      total_size += 1 + 1;
    }

    // optional int32 type = 4;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 costTocket = 5;
    if (has_costtocket()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->costtocket());
    }

  }
  // repeated int32 rewardid = 6;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardid_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardid(i));
    }
    total_size += 1 * this->rewardid_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_fishing_celebration_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_fishing_celebration_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_fishing_celebration_lottery_result::MergeFrom(const packetw2c_fishing_celebration_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardid_.MergeFrom(from.rewardid_);
  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_alllottery()) {
      set_alllottery(from.alllottery());
    }
    if (from.has_type()) {
      set_type(from.type());
    }
    if (from.has_costtocket()) {
      set_costtocket(from.costtocket());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_fishing_celebration_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_lottery_result::CopyFrom(const packetw2c_fishing_celebration_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_fishing_celebration_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_fishing_celebration_lottery_result::Swap(packetw2c_fishing_celebration_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(alllottery_, other->alllottery_);
    std::swap(type_, other->type_);
    std::swap(costtocket_, other->costtocket_);
    rewardid_.Swap(&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_fishing_celebration_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_fishing_celebration_lottery_result_descriptor_;
  metadata.reflection = packetw2c_fishing_celebration_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_fishing_celebration_activate::kPacketIdFieldNumber;
const int packetc2w_fishing_celebration_activate::kLvFieldNumber;
#endif  // !_MSC_VER

packetc2w_fishing_celebration_activate::packetc2w_fishing_celebration_activate()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_fishing_celebration_activate::InitAsDefaultInstance() {
}

packetc2w_fishing_celebration_activate::packetc2w_fishing_celebration_activate(const packetc2w_fishing_celebration_activate& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_activate::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5242;
  lv_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_fishing_celebration_activate::~packetc2w_fishing_celebration_activate() {
  SharedDtor();
}

void packetc2w_fishing_celebration_activate::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_fishing_celebration_activate::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_activate::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_fishing_celebration_activate_descriptor_;
}

const packetc2w_fishing_celebration_activate& packetc2w_fishing_celebration_activate::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_fishing_celebration_activate* packetc2w_fishing_celebration_activate::default_instance_ = NULL;

packetc2w_fishing_celebration_activate* packetc2w_fishing_celebration_activate::New() const {
  return new packetc2w_fishing_celebration_activate;
}

void packetc2w_fishing_celebration_activate::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5242;
    lv_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_fishing_celebration_activate::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_fishing_celebration_activate];
      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_lv;
        break;
      }

      // optional int32 lv = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lv_)));
          set_has_lv();
        } 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_fishing_celebration_activate::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 lv = 2;
  if (has_lv()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lv(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_fishing_celebration_activate::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 lv = 2;
  if (has_lv()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lv(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_fishing_celebration_activate::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_fishing_celebration_activate];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 lv = 2;
    if (has_lv()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lv());
    }

  }
  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_fishing_celebration_activate::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_fishing_celebration_activate* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_activate*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_fishing_celebration_activate::MergeFrom(const packetc2w_fishing_celebration_activate& 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_lv()) {
      set_lv(from.lv());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_fishing_celebration_activate::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_activate::CopyFrom(const packetc2w_fishing_celebration_activate& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_fishing_celebration_activate::IsInitialized() const {

  return true;
}

void packetc2w_fishing_celebration_activate::Swap(packetc2w_fishing_celebration_activate* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(lv_, other->lv_);
    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_fishing_celebration_activate::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_fishing_celebration_activate_descriptor_;
  metadata.reflection = packetc2w_fishing_celebration_activate_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_fishing_celebration_activate_result::kPacketIdFieldNumber;
const int packetw2c_fishing_celebration_activate_result::kResultFieldNumber;
const int packetw2c_fishing_celebration_activate_result::kLvFieldNumber;
#endif  // !_MSC_VER

packetw2c_fishing_celebration_activate_result::packetw2c_fishing_celebration_activate_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_fishing_celebration_activate_result::InitAsDefaultInstance() {
}

packetw2c_fishing_celebration_activate_result::packetw2c_fishing_celebration_activate_result(const packetw2c_fishing_celebration_activate_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_activate_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7788;
  result_ = 0;
  lv_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_fishing_celebration_activate_result::~packetw2c_fishing_celebration_activate_result() {
  SharedDtor();
}

void packetw2c_fishing_celebration_activate_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_fishing_celebration_activate_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_activate_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_fishing_celebration_activate_result_descriptor_;
}

const packetw2c_fishing_celebration_activate_result& packetw2c_fishing_celebration_activate_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_fishing_celebration_activate_result* packetw2c_fishing_celebration_activate_result::default_instance_ = NULL;

packetw2c_fishing_celebration_activate_result* packetw2c_fishing_celebration_activate_result::New() const {
  return new packetw2c_fishing_celebration_activate_result;
}

void packetw2c_fishing_celebration_activate_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7788;
    result_ = 0;
    lv_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_fishing_celebration_activate_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_fishing_celebration_activate_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_lv;
        break;
      }

      // optional int32 lv = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lv_)));
          set_has_lv();
        } 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_fishing_celebration_activate_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_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 lv = 3;
  if (has_lv()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->lv(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_fishing_celebration_activate_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_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 lv = 3;
  if (has_lv()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->lv(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_fishing_celebration_activate_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_fishing_celebration_activate_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 lv = 3;
    if (has_lv()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lv());
    }

  }
  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_fishing_celebration_activate_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_fishing_celebration_activate_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_activate_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_fishing_celebration_activate_result::MergeFrom(const packetw2c_fishing_celebration_activate_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_lv()) {
      set_lv(from.lv());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_fishing_celebration_activate_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_activate_result::CopyFrom(const packetw2c_fishing_celebration_activate_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_fishing_celebration_activate_result::IsInitialized() const {

  return true;
}

void packetw2c_fishing_celebration_activate_result::Swap(packetw2c_fishing_celebration_activate_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(lv_, other->lv_);
    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_fishing_celebration_activate_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_fishing_celebration_activate_result_descriptor_;
  metadata.reflection = packetw2c_fishing_celebration_activate_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_fishing_celebration_exchange::kPacketIdFieldNumber;
const int packetc2w_fishing_celebration_exchange::kIndexFieldNumber;
const int packetc2w_fishing_celebration_exchange::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_fishing_celebration_exchange::packetc2w_fishing_celebration_exchange()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_fishing_celebration_exchange::InitAsDefaultInstance() {
}

packetc2w_fishing_celebration_exchange::packetc2w_fishing_celebration_exchange(const packetc2w_fishing_celebration_exchange& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_exchange::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5243;
  index_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_fishing_celebration_exchange::~packetc2w_fishing_celebration_exchange() {
  SharedDtor();
}

void packetc2w_fishing_celebration_exchange::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_fishing_celebration_exchange::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_exchange::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_fishing_celebration_exchange_descriptor_;
}

const packetc2w_fishing_celebration_exchange& packetc2w_fishing_celebration_exchange::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_fishing_celebration_exchange* packetc2w_fishing_celebration_exchange::default_instance_ = NULL;

packetc2w_fishing_celebration_exchange* packetc2w_fishing_celebration_exchange::New() const {
  return new packetc2w_fishing_celebration_exchange;
}

void packetc2w_fishing_celebration_exchange::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5243;
    index_ = 0;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_fishing_celebration_exchange::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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->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 packetc2w_fishing_celebration_exchange::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
  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);
  }

  // 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* packetc2w_fishing_celebration_exchange::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
  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);
  }

  // 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 packetc2w_fishing_celebration_exchange::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_fishing_celebration_exchange];
    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());
    }

    // 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 packetc2w_fishing_celebration_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_fishing_celebration_exchange* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_exchange*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_fishing_celebration_exchange::MergeFrom(const packetc2w_fishing_celebration_exchange& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_fishing_celebration_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_exchange::CopyFrom(const packetc2w_fishing_celebration_exchange& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_fishing_celebration_exchange::IsInitialized() const {

  return true;
}

void packetc2w_fishing_celebration_exchange::Swap(packetc2w_fishing_celebration_exchange* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(index_, other->index_);
    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_fishing_celebration_exchange::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_fishing_celebration_exchange_descriptor_;
  metadata.reflection = packetc2w_fishing_celebration_exchange_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_fishing_celebration_exchange_result::kPacketIdFieldNumber;
const int packetw2c_fishing_celebration_exchange_result::kResultFieldNumber;
const int packetw2c_fishing_celebration_exchange_result::kIndexFieldNumber;
const int packetw2c_fishing_celebration_exchange_result::kCountFieldNumber;
const int packetw2c_fishing_celebration_exchange_result::kGetproFieldNumber;
#endif  // !_MSC_VER

packetw2c_fishing_celebration_exchange_result::packetw2c_fishing_celebration_exchange_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_fishing_celebration_exchange_result::InitAsDefaultInstance() {
}

packetw2c_fishing_celebration_exchange_result::packetw2c_fishing_celebration_exchange_result(const packetw2c_fishing_celebration_exchange_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_exchange_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7789;
  result_ = 0;
  index_ = 0;
  count_ = 0;
  getpro_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_fishing_celebration_exchange_result::~packetw2c_fishing_celebration_exchange_result() {
  SharedDtor();
}

void packetw2c_fishing_celebration_exchange_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_fishing_celebration_exchange_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_exchange_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_fishing_celebration_exchange_result_descriptor_;
}

const packetw2c_fishing_celebration_exchange_result& packetw2c_fishing_celebration_exchange_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_fishing_celebration_exchange_result* packetw2c_fishing_celebration_exchange_result::default_instance_ = NULL;

packetw2c_fishing_celebration_exchange_result* packetw2c_fishing_celebration_exchange_result::New() const {
  return new packetw2c_fishing_celebration_exchange_result;
}

void packetw2c_fishing_celebration_exchange_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7789;
    result_ = 0;
    index_ = 0;
    count_ = 0;
    getpro_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_fishing_celebration_exchange_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_count;
        break;
      }

      // optional int32 count = 4;
      case 4: {
        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(40)) goto parse_getpro;
        break;
      }

      // optional int32 getpro = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_getpro:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &getpro_)));
          set_has_getpro();
        } 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_fishing_celebration_exchange_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 result = 2;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  }

  // optional int32 index = 3;
  if (has_index()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  }

  // optional int32 count = 4;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  }

  // optional int32 getpro = 5;
  if (has_getpro()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->getpro(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_fishing_celebration_exchange_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 result = 2;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  }

  // optional int32 index = 3;
  if (has_index()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  }

  // optional int32 count = 4;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  }

  // optional int32 getpro = 5;
  if (has_getpro()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->getpro(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_fishing_celebration_exchange_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_fishing_celebration_exchange_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 result = 2;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

    // optional int32 index = 3;
    if (has_index()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->index());
    }

    // optional int32 count = 4;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

    // optional int32 getpro = 5;
    if (has_getpro()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->getpro());
    }

  }
  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_fishing_celebration_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_fishing_celebration_exchange_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_exchange_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_fishing_celebration_exchange_result::MergeFrom(const packetw2c_fishing_celebration_exchange_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_count()) {
      set_count(from.count());
    }
    if (from.has_getpro()) {
      set_getpro(from.getpro());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_fishing_celebration_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_exchange_result::CopyFrom(const packetw2c_fishing_celebration_exchange_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_fishing_celebration_exchange_result::IsInitialized() const {

  return true;
}

void packetw2c_fishing_celebration_exchange_result::Swap(packetw2c_fishing_celebration_exchange_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    std::swap(count_, other->count_);
    std::swap(getpro_, other->getpro_);
    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_fishing_celebration_exchange_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_fishing_celebration_exchange_result_descriptor_;
  metadata.reflection = packetw2c_fishing_celebration_exchange_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_fishing_celebration_free_gift_lottery::kPacketIdFieldNumber;
const int packetw2c_syn_fishing_celebration_free_gift_lottery::kFreeCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_fishing_celebration_free_gift_lottery::packetw2c_syn_fishing_celebration_free_gift_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::InitAsDefaultInstance() {
}

packetw2c_syn_fishing_celebration_free_gift_lottery::packetw2c_syn_fishing_celebration_free_gift_lottery(const packetw2c_syn_fishing_celebration_free_gift_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7793;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_fishing_celebration_free_gift_lottery::~packetw2c_syn_fishing_celebration_free_gift_lottery() {
  SharedDtor();
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_free_gift_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_;
}

const packetw2c_syn_fishing_celebration_free_gift_lottery& packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_fishing_celebration_free_gift_lottery* packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_ = NULL;

packetw2c_syn_fishing_celebration_free_gift_lottery* packetw2c_syn_fishing_celebration_free_gift_lottery::New() const {
  return new packetw2c_syn_fishing_celebration_free_gift_lottery;
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7793;
  }
  freecount_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_fishing_celebration_free_gift_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_w2c_syn_fishing_celebration_free_gift_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_freeCount;
        break;
      }

      // repeated int32 freeCount = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_freeCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 16, input, this->mutable_freecount())));
        } 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_freecount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_freeCount;
        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_fishing_celebration_free_gift_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated int32 freeCount = 2;
  for (int i = 0; i < this->freecount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      2, this->freecount(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_fishing_celebration_free_gift_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated int32 freeCount = 2;
  for (int i = 0; i < this->freecount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(2, this->freecount(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_fishing_celebration_free_gift_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_w2c_syn_fishing_celebration_free_gift_lottery];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated int32 freeCount = 2;
  {
    int data_size = 0;
    for (int i = 0; i < this->freecount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->freecount(i));
    }
    total_size += 1 * this->freecount_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_syn_fishing_celebration_free_gift_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_fishing_celebration_free_gift_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_fishing_celebration_free_gift_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::MergeFrom(const packetw2c_syn_fishing_celebration_free_gift_lottery& from) {
  GOOGLE_CHECK_NE(&from, this);
  freecount_.MergeFrom(from.freecount_);
  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_syn_fishing_celebration_free_gift_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::CopyFrom(const packetw2c_syn_fishing_celebration_free_gift_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_fishing_celebration_free_gift_lottery::IsInitialized() const {

  return true;
}

void packetw2c_syn_fishing_celebration_free_gift_lottery::Swap(packetw2c_syn_fishing_celebration_free_gift_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    freecount_.Swap(&other->freecount_);
    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_fishing_celebration_free_gift_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_;
  metadata.reflection = packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_fishing_celebration_gift_lottery::kPacketIdFieldNumber;
const int packetc2w_fishing_celebration_gift_lottery::kTypeFieldNumber;
const int packetc2w_fishing_celebration_gift_lottery::kIsAdvFieldNumber;
#endif  // !_MSC_VER

packetc2w_fishing_celebration_gift_lottery::packetc2w_fishing_celebration_gift_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_fishing_celebration_gift_lottery::InitAsDefaultInstance() {
}

packetc2w_fishing_celebration_gift_lottery::packetc2w_fishing_celebration_gift_lottery(const packetc2w_fishing_celebration_gift_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_gift_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5244;
  type_ = 0;
  isadv_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_fishing_celebration_gift_lottery::~packetc2w_fishing_celebration_gift_lottery() {
  SharedDtor();
}

void packetc2w_fishing_celebration_gift_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_fishing_celebration_gift_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_fishing_celebration_gift_lottery_descriptor_;
}

const packetc2w_fishing_celebration_gift_lottery& packetc2w_fishing_celebration_gift_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_fishing_celebration_gift_lottery* packetc2w_fishing_celebration_gift_lottery::default_instance_ = NULL;

packetc2w_fishing_celebration_gift_lottery* packetc2w_fishing_celebration_gift_lottery::New() const {
  return new packetc2w_fishing_celebration_gift_lottery;
}

void packetc2w_fishing_celebration_gift_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5244;
    type_ = 0;
    isadv_ = false;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_fishing_celebration_gift_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_fishing_celebration_gift_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_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_isAdv;
        break;
      }

      // optional bool isAdv = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_isAdv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &isadv_)));
          set_has_isadv();
        } 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_fishing_celebration_gift_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
  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 bool isAdv = 3;
  if (has_isadv()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isadv(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_fishing_celebration_gift_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
  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 bool isAdv = 3;
  if (has_isadv()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->isadv(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_fishing_celebration_gift_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_fishing_celebration_gift_lottery];
    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 bool isAdv = 3;
    if (has_isadv()) {
      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_fishing_celebration_gift_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_fishing_celebration_gift_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_gift_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_fishing_celebration_gift_lottery::MergeFrom(const packetc2w_fishing_celebration_gift_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_type()) {
      set_type(from.type());
    }
    if (from.has_isadv()) {
      set_isadv(from.isadv());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_fishing_celebration_gift_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_gift_lottery::CopyFrom(const packetc2w_fishing_celebration_gift_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_fishing_celebration_gift_lottery::IsInitialized() const {

  return true;
}

void packetc2w_fishing_celebration_gift_lottery::Swap(packetc2w_fishing_celebration_gift_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    std::swap(isadv_, other->isadv_);
    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_fishing_celebration_gift_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_fishing_celebration_gift_lottery_descriptor_;
  metadata.reflection = packetc2w_fishing_celebration_gift_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_fishing_celebration_gift_lottery_result::kPacketIdFieldNumber;
const int packetw2c_fishing_celebration_gift_lottery_result::kResultFieldNumber;
const int packetw2c_fishing_celebration_gift_lottery_result::kTypeFieldNumber;
const int packetw2c_fishing_celebration_gift_lottery_result::kIsAdvFieldNumber;
const int packetw2c_fishing_celebration_gift_lottery_result::kRewardidFieldNumber;
const int packetw2c_fishing_celebration_gift_lottery_result::kFreeCountFieldNumber;
#endif  // !_MSC_VER

packetw2c_fishing_celebration_gift_lottery_result::packetw2c_fishing_celebration_gift_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_fishing_celebration_gift_lottery_result::InitAsDefaultInstance() {
}

packetw2c_fishing_celebration_gift_lottery_result::packetw2c_fishing_celebration_gift_lottery_result(const packetw2c_fishing_celebration_gift_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_gift_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7790;
  result_ = 0;
  type_ = 0;
  isadv_ = false;
  rewardid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_fishing_celebration_gift_lottery_result::~packetw2c_fishing_celebration_gift_lottery_result() {
  SharedDtor();
}

void packetw2c_fishing_celebration_gift_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_fishing_celebration_gift_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_fishing_celebration_gift_lottery_result_descriptor_;
}

const packetw2c_fishing_celebration_gift_lottery_result& packetw2c_fishing_celebration_gift_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_fishing_celebration_gift_lottery_result* packetw2c_fishing_celebration_gift_lottery_result::default_instance_ = NULL;

packetw2c_fishing_celebration_gift_lottery_result* packetw2c_fishing_celebration_gift_lottery_result::New() const {
  return new packetw2c_fishing_celebration_gift_lottery_result;
}

void packetw2c_fishing_celebration_gift_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7790;
    result_ = 0;
    type_ = 0;
    isadv_ = false;
    rewardid_ = 0;
  }
  freecount_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_fishing_celebration_gift_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_fishing_celebration_gift_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_isAdv;
        break;
      }

      // optional bool isAdv = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_isAdv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &isadv_)));
          set_has_isadv();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_rewardid;
        break;
      }

      // optional int32 rewardid = 5;
      case 5: {
        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->ExpectTag(48)) goto parse_freeCount;
        break;
      }

      // repeated int32 freeCount = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_freeCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 48, input, this->mutable_freecount())));
        } 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_freecount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_freeCount;
        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_fishing_celebration_gift_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // optional bool isAdv = 4;
  if (has_isadv()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->isadv(), output);
  }

  // optional int32 rewardid = 5;
  if (has_rewardid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->rewardid(), output);
  }

  // repeated int32 freeCount = 6;
  for (int i = 0; i < this->freecount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      6, this->freecount(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_fishing_celebration_gift_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // optional bool isAdv = 4;
  if (has_isadv()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->isadv(), target);
  }

  // optional int32 rewardid = 5;
  if (has_rewardid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->rewardid(), target);
  }

  // repeated int32 freeCount = 6;
  for (int i = 0; i < this->freecount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(6, this->freecount(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_fishing_celebration_gift_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_fishing_celebration_gift_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional bool isAdv = 4;
    if (has_isadv()) {
      total_size += 1 + 1;
    }

    // optional int32 rewardid = 5;
    if (has_rewardid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rewardid());
    }

  }
  // repeated int32 freeCount = 6;
  {
    int data_size = 0;
    for (int i = 0; i < this->freecount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->freecount(i));
    }
    total_size += 1 * this->freecount_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_fishing_celebration_gift_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_fishing_celebration_gift_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_gift_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_fishing_celebration_gift_lottery_result::MergeFrom(const packetw2c_fishing_celebration_gift_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  freecount_.MergeFrom(from.freecount_);
  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_type()) {
      set_type(from.type());
    }
    if (from.has_isadv()) {
      set_isadv(from.isadv());
    }
    if (from.has_rewardid()) {
      set_rewardid(from.rewardid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_fishing_celebration_gift_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_gift_lottery_result::CopyFrom(const packetw2c_fishing_celebration_gift_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_fishing_celebration_gift_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_fishing_celebration_gift_lottery_result::Swap(packetw2c_fishing_celebration_gift_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    std::swap(isadv_, other->isadv_);
    std::swap(rewardid_, other->rewardid_);
    freecount_.Swap(&other->freecount_);
    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_fishing_celebration_gift_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_fishing_celebration_gift_lottery_result_descriptor_;
  metadata.reflection = packetw2c_fishing_celebration_gift_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_fishing_celebration_gift_lottery_reward::kPacketIdFieldNumber;
const int packetc2w_fishing_celebration_gift_lottery_reward::kTypeFieldNumber;
#endif  // !_MSC_VER

packetc2w_fishing_celebration_gift_lottery_reward::packetc2w_fishing_celebration_gift_lottery_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_fishing_celebration_gift_lottery_reward::InitAsDefaultInstance() {
}

packetc2w_fishing_celebration_gift_lottery_reward::packetc2w_fishing_celebration_gift_lottery_reward(const packetc2w_fishing_celebration_gift_lottery_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_gift_lottery_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5245;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_fishing_celebration_gift_lottery_reward::~packetc2w_fishing_celebration_gift_lottery_reward() {
  SharedDtor();
}

void packetc2w_fishing_celebration_gift_lottery_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_fishing_celebration_gift_lottery_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_fishing_celebration_gift_lottery_reward_descriptor_;
}

const packetc2w_fishing_celebration_gift_lottery_reward& packetc2w_fishing_celebration_gift_lottery_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_fishing_celebration_gift_lottery_reward* packetc2w_fishing_celebration_gift_lottery_reward::default_instance_ = NULL;

packetc2w_fishing_celebration_gift_lottery_reward* packetc2w_fishing_celebration_gift_lottery_reward::New() const {
  return new packetc2w_fishing_celebration_gift_lottery_reward;
}

void packetc2w_fishing_celebration_gift_lottery_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5245;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_fishing_celebration_gift_lottery_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_fishing_celebration_gift_lottery_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->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_fishing_celebration_gift_lottery_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_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);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_fishing_celebration_gift_lottery_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_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);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_fishing_celebration_gift_lottery_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_fishing_celebration_gift_lottery_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());
    }

  }
  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_fishing_celebration_gift_lottery_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_fishing_celebration_gift_lottery_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_gift_lottery_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_fishing_celebration_gift_lottery_reward::MergeFrom(const packetc2w_fishing_celebration_gift_lottery_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_fishing_celebration_gift_lottery_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_gift_lottery_reward::CopyFrom(const packetc2w_fishing_celebration_gift_lottery_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_fishing_celebration_gift_lottery_reward::IsInitialized() const {

  return true;
}

void packetc2w_fishing_celebration_gift_lottery_reward::Swap(packetc2w_fishing_celebration_gift_lottery_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->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_fishing_celebration_gift_lottery_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_fishing_celebration_gift_lottery_reward_descriptor_;
  metadata.reflection = packetc2w_fishing_celebration_gift_lottery_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_fishing_celebration_gift_lottery_reward_result::kPacketIdFieldNumber;
const int packetw2c_fishing_celebration_gift_lottery_reward_result::kResultFieldNumber;
const int packetw2c_fishing_celebration_gift_lottery_reward_result::kTypeFieldNumber;
#endif  // !_MSC_VER

packetw2c_fishing_celebration_gift_lottery_reward_result::packetw2c_fishing_celebration_gift_lottery_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::InitAsDefaultInstance() {
}

packetw2c_fishing_celebration_gift_lottery_reward_result::packetw2c_fishing_celebration_gift_lottery_reward_result(const packetw2c_fishing_celebration_gift_lottery_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7791;
  result_ = 0;
  type_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_fishing_celebration_gift_lottery_reward_result::~packetw2c_fishing_celebration_gift_lottery_reward_result() {
  SharedDtor();
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_;
}

const packetw2c_fishing_celebration_gift_lottery_reward_result& packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_fishing_celebration_gift_lottery_reward_result* packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_ = NULL;

packetw2c_fishing_celebration_gift_lottery_reward_result* packetw2c_fishing_celebration_gift_lottery_reward_result::New() const {
  return new packetw2c_fishing_celebration_gift_lottery_reward_result;
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7791;
    result_ = 0;
    type_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_fishing_celebration_gift_lottery_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_fishing_celebration_gift_lottery_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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->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_fishing_celebration_gift_lottery_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_fishing_celebration_gift_lottery_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_fishing_celebration_gift_lottery_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_fishing_celebration_gift_lottery_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->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 packetw2c_fishing_celebration_gift_lottery_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_fishing_celebration_gift_lottery_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_gift_lottery_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::MergeFrom(const packetw2c_fishing_celebration_gift_lottery_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_type()) {
      set_type(from.type());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::CopyFrom(const packetw2c_fishing_celebration_gift_lottery_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_fishing_celebration_gift_lottery_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_fishing_celebration_gift_lottery_reward_result::Swap(packetw2c_fishing_celebration_gift_lottery_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->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 packetw2c_fishing_celebration_gift_lottery_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_;
  metadata.reflection = packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_fishing_celebration_buy_gift::kPacketIdFieldNumber;
const int packetc2w_fishing_celebration_buy_gift::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_fishing_celebration_buy_gift::packetc2w_fishing_celebration_buy_gift()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_fishing_celebration_buy_gift::InitAsDefaultInstance() {
}

packetc2w_fishing_celebration_buy_gift::packetc2w_fishing_celebration_buy_gift(const packetc2w_fishing_celebration_buy_gift& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_buy_gift::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5246;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_fishing_celebration_buy_gift::~packetc2w_fishing_celebration_buy_gift() {
  SharedDtor();
}

void packetc2w_fishing_celebration_buy_gift::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_fishing_celebration_buy_gift::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_buy_gift::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_fishing_celebration_buy_gift_descriptor_;
}

const packetc2w_fishing_celebration_buy_gift& packetc2w_fishing_celebration_buy_gift::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_fishing_celebration_buy_gift* packetc2w_fishing_celebration_buy_gift::default_instance_ = NULL;

packetc2w_fishing_celebration_buy_gift* packetc2w_fishing_celebration_buy_gift::New() const {
  return new packetc2w_fishing_celebration_buy_gift;
}

void packetc2w_fishing_celebration_buy_gift::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5246;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_fishing_celebration_buy_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_fishing_celebration_buy_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_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_fishing_celebration_buy_gift::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
  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_fishing_celebration_buy_gift::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
  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_fishing_celebration_buy_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_fishing_celebration_buy_gift];
    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_fishing_celebration_buy_gift::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_fishing_celebration_buy_gift* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_buy_gift*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_fishing_celebration_buy_gift::MergeFrom(const packetc2w_fishing_celebration_buy_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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_fishing_celebration_buy_gift::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_fishing_celebration_buy_gift::CopyFrom(const packetc2w_fishing_celebration_buy_gift& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_fishing_celebration_buy_gift::IsInitialized() const {

  return true;
}

void packetc2w_fishing_celebration_buy_gift::Swap(packetc2w_fishing_celebration_buy_gift* 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_fishing_celebration_buy_gift::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_fishing_celebration_buy_gift_descriptor_;
  metadata.reflection = packetc2w_fishing_celebration_buy_gift_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_fishing_celebration_buy_gift_result::kPacketIdFieldNumber;
const int packetw2c_fishing_celebration_buy_gift_result::kResultFieldNumber;
const int packetw2c_fishing_celebration_buy_gift_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_fishing_celebration_buy_gift_result::packetw2c_fishing_celebration_buy_gift_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_fishing_celebration_buy_gift_result::InitAsDefaultInstance() {
}

packetw2c_fishing_celebration_buy_gift_result::packetw2c_fishing_celebration_buy_gift_result(const packetw2c_fishing_celebration_buy_gift_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_buy_gift_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7792;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_fishing_celebration_buy_gift_result::~packetw2c_fishing_celebration_buy_gift_result() {
  SharedDtor();
}

void packetw2c_fishing_celebration_buy_gift_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_fishing_celebration_buy_gift_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_buy_gift_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_fishing_celebration_buy_gift_result_descriptor_;
}

const packetw2c_fishing_celebration_buy_gift_result& packetw2c_fishing_celebration_buy_gift_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_fishing_celebration_buy_gift_result* packetw2c_fishing_celebration_buy_gift_result::default_instance_ = NULL;

packetw2c_fishing_celebration_buy_gift_result* packetw2c_fishing_celebration_buy_gift_result::New() const {
  return new packetw2c_fishing_celebration_buy_gift_result;
}

void packetw2c_fishing_celebration_buy_gift_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7792;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_fishing_celebration_buy_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_fishing_celebration_buy_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_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_fishing_celebration_buy_gift_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_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 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_fishing_celebration_buy_gift_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_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 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_fishing_celebration_buy_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_fishing_celebration_buy_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 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_fishing_celebration_buy_gift_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_fishing_celebration_buy_gift_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_buy_gift_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_fishing_celebration_buy_gift_result::MergeFrom(const packetw2c_fishing_celebration_buy_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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_fishing_celebration_buy_gift_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_fishing_celebration_buy_gift_result::CopyFrom(const packetw2c_fishing_celebration_buy_gift_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_fishing_celebration_buy_gift_result::IsInitialized() const {

  return true;
}

void packetw2c_fishing_celebration_buy_gift_result::Swap(packetw2c_fishing_celebration_buy_gift_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_fishing_celebration_buy_gift_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_fishing_celebration_buy_gift_result_descriptor_;
  metadata.reflection = packetw2c_fishing_celebration_buy_gift_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_fishing_celebration_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_fishing_celebration_rank::packetc2w_get_fishing_celebration_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_fishing_celebration_rank::InitAsDefaultInstance() {
}

packetc2w_get_fishing_celebration_rank::packetc2w_get_fishing_celebration_rank(const packetc2w_get_fishing_celebration_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_fishing_celebration_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5240;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_fishing_celebration_rank::~packetc2w_get_fishing_celebration_rank() {
  SharedDtor();
}

void packetc2w_get_fishing_celebration_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_fishing_celebration_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_fishing_celebration_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_fishing_celebration_rank_descriptor_;
}

const packetc2w_get_fishing_celebration_rank& packetc2w_get_fishing_celebration_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_fishing_celebration_rank* packetc2w_get_fishing_celebration_rank::default_instance_ = NULL;

packetc2w_get_fishing_celebration_rank* packetc2w_get_fishing_celebration_rank::New() const {
  return new packetc2w_get_fishing_celebration_rank;
}

void packetc2w_get_fishing_celebration_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5240;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_fishing_celebration_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_fishing_celebration_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
  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_fishing_celebration_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
  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_fishing_celebration_rank::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_fishing_celebration_rank];
    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_fishing_celebration_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_fishing_celebration_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_fishing_celebration_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_fishing_celebration_rank::MergeFrom(const packetc2w_get_fishing_celebration_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_fishing_celebration_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_fishing_celebration_rank::CopyFrom(const packetc2w_get_fishing_celebration_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_fishing_celebration_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_fishing_celebration_rank::Swap(packetc2w_get_fishing_celebration_rank* 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_fishing_celebration_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_fishing_celebration_rank_descriptor_;
  metadata.reflection = packetc2w_get_fishing_celebration_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_fishing_celebration_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_fishing_celebration_rank_result::kRankListFieldNumber;
const int packetw2c_get_fishing_celebration_rank_result::kThresholdValueFieldNumber;
const int packetw2c_get_fishing_celebration_rank_result::kMyRankFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_fishing_celebration_rank_result::packetw2c_get_fishing_celebration_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_fishing_celebration_rank_result::InitAsDefaultInstance() {
  myrank_ = const_cast< ::client2world_protocols::activity_rank*>(&::client2world_protocols::activity_rank::default_instance());
}

packetw2c_get_fishing_celebration_rank_result::packetw2c_get_fishing_celebration_rank_result(const packetw2c_get_fishing_celebration_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_fishing_celebration_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7786;
  myrank_ = NULL;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_fishing_celebration_rank_result::~packetw2c_get_fishing_celebration_rank_result() {
  SharedDtor();
}

void packetw2c_get_fishing_celebration_rank_result::SharedDtor() {
  if (this != default_instance_) {
    delete myrank_;
  }
}

void packetw2c_get_fishing_celebration_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_fishing_celebration_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_fishing_celebration_rank_result_descriptor_;
}

const packetw2c_get_fishing_celebration_rank_result& packetw2c_get_fishing_celebration_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_fishing_celebration_rank_result* packetw2c_get_fishing_celebration_rank_result::default_instance_ = NULL;

packetw2c_get_fishing_celebration_rank_result* packetw2c_get_fishing_celebration_rank_result::New() const {
  return new packetw2c_get_fishing_celebration_rank_result;
}

void packetw2c_get_fishing_celebration_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7786;
    if (has_myrank()) {
      if (myrank_ != NULL) myrank_->::client2world_protocols::activity_rank::Clear();
    }
  }
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_fishing_celebration_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 24, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_thresholdValue;
        if (input->ExpectTag(34)) goto parse_myRank;
        break;
      }

      // optional .client2world_protocols.activity_rank myRank = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_myRank:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_myrank()));
        } 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_fishing_celebration_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // repeated int32 thresholdValue = 3;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      3, this->thresholdvalue(i), output);
  }

  // optional .client2world_protocols.activity_rank myRank = 4;
  if (has_myrank()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->myrank(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_fishing_celebration_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // repeated int32 thresholdValue = 3;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(3, this->thresholdvalue(i), target);
  }

  // optional .client2world_protocols.activity_rank myRank = 4;
  if (has_myrank()) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->myrank(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_fishing_celebration_rank_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_fishing_celebration_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional .client2world_protocols.activity_rank myRank = 4;
    if (has_myrank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->myrank());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 3;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_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_get_fishing_celebration_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_fishing_celebration_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_fishing_celebration_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_fishing_celebration_rank_result::MergeFrom(const packetw2c_get_fishing_celebration_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_myrank()) {
      mutable_myrank()->::client2world_protocols::activity_rank::MergeFrom(from.myrank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_fishing_celebration_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_fishing_celebration_rank_result::CopyFrom(const packetw2c_get_fishing_celebration_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_fishing_celebration_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_fishing_celebration_rank_result::Swap(packetw2c_get_fishing_celebration_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    std::swap(myrank_, other->myrank_);
    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_fishing_celebration_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_fishing_celebration_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_fishing_celebration_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int prizeKey::kGearFieldNumber;
const int prizeKey::kRankFieldNumber;
const int prizeKey::kKeyListFieldNumber;
#endif  // !_MSC_VER

prizeKey::prizeKey()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void prizeKey::InitAsDefaultInstance() {
}

prizeKey::prizeKey(const prizeKey& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void prizeKey::SharedCtor() {
  _cached_size_ = 0;
  gear_ = 0;
  rank_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

prizeKey::~prizeKey() {
  SharedDtor();
}

void prizeKey::SharedDtor() {
  if (this != default_instance_) {
  }
}

void prizeKey::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* prizeKey::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return prizeKey_descriptor_;
}

const prizeKey& prizeKey::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

prizeKey* prizeKey::default_instance_ = NULL;

prizeKey* prizeKey::New() const {
  return new prizeKey;
}

void prizeKey::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    gear_ = 0;
    rank_ = 0;
  }
  keylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool prizeKey::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 gear = 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, &gear_)));
          set_has_gear();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_rank;
        break;
      }

      // optional int32 rank = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rank:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rank_)));
          set_has_rank();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_keyList;
        break;
      }

      // repeated string keyList = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_keyList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->add_keylist()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->keylist(this->keylist_size() - 1).data(),
            this->keylist(this->keylist_size() - 1).length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_keyList;
        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 prizeKey::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 gear = 1;
  if (has_gear()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->gear(), output);
  }

  // optional int32 rank = 2;
  if (has_rank()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rank(), output);
  }

  // repeated string keyList = 3;
  for (int i = 0; i < this->keylist_size(); i++) {
  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    this->keylist(i).data(), this->keylist(i).length(),
    ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      3, this->keylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* prizeKey::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 gear = 1;
  if (has_gear()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->gear(), target);
  }

  // optional int32 rank = 2;
  if (has_rank()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rank(), target);
  }

  // repeated string keyList = 3;
  for (int i = 0; i < this->keylist_size(); i++) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->keylist(i).data(), this->keylist(i).length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target = ::google::protobuf::internal::WireFormatLite::
      WriteStringToArray(3, this->keylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int prizeKey::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 gear = 1;
    if (has_gear()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gear());
    }

    // optional int32 rank = 2;
    if (has_rank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rank());
    }

  }
  // repeated string keyList = 3;
  total_size += 1 * this->keylist_size();
  for (int i = 0; i < this->keylist_size(); i++) {
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
      this->keylist(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 prizeKey::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const prizeKey* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const prizeKey*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void prizeKey::MergeFrom(const prizeKey& from) {
  GOOGLE_CHECK_NE(&from, this);
  keylist_.MergeFrom(from.keylist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_gear()) {
      set_gear(from.gear());
    }
    if (from.has_rank()) {
      set_rank(from.rank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void prizeKey::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void prizeKey::CopyFrom(const prizeKey& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool prizeKey::IsInitialized() const {

  return true;
}

void prizeKey::Swap(prizeKey* other) {
  if (other != this) {
    std::swap(gear_, other->gear_);
    std::swap(rank_, other->rank_);
    keylist_.Swap(&other->keylist_);
    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 prizeKey::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = prizeKey_descriptor_;
  metadata.reflection = prizeKey_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_feed_back_info::kPacketIdFieldNumber;
const int packetw2c_syn_feed_back_info::kActivityStateFieldNumber;
const int packetw2c_syn_feed_back_info::kStartTimeFieldNumber;
const int packetw2c_syn_feed_back_info::kEndTimeFieldNumber;
const int packetw2c_syn_feed_back_info::kReceiveTimeFieldNumber;
const int packetw2c_syn_feed_back_info::kCurGearFieldNumber;
const int packetw2c_syn_feed_back_info::kVipReveiveCountFieldNumber;
const int packetw2c_syn_feed_back_info::kPrizeListFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_feed_back_info::packetw2c_syn_feed_back_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_feed_back_info::InitAsDefaultInstance() {
}

packetw2c_syn_feed_back_info::packetw2c_syn_feed_back_info(const packetw2c_syn_feed_back_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_feed_back_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7807;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  receivetime_ = 0;
  curgear_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_feed_back_info::~packetw2c_syn_feed_back_info() {
  SharedDtor();
}

void packetw2c_syn_feed_back_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_feed_back_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_feed_back_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_feed_back_info_descriptor_;
}

const packetw2c_syn_feed_back_info& packetw2c_syn_feed_back_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_feed_back_info* packetw2c_syn_feed_back_info::default_instance_ = NULL;

packetw2c_syn_feed_back_info* packetw2c_syn_feed_back_info::New() const {
  return new packetw2c_syn_feed_back_info;
}

void packetw2c_syn_feed_back_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7807;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    receivetime_ = 0;
    curgear_ = 0;
  }
  vipreveivecount_.Clear();
  prizelist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_feed_back_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_w2c_syn_feed_back_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_receiveTime;
        break;
      }

      // optional int32 receiveTime = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_receiveTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &receivetime_)));
          set_has_receivetime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_curGear;
        break;
      }

      // optional int32 curGear = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curGear:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curgear_)));
          set_has_curgear();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_vipReveiveCount;
        break;
      }

      // repeated int32 vipReveiveCount = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_vipReveiveCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 56, input, this->mutable_vipreveivecount())));
        } 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_vipreveivecount())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_vipReveiveCount;
        if (input->ExpectTag(66)) goto parse_prizeList;
        break;
      }

      // repeated .client2world_protocols.prizeKey prizeList = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_prizeList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_prizelist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(66)) goto parse_prizeList;
        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_feed_back_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 receiveTime = 5;
  if (has_receivetime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->receivetime(), output);
  }

  // optional int32 curGear = 6;
  if (has_curgear()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->curgear(), output);
  }

  // repeated int32 vipReveiveCount = 7;
  for (int i = 0; i < this->vipreveivecount_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      7, this->vipreveivecount(i), output);
  }

  // repeated .client2world_protocols.prizeKey prizeList = 8;
  for (int i = 0; i < this->prizelist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      8, this->prizelist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_feed_back_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 receiveTime = 5;
  if (has_receivetime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->receivetime(), target);
  }

  // optional int32 curGear = 6;
  if (has_curgear()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->curgear(), target);
  }

  // repeated int32 vipReveiveCount = 7;
  for (int i = 0; i < this->vipreveivecount_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(7, this->vipreveivecount(i), target);
  }

  // repeated .client2world_protocols.prizeKey prizeList = 8;
  for (int i = 0; i < this->prizelist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        8, this->prizelist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_feed_back_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_w2c_syn_feed_back_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 receiveTime = 5;
    if (has_receivetime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->receivetime());
    }

    // optional int32 curGear = 6;
    if (has_curgear()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curgear());
    }

  }
  // repeated int32 vipReveiveCount = 7;
  {
    int data_size = 0;
    for (int i = 0; i < this->vipreveivecount_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->vipreveivecount(i));
    }
    total_size += 1 * this->vipreveivecount_size() + data_size;
  }

  // repeated .client2world_protocols.prizeKey prizeList = 8;
  total_size += 1 * this->prizelist_size();
  for (int i = 0; i < this->prizelist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->prizelist(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_syn_feed_back_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_feed_back_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_feed_back_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_feed_back_info::MergeFrom(const packetw2c_syn_feed_back_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  vipreveivecount_.MergeFrom(from.vipreveivecount_);
  prizelist_.MergeFrom(from.prizelist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_receivetime()) {
      set_receivetime(from.receivetime());
    }
    if (from.has_curgear()) {
      set_curgear(from.curgear());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_feed_back_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_feed_back_info::CopyFrom(const packetw2c_syn_feed_back_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_feed_back_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_feed_back_info::Swap(packetw2c_syn_feed_back_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(receivetime_, other->receivetime_);
    std::swap(curgear_, other->curgear_);
    vipreveivecount_.Swap(&other->vipreveivecount_);
    prizelist_.Swap(&other->prizelist_);
    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_feed_back_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_feed_back_info_descriptor_;
  metadata.reflection = packetw2c_syn_feed_back_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_feed_back_vip_reward::kPacketIdFieldNumber;
const int packetc2w_get_feed_back_vip_reward::kGearFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_feed_back_vip_reward::packetc2w_get_feed_back_vip_reward()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_feed_back_vip_reward::InitAsDefaultInstance() {
}

packetc2w_get_feed_back_vip_reward::packetc2w_get_feed_back_vip_reward(const packetc2w_get_feed_back_vip_reward& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_feed_back_vip_reward::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5260;
  gear_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_feed_back_vip_reward::~packetc2w_get_feed_back_vip_reward() {
  SharedDtor();
}

void packetc2w_get_feed_back_vip_reward::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_feed_back_vip_reward::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_feed_back_vip_reward::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_feed_back_vip_reward_descriptor_;
}

const packetc2w_get_feed_back_vip_reward& packetc2w_get_feed_back_vip_reward::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_feed_back_vip_reward* packetc2w_get_feed_back_vip_reward::default_instance_ = NULL;

packetc2w_get_feed_back_vip_reward* packetc2w_get_feed_back_vip_reward::New() const {
  return new packetc2w_get_feed_back_vip_reward;
}

void packetc2w_get_feed_back_vip_reward::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5260;
    gear_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_feed_back_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_get_feed_back_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_gear;
        break;
      }

      // optional int32 gear = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gear:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gear_)));
          set_has_gear();
        } 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_feed_back_vip_reward::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 gear = 2;
  if (has_gear()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gear(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_get_feed_back_vip_reward::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 gear = 2;
  if (has_gear()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gear(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_get_feed_back_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_get_feed_back_vip_reward];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 gear = 2;
    if (has_gear()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gear());
    }

  }
  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_feed_back_vip_reward::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_feed_back_vip_reward* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_feed_back_vip_reward*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_feed_back_vip_reward::MergeFrom(const packetc2w_get_feed_back_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_gear()) {
      set_gear(from.gear());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_feed_back_vip_reward::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_feed_back_vip_reward::CopyFrom(const packetc2w_get_feed_back_vip_reward& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_feed_back_vip_reward::IsInitialized() const {

  return true;
}

void packetc2w_get_feed_back_vip_reward::Swap(packetc2w_get_feed_back_vip_reward* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(gear_, other->gear_);
    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_feed_back_vip_reward::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_feed_back_vip_reward_descriptor_;
  metadata.reflection = packetc2w_get_feed_back_vip_reward_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_feed_back_vip_reward_result::kPacketIdFieldNumber;
const int packetw2c_get_feed_back_vip_reward_result::kResultFieldNumber;
const int packetw2c_get_feed_back_vip_reward_result::kVipFieldNumber;
const int packetw2c_get_feed_back_vip_reward_result::kVipReveiveCountFieldNumber;
const int packetw2c_get_feed_back_vip_reward_result::kGearFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_feed_back_vip_reward_result::packetw2c_get_feed_back_vip_reward_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_feed_back_vip_reward_result::InitAsDefaultInstance() {
}

packetw2c_get_feed_back_vip_reward_result::packetw2c_get_feed_back_vip_reward_result(const packetw2c_get_feed_back_vip_reward_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_feed_back_vip_reward_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7809;
  result_ = 0;
  vip_ = 0;
  vipreveivecount_ = 0;
  gear_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_feed_back_vip_reward_result::~packetw2c_get_feed_back_vip_reward_result() {
  SharedDtor();
}

void packetw2c_get_feed_back_vip_reward_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_feed_back_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_get_feed_back_vip_reward_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_feed_back_vip_reward_result_descriptor_;
}

const packetw2c_get_feed_back_vip_reward_result& packetw2c_get_feed_back_vip_reward_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_feed_back_vip_reward_result* packetw2c_get_feed_back_vip_reward_result::default_instance_ = NULL;

packetw2c_get_feed_back_vip_reward_result* packetw2c_get_feed_back_vip_reward_result::New() const {
  return new packetw2c_get_feed_back_vip_reward_result;
}

void packetw2c_get_feed_back_vip_reward_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7809;
    result_ = 0;
    vip_ = 0;
    vipreveivecount_ = 0;
    gear_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_feed_back_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_get_feed_back_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_vip;
        break;
      }

      // optional int32 vip = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_vip:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &vip_)));
          set_has_vip();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_vipReveiveCount;
        break;
      }

      // optional int32 vipReveiveCount = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_vipReveiveCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &vipreveivecount_)));
          set_has_vipreveivecount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_gear;
        break;
      }

      // optional int32 gear = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gear:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gear_)));
          set_has_gear();
        } 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_feed_back_vip_reward_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_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 vip = 3;
  if (has_vip()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->vip(), output);
  }

  // optional int32 vipReveiveCount = 4;
  if (has_vipreveivecount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->vipreveivecount(), output);
  }

  // optional int32 gear = 5;
  if (has_gear()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gear(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_feed_back_vip_reward_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_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 vip = 3;
  if (has_vip()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->vip(), target);
  }

  // optional int32 vipReveiveCount = 4;
  if (has_vipreveivecount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->vipreveivecount(), target);
  }

  // optional int32 gear = 5;
  if (has_gear()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gear(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_feed_back_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_get_feed_back_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 vip = 3;
    if (has_vip()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->vip());
    }

    // optional int32 vipReveiveCount = 4;
    if (has_vipreveivecount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->vipreveivecount());
    }

    // optional int32 gear = 5;
    if (has_gear()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gear());
    }

  }
  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_feed_back_vip_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_feed_back_vip_reward_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_feed_back_vip_reward_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_feed_back_vip_reward_result::MergeFrom(const packetw2c_get_feed_back_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_vip()) {
      set_vip(from.vip());
    }
    if (from.has_vipreveivecount()) {
      set_vipreveivecount(from.vipreveivecount());
    }
    if (from.has_gear()) {
      set_gear(from.gear());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_feed_back_vip_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_feed_back_vip_reward_result::CopyFrom(const packetw2c_get_feed_back_vip_reward_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_feed_back_vip_reward_result::IsInitialized() const {

  return true;
}

void packetw2c_get_feed_back_vip_reward_result::Swap(packetw2c_get_feed_back_vip_reward_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(vip_, other->vip_);
    std::swap(vipreveivecount_, other->vipreveivecount_);
    std::swap(gear_, other->gear_);
    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_feed_back_vip_reward_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_feed_back_vip_reward_result_descriptor_;
  metadata.reflection = packetw2c_get_feed_back_vip_reward_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_feed_back_keylist::kPacketIdFieldNumber;
const int packetc2w_get_feed_back_keylist::kGearFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_feed_back_keylist::packetc2w_get_feed_back_keylist()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_feed_back_keylist::InitAsDefaultInstance() {
}

packetc2w_get_feed_back_keylist::packetc2w_get_feed_back_keylist(const packetc2w_get_feed_back_keylist& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_feed_back_keylist::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5259;
  gear_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_feed_back_keylist::~packetc2w_get_feed_back_keylist() {
  SharedDtor();
}

void packetc2w_get_feed_back_keylist::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_feed_back_keylist::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_feed_back_keylist::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_feed_back_keylist_descriptor_;
}

const packetc2w_get_feed_back_keylist& packetc2w_get_feed_back_keylist::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_feed_back_keylist* packetc2w_get_feed_back_keylist::default_instance_ = NULL;

packetc2w_get_feed_back_keylist* packetc2w_get_feed_back_keylist::New() const {
  return new packetc2w_get_feed_back_keylist;
}

void packetc2w_get_feed_back_keylist::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5259;
    gear_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_feed_back_keylist::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_feed_back_keylist];
      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_gear;
        break;
      }

      // optional int32 gear = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gear:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gear_)));
          set_has_gear();
        } 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_feed_back_keylist::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 gear = 2;
  if (has_gear()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gear(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_get_feed_back_keylist::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 gear = 2;
  if (has_gear()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gear(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_get_feed_back_keylist::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_feed_back_keylist];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 gear = 2;
    if (has_gear()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gear());
    }

  }
  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_feed_back_keylist::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_feed_back_keylist* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_feed_back_keylist*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_feed_back_keylist::MergeFrom(const packetc2w_get_feed_back_keylist& 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_gear()) {
      set_gear(from.gear());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_feed_back_keylist::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_feed_back_keylist::CopyFrom(const packetc2w_get_feed_back_keylist& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_feed_back_keylist::IsInitialized() const {

  return true;
}

void packetc2w_get_feed_back_keylist::Swap(packetc2w_get_feed_back_keylist* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(gear_, other->gear_);
    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_feed_back_keylist::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_feed_back_keylist_descriptor_;
  metadata.reflection = packetc2w_get_feed_back_keylist_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_feed_back_keylist_result::kPacketIdFieldNumber;
const int packetw2c_get_feed_back_keylist_result::kGearFieldNumber;
const int packetw2c_get_feed_back_keylist_result::kKeyListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_feed_back_keylist_result::packetw2c_get_feed_back_keylist_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_feed_back_keylist_result::InitAsDefaultInstance() {
}

packetw2c_get_feed_back_keylist_result::packetw2c_get_feed_back_keylist_result(const packetw2c_get_feed_back_keylist_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_feed_back_keylist_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7808;
  gear_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_feed_back_keylist_result::~packetw2c_get_feed_back_keylist_result() {
  SharedDtor();
}

void packetw2c_get_feed_back_keylist_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_feed_back_keylist_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_feed_back_keylist_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_feed_back_keylist_result_descriptor_;
}

const packetw2c_get_feed_back_keylist_result& packetw2c_get_feed_back_keylist_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_feed_back_keylist_result* packetw2c_get_feed_back_keylist_result::default_instance_ = NULL;

packetw2c_get_feed_back_keylist_result* packetw2c_get_feed_back_keylist_result::New() const {
  return new packetw2c_get_feed_back_keylist_result;
}

void packetw2c_get_feed_back_keylist_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7808;
    gear_ = 0;
  }
  keylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_feed_back_keylist_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_feed_back_keylist_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_gear;
        break;
      }

      // optional int32 gear = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_gear:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gear_)));
          set_has_gear();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_keyList;
        break;
      }

      // repeated string keyList = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_keyList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->add_keylist()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->keylist(this->keylist_size() - 1).data(),
            this->keylist(this->keylist_size() - 1).length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_keyList;
        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_feed_back_keylist_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 gear = 2;
  if (has_gear()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gear(), output);
  }

  // repeated string keyList = 3;
  for (int i = 0; i < this->keylist_size(); i++) {
  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    this->keylist(i).data(), this->keylist(i).length(),
    ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      3, this->keylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_feed_back_keylist_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 gear = 2;
  if (has_gear()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gear(), target);
  }

  // repeated string keyList = 3;
  for (int i = 0; i < this->keylist_size(); i++) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->keylist(i).data(), this->keylist(i).length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target = ::google::protobuf::internal::WireFormatLite::
      WriteStringToArray(3, this->keylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_feed_back_keylist_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_feed_back_keylist_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 gear = 2;
    if (has_gear()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gear());
    }

  }
  // repeated string keyList = 3;
  total_size += 1 * this->keylist_size();
  for (int i = 0; i < this->keylist_size(); i++) {
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
      this->keylist(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_feed_back_keylist_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_feed_back_keylist_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_feed_back_keylist_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_feed_back_keylist_result::MergeFrom(const packetw2c_get_feed_back_keylist_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  keylist_.MergeFrom(from.keylist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_gear()) {
      set_gear(from.gear());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_feed_back_keylist_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_feed_back_keylist_result::CopyFrom(const packetw2c_get_feed_back_keylist_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_feed_back_keylist_result::IsInitialized() const {

  return true;
}

void packetw2c_get_feed_back_keylist_result::Swap(packetw2c_get_feed_back_keylist_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(gear_, other->gear_);
    keylist_.Swap(&other->keylist_);
    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_feed_back_keylist_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_feed_back_keylist_result_descriptor_;
  metadata.reflection = packetw2c_get_feed_back_keylist_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_chip_treasure_info::kPacketIdFieldNumber;
const int packetw2c_syn_chip_treasure_info::kActivityStateFieldNumber;
const int packetw2c_syn_chip_treasure_info::kStartTimeFieldNumber;
const int packetw2c_syn_chip_treasure_info::kEndTimeFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_chip_treasure_info::packetw2c_syn_chip_treasure_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_chip_treasure_info::InitAsDefaultInstance() {
}

packetw2c_syn_chip_treasure_info::packetw2c_syn_chip_treasure_info(const packetw2c_syn_chip_treasure_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_chip_treasure_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7811;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_chip_treasure_info::~packetw2c_syn_chip_treasure_info() {
  SharedDtor();
}

void packetw2c_syn_chip_treasure_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_chip_treasure_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_chip_treasure_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_chip_treasure_info_descriptor_;
}

const packetw2c_syn_chip_treasure_info& packetw2c_syn_chip_treasure_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_chip_treasure_info* packetw2c_syn_chip_treasure_info::default_instance_ = NULL;

packetw2c_syn_chip_treasure_info* packetw2c_syn_chip_treasure_info::New() const {
  return new packetw2c_syn_chip_treasure_info;
}

void packetw2c_syn_chip_treasure_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7811;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_chip_treasure_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_w2c_syn_chip_treasure_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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->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_chip_treasure_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_chip_treasure_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_chip_treasure_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_w2c_syn_chip_treasure_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

  }
  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_chip_treasure_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_chip_treasure_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_chip_treasure_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_chip_treasure_info::MergeFrom(const packetw2c_syn_chip_treasure_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_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_chip_treasure_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_chip_treasure_info::CopyFrom(const packetw2c_syn_chip_treasure_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_chip_treasure_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_chip_treasure_info::Swap(packetw2c_syn_chip_treasure_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    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_chip_treasure_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_chip_treasure_info_descriptor_;
  metadata.reflection = packetw2c_syn_chip_treasure_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_chip_treasure_lottery::kPacketIdFieldNumber;
const int packetc2w_chip_treasure_lottery::kTypeFieldNumber;
const int packetc2w_chip_treasure_lottery::kCountFieldNumber;
#endif  // !_MSC_VER

packetc2w_chip_treasure_lottery::packetc2w_chip_treasure_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_chip_treasure_lottery::InitAsDefaultInstance() {
}

packetc2w_chip_treasure_lottery::packetc2w_chip_treasure_lottery(const packetc2w_chip_treasure_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_chip_treasure_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5262;
  type_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_chip_treasure_lottery::~packetc2w_chip_treasure_lottery() {
  SharedDtor();
}

void packetc2w_chip_treasure_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_chip_treasure_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_chip_treasure_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_chip_treasure_lottery_descriptor_;
}

const packetc2w_chip_treasure_lottery& packetc2w_chip_treasure_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_chip_treasure_lottery* packetc2w_chip_treasure_lottery::default_instance_ = NULL;

packetc2w_chip_treasure_lottery* packetc2w_chip_treasure_lottery::New() const {
  return new packetc2w_chip_treasure_lottery;
}

void packetc2w_chip_treasure_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5262;
    type_ = 0;
    count_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_chip_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_chip_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_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_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 packetc2w_chip_treasure_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery];
  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 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* packetc2w_chip_treasure_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery];
  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 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 packetc2w_chip_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_chip_treasure_lottery];
    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 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 packetc2w_chip_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_chip_treasure_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_chip_treasure_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_chip_treasure_lottery::MergeFrom(const packetc2w_chip_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_type()) {
      set_type(from.type());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_chip_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_chip_treasure_lottery::CopyFrom(const packetc2w_chip_treasure_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_chip_treasure_lottery::IsInitialized() const {

  return true;
}

void packetc2w_chip_treasure_lottery::Swap(packetc2w_chip_treasure_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(type_, other->type_);
    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_chip_treasure_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_chip_treasure_lottery_descriptor_;
  metadata.reflection = packetc2w_chip_treasure_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_chip_treasure_lottery_result::kPacketIdFieldNumber;
const int packetw2c_chip_treasure_lottery_result::kResultFieldNumber;
const int packetw2c_chip_treasure_lottery_result::kTypeFieldNumber;
const int packetw2c_chip_treasure_lottery_result::kCountFieldNumber;
const int packetw2c_chip_treasure_lottery_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_chip_treasure_lottery_result::packetw2c_chip_treasure_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_chip_treasure_lottery_result::InitAsDefaultInstance() {
}

packetw2c_chip_treasure_lottery_result::packetw2c_chip_treasure_lottery_result(const packetw2c_chip_treasure_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_chip_treasure_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7812;
  result_ = 0;
  type_ = 0;
  count_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_chip_treasure_lottery_result::~packetw2c_chip_treasure_lottery_result() {
  SharedDtor();
}

void packetw2c_chip_treasure_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_chip_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_chip_treasure_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_chip_treasure_lottery_result_descriptor_;
}

const packetw2c_chip_treasure_lottery_result& packetw2c_chip_treasure_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_chip_treasure_lottery_result* packetw2c_chip_treasure_lottery_result::default_instance_ = NULL;

packetw2c_chip_treasure_lottery_result* packetw2c_chip_treasure_lottery_result::New() const {
  return new packetw2c_chip_treasure_lottery_result;
}

void packetw2c_chip_treasure_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7812;
    result_ = 0;
    type_ = 0;
    count_ = 0;
  }
  index_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_chip_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_chip_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_type;
        break;
      }

      // optional int32 type = 3;
      case 3: {
        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(32)) goto parse_count;
        break;
      }

      // optional int32 count = 4;
      case 4: {
        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(40)) goto parse_index;
        break;
      }

      // repeated int32 index = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_index:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_index())));
        } 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_index())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_index;
        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_chip_treasure_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_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 type = 3;
  if (has_type()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  }

  // optional int32 count = 4;
  if (has_count()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  }

  // repeated int32 index = 5;
  for (int i = 0; i < this->index_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->index(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_chip_treasure_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_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 type = 3;
  if (has_type()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  }

  // optional int32 count = 4;
  if (has_count()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  }

  // repeated int32 index = 5;
  for (int i = 0; i < this->index_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->index(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_chip_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_chip_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 type = 3;
    if (has_type()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->type());
    }

    // optional int32 count = 4;
    if (has_count()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->count());
    }

  }
  // repeated int32 index = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->index_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->index(i));
    }
    total_size += 1 * this->index_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_chip_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_chip_treasure_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_chip_treasure_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_chip_treasure_lottery_result::MergeFrom(const packetw2c_chip_treasure_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  index_.MergeFrom(from.index_);
  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_type()) {
      set_type(from.type());
    }
    if (from.has_count()) {
      set_count(from.count());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_chip_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_chip_treasure_lottery_result::CopyFrom(const packetw2c_chip_treasure_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_chip_treasure_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_chip_treasure_lottery_result::Swap(packetw2c_chip_treasure_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(type_, other->type_);
    std::swap(count_, other->count_);
    index_.Swap(&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_chip_treasure_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_chip_treasure_lottery_result_descriptor_;
  metadata.reflection = packetw2c_chip_treasure_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int sendGoldHistory::kRoundFieldNumber;
const int sendGoldHistory::kNicknameFieldNumber;
const int sendGoldHistory::kGoldFieldNumber;
#endif  // !_MSC_VER

sendGoldHistory::sendGoldHistory()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void sendGoldHistory::InitAsDefaultInstance() {
}

sendGoldHistory::sendGoldHistory(const sendGoldHistory& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void sendGoldHistory::SharedCtor() {
  _cached_size_ = 0;
  round_ = 0;
  nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  gold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

sendGoldHistory::~sendGoldHistory() {
  SharedDtor();
}

void sendGoldHistory::SharedDtor() {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    delete nickname_;
  }
  if (this != default_instance_) {
  }
}

void sendGoldHistory::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* sendGoldHistory::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return sendGoldHistory_descriptor_;
}

const sendGoldHistory& sendGoldHistory::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

sendGoldHistory* sendGoldHistory::default_instance_ = NULL;

sendGoldHistory* sendGoldHistory::New() const {
  return new sendGoldHistory;
}

void sendGoldHistory::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    round_ = 0;
    if (has_nickname()) {
      if (nickname_ != &::google::protobuf::internal::kEmptyString) {
        nickname_->clear();
      }
    }
    gold_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool sendGoldHistory::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 Round = 2;
      case 2: {
        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, &round_)));
          set_has_round();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_Nickname;
        break;
      }

      // optional string Nickname = 3;
      case 3: {
        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(32)) goto parse_Gold;
        break;
      }

      // optional int32 Gold = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_Gold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &gold_)));
          set_has_gold();
        } 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 sendGoldHistory::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 Round = 2;
  if (has_round()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->round(), output);
  }

  // optional string Nickname = 3;
  if (has_nickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->nickname().data(), this->nickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      3, this->nickname(), output);
  }

  // optional int32 Gold = 4;
  if (has_gold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* sendGoldHistory::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 Round = 2;
  if (has_round()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->round(), target);
  }

  // optional string Nickname = 3;
  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(
        3, this->nickname(), target);
  }

  // optional int32 Gold = 4;
  if (has_gold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int sendGoldHistory::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 Round = 2;
    if (has_round()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->round());
    }

    // optional string Nickname = 3;
    if (has_nickname()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->nickname());
    }

    // optional int32 Gold = 4;
    if (has_gold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gold());
    }

  }
  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 sendGoldHistory::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const sendGoldHistory* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const sendGoldHistory*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void sendGoldHistory::MergeFrom(const sendGoldHistory& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_round()) {
      set_round(from.round());
    }
    if (from.has_nickname()) {
      set_nickname(from.nickname());
    }
    if (from.has_gold()) {
      set_gold(from.gold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void sendGoldHistory::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void sendGoldHistory::CopyFrom(const sendGoldHistory& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool sendGoldHistory::IsInitialized() const {

  return true;
}

void sendGoldHistory::Swap(sendGoldHistory* other) {
  if (other != this) {
    std::swap(round_, other->round_);
    std::swap(nickname_, other->nickname_);
    std::swap(gold_, other->gold_);
    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 sendGoldHistory::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = sendGoldHistory_descriptor_;
  metadata.reflection = sendGoldHistory_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int sendGoldInfo::kGearFieldNumber;
const int sendGoldInfo::kJackPotFieldNumber;
const int sendGoldInfo::kCurRoundFieldNumber;
const int sendGoldInfo::kBuyCountFieldNumber;
const int sendGoldInfo::kPartTimesFieldNumber;
const int sendGoldInfo::kHistoryListFieldNumber;
#endif  // !_MSC_VER

sendGoldInfo::sendGoldInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void sendGoldInfo::InitAsDefaultInstance() {
}

sendGoldInfo::sendGoldInfo(const sendGoldInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void sendGoldInfo::SharedCtor() {
  _cached_size_ = 0;
  gear_ = 0;
  jackpot_ = 0;
  curround_ = 0;
  buycount_ = 0;
  parttimes_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

sendGoldInfo::~sendGoldInfo() {
  SharedDtor();
}

void sendGoldInfo::SharedDtor() {
  if (this != default_instance_) {
  }
}

void sendGoldInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* sendGoldInfo::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return sendGoldInfo_descriptor_;
}

const sendGoldInfo& sendGoldInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

sendGoldInfo* sendGoldInfo::default_instance_ = NULL;

sendGoldInfo* sendGoldInfo::New() const {
  return new sendGoldInfo;
}

void sendGoldInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    gear_ = 0;
    jackpot_ = 0;
    curround_ = 0;
    buycount_ = 0;
    parttimes_ = 0;
  }
  historylist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool sendGoldInfo::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 Gear = 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, &gear_)));
          set_has_gear();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_jackPot;
        break;
      }

      // optional int32 jackPot = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_jackPot:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &jackpot_)));
          set_has_jackpot();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_CurRound;
        break;
      }

      // optional int32 CurRound = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_CurRound:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curround_)));
          set_has_curround();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_BuyCount;
        break;
      }

      // optional int32 BuyCount = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_BuyCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &buycount_)));
          set_has_buycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_PartTimes;
        break;
      }

      // optional int32 PartTimes = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_PartTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &parttimes_)));
          set_has_parttimes();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_HistoryList;
        break;
      }

      // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_HistoryList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_historylist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_HistoryList;
        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 sendGoldInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 Gear = 1;
  if (has_gear()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->gear(), output);
  }

  // optional int32 jackPot = 2;
  if (has_jackpot()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->jackpot(), output);
  }

  // optional int32 CurRound = 3;
  if (has_curround()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->curround(), output);
  }

  // optional int32 BuyCount = 4;
  if (has_buycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->buycount(), output);
  }

  // optional int32 PartTimes = 5;
  if (has_parttimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->parttimes(), output);
  }

  // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
  for (int i = 0; i < this->historylist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      6, this->historylist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* sendGoldInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 Gear = 1;
  if (has_gear()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->gear(), target);
  }

  // optional int32 jackPot = 2;
  if (has_jackpot()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->jackpot(), target);
  }

  // optional int32 CurRound = 3;
  if (has_curround()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->curround(), target);
  }

  // optional int32 BuyCount = 4;
  if (has_buycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->buycount(), target);
  }

  // optional int32 PartTimes = 5;
  if (has_parttimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->parttimes(), target);
  }

  // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
  for (int i = 0; i < this->historylist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        6, this->historylist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int sendGoldInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 Gear = 1;
    if (has_gear()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->gear());
    }

    // optional int32 jackPot = 2;
    if (has_jackpot()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->jackpot());
    }

    // optional int32 CurRound = 3;
    if (has_curround()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curround());
    }

    // optional int32 BuyCount = 4;
    if (has_buycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->buycount());
    }

    // optional int32 PartTimes = 5;
    if (has_parttimes()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->parttimes());
    }

  }
  // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
  total_size += 1 * this->historylist_size();
  for (int i = 0; i < this->historylist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->historylist(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 sendGoldInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const sendGoldInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const sendGoldInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void sendGoldInfo::MergeFrom(const sendGoldInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  historylist_.MergeFrom(from.historylist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_gear()) {
      set_gear(from.gear());
    }
    if (from.has_jackpot()) {
      set_jackpot(from.jackpot());
    }
    if (from.has_curround()) {
      set_curround(from.curround());
    }
    if (from.has_buycount()) {
      set_buycount(from.buycount());
    }
    if (from.has_parttimes()) {
      set_parttimes(from.parttimes());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void sendGoldInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void sendGoldInfo::CopyFrom(const sendGoldInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool sendGoldInfo::IsInitialized() const {

  return true;
}

void sendGoldInfo::Swap(sendGoldInfo* other) {
  if (other != this) {
    std::swap(gear_, other->gear_);
    std::swap(jackpot_, other->jackpot_);
    std::swap(curround_, other->curround_);
    std::swap(buycount_, other->buycount_);
    std::swap(parttimes_, other->parttimes_);
    historylist_.Swap(&other->historylist_);
    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 sendGoldInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = sendGoldInfo_descriptor_;
  metadata.reflection = sendGoldInfo_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_summer_plan_info::kPacketIdFieldNumber;
const int packetw2c_syn_summer_plan_info::kActivityStateFieldNumber;
const int packetw2c_syn_summer_plan_info::kStartTimeFieldNumber;
const int packetw2c_syn_summer_plan_info::kEndTimeFieldNumber;
const int packetw2c_syn_summer_plan_info::kActiveFieldNumber;
const int packetw2c_syn_summer_plan_info::kSummerbingoFieldNumber;
const int packetw2c_syn_summer_plan_info::kFreeRocketCountFieldNumber;
const int packetw2c_syn_summer_plan_info::kFreeRocketColdFieldNumber;
const int packetw2c_syn_summer_plan_info::kRocketLeftRecvFieldNumber;
const int packetw2c_syn_summer_plan_info::kRocketCurHeightFieldNumber;
const int packetw2c_syn_summer_plan_info::kRechargedFieldNumber;
const int packetw2c_syn_summer_plan_info::kRechargedRecvFieldNumber;
const int packetw2c_syn_summer_plan_info::kDrawEyeEnergyFieldNumber;
const int packetw2c_syn_summer_plan_info::kTouchGoldEnergyFieldNumber;
const int packetw2c_syn_summer_plan_info::kDrawEyeTimesFieldNumber;
const int packetw2c_syn_summer_plan_info::kTouchGoldTimesFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_summer_plan_info::packetw2c_syn_summer_plan_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_summer_plan_info::InitAsDefaultInstance() {
}

packetw2c_syn_summer_plan_info::packetw2c_syn_summer_plan_info(const packetw2c_syn_summer_plan_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_summer_plan_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7813;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  active_ = false;
  summerbingo_ = 0;
  freerocketcount_ = 0;
  freerocketcold_ = 0;
  rocketleftrecv_ = 0;
  rocketcurheight_ = 0;
  recharged_ = 0;
  draweyeenergy_ = 0;
  touchgoldenergy_ = 0;
  draweyetimes_ = 0;
  touchgoldtimes_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_summer_plan_info::~packetw2c_syn_summer_plan_info() {
  SharedDtor();
}

void packetw2c_syn_summer_plan_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_summer_plan_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_summer_plan_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_summer_plan_info_descriptor_;
}

const packetw2c_syn_summer_plan_info& packetw2c_syn_summer_plan_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_summer_plan_info* packetw2c_syn_summer_plan_info::default_instance_ = NULL;

packetw2c_syn_summer_plan_info* packetw2c_syn_summer_plan_info::New() const {
  return new packetw2c_syn_summer_plan_info;
}

void packetw2c_syn_summer_plan_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7813;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    active_ = false;
    summerbingo_ = 0;
    freerocketcount_ = 0;
    freerocketcold_ = 0;
  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    rocketleftrecv_ = 0;
    rocketcurheight_ = 0;
    recharged_ = 0;
    draweyeenergy_ = 0;
    touchgoldenergy_ = 0;
    draweyetimes_ = 0;
    touchgoldtimes_ = 0;
  }
  rechargedrecv_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_summer_plan_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_w2c_syn_summer_plan_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_active;
        break;
      }

      // optional bool active = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_active:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &active_)));
          set_has_active();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_summerbingo;
        break;
      }

      // optional int32 summerbingo = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_summerbingo:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &summerbingo_)));
          set_has_summerbingo();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_freeRocketCount;
        break;
      }

      // optional int32 freeRocketCount = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_freeRocketCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &freerocketcount_)));
          set_has_freerocketcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_freeRocketCold;
        break;
      }

      // optional int32 freeRocketCold = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_freeRocketCold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &freerocketcold_)));
          set_has_freerocketcold();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(72)) goto parse_rocketLeftRecv;
        break;
      }

      // optional int32 rocketLeftRecv = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rocketLeftRecv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rocketleftrecv_)));
          set_has_rocketleftrecv();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(80)) goto parse_rocketCurHeight;
        break;
      }

      // optional int32 rocketCurHeight = 10;
      case 10: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rocketCurHeight:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &rocketcurheight_)));
          set_has_rocketcurheight();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(88)) goto parse_recharged;
        break;
      }

      // optional int32 recharged = 11;
      case 11: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_recharged:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &recharged_)));
          set_has_recharged();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(96)) goto parse_rechargedRecv;
        break;
      }

      // repeated int32 rechargedRecv = 12;
      case 12: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rechargedRecv:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 96, input, this->mutable_rechargedrecv())));
        } 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_rechargedrecv())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(96)) goto parse_rechargedRecv;
        if (input->ExpectTag(104)) goto parse_drawEyeEnergy;
        break;
      }

      // optional int32 drawEyeEnergy = 13;
      case 13: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_drawEyeEnergy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &draweyeenergy_)));
          set_has_draweyeenergy();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(112)) goto parse_touchGoldEnergy;
        break;
      }

      // optional int32 touchGoldEnergy = 14;
      case 14: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_touchGoldEnergy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &touchgoldenergy_)));
          set_has_touchgoldenergy();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(120)) goto parse_drawEyeTimes;
        break;
      }

      // optional int32 drawEyeTimes = 15;
      case 15: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_drawEyeTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &draweyetimes_)));
          set_has_draweyetimes();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(128)) goto parse_touchGoldTimes;
        break;
      }

      // optional int32 touchGoldTimes = 16;
      case 16: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_touchGoldTimes:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &touchgoldtimes_)));
          set_has_touchgoldtimes();
        } 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_summer_plan_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional bool active = 5;
  if (has_active()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->active(), output);
  }

  // optional int32 summerbingo = 6;
  if (has_summerbingo()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->summerbingo(), output);
  }

  // optional int32 freeRocketCount = 7;
  if (has_freerocketcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->freerocketcount(), output);
  }

  // optional int32 freeRocketCold = 8;
  if (has_freerocketcold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->freerocketcold(), output);
  }

  // optional int32 rocketLeftRecv = 9;
  if (has_rocketleftrecv()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->rocketleftrecv(), output);
  }

  // optional int32 rocketCurHeight = 10;
  if (has_rocketcurheight()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->rocketcurheight(), output);
  }

  // optional int32 recharged = 11;
  if (has_recharged()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->recharged(), output);
  }

  // repeated int32 rechargedRecv = 12;
  for (int i = 0; i < this->rechargedrecv_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      12, this->rechargedrecv(i), output);
  }

  // optional int32 drawEyeEnergy = 13;
  if (has_draweyeenergy()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->draweyeenergy(), output);
  }

  // optional int32 touchGoldEnergy = 14;
  if (has_touchgoldenergy()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->touchgoldenergy(), output);
  }

  // optional int32 drawEyeTimes = 15;
  if (has_draweyetimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->draweyetimes(), output);
  }

  // optional int32 touchGoldTimes = 16;
  if (has_touchgoldtimes()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->touchgoldtimes(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_summer_plan_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional bool active = 5;
  if (has_active()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->active(), target);
  }

  // optional int32 summerbingo = 6;
  if (has_summerbingo()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->summerbingo(), target);
  }

  // optional int32 freeRocketCount = 7;
  if (has_freerocketcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->freerocketcount(), target);
  }

  // optional int32 freeRocketCold = 8;
  if (has_freerocketcold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->freerocketcold(), target);
  }

  // optional int32 rocketLeftRecv = 9;
  if (has_rocketleftrecv()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->rocketleftrecv(), target);
  }

  // optional int32 rocketCurHeight = 10;
  if (has_rocketcurheight()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->rocketcurheight(), target);
  }

  // optional int32 recharged = 11;
  if (has_recharged()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->recharged(), target);
  }

  // repeated int32 rechargedRecv = 12;
  for (int i = 0; i < this->rechargedrecv_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(12, this->rechargedrecv(i), target);
  }

  // optional int32 drawEyeEnergy = 13;
  if (has_draweyeenergy()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->draweyeenergy(), target);
  }

  // optional int32 touchGoldEnergy = 14;
  if (has_touchgoldenergy()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->touchgoldenergy(), target);
  }

  // optional int32 drawEyeTimes = 15;
  if (has_draweyetimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->draweyetimes(), target);
  }

  // optional int32 touchGoldTimes = 16;
  if (has_touchgoldtimes()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->touchgoldtimes(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_summer_plan_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_w2c_syn_summer_plan_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional bool active = 5;
    if (has_active()) {
      total_size += 1 + 1;
    }

    // optional int32 summerbingo = 6;
    if (has_summerbingo()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->summerbingo());
    }

    // optional int32 freeRocketCount = 7;
    if (has_freerocketcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->freerocketcount());
    }

    // optional int32 freeRocketCold = 8;
    if (has_freerocketcold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->freerocketcold());
    }

  }
  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    // optional int32 rocketLeftRecv = 9;
    if (has_rocketleftrecv()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rocketleftrecv());
    }

    // optional int32 rocketCurHeight = 10;
    if (has_rocketcurheight()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->rocketcurheight());
    }

    // optional int32 recharged = 11;
    if (has_recharged()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->recharged());
    }

    // optional int32 drawEyeEnergy = 13;
    if (has_draweyeenergy()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->draweyeenergy());
    }

    // optional int32 touchGoldEnergy = 14;
    if (has_touchgoldenergy()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->touchgoldenergy());
    }

    // optional int32 drawEyeTimes = 15;
    if (has_draweyetimes()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->draweyetimes());
    }

    // optional int32 touchGoldTimes = 16;
    if (has_touchgoldtimes()) {
      total_size += 2 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->touchgoldtimes());
    }

  }
  // repeated int32 rechargedRecv = 12;
  {
    int data_size = 0;
    for (int i = 0; i < this->rechargedrecv_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rechargedrecv(i));
    }
    total_size += 1 * this->rechargedrecv_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_syn_summer_plan_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_summer_plan_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_summer_plan_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_summer_plan_info::MergeFrom(const packetw2c_syn_summer_plan_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  rechargedrecv_.MergeFrom(from.rechargedrecv_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_active()) {
      set_active(from.active());
    }
    if (from.has_summerbingo()) {
      set_summerbingo(from.summerbingo());
    }
    if (from.has_freerocketcount()) {
      set_freerocketcount(from.freerocketcount());
    }
    if (from.has_freerocketcold()) {
      set_freerocketcold(from.freerocketcold());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from.has_rocketleftrecv()) {
      set_rocketleftrecv(from.rocketleftrecv());
    }
    if (from.has_rocketcurheight()) {
      set_rocketcurheight(from.rocketcurheight());
    }
    if (from.has_recharged()) {
      set_recharged(from.recharged());
    }
    if (from.has_draweyeenergy()) {
      set_draweyeenergy(from.draweyeenergy());
    }
    if (from.has_touchgoldenergy()) {
      set_touchgoldenergy(from.touchgoldenergy());
    }
    if (from.has_draweyetimes()) {
      set_draweyetimes(from.draweyetimes());
    }
    if (from.has_touchgoldtimes()) {
      set_touchgoldtimes(from.touchgoldtimes());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_summer_plan_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_summer_plan_info::CopyFrom(const packetw2c_syn_summer_plan_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_summer_plan_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_summer_plan_info::Swap(packetw2c_syn_summer_plan_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(active_, other->active_);
    std::swap(summerbingo_, other->summerbingo_);
    std::swap(freerocketcount_, other->freerocketcount_);
    std::swap(freerocketcold_, other->freerocketcold_);
    std::swap(rocketleftrecv_, other->rocketleftrecv_);
    std::swap(rocketcurheight_, other->rocketcurheight_);
    std::swap(recharged_, other->recharged_);
    rechargedrecv_.Swap(&other->rechargedrecv_);
    std::swap(draweyeenergy_, other->draweyeenergy_);
    std::swap(touchgoldenergy_, other->touchgoldenergy_);
    std::swap(draweyetimes_, other->draweyetimes_);
    std::swap(touchgoldtimes_, other->touchgoldtimes_);
    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_summer_plan_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_summer_plan_info_descriptor_;
  metadata.reflection = packetw2c_syn_summer_plan_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_get_redpacket_task::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_get_redpacket_task::packetc2w_summer_plan_get_redpacket_task()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_get_redpacket_task::InitAsDefaultInstance() {
}

packetc2w_summer_plan_get_redpacket_task::packetc2w_summer_plan_get_redpacket_task(const packetc2w_summer_plan_get_redpacket_task& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_get_redpacket_task::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5269;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_get_redpacket_task::~packetc2w_summer_plan_get_redpacket_task() {
  SharedDtor();
}

void packetc2w_summer_plan_get_redpacket_task::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_get_redpacket_task::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_get_redpacket_task::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_get_redpacket_task_descriptor_;
}

const packetc2w_summer_plan_get_redpacket_task& packetc2w_summer_plan_get_redpacket_task::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_get_redpacket_task* packetc2w_summer_plan_get_redpacket_task::default_instance_ = NULL;

packetc2w_summer_plan_get_redpacket_task* packetc2w_summer_plan_get_redpacket_task::New() const {
  return new packetc2w_summer_plan_get_redpacket_task;
}

void packetc2w_summer_plan_get_redpacket_task::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5269;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_get_redpacket_task::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_summer_plan_get_redpacket_task];
      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_summer_plan_get_redpacket_task::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
  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_summer_plan_get_redpacket_task::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
  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_summer_plan_get_redpacket_task::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_summer_plan_get_redpacket_task];
    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_summer_plan_get_redpacket_task::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_get_redpacket_task* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_get_redpacket_task*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_get_redpacket_task::MergeFrom(const packetc2w_summer_plan_get_redpacket_task& 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_summer_plan_get_redpacket_task::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_get_redpacket_task::CopyFrom(const packetc2w_summer_plan_get_redpacket_task& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_get_redpacket_task::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_get_redpacket_task::Swap(packetc2w_summer_plan_get_redpacket_task* 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_summer_plan_get_redpacket_task::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_get_redpacket_task_descriptor_;
  metadata.reflection = packetc2w_summer_plan_get_redpacket_task_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_get_redpacket_task_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_get_redpacket_task_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_get_redpacket_task_result::packetw2c_summer_plan_get_redpacket_task_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_get_redpacket_task_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_get_redpacket_task_result::packetw2c_summer_plan_get_redpacket_task_result(const packetw2c_summer_plan_get_redpacket_task_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_get_redpacket_task_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7820;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_get_redpacket_task_result::~packetw2c_summer_plan_get_redpacket_task_result() {
  SharedDtor();
}

void packetw2c_summer_plan_get_redpacket_task_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_get_redpacket_task_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_get_redpacket_task_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_get_redpacket_task_result_descriptor_;
}

const packetw2c_summer_plan_get_redpacket_task_result& packetw2c_summer_plan_get_redpacket_task_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_get_redpacket_task_result* packetw2c_summer_plan_get_redpacket_task_result::default_instance_ = NULL;

packetw2c_summer_plan_get_redpacket_task_result* packetw2c_summer_plan_get_redpacket_task_result::New() const {
  return new packetw2c_summer_plan_get_redpacket_task_result;
}

void packetw2c_summer_plan_get_redpacket_task_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7820;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_get_redpacket_task_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_summer_plan_get_redpacket_task_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_summer_plan_get_redpacket_task_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_plan_get_redpacket_task_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_plan_get_redpacket_task_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_summer_plan_get_redpacket_task_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_summer_plan_get_redpacket_task_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_get_redpacket_task_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_get_redpacket_task_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_get_redpacket_task_result::MergeFrom(const packetw2c_summer_plan_get_redpacket_task_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_summer_plan_get_redpacket_task_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_get_redpacket_task_result::CopyFrom(const packetw2c_summer_plan_get_redpacket_task_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_get_redpacket_task_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_get_redpacket_task_result::Swap(packetw2c_summer_plan_get_redpacket_task_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_summer_plan_get_redpacket_task_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_get_redpacket_task_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_get_redpacket_task_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_sendgold_info::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_sendgold_info::packetc2w_summer_plan_sendgold_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_sendgold_info::InitAsDefaultInstance() {
}

packetc2w_summer_plan_sendgold_info::packetc2w_summer_plan_sendgold_info(const packetc2w_summer_plan_sendgold_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_sendgold_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5263;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_sendgold_info::~packetc2w_summer_plan_sendgold_info() {
  SharedDtor();
}

void packetc2w_summer_plan_sendgold_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_sendgold_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_sendgold_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_sendgold_info_descriptor_;
}

const packetc2w_summer_plan_sendgold_info& packetc2w_summer_plan_sendgold_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_sendgold_info* packetc2w_summer_plan_sendgold_info::default_instance_ = NULL;

packetc2w_summer_plan_sendgold_info* packetc2w_summer_plan_sendgold_info::New() const {
  return new packetc2w_summer_plan_sendgold_info;
}

void packetc2w_summer_plan_sendgold_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5263;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_sendgold_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_summer_plan_sendgold_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->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_summer_plan_sendgold_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
  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_summer_plan_sendgold_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
  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_summer_plan_sendgold_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_summer_plan_sendgold_info];
    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_summer_plan_sendgold_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_sendgold_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_sendgold_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_sendgold_info::MergeFrom(const packetc2w_summer_plan_sendgold_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());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_summer_plan_sendgold_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_sendgold_info::CopyFrom(const packetc2w_summer_plan_sendgold_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_sendgold_info::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_sendgold_info::Swap(packetc2w_summer_plan_sendgold_info* 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_summer_plan_sendgold_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_sendgold_info_descriptor_;
  metadata.reflection = packetc2w_summer_plan_sendgold_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_sendgold_info_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_sendgold_info_result::kSendGoldInfoListFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_sendgold_info_result::packetw2c_summer_plan_sendgold_info_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_sendgold_info_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_sendgold_info_result::packetw2c_summer_plan_sendgold_info_result(const packetw2c_summer_plan_sendgold_info_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_sendgold_info_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7818;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_sendgold_info_result::~packetw2c_summer_plan_sendgold_info_result() {
  SharedDtor();
}

void packetw2c_summer_plan_sendgold_info_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_sendgold_info_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_sendgold_info_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_sendgold_info_result_descriptor_;
}

const packetw2c_summer_plan_sendgold_info_result& packetw2c_summer_plan_sendgold_info_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_sendgold_info_result* packetw2c_summer_plan_sendgold_info_result::default_instance_ = NULL;

packetw2c_summer_plan_sendgold_info_result* packetw2c_summer_plan_sendgold_info_result::New() const {
  return new packetw2c_summer_plan_sendgold_info_result;
}

void packetw2c_summer_plan_sendgold_info_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7818;
  }
  sendgoldinfolist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_sendgold_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_summer_plan_sendgold_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(18)) goto parse_sendGoldInfoList;
        break;
      }

      // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_sendGoldInfoList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_sendgoldinfolist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_sendGoldInfoList;
        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_summer_plan_sendgold_info_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
  for (int i = 0; i < this->sendgoldinfolist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->sendgoldinfolist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_plan_sendgold_info_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
  for (int i = 0; i < this->sendgoldinfolist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->sendgoldinfolist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_plan_sendgold_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_summer_plan_sendgold_info_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
  total_size += 1 * this->sendgoldinfolist_size();
  for (int i = 0; i < this->sendgoldinfolist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->sendgoldinfolist(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_summer_plan_sendgold_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_sendgold_info_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_sendgold_info_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_sendgold_info_result::MergeFrom(const packetw2c_summer_plan_sendgold_info_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  sendgoldinfolist_.MergeFrom(from.sendgoldinfolist_);
  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_summer_plan_sendgold_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_sendgold_info_result::CopyFrom(const packetw2c_summer_plan_sendgold_info_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_sendgold_info_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_sendgold_info_result::Swap(packetw2c_summer_plan_sendgold_info_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    sendgoldinfolist_.Swap(&other->sendgoldinfolist_);
    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_summer_plan_sendgold_info_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_sendgold_info_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_sendgold_info_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_active::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_active::packetc2w_summer_plan_active()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_active::InitAsDefaultInstance() {
}

packetc2w_summer_plan_active::packetc2w_summer_plan_active(const packetc2w_summer_plan_active& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_active::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5264;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_active::~packetc2w_summer_plan_active() {
  SharedDtor();
}

void packetc2w_summer_plan_active::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_active::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_active::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_active_descriptor_;
}

const packetc2w_summer_plan_active& packetc2w_summer_plan_active::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_active* packetc2w_summer_plan_active::default_instance_ = NULL;

packetc2w_summer_plan_active* packetc2w_summer_plan_active::New() const {
  return new packetc2w_summer_plan_active;
}

void packetc2w_summer_plan_active::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5264;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_active::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_summer_plan_active];
      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_summer_plan_active::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
  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_summer_plan_active::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
  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_summer_plan_active::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_summer_plan_active];
    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_summer_plan_active::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_active* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_active*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_active::MergeFrom(const packetc2w_summer_plan_active& 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_summer_plan_active::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_active::CopyFrom(const packetc2w_summer_plan_active& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_active::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_active::Swap(packetc2w_summer_plan_active* 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_summer_plan_active::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_active_descriptor_;
  metadata.reflection = packetc2w_summer_plan_active_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_active_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_active_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_active_result::packetw2c_summer_plan_active_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_active_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_active_result::packetw2c_summer_plan_active_result(const packetw2c_summer_plan_active_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_active_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7814;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_active_result::~packetw2c_summer_plan_active_result() {
  SharedDtor();
}

void packetw2c_summer_plan_active_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_active_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_active_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_active_result_descriptor_;
}

const packetw2c_summer_plan_active_result& packetw2c_summer_plan_active_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_active_result* packetw2c_summer_plan_active_result::default_instance_ = NULL;

packetw2c_summer_plan_active_result* packetw2c_summer_plan_active_result::New() const {
  return new packetw2c_summer_plan_active_result;
}

void packetw2c_summer_plan_active_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7814;
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_active_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_summer_plan_active_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_summer_plan_active_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_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_summer_plan_active_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_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_summer_plan_active_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_summer_plan_active_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_summer_plan_active_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_active_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_active_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_active_result::MergeFrom(const packetw2c_summer_plan_active_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_summer_plan_active_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_active_result::CopyFrom(const packetw2c_summer_plan_active_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_active_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_active_result::Swap(packetw2c_summer_plan_active_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_summer_plan_active_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_active_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_active_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_recv_redpacket::kPacketIdFieldNumber;
const int packetc2w_summer_plan_recv_redpacket::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_recv_redpacket::packetc2w_summer_plan_recv_redpacket()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_recv_redpacket::InitAsDefaultInstance() {
}

packetc2w_summer_plan_recv_redpacket::packetc2w_summer_plan_recv_redpacket(const packetc2w_summer_plan_recv_redpacket& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_recv_redpacket::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5265;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_recv_redpacket::~packetc2w_summer_plan_recv_redpacket() {
  SharedDtor();
}

void packetc2w_summer_plan_recv_redpacket::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_recv_redpacket::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_redpacket::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_recv_redpacket_descriptor_;
}

const packetc2w_summer_plan_recv_redpacket& packetc2w_summer_plan_recv_redpacket::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_recv_redpacket* packetc2w_summer_plan_recv_redpacket::default_instance_ = NULL;

packetc2w_summer_plan_recv_redpacket* packetc2w_summer_plan_recv_redpacket::New() const {
  return new packetc2w_summer_plan_recv_redpacket;
}

void packetc2w_summer_plan_recv_redpacket::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5265;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_recv_redpacket::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_summer_plan_recv_redpacket];
      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_summer_plan_recv_redpacket::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
  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_summer_plan_recv_redpacket::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
  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_summer_plan_recv_redpacket::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_summer_plan_recv_redpacket];
    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_summer_plan_recv_redpacket::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_recv_redpacket* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_recv_redpacket*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_recv_redpacket::MergeFrom(const packetc2w_summer_plan_recv_redpacket& 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_summer_plan_recv_redpacket::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_recv_redpacket::CopyFrom(const packetc2w_summer_plan_recv_redpacket& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_recv_redpacket::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_recv_redpacket::Swap(packetc2w_summer_plan_recv_redpacket* 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_summer_plan_recv_redpacket::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_recv_redpacket_descriptor_;
  metadata.reflection = packetc2w_summer_plan_recv_redpacket_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_recv_redpacket_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_recv_redpacket_result::kResultFieldNumber;
const int packetw2c_summer_plan_recv_redpacket_result::kIndexFieldNumber;
const int packetw2c_summer_plan_recv_redpacket_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_recv_redpacket_result::packetw2c_summer_plan_recv_redpacket_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_recv_redpacket_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_recv_redpacket_result::packetw2c_summer_plan_recv_redpacket_result(const packetw2c_summer_plan_recv_redpacket_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_recv_redpacket_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7815;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_recv_redpacket_result::~packetw2c_summer_plan_recv_redpacket_result() {
  SharedDtor();
}

void packetw2c_summer_plan_recv_redpacket_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_recv_redpacket_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_redpacket_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_recv_redpacket_result_descriptor_;
}

const packetw2c_summer_plan_recv_redpacket_result& packetw2c_summer_plan_recv_redpacket_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_recv_redpacket_result* packetw2c_summer_plan_recv_redpacket_result::default_instance_ = NULL;

packetw2c_summer_plan_recv_redpacket_result* packetw2c_summer_plan_recv_redpacket_result::New() const {
  return new packetw2c_summer_plan_recv_redpacket_result;
}

void packetw2c_summer_plan_recv_redpacket_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7815;
    result_ = 0;
    index_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_recv_redpacket_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_summer_plan_recv_redpacket_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_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo 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->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_summer_plan_recv_redpacket_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_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 items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_plan_recv_redpacket_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_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 items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_plan_recv_redpacket_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_summer_plan_recv_redpacket_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 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_summer_plan_recv_redpacket_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_recv_redpacket_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_recv_redpacket_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_recv_redpacket_result::MergeFrom(const packetw2c_summer_plan_recv_redpacket_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_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_summer_plan_recv_redpacket_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_recv_redpacket_result::CopyFrom(const packetw2c_summer_plan_recv_redpacket_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_recv_redpacket_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_recv_redpacket_result::Swap(packetw2c_summer_plan_recv_redpacket_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    items_.Swap(&other->items_);
    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_summer_plan_recv_redpacket_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_recv_redpacket_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_recv_redpacket_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_recv_recharged::kPacketIdFieldNumber;
const int packetc2w_summer_plan_recv_recharged::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_recv_recharged::packetc2w_summer_plan_recv_recharged()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_recv_recharged::InitAsDefaultInstance() {
}

packetc2w_summer_plan_recv_recharged::packetc2w_summer_plan_recv_recharged(const packetc2w_summer_plan_recv_recharged& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_recv_recharged::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5266;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_recv_recharged::~packetc2w_summer_plan_recv_recharged() {
  SharedDtor();
}

void packetc2w_summer_plan_recv_recharged::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_recv_recharged::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_recharged::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_recv_recharged_descriptor_;
}

const packetc2w_summer_plan_recv_recharged& packetc2w_summer_plan_recv_recharged::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_recv_recharged* packetc2w_summer_plan_recv_recharged::default_instance_ = NULL;

packetc2w_summer_plan_recv_recharged* packetc2w_summer_plan_recv_recharged::New() const {
  return new packetc2w_summer_plan_recv_recharged;
}

void packetc2w_summer_plan_recv_recharged::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5266;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_recv_recharged::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_summer_plan_recv_recharged];
      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_summer_plan_recv_recharged::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
  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_summer_plan_recv_recharged::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
  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_summer_plan_recv_recharged::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_summer_plan_recv_recharged];
    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_summer_plan_recv_recharged::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_recv_recharged* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_recv_recharged*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_recv_recharged::MergeFrom(const packetc2w_summer_plan_recv_recharged& 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_summer_plan_recv_recharged::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_recv_recharged::CopyFrom(const packetc2w_summer_plan_recv_recharged& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_recv_recharged::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_recv_recharged::Swap(packetc2w_summer_plan_recv_recharged* 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_summer_plan_recv_recharged::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_recv_recharged_descriptor_;
  metadata.reflection = packetc2w_summer_plan_recv_recharged_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_recv_recharged_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_recv_recharged_result::kResultFieldNumber;
const int packetw2c_summer_plan_recv_recharged_result::kIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_recv_recharged_result::packetw2c_summer_plan_recv_recharged_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_recv_recharged_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_recv_recharged_result::packetw2c_summer_plan_recv_recharged_result(const packetw2c_summer_plan_recv_recharged_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_recv_recharged_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7816;
  result_ = 0;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_recv_recharged_result::~packetw2c_summer_plan_recv_recharged_result() {
  SharedDtor();
}

void packetw2c_summer_plan_recv_recharged_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_recv_recharged_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_recharged_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_recv_recharged_result_descriptor_;
}

const packetw2c_summer_plan_recv_recharged_result& packetw2c_summer_plan_recv_recharged_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_recv_recharged_result* packetw2c_summer_plan_recv_recharged_result::default_instance_ = NULL;

packetw2c_summer_plan_recv_recharged_result* packetw2c_summer_plan_recv_recharged_result::New() const {
  return new packetw2c_summer_plan_recv_recharged_result;
}

void packetw2c_summer_plan_recv_recharged_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7816;
    result_ = 0;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_recv_recharged_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_summer_plan_recv_recharged_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_summer_plan_recv_recharged_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_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_summer_plan_recv_recharged_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_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_summer_plan_recv_recharged_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_summer_plan_recv_recharged_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_summer_plan_recv_recharged_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_recv_recharged_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_recv_recharged_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_recv_recharged_result::MergeFrom(const packetw2c_summer_plan_recv_recharged_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_summer_plan_recv_recharged_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_recv_recharged_result::CopyFrom(const packetw2c_summer_plan_recv_recharged_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_recv_recharged_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_recv_recharged_result::Swap(packetw2c_summer_plan_recv_recharged_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_summer_plan_recv_recharged_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_recv_recharged_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_recv_recharged_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_buy_sendgold_gift::kPacketIdFieldNumber;
const int packetc2w_summer_plan_buy_sendgold_gift::kGiftIDFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_buy_sendgold_gift::packetc2w_summer_plan_buy_sendgold_gift()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_buy_sendgold_gift::InitAsDefaultInstance() {
}

packetc2w_summer_plan_buy_sendgold_gift::packetc2w_summer_plan_buy_sendgold_gift(const packetc2w_summer_plan_buy_sendgold_gift& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_buy_sendgold_gift::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5270;
  giftid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_buy_sendgold_gift::~packetc2w_summer_plan_buy_sendgold_gift() {
  SharedDtor();
}

void packetc2w_summer_plan_buy_sendgold_gift::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_buy_sendgold_gift::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_buy_sendgold_gift::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_buy_sendgold_gift_descriptor_;
}

const packetc2w_summer_plan_buy_sendgold_gift& packetc2w_summer_plan_buy_sendgold_gift::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_buy_sendgold_gift* packetc2w_summer_plan_buy_sendgold_gift::default_instance_ = NULL;

packetc2w_summer_plan_buy_sendgold_gift* packetc2w_summer_plan_buy_sendgold_gift::New() const {
  return new packetc2w_summer_plan_buy_sendgold_gift;
}

void packetc2w_summer_plan_buy_sendgold_gift::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5270;
    giftid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_gift::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_gift::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_gift::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_buy_sendgold_gift* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_buy_sendgold_gift*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_buy_sendgold_gift::MergeFrom(const packetc2w_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_gift::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_buy_sendgold_gift::CopyFrom(const packetc2w_summer_plan_buy_sendgold_gift& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_buy_sendgold_gift::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_buy_sendgold_gift::Swap(packetc2w_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_gift::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_buy_sendgold_gift_descriptor_;
  metadata.reflection = packetc2w_summer_plan_buy_sendgold_gift_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_buy_sendgold_gift_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_buy_sendgold_gift_result::kResultFieldNumber;
const int packetw2c_summer_plan_buy_sendgold_gift_result::kGiftIDFieldNumber;
const int packetw2c_summer_plan_buy_sendgold_gift_result::kItemsFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_buy_sendgold_gift_result::packetw2c_summer_plan_buy_sendgold_gift_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_buy_sendgold_gift_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_buy_sendgold_gift_result::packetw2c_summer_plan_buy_sendgold_gift_result(const packetw2c_summer_plan_buy_sendgold_gift_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_buy_sendgold_gift_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7821;
  result_ = 0;
  giftid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_buy_sendgold_gift_result::~packetw2c_summer_plan_buy_sendgold_gift_result() {
  SharedDtor();
}

void packetw2c_summer_plan_buy_sendgold_gift_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_buy_sendgold_gift_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_buy_sendgold_gift_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_;
}

const packetw2c_summer_plan_buy_sendgold_gift_result& packetw2c_summer_plan_buy_sendgold_gift_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_buy_sendgold_gift_result* packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_ = NULL;

packetw2c_summer_plan_buy_sendgold_gift_result* packetw2c_summer_plan_buy_sendgold_gift_result::New() const {
  return new packetw2c_summer_plan_buy_sendgold_gift_result;
}

void packetw2c_summer_plan_buy_sendgold_gift_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7821;
    result_ = 0;
    giftid_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_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->ExpectTag(34)) goto parse_items;
        break;
      }

      // repeated .msg_info_def.ItemInfo 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->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_summer_plan_buy_sendgold_gift_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_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);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, this->items(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_plan_buy_sendgold_gift_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_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);
  }

  // repeated .msg_info_def.ItemInfo items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        4, this->items(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_plan_buy_sendgold_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_summer_plan_buy_sendgold_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());
    }

  }
  // repeated .msg_info_def.ItemInfo 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_summer_plan_buy_sendgold_gift_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_buy_sendgold_gift_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_buy_sendgold_gift_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_buy_sendgold_gift_result::MergeFrom(const packetw2c_summer_plan_buy_sendgold_gift_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_giftid()) {
      set_giftid(from.giftid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_summer_plan_buy_sendgold_gift_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_buy_sendgold_gift_result::CopyFrom(const packetw2c_summer_plan_buy_sendgold_gift_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_buy_sendgold_gift_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_buy_sendgold_gift_result::Swap(packetw2c_summer_plan_buy_sendgold_gift_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(giftid_, other->giftid_);
    items_.Swap(&other->items_);
    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_summer_plan_buy_sendgold_gift_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_buy_sendgold_gift_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_launch::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_launch::packetc2w_summer_plan_launch()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_launch::InitAsDefaultInstance() {
}

packetc2w_summer_plan_launch::packetc2w_summer_plan_launch(const packetc2w_summer_plan_launch& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_launch::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5267;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_launch::~packetc2w_summer_plan_launch() {
  SharedDtor();
}

void packetc2w_summer_plan_launch::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_launch::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_launch::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_launch_descriptor_;
}

const packetc2w_summer_plan_launch& packetc2w_summer_plan_launch::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_launch* packetc2w_summer_plan_launch::default_instance_ = NULL;

packetc2w_summer_plan_launch* packetc2w_summer_plan_launch::New() const {
  return new packetc2w_summer_plan_launch;
}

void packetc2w_summer_plan_launch::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5267;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_launch::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_summer_plan_launch];
      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_summer_plan_launch::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
  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_summer_plan_launch::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
  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_summer_plan_launch::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_summer_plan_launch];
    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_summer_plan_launch::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_launch* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_launch*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_launch::MergeFrom(const packetc2w_summer_plan_launch& 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_summer_plan_launch::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_launch::CopyFrom(const packetc2w_summer_plan_launch& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_launch::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_launch::Swap(packetc2w_summer_plan_launch* 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_summer_plan_launch::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_launch_descriptor_;
  metadata.reflection = packetc2w_summer_plan_launch_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_launch_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_launch_result::kResultFieldNumber;
const int packetw2c_summer_plan_launch_result::kHeightFieldNumber;
const int packetw2c_summer_plan_launch_result::kFreeRocketCountFieldNumber;
const int packetw2c_summer_plan_launch_result::kFreeRocketColdFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_launch_result::packetw2c_summer_plan_launch_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_launch_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_launch_result::packetw2c_summer_plan_launch_result(const packetw2c_summer_plan_launch_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_launch_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7817;
  result_ = 0;
  height_ = 0;
  freerocketcount_ = 0;
  freerocketcold_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_launch_result::~packetw2c_summer_plan_launch_result() {
  SharedDtor();
}

void packetw2c_summer_plan_launch_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_launch_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_launch_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_launch_result_descriptor_;
}

const packetw2c_summer_plan_launch_result& packetw2c_summer_plan_launch_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_launch_result* packetw2c_summer_plan_launch_result::default_instance_ = NULL;

packetw2c_summer_plan_launch_result* packetw2c_summer_plan_launch_result::New() const {
  return new packetw2c_summer_plan_launch_result;
}

void packetw2c_summer_plan_launch_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7817;
    result_ = 0;
    height_ = 0;
    freerocketcount_ = 0;
    freerocketcold_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_launch_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_summer_plan_launch_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_height;
        break;
      }

      // optional int32 height = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_height:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &height_)));
          set_has_height();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_freeRocketCount;
        break;
      }

      // optional int32 freeRocketCount = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_freeRocketCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &freerocketcount_)));
          set_has_freerocketcount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_freeRocketCold;
        break;
      }

      // optional int32 freeRocketCold = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_freeRocketCold:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &freerocketcold_)));
          set_has_freerocketcold();
        } 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_summer_plan_launch_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_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 height = 3;
  if (has_height()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->height(), output);
  }

  // optional int32 freeRocketCount = 4;
  if (has_freerocketcount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->freerocketcount(), output);
  }

  // optional int32 freeRocketCold = 5;
  if (has_freerocketcold()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->freerocketcold(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_plan_launch_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_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 height = 3;
  if (has_height()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->height(), target);
  }

  // optional int32 freeRocketCount = 4;
  if (has_freerocketcount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->freerocketcount(), target);
  }

  // optional int32 freeRocketCold = 5;
  if (has_freerocketcold()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->freerocketcold(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_plan_launch_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_summer_plan_launch_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 height = 3;
    if (has_height()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->height());
    }

    // optional int32 freeRocketCount = 4;
    if (has_freerocketcount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->freerocketcount());
    }

    // optional int32 freeRocketCold = 5;
    if (has_freerocketcold()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->freerocketcold());
    }

  }
  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_summer_plan_launch_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_launch_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_launch_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_launch_result::MergeFrom(const packetw2c_summer_plan_launch_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_height()) {
      set_height(from.height());
    }
    if (from.has_freerocketcount()) {
      set_freerocketcount(from.freerocketcount());
    }
    if (from.has_freerocketcold()) {
      set_freerocketcold(from.freerocketcold());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_summer_plan_launch_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_launch_result::CopyFrom(const packetw2c_summer_plan_launch_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_launch_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_launch_result::Swap(packetw2c_summer_plan_launch_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(height_, other->height_);
    std::swap(freerocketcount_, other->freerocketcount_);
    std::swap(freerocketcold_, other->freerocketcold_);
    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_summer_plan_launch_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_launch_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_launch_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_summer_plan_touch_gold::kPacketIdFieldNumber;
const int packetc2w_summer_plan_touch_gold::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_summer_plan_touch_gold::packetc2w_summer_plan_touch_gold()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_summer_plan_touch_gold::InitAsDefaultInstance() {
}

packetc2w_summer_plan_touch_gold::packetc2w_summer_plan_touch_gold(const packetc2w_summer_plan_touch_gold& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_summer_plan_touch_gold::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5268;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_summer_plan_touch_gold::~packetc2w_summer_plan_touch_gold() {
  SharedDtor();
}

void packetc2w_summer_plan_touch_gold::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_summer_plan_touch_gold::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_summer_plan_touch_gold::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_summer_plan_touch_gold_descriptor_;
}

const packetc2w_summer_plan_touch_gold& packetc2w_summer_plan_touch_gold::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_summer_plan_touch_gold* packetc2w_summer_plan_touch_gold::default_instance_ = NULL;

packetc2w_summer_plan_touch_gold* packetc2w_summer_plan_touch_gold::New() const {
  return new packetc2w_summer_plan_touch_gold;
}

void packetc2w_summer_plan_touch_gold::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5268;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_summer_plan_touch_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_summer_plan_touch_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->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_summer_plan_touch_gold::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
  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_summer_plan_touch_gold::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
  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_summer_plan_touch_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_summer_plan_touch_gold];
    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_summer_plan_touch_gold::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_summer_plan_touch_gold* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_touch_gold*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_summer_plan_touch_gold::MergeFrom(const packetc2w_summer_plan_touch_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());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_summer_plan_touch_gold::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_summer_plan_touch_gold::CopyFrom(const packetc2w_summer_plan_touch_gold& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_summer_plan_touch_gold::IsInitialized() const {

  return true;
}

void packetc2w_summer_plan_touch_gold::Swap(packetc2w_summer_plan_touch_gold* 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_summer_plan_touch_gold::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_summer_plan_touch_gold_descriptor_;
  metadata.reflection = packetc2w_summer_plan_touch_gold_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_summer_plan_touch_gold_result::kPacketIdFieldNumber;
const int packetw2c_summer_plan_touch_gold_result::kResultFieldNumber;
const int packetw2c_summer_plan_touch_gold_result::kIndexFieldNumber;
const int packetw2c_summer_plan_touch_gold_result::kFreeFieldNumber;
const int packetw2c_summer_plan_touch_gold_result::kDrawEyeEnergyFieldNumber;
const int packetw2c_summer_plan_touch_gold_result::kTouchGoldEnergyFieldNumber;
#endif  // !_MSC_VER

packetw2c_summer_plan_touch_gold_result::packetw2c_summer_plan_touch_gold_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_summer_plan_touch_gold_result::InitAsDefaultInstance() {
}

packetw2c_summer_plan_touch_gold_result::packetw2c_summer_plan_touch_gold_result(const packetw2c_summer_plan_touch_gold_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_summer_plan_touch_gold_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7819;
  result_ = 0;
  index_ = 0;
  free_ = false;
  draweyeenergy_ = 0;
  touchgoldenergy_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_summer_plan_touch_gold_result::~packetw2c_summer_plan_touch_gold_result() {
  SharedDtor();
}

void packetw2c_summer_plan_touch_gold_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_summer_plan_touch_gold_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_summer_plan_touch_gold_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_summer_plan_touch_gold_result_descriptor_;
}

const packetw2c_summer_plan_touch_gold_result& packetw2c_summer_plan_touch_gold_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_summer_plan_touch_gold_result* packetw2c_summer_plan_touch_gold_result::default_instance_ = NULL;

packetw2c_summer_plan_touch_gold_result* packetw2c_summer_plan_touch_gold_result::New() const {
  return new packetw2c_summer_plan_touch_gold_result;
}

void packetw2c_summer_plan_touch_gold_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7819;
    result_ = 0;
    index_ = 0;
    free_ = false;
    draweyeenergy_ = 0;
    touchgoldenergy_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_summer_plan_touch_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_summer_plan_touch_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_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_free;
        break;
      }

      // optional bool free = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_free:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &free_)));
          set_has_free();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_drawEyeEnergy;
        break;
      }

      // optional int32 drawEyeEnergy = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_drawEyeEnergy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &draweyeenergy_)));
          set_has_draweyeenergy();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_touchGoldEnergy;
        break;
      }

      // optional int32 touchGoldEnergy = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_touchGoldEnergy:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &touchgoldenergy_)));
          set_has_touchgoldenergy();
        } 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_summer_plan_touch_gold_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_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 bool free = 4;
  if (has_free()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->free(), output);
  }

  // optional int32 drawEyeEnergy = 5;
  if (has_draweyeenergy()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->draweyeenergy(), output);
  }

  // optional int32 touchGoldEnergy = 6;
  if (has_touchgoldenergy()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->touchgoldenergy(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_summer_plan_touch_gold_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_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 bool free = 4;
  if (has_free()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->free(), target);
  }

  // optional int32 drawEyeEnergy = 5;
  if (has_draweyeenergy()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->draweyeenergy(), target);
  }

  // optional int32 touchGoldEnergy = 6;
  if (has_touchgoldenergy()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->touchgoldenergy(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_summer_plan_touch_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_summer_plan_touch_gold_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 bool free = 4;
    if (has_free()) {
      total_size += 1 + 1;
    }

    // optional int32 drawEyeEnergy = 5;
    if (has_draweyeenergy()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->draweyeenergy());
    }

    // optional int32 touchGoldEnergy = 6;
    if (has_touchgoldenergy()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->touchgoldenergy());
    }

  }
  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_summer_plan_touch_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_summer_plan_touch_gold_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_touch_gold_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_summer_plan_touch_gold_result::MergeFrom(const packetw2c_summer_plan_touch_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_result()) {
      set_result(from.result());
    }
    if (from.has_index()) {
      set_index(from.index());
    }
    if (from.has_free()) {
      set_free(from.free());
    }
    if (from.has_draweyeenergy()) {
      set_draweyeenergy(from.draweyeenergy());
    }
    if (from.has_touchgoldenergy()) {
      set_touchgoldenergy(from.touchgoldenergy());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_summer_plan_touch_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_summer_plan_touch_gold_result::CopyFrom(const packetw2c_summer_plan_touch_gold_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_summer_plan_touch_gold_result::IsInitialized() const {

  return true;
}

void packetw2c_summer_plan_touch_gold_result::Swap(packetw2c_summer_plan_touch_gold_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    std::swap(free_, other->free_);
    std::swap(draweyeenergy_, other->draweyeenergy_);
    std::swap(touchgoldenergy_, other->touchgoldenergy_);
    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_summer_plan_touch_gold_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_summer_plan_touch_gold_result_descriptor_;
  metadata.reflection = packetw2c_summer_plan_touch_gold_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_syn_happy_summer_info::kPacketIdFieldNumber;
const int packetw2c_syn_happy_summer_info::kActivityStateFieldNumber;
const int packetw2c_syn_happy_summer_info::kStartTimeFieldNumber;
const int packetw2c_syn_happy_summer_info::kEndTimeFieldNumber;
const int packetw2c_syn_happy_summer_info::kPointsFieldNumber;
const int packetw2c_syn_happy_summer_info::kBlindboxkeyFieldNumber;
const int packetw2c_syn_happy_summer_info::kLotterkeyFieldNumber;
const int packetw2c_syn_happy_summer_info::kBlindBoxListFieldNumber;
const int packetw2c_syn_happy_summer_info::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_syn_happy_summer_info::packetw2c_syn_happy_summer_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_syn_happy_summer_info::InitAsDefaultInstance() {
}

packetw2c_syn_happy_summer_info::packetw2c_syn_happy_summer_info(const packetw2c_syn_happy_summer_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_syn_happy_summer_info::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7822;
  activitystate_ = 0;
  starttime_ = 0;
  endtime_ = 0;
  points_ = 0;
  blindboxkey_ = 0;
  lotterkey_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_syn_happy_summer_info::~packetw2c_syn_happy_summer_info() {
  SharedDtor();
}

void packetw2c_syn_happy_summer_info::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_syn_happy_summer_info::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_syn_happy_summer_info::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_syn_happy_summer_info_descriptor_;
}

const packetw2c_syn_happy_summer_info& packetw2c_syn_happy_summer_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_syn_happy_summer_info* packetw2c_syn_happy_summer_info::default_instance_ = NULL;

packetw2c_syn_happy_summer_info* packetw2c_syn_happy_summer_info::New() const {
  return new packetw2c_syn_happy_summer_info;
}

void packetw2c_syn_happy_summer_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7822;
    activitystate_ = 0;
    starttime_ = 0;
    endtime_ = 0;
    points_ = 0;
    blindboxkey_ = 0;
    lotterkey_ = 0;
  }
  blindboxlist_.Clear();
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_syn_happy_summer_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_w2c_syn_happy_summer_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_activityState;
        break;
      }

      // optional int32 activityState = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_activityState:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &activitystate_)));
          set_has_activitystate();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_startTime;
        break;
      }

      // optional int32 startTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_startTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &starttime_)));
          set_has_starttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_endTime;
        break;
      }

      // optional int32 endTime = 4;
      case 4: {
        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(40)) goto parse_points;
        break;
      }

      // optional int32 points = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_points:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &points_)));
          set_has_points();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_blindboxkey;
        break;
      }

      // optional int32 blindboxkey = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_blindboxkey:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &blindboxkey_)));
          set_has_blindboxkey();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(56)) goto parse_lotterkey;
        break;
      }

      // optional int32 lotterkey = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lotterkey:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lotterkey_)));
          set_has_lotterkey();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_blindBoxList;
        break;
      }

      // repeated int32 blindBoxList = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_blindBoxList:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 64, input, this->mutable_blindboxlist())));
        } 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_blindboxlist())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(64)) goto parse_blindBoxList;
        if (input->ExpectTag(74)) goto parse_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 9;
      case 9: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(74)) goto parse_questList;
        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_happy_summer_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  }

  // optional int32 points = 5;
  if (has_points()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->points(), output);
  }

  // optional int32 blindboxkey = 6;
  if (has_blindboxkey()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->blindboxkey(), output);
  }

  // optional int32 lotterkey = 7;
  if (has_lotterkey()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->lotterkey(), output);
  }

  // repeated int32 blindBoxList = 8;
  for (int i = 0; i < this->blindboxlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      8, this->blindboxlist(i), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 9;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      9, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_syn_happy_summer_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 activityState = 2;
  if (has_activitystate()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  }

  // optional int32 startTime = 3;
  if (has_starttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  }

  // optional int32 endTime = 4;
  if (has_endtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  }

  // optional int32 points = 5;
  if (has_points()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->points(), target);
  }

  // optional int32 blindboxkey = 6;
  if (has_blindboxkey()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->blindboxkey(), target);
  }

  // optional int32 lotterkey = 7;
  if (has_lotterkey()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->lotterkey(), target);
  }

  // repeated int32 blindBoxList = 8;
  for (int i = 0; i < this->blindboxlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(8, this->blindboxlist(i), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 9;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        9, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_syn_happy_summer_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_w2c_syn_happy_summer_info];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 activityState = 2;
    if (has_activitystate()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->activitystate());
    }

    // optional int32 startTime = 3;
    if (has_starttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->starttime());
    }

    // optional int32 endTime = 4;
    if (has_endtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->endtime());
    }

    // optional int32 points = 5;
    if (has_points()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->points());
    }

    // optional int32 blindboxkey = 6;
    if (has_blindboxkey()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->blindboxkey());
    }

    // optional int32 lotterkey = 7;
    if (has_lotterkey()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lotterkey());
    }

  }
  // repeated int32 blindBoxList = 8;
  {
    int data_size = 0;
    for (int i = 0; i < this->blindboxlist_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->blindboxlist(i));
    }
    total_size += 1 * this->blindboxlist_size() + data_size;
  }

  // repeated .msg_info_def.msg_quest_info questList = 9;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_syn_happy_summer_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_syn_happy_summer_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_happy_summer_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_syn_happy_summer_info::MergeFrom(const packetw2c_syn_happy_summer_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  blindboxlist_.MergeFrom(from.blindboxlist_);
  questlist_.MergeFrom(from.questlist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_activitystate()) {
      set_activitystate(from.activitystate());
    }
    if (from.has_starttime()) {
      set_starttime(from.starttime());
    }
    if (from.has_endtime()) {
      set_endtime(from.endtime());
    }
    if (from.has_points()) {
      set_points(from.points());
    }
    if (from.has_blindboxkey()) {
      set_blindboxkey(from.blindboxkey());
    }
    if (from.has_lotterkey()) {
      set_lotterkey(from.lotterkey());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_syn_happy_summer_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_syn_happy_summer_info::CopyFrom(const packetw2c_syn_happy_summer_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_syn_happy_summer_info::IsInitialized() const {

  return true;
}

void packetw2c_syn_happy_summer_info::Swap(packetw2c_syn_happy_summer_info* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(activitystate_, other->activitystate_);
    std::swap(starttime_, other->starttime_);
    std::swap(endtime_, other->endtime_);
    std::swap(points_, other->points_);
    std::swap(blindboxkey_, other->blindboxkey_);
    std::swap(lotterkey_, other->lotterkey_);
    blindboxlist_.Swap(&other->blindboxlist_);
    questlist_.Swap(&other->questlist_);
    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_happy_summer_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_syn_happy_summer_info_descriptor_;
  metadata.reflection = packetw2c_syn_happy_summer_info_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_happy_summer_rank::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_happy_summer_rank::packetc2w_get_happy_summer_rank()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_happy_summer_rank::InitAsDefaultInstance() {
}

packetc2w_get_happy_summer_rank::packetc2w_get_happy_summer_rank(const packetc2w_get_happy_summer_rank& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_happy_summer_rank::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5271;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_happy_summer_rank::~packetc2w_get_happy_summer_rank() {
  SharedDtor();
}

void packetc2w_get_happy_summer_rank::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_happy_summer_rank::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_rank::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_happy_summer_rank_descriptor_;
}

const packetc2w_get_happy_summer_rank& packetc2w_get_happy_summer_rank::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_happy_summer_rank* packetc2w_get_happy_summer_rank::default_instance_ = NULL;

packetc2w_get_happy_summer_rank* packetc2w_get_happy_summer_rank::New() const {
  return new packetc2w_get_happy_summer_rank;
}

void packetc2w_get_happy_summer_rank::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5271;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_happy_summer_rank::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_happy_summer_rank::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
  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_happy_summer_rank::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
  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_happy_summer_rank::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_happy_summer_rank];
    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_happy_summer_rank::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_happy_summer_rank* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_happy_summer_rank*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_happy_summer_rank::MergeFrom(const packetc2w_get_happy_summer_rank& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_happy_summer_rank::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_happy_summer_rank::CopyFrom(const packetc2w_get_happy_summer_rank& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_happy_summer_rank::IsInitialized() const {

  return true;
}

void packetc2w_get_happy_summer_rank::Swap(packetc2w_get_happy_summer_rank* 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_happy_summer_rank::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_happy_summer_rank_descriptor_;
  metadata.reflection = packetc2w_get_happy_summer_rank_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_happy_summer_rank_result::kPacketIdFieldNumber;
const int packetw2c_get_happy_summer_rank_result::kRankListFieldNumber;
const int packetw2c_get_happy_summer_rank_result::kMyCountFieldNumber;
const int packetw2c_get_happy_summer_rank_result::kMyRankFieldNumber;
const int packetw2c_get_happy_summer_rank_result::kThresholdValueFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_happy_summer_rank_result::packetw2c_get_happy_summer_rank_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_happy_summer_rank_result::InitAsDefaultInstance() {
}

packetw2c_get_happy_summer_rank_result::packetw2c_get_happy_summer_rank_result(const packetw2c_get_happy_summer_rank_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_happy_summer_rank_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7823;
  mycount_ = 0;
  myrank_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_happy_summer_rank_result::~packetw2c_get_happy_summer_rank_result() {
  SharedDtor();
}

void packetw2c_get_happy_summer_rank_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_happy_summer_rank_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_rank_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_happy_summer_rank_result_descriptor_;
}

const packetw2c_get_happy_summer_rank_result& packetw2c_get_happy_summer_rank_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_happy_summer_rank_result* packetw2c_get_happy_summer_rank_result::default_instance_ = NULL;

packetw2c_get_happy_summer_rank_result* packetw2c_get_happy_summer_rank_result::New() const {
  return new packetw2c_get_happy_summer_rank_result;
}

void packetw2c_get_happy_summer_rank_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7823;
    mycount_ = 0;
    myrank_ = 0;
  }
  ranklist_.Clear();
  thresholdvalue_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_happy_summer_rank_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::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_rankList;
        break;
      }

      // repeated .client2world_protocols.activity_rank rankList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_rankList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_ranklist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_rankList;
        if (input->ExpectTag(24)) goto parse_myCount;
        break;
      }

      // optional int32 myCount = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myCount:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &mycount_)));
          set_has_mycount();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_myRank;
        break;
      }

      // optional int32 myRank = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_myRank:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &myrank_)));
          set_has_myrank();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_thresholdValue;
        break;
      }

      // repeated int32 thresholdValue = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_thresholdValue:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 40, input, this->mutable_thresholdvalue())));
        } 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_thresholdvalue())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(40)) goto parse_thresholdValue;
        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_happy_summer_rank_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->ranklist(i), output);
  }

  // optional int32 myCount = 3;
  if (has_mycount()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mycount(), output);
  }

  // optional int32 myRank = 4;
  if (has_myrank()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myrank(), output);
  }

  // repeated int32 thresholdValue = 5;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      5, this->thresholdvalue(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_happy_summer_rank_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.activity_rank rankList = 2;
  for (int i = 0; i < this->ranklist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->ranklist(i), target);
  }

  // optional int32 myCount = 3;
  if (has_mycount()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mycount(), target);
  }

  // optional int32 myRank = 4;
  if (has_myrank()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myrank(), target);
  }

  // repeated int32 thresholdValue = 5;
  for (int i = 0; i < this->thresholdvalue_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(5, this->thresholdvalue(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_happy_summer_rank_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_happy_summer_rank_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 myCount = 3;
    if (has_mycount()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->mycount());
    }

    // optional int32 myRank = 4;
    if (has_myrank()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->myrank());
    }

  }
  // repeated .client2world_protocols.activity_rank rankList = 2;
  total_size += 1 * this->ranklist_size();
  for (int i = 0; i < this->ranklist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->ranklist(i));
  }

  // repeated int32 thresholdValue = 5;
  {
    int data_size = 0;
    for (int i = 0; i < this->thresholdvalue_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->thresholdvalue(i));
    }
    total_size += 1 * this->thresholdvalue_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_get_happy_summer_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_happy_summer_rank_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_happy_summer_rank_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_happy_summer_rank_result::MergeFrom(const packetw2c_get_happy_summer_rank_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  ranklist_.MergeFrom(from.ranklist_);
  thresholdvalue_.MergeFrom(from.thresholdvalue_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mycount()) {
      set_mycount(from.mycount());
    }
    if (from.has_myrank()) {
      set_myrank(from.myrank());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_happy_summer_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_happy_summer_rank_result::CopyFrom(const packetw2c_get_happy_summer_rank_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_happy_summer_rank_result::IsInitialized() const {

  return true;
}

void packetw2c_get_happy_summer_rank_result::Swap(packetw2c_get_happy_summer_rank_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    ranklist_.Swap(&other->ranklist_);
    std::swap(mycount_, other->mycount_);
    std::swap(myrank_, other->myrank_);
    thresholdvalue_.Swap(&other->thresholdvalue_);
    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_happy_summer_rank_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_happy_summer_rank_result_descriptor_;
  metadata.reflection = packetw2c_get_happy_summer_rank_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_happy_summer_open_box::kPacketIdFieldNumber;
const int packetc2w_happy_summer_open_box::kIndexFieldNumber;
#endif  // !_MSC_VER

packetc2w_happy_summer_open_box::packetc2w_happy_summer_open_box()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_happy_summer_open_box::InitAsDefaultInstance() {
}

packetc2w_happy_summer_open_box::packetc2w_happy_summer_open_box(const packetc2w_happy_summer_open_box& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_happy_summer_open_box::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5272;
  index_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_happy_summer_open_box::~packetc2w_happy_summer_open_box() {
  SharedDtor();
}

void packetc2w_happy_summer_open_box::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_happy_summer_open_box::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_happy_summer_open_box::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_happy_summer_open_box_descriptor_;
}

const packetc2w_happy_summer_open_box& packetc2w_happy_summer_open_box::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_happy_summer_open_box* packetc2w_happy_summer_open_box::default_instance_ = NULL;

packetc2w_happy_summer_open_box* packetc2w_happy_summer_open_box::New() const {
  return new packetc2w_happy_summer_open_box;
}

void packetc2w_happy_summer_open_box::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5272;
    index_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_happy_summer_open_box::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_happy_summer_open_box];
      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_happy_summer_open_box::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
  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_happy_summer_open_box::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
  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_happy_summer_open_box::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_happy_summer_open_box];
    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_happy_summer_open_box::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_happy_summer_open_box* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_happy_summer_open_box*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_happy_summer_open_box::MergeFrom(const packetc2w_happy_summer_open_box& 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_happy_summer_open_box::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_happy_summer_open_box::CopyFrom(const packetc2w_happy_summer_open_box& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_happy_summer_open_box::IsInitialized() const {

  return true;
}

void packetc2w_happy_summer_open_box::Swap(packetc2w_happy_summer_open_box* 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_happy_summer_open_box::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_happy_summer_open_box_descriptor_;
  metadata.reflection = packetc2w_happy_summer_open_box_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_happy_summer_open_box_result::kPacketIdFieldNumber;
const int packetw2c_happy_summer_open_box_result::kResultFieldNumber;
const int packetw2c_happy_summer_open_box_result::kIndexFieldNumber;
const int packetw2c_happy_summer_open_box_result::kItemsFieldNumber;
const int packetw2c_happy_summer_open_box_result::kCurBlindBoxKeyFieldNumber;
#endif  // !_MSC_VER

packetw2c_happy_summer_open_box_result::packetw2c_happy_summer_open_box_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_happy_summer_open_box_result::InitAsDefaultInstance() {
}

packetw2c_happy_summer_open_box_result::packetw2c_happy_summer_open_box_result(const packetw2c_happy_summer_open_box_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_happy_summer_open_box_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7824;
  result_ = 0;
  index_ = 0;
  curblindboxkey_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_happy_summer_open_box_result::~packetw2c_happy_summer_open_box_result() {
  SharedDtor();
}

void packetw2c_happy_summer_open_box_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_happy_summer_open_box_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_happy_summer_open_box_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_happy_summer_open_box_result_descriptor_;
}

const packetw2c_happy_summer_open_box_result& packetw2c_happy_summer_open_box_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_happy_summer_open_box_result* packetw2c_happy_summer_open_box_result::default_instance_ = NULL;

packetw2c_happy_summer_open_box_result* packetw2c_happy_summer_open_box_result::New() const {
  return new packetw2c_happy_summer_open_box_result;
}

void packetw2c_happy_summer_open_box_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7824;
    result_ = 0;
    index_ = 0;
    curblindboxkey_ = 0;
  }
  items_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_happy_summer_open_box_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_happy_summer_open_box_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_items;
        break;
      }

      // repeated int32 items = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_items:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_items())));
        } 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_items())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_items;
        if (input->ExpectTag(40)) goto parse_curBlindBoxKey;
        break;
      }

      // optional int32 curBlindBoxKey = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_curBlindBoxKey:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &curblindboxkey_)));
          set_has_curblindboxkey();
        } 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_happy_summer_open_box_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_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 int32 items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->items(i), output);
  }

  // optional int32 curBlindBoxKey = 5;
  if (has_curblindboxkey()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curblindboxkey(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_happy_summer_open_box_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_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 int32 items = 4;
  for (int i = 0; i < this->items_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->items(i), target);
  }

  // optional int32 curBlindBoxKey = 5;
  if (has_curblindboxkey()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curblindboxkey(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_happy_summer_open_box_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_happy_summer_open_box_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 curBlindBoxKey = 5;
    if (has_curblindboxkey()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->curblindboxkey());
    }

  }
  // repeated int32 items = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->items_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->items(i));
    }
    total_size += 1 * this->items_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_happy_summer_open_box_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_happy_summer_open_box_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_happy_summer_open_box_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_happy_summer_open_box_result::MergeFrom(const packetw2c_happy_summer_open_box_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_index()) {
      set_index(from.index());
    }
    if (from.has_curblindboxkey()) {
      set_curblindboxkey(from.curblindboxkey());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_happy_summer_open_box_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_happy_summer_open_box_result::CopyFrom(const packetw2c_happy_summer_open_box_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_happy_summer_open_box_result::IsInitialized() const {

  return true;
}

void packetw2c_happy_summer_open_box_result::Swap(packetw2c_happy_summer_open_box_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(index_, other->index_);
    items_.Swap(&other->items_);
    std::swap(curblindboxkey_, other->curblindboxkey_);
    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_happy_summer_open_box_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_happy_summer_open_box_result_descriptor_;
  metadata.reflection = packetw2c_happy_summer_open_box_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_happy_summer_lottery::kPacketIdFieldNumber;
const int packetc2w_happy_summer_lottery::kAllFieldNumber;
#endif  // !_MSC_VER

packetc2w_happy_summer_lottery::packetc2w_happy_summer_lottery()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_happy_summer_lottery::InitAsDefaultInstance() {
}

packetc2w_happy_summer_lottery::packetc2w_happy_summer_lottery(const packetc2w_happy_summer_lottery& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_happy_summer_lottery::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5273;
  all_ = false;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_happy_summer_lottery::~packetc2w_happy_summer_lottery() {
  SharedDtor();
}

void packetc2w_happy_summer_lottery::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_happy_summer_lottery::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_happy_summer_lottery::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_happy_summer_lottery_descriptor_;
}

const packetc2w_happy_summer_lottery& packetc2w_happy_summer_lottery::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_happy_summer_lottery* packetc2w_happy_summer_lottery::default_instance_ = NULL;

packetc2w_happy_summer_lottery* packetc2w_happy_summer_lottery::New() const {
  return new packetc2w_happy_summer_lottery;
}

void packetc2w_happy_summer_lottery::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5273;
    all_ = false;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_happy_summer_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_happy_summer_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_all;
        break;
      }

      // optional bool all = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_all:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &all_)));
          set_has_all();
        } 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_happy_summer_lottery::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional bool all = 2;
  if (has_all()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->all(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_happy_summer_lottery::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional bool all = 2;
  if (has_all()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->all(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_happy_summer_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_happy_summer_lottery];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional bool all = 2;
    if (has_all()) {
      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_happy_summer_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_happy_summer_lottery* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_happy_summer_lottery*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_happy_summer_lottery::MergeFrom(const packetc2w_happy_summer_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_all()) {
      set_all(from.all());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_happy_summer_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_happy_summer_lottery::CopyFrom(const packetc2w_happy_summer_lottery& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_happy_summer_lottery::IsInitialized() const {

  return true;
}

void packetc2w_happy_summer_lottery::Swap(packetc2w_happy_summer_lottery* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(all_, other->all_);
    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_happy_summer_lottery::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_happy_summer_lottery_descriptor_;
  metadata.reflection = packetc2w_happy_summer_lottery_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_happy_summer_lottery_result::kPacketIdFieldNumber;
const int packetw2c_happy_summer_lottery_result::kAllFieldNumber;
const int packetw2c_happy_summer_lottery_result::kResultFieldNumber;
const int packetw2c_happy_summer_lottery_result::kRewardIndexFieldNumber;
#endif  // !_MSC_VER

packetw2c_happy_summer_lottery_result::packetw2c_happy_summer_lottery_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_happy_summer_lottery_result::InitAsDefaultInstance() {
}

packetw2c_happy_summer_lottery_result::packetw2c_happy_summer_lottery_result(const packetw2c_happy_summer_lottery_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_happy_summer_lottery_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7825;
  all_ = false;
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_happy_summer_lottery_result::~packetw2c_happy_summer_lottery_result() {
  SharedDtor();
}

void packetw2c_happy_summer_lottery_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_happy_summer_lottery_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_happy_summer_lottery_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_happy_summer_lottery_result_descriptor_;
}

const packetw2c_happy_summer_lottery_result& packetw2c_happy_summer_lottery_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_happy_summer_lottery_result* packetw2c_happy_summer_lottery_result::default_instance_ = NULL;

packetw2c_happy_summer_lottery_result* packetw2c_happy_summer_lottery_result::New() const {
  return new packetw2c_happy_summer_lottery_result;
}

void packetw2c_happy_summer_lottery_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7825;
    all_ = false;
    result_ = 0;
  }
  rewardindex_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_happy_summer_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_happy_summer_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_all;
        break;
      }

      // optional bool all = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_all:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &all_)));
          set_has_all();
        } 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_rewardIndex;
        break;
      }

      // repeated int32 rewardIndex = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_rewardIndex:
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 1, 32, input, this->mutable_rewardindex())));
        } 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_rewardindex())));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(32)) goto parse_rewardIndex;
        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_happy_summer_lottery_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional bool all = 2;
  if (has_all()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->all(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  // repeated int32 rewardIndex = 4;
  for (int i = 0; i < this->rewardindex_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(
      4, this->rewardindex(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_happy_summer_lottery_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional bool all = 2;
  if (has_all()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->all(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  // repeated int32 rewardIndex = 4;
  for (int i = 0; i < this->rewardindex_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteInt32ToArray(4, this->rewardindex(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_happy_summer_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_happy_summer_lottery_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional bool all = 2;
    if (has_all()) {
      total_size += 1 + 1;
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  // repeated int32 rewardIndex = 4;
  {
    int data_size = 0;
    for (int i = 0; i < this->rewardindex_size(); i++) {
      data_size += ::google::protobuf::internal::WireFormatLite::
        Int32Size(this->rewardindex(i));
    }
    total_size += 1 * this->rewardindex_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_happy_summer_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_happy_summer_lottery_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_happy_summer_lottery_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_happy_summer_lottery_result::MergeFrom(const packetw2c_happy_summer_lottery_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  rewardindex_.MergeFrom(from.rewardindex_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_all()) {
      set_all(from.all());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_happy_summer_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_happy_summer_lottery_result::CopyFrom(const packetw2c_happy_summer_lottery_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_happy_summer_lottery_result::IsInitialized() const {

  return true;
}

void packetw2c_happy_summer_lottery_result::Swap(packetw2c_happy_summer_lottery_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(all_, other->all_);
    std::swap(result_, other->result_);
    rewardindex_.Swap(&other->rewardindex_);
    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_happy_summer_lottery_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_happy_summer_lottery_result_descriptor_;
  metadata.reflection = packetw2c_happy_summer_lottery_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_recv_happy_summer_quest_award::kPacketIdFieldNumber;
const int packetc2w_recv_happy_summer_quest_award::kQuestIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_happy_summer_quest_award::packetc2w_recv_happy_summer_quest_award()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_happy_summer_quest_award::InitAsDefaultInstance() {
}

packetc2w_recv_happy_summer_quest_award::packetc2w_recv_happy_summer_quest_award(const packetc2w_recv_happy_summer_quest_award& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_happy_summer_quest_award::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5274;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_happy_summer_quest_award::~packetc2w_recv_happy_summer_quest_award() {
  SharedDtor();
}

void packetc2w_recv_happy_summer_quest_award::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_recv_happy_summer_quest_award::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_recv_happy_summer_quest_award::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_recv_happy_summer_quest_award_descriptor_;
}

const packetc2w_recv_happy_summer_quest_award& packetc2w_recv_happy_summer_quest_award::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_recv_happy_summer_quest_award* packetc2w_recv_happy_summer_quest_award::default_instance_ = NULL;

packetc2w_recv_happy_summer_quest_award* packetc2w_recv_happy_summer_quest_award::New() const {
  return new packetc2w_recv_happy_summer_quest_award;
}

void packetc2w_recv_happy_summer_quest_award::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5274;
    questid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_happy_summer_quest_award::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_happy_summer_quest_award];
      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_questId;
        break;
      }

      // optional int32 questId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } 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_happy_summer_quest_award::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_happy_summer_quest_award::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 questId = 2;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_happy_summer_quest_award::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_happy_summer_quest_award];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 questId = 2;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  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_happy_summer_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_happy_summer_quest_award* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_happy_summer_quest_award*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_happy_summer_quest_award::MergeFrom(const packetc2w_recv_happy_summer_quest_award& 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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_happy_summer_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_happy_summer_quest_award::CopyFrom(const packetc2w_recv_happy_summer_quest_award& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_happy_summer_quest_award::IsInitialized() const {

  return true;
}

void packetc2w_recv_happy_summer_quest_award::Swap(packetc2w_recv_happy_summer_quest_award* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(questid_, other->questid_);
    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_happy_summer_quest_award::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_happy_summer_quest_award_descriptor_;
  metadata.reflection = packetc2w_recv_happy_summer_quest_award_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_recv_happy_summer_quest_award_result::kPacketIdFieldNumber;
const int packetw2c_recv_happy_summer_quest_award_result::kResultFieldNumber;
const int packetw2c_recv_happy_summer_quest_award_result::kQuestIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_happy_summer_quest_award_result::packetw2c_recv_happy_summer_quest_award_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_happy_summer_quest_award_result::InitAsDefaultInstance() {
}

packetw2c_recv_happy_summer_quest_award_result::packetw2c_recv_happy_summer_quest_award_result(const packetw2c_recv_happy_summer_quest_award_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_happy_summer_quest_award_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7826;
  result_ = 0;
  questid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_happy_summer_quest_award_result::~packetw2c_recv_happy_summer_quest_award_result() {
  SharedDtor();
}

void packetw2c_recv_happy_summer_quest_award_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_recv_happy_summer_quest_award_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_recv_happy_summer_quest_award_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_recv_happy_summer_quest_award_result_descriptor_;
}

const packetw2c_recv_happy_summer_quest_award_result& packetw2c_recv_happy_summer_quest_award_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_recv_happy_summer_quest_award_result* packetw2c_recv_happy_summer_quest_award_result::default_instance_ = NULL;

packetw2c_recv_happy_summer_quest_award_result* packetw2c_recv_happy_summer_quest_award_result::New() const {
  return new packetw2c_recv_happy_summer_quest_award_result;
}

void packetw2c_recv_happy_summer_quest_award_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7826;
    result_ = 0;
    questid_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_happy_summer_quest_award_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_happy_summer_quest_award_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_questId;
        break;
      }

      // optional int32 questId = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_questId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &questid_)));
          set_has_questid();
        } 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_happy_summer_quest_award_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_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 questId = 3;
  if (has_questid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_happy_summer_quest_award_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_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 questId = 3;
  if (has_questid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_happy_summer_quest_award_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_happy_summer_quest_award_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 questId = 3;
    if (has_questid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->questid());
    }

  }
  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_happy_summer_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_happy_summer_quest_award_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_happy_summer_quest_award_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_happy_summer_quest_award_result::MergeFrom(const packetw2c_recv_happy_summer_quest_award_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_questid()) {
      set_questid(from.questid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_happy_summer_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_happy_summer_quest_award_result::CopyFrom(const packetw2c_recv_happy_summer_quest_award_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_happy_summer_quest_award_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_happy_summer_quest_award_result::Swap(packetw2c_recv_happy_summer_quest_award_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(result_, other->result_);
    std::swap(questid_, other->questid_);
    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_happy_summer_quest_award_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_happy_summer_quest_award_result_descriptor_;
  metadata.reflection = packetw2c_recv_happy_summer_quest_award_result_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetc2w_get_happy_summer_quest::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_happy_summer_quest::packetc2w_get_happy_summer_quest()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_happy_summer_quest::InitAsDefaultInstance() {
}

packetc2w_get_happy_summer_quest::packetc2w_get_happy_summer_quest(const packetc2w_get_happy_summer_quest& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_happy_summer_quest::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5275;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_happy_summer_quest::~packetc2w_get_happy_summer_quest() {
  SharedDtor();
}

void packetc2w_get_happy_summer_quest::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetc2w_get_happy_summer_quest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_quest::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetc2w_get_happy_summer_quest_descriptor_;
}

const packetc2w_get_happy_summer_quest& packetc2w_get_happy_summer_quest::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetc2w_get_happy_summer_quest* packetc2w_get_happy_summer_quest::default_instance_ = NULL;

packetc2w_get_happy_summer_quest* packetc2w_get_happy_summer_quest::New() const {
  return new packetc2w_get_happy_summer_quest;
}

void packetc2w_get_happy_summer_quest::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5275;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_happy_summer_quest::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_happy_summer_quest];
      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_happy_summer_quest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
  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_happy_summer_quest::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
  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_happy_summer_quest::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_happy_summer_quest];
    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_happy_summer_quest::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_happy_summer_quest* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_happy_summer_quest*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_happy_summer_quest::MergeFrom(const packetc2w_get_happy_summer_quest& 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_happy_summer_quest::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_happy_summer_quest::CopyFrom(const packetc2w_get_happy_summer_quest& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_happy_summer_quest::IsInitialized() const {

  return true;
}

void packetc2w_get_happy_summer_quest::Swap(packetc2w_get_happy_summer_quest* 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_happy_summer_quest::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_happy_summer_quest_descriptor_;
  metadata.reflection = packetc2w_get_happy_summer_quest_reflection_;
  return metadata;
}


// ===================================================================

#ifndef _MSC_VER
const int packetw2c_get_happy_summer_quest_result::kPacketIdFieldNumber;
const int packetw2c_get_happy_summer_quest_result::kQuestListFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_happy_summer_quest_result::packetw2c_get_happy_summer_quest_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_happy_summer_quest_result::InitAsDefaultInstance() {
}

packetw2c_get_happy_summer_quest_result::packetw2c_get_happy_summer_quest_result(const packetw2c_get_happy_summer_quest_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_happy_summer_quest_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7827;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_happy_summer_quest_result::~packetw2c_get_happy_summer_quest_result() {
  SharedDtor();
}

void packetw2c_get_happy_summer_quest_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

void packetw2c_get_happy_summer_quest_result::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_quest_result::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return packetw2c_get_happy_summer_quest_result_descriptor_;
}

const packetw2c_get_happy_summer_quest_result& packetw2c_get_happy_summer_quest_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  return *default_instance_;
}

packetw2c_get_happy_summer_quest_result* packetw2c_get_happy_summer_quest_result::default_instance_ = NULL;

packetw2c_get_happy_summer_quest_result* packetw2c_get_happy_summer_quest_result::New() const {
  return new packetw2c_get_happy_summer_quest_result;
}

void packetw2c_get_happy_summer_quest_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7827;
  }
  questlist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_happy_summer_quest_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_happy_summer_quest_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_questList;
        break;
      }

      // repeated .msg_info_def.msg_quest_info questList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_questList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_questlist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_questList;
        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_happy_summer_quest_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->questlist(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_happy_summer_quest_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .msg_info_def.msg_quest_info questList = 2;
  for (int i = 0; i < this->questlist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->questlist(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_happy_summer_quest_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_happy_summer_quest_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  // repeated .msg_info_def.msg_quest_info questList = 2;
  total_size += 1 * this->questlist_size();
  for (int i = 0; i < this->questlist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->questlist(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_happy_summer_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_happy_summer_quest_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_happy_summer_quest_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_happy_summer_quest_result::MergeFrom(const packetw2c_get_happy_summer_quest_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  questlist_.MergeFrom(from.questlist_);
  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_happy_summer_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_happy_summer_quest_result::CopyFrom(const packetw2c_get_happy_summer_quest_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_happy_summer_quest_result::IsInitialized() const {

  return true;
}

void packetw2c_get_happy_summer_quest_result::Swap(packetw2c_get_happy_summer_quest_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    questlist_.Swap(&other->questlist_);
    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_happy_summer_quest_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_happy_summer_quest_result_descriptor_;
  metadata.reflection = packetw2c_get_happy_summer_quest_result_reflection_;
  return metadata;
}


// @@protoc_insertion_point(namespace_scope)

}  // namespace client2world_protocols

// @@protoc_insertion_point(global_scope)
