// Generated by the protocol buffer compiler. DO NOT EDIT! // source: client2world_wjlw.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "client2world_wjlw.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace client2world_protocols { namespace { const ::google::protobuf::Descriptor* EquipRecord_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* EquipRecord_reflection_ = NULL; const ::google::protobuf::Descriptor* GlobalRewardRecord_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* GlobalRewardRecord_reflection_ = NULL; const ::google::protobuf::Descriptor* WjlwInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* WjlwInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* RecharegRewardInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* RecharegRewardInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_wjlw_enter_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_wjlw_enter_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_wjlw_enter_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_wjlw_enter_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_wjlw_exit_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_wjlw_exit_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_wjlw_equip_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_wjlw_equip_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_wjlw_equip_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_wjlw_equip_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_wjlw_req_self_reward_record_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_wjlw_req_self_reward_record_reflection_ = NULL; const ::google::protobuf::Descriptor* PriRewardRecord_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* PriRewardRecord_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_wjlw_req_self_reward_record_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_wjlw_req_self_reward_record_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_wjlw_recv_reward_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_wjlw_recv_reward_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_wjlw_recv_reward_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_wjlw_recv_reward_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_wjlw_bc_open_reward_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_wjlw_bc_open_reward_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_wjlw_refresh_interval_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_wjlw_refresh_interval_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_wjlw_refresh_interval_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_wjlw_refresh_interval_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_wjlw_get_equip_rank_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_wjlw_get_equip_rank_reflection_ = NULL; const ::google::protobuf::Descriptor* RankEquipInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* RankEquipInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_wjlw_get_equip_rank_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_wjlw_get_equip_rank_result_reflection_ = NULL; } // namespace void protobuf_AssignDesc_client2world_5fwjlw_2eproto() { protobuf_AddDesc_client2world_5fwjlw_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "client2world_wjlw.proto"); GOOGLE_CHECK(file != NULL); EquipRecord_descriptor_ = file->message_type(0); static const int EquipRecord_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EquipRecord, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EquipRecord, equipcount_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EquipRecord, time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EquipRecord, id_), }; EquipRecord_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( EquipRecord_descriptor_, EquipRecord::default_instance_, EquipRecord_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EquipRecord, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EquipRecord, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(EquipRecord)); GlobalRewardRecord_descriptor_ = file->message_type(1); static const int GlobalRewardRecord_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GlobalRewardRecord, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GlobalRewardRecord, gold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GlobalRewardRecord, time_), }; GlobalRewardRecord_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( GlobalRewardRecord_descriptor_, GlobalRewardRecord::default_instance_, GlobalRewardRecord_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GlobalRewardRecord, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GlobalRewardRecord, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(GlobalRewardRecord)); WjlwInfo_descriptor_ = file->message_type(2); static const int WjlwInfo_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WjlwInfo, hasequip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WjlwInfo, remainbulletcount_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WjlwInfo, rewardpool_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WjlwInfo, remainfiretime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WjlwInfo, equiprecordlist_), }; WjlwInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( WjlwInfo_descriptor_, WjlwInfo::default_instance_, WjlwInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WjlwInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WjlwInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(WjlwInfo)); RecharegRewardInfo_descriptor_ = file->message_type(3); static const int RecharegRewardInfo_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecharegRewardInfo, rewardid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecharegRewardInfo, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecharegRewardInfo, rewardcount_), }; RecharegRewardInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RecharegRewardInfo_descriptor_, RecharegRewardInfo::default_instance_, RecharegRewardInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecharegRewardInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecharegRewardInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RecharegRewardInfo)); packetc2w_wjlw_enter_descriptor_ = file->message_type(4); static const int packetc2w_wjlw_enter_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_enter, packet_id_), }; packetc2w_wjlw_enter_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_wjlw_enter_descriptor_, packetc2w_wjlw_enter::default_instance_, packetc2w_wjlw_enter_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_enter, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_enter, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_wjlw_enter)); packetw2c_wjlw_enter_result_descriptor_ = file->message_type(5); static const int packetw2c_wjlw_enter_result_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, goldinfo_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, rechargeinfo_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, rewardrecordlist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, yesterdayinfo_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, goldstate_), }; packetw2c_wjlw_enter_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_wjlw_enter_result_descriptor_, packetw2c_wjlw_enter_result::default_instance_, packetw2c_wjlw_enter_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_enter_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_wjlw_enter_result)); packetc2w_wjlw_exit_descriptor_ = file->message_type(6); static const int packetc2w_wjlw_exit_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_exit, packet_id_), }; packetc2w_wjlw_exit_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_wjlw_exit_descriptor_, packetc2w_wjlw_exit::default_instance_, packetc2w_wjlw_exit_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_exit, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_exit, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_wjlw_exit)); packetc2w_wjlw_equip_descriptor_ = file->message_type(7); static const int packetc2w_wjlw_equip_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_equip, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_equip, playtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_equip, equipcount_), }; packetc2w_wjlw_equip_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_wjlw_equip_descriptor_, packetc2w_wjlw_equip::default_instance_, packetc2w_wjlw_equip_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_equip, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_equip, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_wjlw_equip)); packetw2c_wjlw_equip_result_descriptor_ = file->message_type(8); static const int packetw2c_wjlw_equip_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_equip_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_equip_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_equip_result, playtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_equip_result, equipcount_), }; packetw2c_wjlw_equip_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_wjlw_equip_result_descriptor_, packetw2c_wjlw_equip_result::default_instance_, packetw2c_wjlw_equip_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_equip_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_equip_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_wjlw_equip_result)); packetc2w_wjlw_req_self_reward_record_descriptor_ = file->message_type(9); static const int packetc2w_wjlw_req_self_reward_record_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_req_self_reward_record, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_req_self_reward_record, playtype_), }; packetc2w_wjlw_req_self_reward_record_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_wjlw_req_self_reward_record_descriptor_, packetc2w_wjlw_req_self_reward_record::default_instance_, packetc2w_wjlw_req_self_reward_record_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_req_self_reward_record, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_req_self_reward_record, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_wjlw_req_self_reward_record)); PriRewardRecord_descriptor_ = file->message_type(10); static const int PriRewardRecord_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriRewardRecord, recordid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriRewardRecord, time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriRewardRecord, itemid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriRewardRecord, count_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriRewardRecord, isreceive_), }; PriRewardRecord_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( PriRewardRecord_descriptor_, PriRewardRecord::default_instance_, PriRewardRecord_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriRewardRecord, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriRewardRecord, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(PriRewardRecord)); packetw2c_wjlw_req_self_reward_record_result_descriptor_ = file->message_type(11); static const int packetw2c_wjlw_req_self_reward_record_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_req_self_reward_record_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_req_self_reward_record_result, playtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_req_self_reward_record_result, recordlist_), }; packetw2c_wjlw_req_self_reward_record_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_wjlw_req_self_reward_record_result_descriptor_, packetw2c_wjlw_req_self_reward_record_result::default_instance_, packetw2c_wjlw_req_self_reward_record_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_req_self_reward_record_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_req_self_reward_record_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_wjlw_req_self_reward_record_result)); packetc2w_wjlw_recv_reward_descriptor_ = file->message_type(12); static const int packetc2w_wjlw_recv_reward_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_recv_reward, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_recv_reward, playtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_recv_reward, recordid_), }; packetc2w_wjlw_recv_reward_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_wjlw_recv_reward_descriptor_, packetc2w_wjlw_recv_reward::default_instance_, packetc2w_wjlw_recv_reward_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_recv_reward, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_recv_reward, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_wjlw_recv_reward)); packetw2c_wjlw_recv_reward_result_descriptor_ = file->message_type(13); static const int packetw2c_wjlw_recv_reward_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_recv_reward_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_recv_reward_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_recv_reward_result, playtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_recv_reward_result, recordid_), }; packetw2c_wjlw_recv_reward_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_wjlw_recv_reward_result_descriptor_, packetw2c_wjlw_recv_reward_result::default_instance_, packetw2c_wjlw_recv_reward_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_recv_reward_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_recv_reward_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_wjlw_recv_reward_result)); packetw2c_wjlw_bc_open_reward_descriptor_ = file->message_type(14); static const int packetw2c_wjlw_bc_open_reward_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_bc_open_reward, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_bc_open_reward, record_), }; packetw2c_wjlw_bc_open_reward_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_wjlw_bc_open_reward_descriptor_, packetw2c_wjlw_bc_open_reward::default_instance_, packetw2c_wjlw_bc_open_reward_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_bc_open_reward, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_bc_open_reward, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_wjlw_bc_open_reward)); packetc2w_wjlw_refresh_interval_descriptor_ = file->message_type(15); static const int packetc2w_wjlw_refresh_interval_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_refresh_interval, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_refresh_interval, equiplasttime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_refresh_interval, playtype_), }; packetc2w_wjlw_refresh_interval_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_wjlw_refresh_interval_descriptor_, packetc2w_wjlw_refresh_interval::default_instance_, packetc2w_wjlw_refresh_interval_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_refresh_interval, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_refresh_interval, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_wjlw_refresh_interval)); packetw2c_wjlw_refresh_interval_result_descriptor_ = file->message_type(16); static const int packetw2c_wjlw_refresh_interval_result_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_refresh_interval_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_refresh_interval_result, equiplasttime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_refresh_interval_result, playtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_refresh_interval_result, equiprecordlist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_refresh_interval_result, rewardpool_), }; packetw2c_wjlw_refresh_interval_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_wjlw_refresh_interval_result_descriptor_, packetw2c_wjlw_refresh_interval_result::default_instance_, packetw2c_wjlw_refresh_interval_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_refresh_interval_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_refresh_interval_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_wjlw_refresh_interval_result)); packetc2w_wjlw_get_equip_rank_descriptor_ = file->message_type(17); static const int packetc2w_wjlw_get_equip_rank_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_get_equip_rank, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_get_equip_rank, playtype_), }; packetc2w_wjlw_get_equip_rank_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_wjlw_get_equip_rank_descriptor_, packetc2w_wjlw_get_equip_rank::default_instance_, packetc2w_wjlw_get_equip_rank_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_get_equip_rank, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wjlw_get_equip_rank, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_wjlw_get_equip_rank)); RankEquipInfo_descriptor_ = file->message_type(18); static const int RankEquipInfo_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RankEquipInfo, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RankEquipInfo, equipcount_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RankEquipInfo, winrewardprob_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RankEquipInfo, playerid_), }; RankEquipInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RankEquipInfo_descriptor_, RankEquipInfo::default_instance_, RankEquipInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RankEquipInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RankEquipInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RankEquipInfo)); packetw2c_wjlw_get_equip_rank_result_descriptor_ = file->message_type(19); static const int packetw2c_wjlw_get_equip_rank_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_get_equip_rank_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_get_equip_rank_result, playtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_get_equip_rank_result, ranklist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_get_equip_rank_result, selfinfo_), }; packetw2c_wjlw_get_equip_rank_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_wjlw_get_equip_rank_result_descriptor_, packetw2c_wjlw_get_equip_rank_result::default_instance_, packetw2c_wjlw_get_equip_rank_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_get_equip_rank_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wjlw_get_equip_rank_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_wjlw_get_equip_rank_result)); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_client2world_5fwjlw_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( EquipRecord_descriptor_, &EquipRecord::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( GlobalRewardRecord_descriptor_, &GlobalRewardRecord::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( WjlwInfo_descriptor_, &WjlwInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( RecharegRewardInfo_descriptor_, &RecharegRewardInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_wjlw_enter_descriptor_, &packetc2w_wjlw_enter::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_wjlw_enter_result_descriptor_, &packetw2c_wjlw_enter_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_wjlw_exit_descriptor_, &packetc2w_wjlw_exit::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_wjlw_equip_descriptor_, &packetc2w_wjlw_equip::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_wjlw_equip_result_descriptor_, &packetw2c_wjlw_equip_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_wjlw_req_self_reward_record_descriptor_, &packetc2w_wjlw_req_self_reward_record::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( PriRewardRecord_descriptor_, &PriRewardRecord::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_wjlw_req_self_reward_record_result_descriptor_, &packetw2c_wjlw_req_self_reward_record_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_wjlw_recv_reward_descriptor_, &packetc2w_wjlw_recv_reward::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_wjlw_recv_reward_result_descriptor_, &packetw2c_wjlw_recv_reward_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_wjlw_bc_open_reward_descriptor_, &packetw2c_wjlw_bc_open_reward::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_wjlw_refresh_interval_descriptor_, &packetc2w_wjlw_refresh_interval::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_wjlw_refresh_interval_result_descriptor_, &packetw2c_wjlw_refresh_interval_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_wjlw_get_equip_rank_descriptor_, &packetc2w_wjlw_get_equip_rank::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( RankEquipInfo_descriptor_, &RankEquipInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_wjlw_get_equip_rank_result_descriptor_, &packetw2c_wjlw_get_equip_rank_result::default_instance()); } } // namespace void protobuf_ShutdownFile_client2world_5fwjlw_2eproto() { delete EquipRecord::default_instance_; delete EquipRecord_reflection_; delete GlobalRewardRecord::default_instance_; delete GlobalRewardRecord_reflection_; delete WjlwInfo::default_instance_; delete WjlwInfo_reflection_; delete RecharegRewardInfo::default_instance_; delete RecharegRewardInfo_reflection_; delete packetc2w_wjlw_enter::default_instance_; delete packetc2w_wjlw_enter_reflection_; delete packetw2c_wjlw_enter_result::default_instance_; delete packetw2c_wjlw_enter_result_reflection_; delete packetc2w_wjlw_exit::default_instance_; delete packetc2w_wjlw_exit_reflection_; delete packetc2w_wjlw_equip::default_instance_; delete packetc2w_wjlw_equip_reflection_; delete packetw2c_wjlw_equip_result::default_instance_; delete packetw2c_wjlw_equip_result_reflection_; delete packetc2w_wjlw_req_self_reward_record::default_instance_; delete packetc2w_wjlw_req_self_reward_record_reflection_; delete PriRewardRecord::default_instance_; delete PriRewardRecord_reflection_; delete packetw2c_wjlw_req_self_reward_record_result::default_instance_; delete packetw2c_wjlw_req_self_reward_record_result_reflection_; delete packetc2w_wjlw_recv_reward::default_instance_; delete packetc2w_wjlw_recv_reward_reflection_; delete packetw2c_wjlw_recv_reward_result::default_instance_; delete packetw2c_wjlw_recv_reward_result_reflection_; delete packetw2c_wjlw_bc_open_reward::default_instance_; delete packetw2c_wjlw_bc_open_reward_reflection_; delete packetc2w_wjlw_refresh_interval::default_instance_; delete packetc2w_wjlw_refresh_interval_reflection_; delete packetw2c_wjlw_refresh_interval_result::default_instance_; delete packetw2c_wjlw_refresh_interval_result_reflection_; delete packetc2w_wjlw_get_equip_rank::default_instance_; delete packetc2w_wjlw_get_equip_rank_reflection_; delete RankEquipInfo::default_instance_; delete RankEquipInfo_reflection_; delete packetw2c_wjlw_get_equip_rank_result::default_instance_; delete packetw2c_wjlw_get_equip_rank_result_reflection_; } void protobuf_AddDesc_client2world_5fwjlw_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\027client2world_wjlw.proto\022\026client2world_" "protocols\032\033client2world_msg_type.proto\032\022" "msg_type_def.proto\032\022msg_info_def.proto\"M" "\n\013EquipRecord\022\020\n\010nickName\030\001 \001(\t\022\022\n\nequip" "Count\030\002 \001(\005\022\014\n\004time\030\003 \001(\005\022\n\n\002id\030\004 \001(\005\"B\n" "\022GlobalRewardRecord\022\020\n\010nickName\030\001 \001(\t\022\014\n" "\004gold\030\002 \001(\005\022\014\n\004time\030\003 \001(\005\"\241\001\n\010WjlwInfo\022\020" "\n\010hasEquip\030\001 \001(\005\022\031\n\021remainBulletCount\030\002 " "\001(\005\022\022\n\nrewardPool\030\003 \001(\005\022\026\n\016remainFireTim" "e\030\004 \001(\005\022<\n\017equipRecordList\030\005 \003(\0132#.clien" "t2world_protocols.EquipRecord\"M\n\022Rechare" "gRewardInfo\022\020\n\010rewardId\030\001 \001(\005\022\020\n\010nickNam" "e\030\002 \001(\t\022\023\n\013rewardCount\030\003 \001(\005\"j\n\024packetc2" "w_wjlw_enter\022R\n\tpacket_id\030\001 \001(\0162).client" "2world_protocols.e_server_msg_type:\024e_ms" "t_c2w_wjlw_enter\"\200\003\n\033packetw2c_wjlw_ente" "r_result\022Y\n\tpacket_id\030\001 \001(\0162).client2wor" "ld_protocols.e_server_msg_type:\033e_mst_w2" "c_wjlw_enter_result\0222\n\010goldInfo\030\002 \001(\0132 ." "client2world_protocols.WjlwInfo\0226\n\014recha" "rgeInfo\030\003 \001(\0132 .client2world_protocols.W" "jlwInfo\022D\n\020rewardRecordList\030\004 \003(\0132*.clie" "nt2world_protocols.GlobalRewardRecord\022A\n" "\ryesterdayInfo\030\005 \003(\0132*.client2world_prot" "ocols.RecharegRewardInfo\022\021\n\tgoldState\030\006 " "\001(\005\"h\n\023packetc2w_wjlw_exit\022Q\n\tpacket_id\030" "\001 \001(\0162).client2world_protocols.e_server_" "msg_type:\023e_mst_c2w_wjlw_exit\"\220\001\n\024packet" "c2w_wjlw_equip\022R\n\tpacket_id\030\001 \001(\0162).clie" "nt2world_protocols.e_server_msg_type:\024e_" "mst_c2w_wjlw_equip\022\020\n\010playType\030\002 \001(\005\022\022\n\n" "equipCount\030\003 \001(\005\"\256\001\n\033packetw2c_wjlw_equi" "p_result\022Y\n\tpacket_id\030\001 \001(\0162).client2wor" "ld_protocols.e_server_msg_type:\033e_mst_w2" "c_wjlw_equip_result\022\016\n\006result\030\002 \001(\005\022\020\n\010p" "layType\030\003 \001(\005\022\022\n\nequipCount\030\004 \001(\005\"\236\001\n%pa" "cketc2w_wjlw_req_self_reward_record\022c\n\tp" "acket_id\030\001 \001(\0162).client2world_protocols." "e_server_msg_type:%e_mst_c2w_wjlw_req_se" "lf_reward_record\022\020\n\010playType\030\002 \001(\005\"c\n\017Pr" "iRewardRecord\022\020\n\010recordId\030\001 \001(\005\022\014\n\004time\030" "\002 \001(\005\022\016\n\006itemId\030\003 \001(\005\022\r\n\005count\030\004 \001(\005\022\021\n\t" "isReceive\030\005 \001(\010\"\351\001\n,packetw2c_wjlw_req_s" "elf_reward_record_result\022j\n\tpacket_id\030\001 " "\001(\0162).client2world_protocols.e_server_ms" "g_type:,e_mst_w2c_wjlw_req_self_reward_r" "ecord_result\022\020\n\010playType\030\002 \001(\005\022;\n\nrecord" "List\030\003 \003(\0132\'.client2world_protocols.PriR" "ewardRecord\"\232\001\n\032packetc2w_wjlw_recv_rewa" "rd\022X\n\tpacket_id\030\001 \001(\0162).client2world_pro" "tocols.e_server_msg_type:\032e_mst_c2w_wjlw" "_recv_reward\022\020\n\010playType\030\002 \001(\005\022\020\n\010record" "Id\030\003 \001(\005\"\270\001\n!packetw2c_wjlw_recv_reward_" "result\022_\n\tpacket_id\030\001 \001(\0162).client2world" "_protocols.e_server_msg_type:!e_mst_w2c_" "wjlw_recv_reward_result\022\016\n\006result\030\002 \001(\005\022" "\020\n\010playType\030\003 \001(\005\022\020\n\010recordId\030\004 \001(\005\"\270\001\n\035" "packetw2c_wjlw_bc_open_reward\022[\n\tpacket_" "id\030\001 \001(\0162).client2world_protocols.e_serv" "er_msg_type:\035e_mst_w2c_wjlw_bc_open_rewa" "rd\022:\n\006record\030\002 \001(\0132*.client2world_protoc" "ols.GlobalRewardRecord\"\251\001\n\037packetc2w_wjl" "w_refresh_interval\022]\n\tpacket_id\030\001 \001(\0162)." "client2world_protocols.e_server_msg_type" ":\037e_mst_c2w_wjlw_refresh_interval\022\025\n\requ" "ipLastTime\030\002 \001(\005\022\020\n\010playType\030\003 \001(\005\"\211\002\n&p" "acketw2c_wjlw_refresh_interval_result\022d\n" "\tpacket_id\030\001 \001(\0162).client2world_protocol" "s.e_server_msg_type:&e_mst_w2c_wjlw_refr" "esh_interval_result\022\025\n\requipLastTime\030\002 \001" "(\005\022\020\n\010playType\030\003 \001(\005\022<\n\017equipRecordList\030" "\004 \003(\0132#.client2world_protocols.EquipReco" "rd\022\022\n\nrewardPool\030\005 \001(\005\"\216\001\n\035packetc2w_wjl" "w_get_equip_rank\022[\n\tpacket_id\030\001 \001(\0162).cl" "ient2world_protocols.e_server_msg_type:\035" "e_mst_c2w_wjlw_get_equip_rank\022\020\n\010playTyp" "e\030\002 \001(\005\"^\n\rRankEquipInfo\022\020\n\010nickName\030\001 \001" "(\t\022\022\n\nequipCount\030\002 \001(\005\022\025\n\rwinRewardProb\030" "\003 \001(\005\022\020\n\010playerId\030\004 \001(\005\"\216\002\n$packetw2c_wj" "lw_get_equip_rank_result\022b\n\tpacket_id\030\001 " "\001(\0162).client2world_protocols.e_server_ms" "g_type:$e_mst_w2c_wjlw_get_equip_rank_re" "sult\022\020\n\010playType\030\002 \001(\005\0227\n\010rankList\030\003 \003(\013" "2%.client2world_protocols.RankEquipInfo\022" "7\n\010selfInfo\030\004 \001(\0132%.client2world_protoco" "ls.RankEquipInfo", 3416); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "client2world_wjlw.proto", &protobuf_RegisterTypes); EquipRecord::default_instance_ = new EquipRecord(); GlobalRewardRecord::default_instance_ = new GlobalRewardRecord(); WjlwInfo::default_instance_ = new WjlwInfo(); RecharegRewardInfo::default_instance_ = new RecharegRewardInfo(); packetc2w_wjlw_enter::default_instance_ = new packetc2w_wjlw_enter(); packetw2c_wjlw_enter_result::default_instance_ = new packetw2c_wjlw_enter_result(); packetc2w_wjlw_exit::default_instance_ = new packetc2w_wjlw_exit(); packetc2w_wjlw_equip::default_instance_ = new packetc2w_wjlw_equip(); packetw2c_wjlw_equip_result::default_instance_ = new packetw2c_wjlw_equip_result(); packetc2w_wjlw_req_self_reward_record::default_instance_ = new packetc2w_wjlw_req_self_reward_record(); PriRewardRecord::default_instance_ = new PriRewardRecord(); packetw2c_wjlw_req_self_reward_record_result::default_instance_ = new packetw2c_wjlw_req_self_reward_record_result(); packetc2w_wjlw_recv_reward::default_instance_ = new packetc2w_wjlw_recv_reward(); packetw2c_wjlw_recv_reward_result::default_instance_ = new packetw2c_wjlw_recv_reward_result(); packetw2c_wjlw_bc_open_reward::default_instance_ = new packetw2c_wjlw_bc_open_reward(); packetc2w_wjlw_refresh_interval::default_instance_ = new packetc2w_wjlw_refresh_interval(); packetw2c_wjlw_refresh_interval_result::default_instance_ = new packetw2c_wjlw_refresh_interval_result(); packetc2w_wjlw_get_equip_rank::default_instance_ = new packetc2w_wjlw_get_equip_rank(); RankEquipInfo::default_instance_ = new RankEquipInfo(); packetw2c_wjlw_get_equip_rank_result::default_instance_ = new packetw2c_wjlw_get_equip_rank_result(); EquipRecord::default_instance_->InitAsDefaultInstance(); GlobalRewardRecord::default_instance_->InitAsDefaultInstance(); WjlwInfo::default_instance_->InitAsDefaultInstance(); RecharegRewardInfo::default_instance_->InitAsDefaultInstance(); packetc2w_wjlw_enter::default_instance_->InitAsDefaultInstance(); packetw2c_wjlw_enter_result::default_instance_->InitAsDefaultInstance(); packetc2w_wjlw_exit::default_instance_->InitAsDefaultInstance(); packetc2w_wjlw_equip::default_instance_->InitAsDefaultInstance(); packetw2c_wjlw_equip_result::default_instance_->InitAsDefaultInstance(); packetc2w_wjlw_req_self_reward_record::default_instance_->InitAsDefaultInstance(); PriRewardRecord::default_instance_->InitAsDefaultInstance(); packetw2c_wjlw_req_self_reward_record_result::default_instance_->InitAsDefaultInstance(); packetc2w_wjlw_recv_reward::default_instance_->InitAsDefaultInstance(); packetw2c_wjlw_recv_reward_result::default_instance_->InitAsDefaultInstance(); packetw2c_wjlw_bc_open_reward::default_instance_->InitAsDefaultInstance(); packetc2w_wjlw_refresh_interval::default_instance_->InitAsDefaultInstance(); packetw2c_wjlw_refresh_interval_result::default_instance_->InitAsDefaultInstance(); packetc2w_wjlw_get_equip_rank::default_instance_->InitAsDefaultInstance(); RankEquipInfo::default_instance_->InitAsDefaultInstance(); packetw2c_wjlw_get_equip_rank_result::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5fwjlw_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_client2world_5fwjlw_2eproto { StaticDescriptorInitializer_client2world_5fwjlw_2eproto() { protobuf_AddDesc_client2world_5fwjlw_2eproto(); } } static_descriptor_initializer_client2world_5fwjlw_2eproto_; // =================================================================== #ifndef _MSC_VER const int EquipRecord::kNickNameFieldNumber; const int EquipRecord::kEquipCountFieldNumber; const int EquipRecord::kTimeFieldNumber; const int EquipRecord::kIdFieldNumber; #endif // !_MSC_VER EquipRecord::EquipRecord() : ::google::protobuf::Message() { SharedCtor(); } void EquipRecord::InitAsDefaultInstance() { } EquipRecord::EquipRecord(const EquipRecord& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void EquipRecord::SharedCtor() { _cached_size_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); equipcount_ = 0; time_ = 0; id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } EquipRecord::~EquipRecord() { SharedDtor(); } void EquipRecord::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void EquipRecord::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* EquipRecord::descriptor() { protobuf_AssignDescriptorsOnce(); return EquipRecord_descriptor_; } const EquipRecord& EquipRecord::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } EquipRecord* EquipRecord::default_instance_ = NULL; EquipRecord* EquipRecord::New() const { return new EquipRecord; } void EquipRecord::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } equipcount_ = 0; time_ = 0; id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool EquipRecord::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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_equipCount; break; } // optional int32 equipCount = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_equipCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &equipcount_))); set_has_equipcount(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_time; break; } // optional int32 time = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &time_))); set_has_time(); } else { goto handle_uninterpreted; } if (input->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->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void EquipRecord::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 equipCount = 2; if (has_equipcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->equipcount(), output); } // optional int32 time = 3; if (has_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->time(), output); } // optional int32 id = 4; if (has_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* EquipRecord::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 equipCount = 2; if (has_equipcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->equipcount(), target); } // optional int32 time = 3; if (has_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->time(), target); } // optional int32 id = 4; if (has_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int EquipRecord::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 equipCount = 2; if (has_equipcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->equipcount()); } // optional int32 time = 3; if (has_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->time()); } // optional int32 id = 4; if (has_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->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 EquipRecord::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const EquipRecord* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void EquipRecord::MergeFrom(const EquipRecord& 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_equipcount()) { set_equipcount(from.equipcount()); } if (from.has_time()) { set_time(from.time()); } if (from.has_id()) { set_id(from.id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void EquipRecord::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void EquipRecord::CopyFrom(const EquipRecord& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool EquipRecord::IsInitialized() const { return true; } void EquipRecord::Swap(EquipRecord* other) { if (other != this) { std::swap(nickname_, other->nickname_); std::swap(equipcount_, other->equipcount_); std::swap(time_, other->time_); std::swap(id_, other->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 EquipRecord::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = EquipRecord_descriptor_; metadata.reflection = EquipRecord_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int GlobalRewardRecord::kNickNameFieldNumber; const int GlobalRewardRecord::kGoldFieldNumber; const int GlobalRewardRecord::kTimeFieldNumber; #endif // !_MSC_VER GlobalRewardRecord::GlobalRewardRecord() : ::google::protobuf::Message() { SharedCtor(); } void GlobalRewardRecord::InitAsDefaultInstance() { } GlobalRewardRecord::GlobalRewardRecord(const GlobalRewardRecord& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void GlobalRewardRecord::SharedCtor() { _cached_size_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); gold_ = 0; time_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } GlobalRewardRecord::~GlobalRewardRecord() { SharedDtor(); } void GlobalRewardRecord::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void GlobalRewardRecord::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* GlobalRewardRecord::descriptor() { protobuf_AssignDescriptorsOnce(); return GlobalRewardRecord_descriptor_; } const GlobalRewardRecord& GlobalRewardRecord::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } GlobalRewardRecord* GlobalRewardRecord::default_instance_ = NULL; GlobalRewardRecord* GlobalRewardRecord::New() const { return new GlobalRewardRecord; } void GlobalRewardRecord::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } gold_ = 0; time_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool GlobalRewardRecord::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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_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->ExpectTag(24)) goto parse_time; break; } // optional int32 time = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &time_))); set_has_time(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void GlobalRewardRecord::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 gold = 2; if (has_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gold(), output); } // optional int32 time = 3; if (has_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->time(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* GlobalRewardRecord::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 gold = 2; if (has_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gold(), target); } // optional int32 time = 3; if (has_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->time(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int GlobalRewardRecord::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 gold = 2; if (has_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->gold()); } // optional int32 time = 3; if (has_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->time()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void GlobalRewardRecord::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const GlobalRewardRecord* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void GlobalRewardRecord::MergeFrom(const GlobalRewardRecord& 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_gold()) { set_gold(from.gold()); } if (from.has_time()) { set_time(from.time()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void GlobalRewardRecord::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void GlobalRewardRecord::CopyFrom(const GlobalRewardRecord& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool GlobalRewardRecord::IsInitialized() const { return true; } void GlobalRewardRecord::Swap(GlobalRewardRecord* other) { if (other != this) { std::swap(nickname_, other->nickname_); std::swap(gold_, other->gold_); std::swap(time_, other->time_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata GlobalRewardRecord::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = GlobalRewardRecord_descriptor_; metadata.reflection = GlobalRewardRecord_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int WjlwInfo::kHasEquipFieldNumber; const int WjlwInfo::kRemainBulletCountFieldNumber; const int WjlwInfo::kRewardPoolFieldNumber; const int WjlwInfo::kRemainFireTimeFieldNumber; const int WjlwInfo::kEquipRecordListFieldNumber; #endif // !_MSC_VER WjlwInfo::WjlwInfo() : ::google::protobuf::Message() { SharedCtor(); } void WjlwInfo::InitAsDefaultInstance() { } WjlwInfo::WjlwInfo(const WjlwInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void WjlwInfo::SharedCtor() { _cached_size_ = 0; hasequip_ = 0; remainbulletcount_ = 0; rewardpool_ = 0; remainfiretime_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } WjlwInfo::~WjlwInfo() { SharedDtor(); } void WjlwInfo::SharedDtor() { if (this != default_instance_) { } } void WjlwInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* WjlwInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return WjlwInfo_descriptor_; } const WjlwInfo& WjlwInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } WjlwInfo* WjlwInfo::default_instance_ = NULL; WjlwInfo* WjlwInfo::New() const { return new WjlwInfo; } void WjlwInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { hasequip_ = 0; remainbulletcount_ = 0; rewardpool_ = 0; remainfiretime_ = 0; } equiprecordlist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool WjlwInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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 hasEquip = 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, &hasequip_))); set_has_hasequip(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_remainBulletCount; break; } // optional int32 remainBulletCount = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_remainBulletCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &remainbulletcount_))); set_has_remainbulletcount(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_rewardPool; break; } // optional int32 rewardPool = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rewardPool: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rewardpool_))); set_has_rewardpool(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_remainFireTime; break; } // optional int32 remainFireTime = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_remainFireTime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &remainfiretime_))); set_has_remainfiretime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(42)) goto parse_equipRecordList; break; } // repeated .client2world_protocols.EquipRecord equipRecordList = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_equipRecordList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_equiprecordlist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(42)) goto parse_equipRecordList; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void WjlwInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 hasEquip = 1; if (has_hasequip()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->hasequip(), output); } // optional int32 remainBulletCount = 2; if (has_remainbulletcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->remainbulletcount(), output); } // optional int32 rewardPool = 3; if (has_rewardpool()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardpool(), output); } // optional int32 remainFireTime = 4; if (has_remainfiretime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->remainfiretime(), output); } // repeated .client2world_protocols.EquipRecord equipRecordList = 5; for (int i = 0; i < this->equiprecordlist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, this->equiprecordlist(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* WjlwInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 hasEquip = 1; if (has_hasequip()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->hasequip(), target); } // optional int32 remainBulletCount = 2; if (has_remainbulletcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->remainbulletcount(), target); } // optional int32 rewardPool = 3; if (has_rewardpool()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardpool(), target); } // optional int32 remainFireTime = 4; if (has_remainfiretime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->remainfiretime(), target); } // repeated .client2world_protocols.EquipRecord equipRecordList = 5; for (int i = 0; i < this->equiprecordlist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 5, this->equiprecordlist(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int WjlwInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 hasEquip = 1; if (has_hasequip()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->hasequip()); } // optional int32 remainBulletCount = 2; if (has_remainbulletcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->remainbulletcount()); } // optional int32 rewardPool = 3; if (has_rewardpool()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardpool()); } // optional int32 remainFireTime = 4; if (has_remainfiretime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->remainfiretime()); } } // repeated .client2world_protocols.EquipRecord equipRecordList = 5; total_size += 1 * this->equiprecordlist_size(); for (int i = 0; i < this->equiprecordlist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->equiprecordlist(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 WjlwInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const WjlwInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void WjlwInfo::MergeFrom(const WjlwInfo& from) { GOOGLE_CHECK_NE(&from, this); equiprecordlist_.MergeFrom(from.equiprecordlist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_hasequip()) { set_hasequip(from.hasequip()); } if (from.has_remainbulletcount()) { set_remainbulletcount(from.remainbulletcount()); } if (from.has_rewardpool()) { set_rewardpool(from.rewardpool()); } if (from.has_remainfiretime()) { set_remainfiretime(from.remainfiretime()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void WjlwInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void WjlwInfo::CopyFrom(const WjlwInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool WjlwInfo::IsInitialized() const { return true; } void WjlwInfo::Swap(WjlwInfo* other) { if (other != this) { std::swap(hasequip_, other->hasequip_); std::swap(remainbulletcount_, other->remainbulletcount_); std::swap(rewardpool_, other->rewardpool_); std::swap(remainfiretime_, other->remainfiretime_); equiprecordlist_.Swap(&other->equiprecordlist_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata WjlwInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = WjlwInfo_descriptor_; metadata.reflection = WjlwInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int RecharegRewardInfo::kRewardIdFieldNumber; const int RecharegRewardInfo::kNickNameFieldNumber; const int RecharegRewardInfo::kRewardCountFieldNumber; #endif // !_MSC_VER RecharegRewardInfo::RecharegRewardInfo() : ::google::protobuf::Message() { SharedCtor(); } void RecharegRewardInfo::InitAsDefaultInstance() { } RecharegRewardInfo::RecharegRewardInfo(const RecharegRewardInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void RecharegRewardInfo::SharedCtor() { _cached_size_ = 0; rewardid_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); rewardcount_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } RecharegRewardInfo::~RecharegRewardInfo() { SharedDtor(); } void RecharegRewardInfo::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void RecharegRewardInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* RecharegRewardInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return RecharegRewardInfo_descriptor_; } const RecharegRewardInfo& RecharegRewardInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } RecharegRewardInfo* RecharegRewardInfo::default_instance_ = NULL; RecharegRewardInfo* RecharegRewardInfo::New() const { return new RecharegRewardInfo; } void RecharegRewardInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { rewardid_ = 0; if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } rewardcount_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool RecharegRewardInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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 rewardId = 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, &rewardid_))); set_has_rewardid(); } 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_rewardCount; break; } // optional int32 rewardCount = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rewardCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rewardcount_))); set_has_rewardcount(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void RecharegRewardInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 rewardId = 1; if (has_rewardid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->rewardid(), 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 rewardCount = 3; if (has_rewardcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardcount(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* RecharegRewardInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 rewardId = 1; if (has_rewardid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->rewardid(), 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 rewardCount = 3; if (has_rewardcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardcount(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int RecharegRewardInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 rewardId = 1; if (has_rewardid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardid()); } // optional string nickName = 2; if (has_nickname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->nickname()); } // optional int32 rewardCount = 3; if (has_rewardcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardcount()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void RecharegRewardInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const RecharegRewardInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void RecharegRewardInfo::MergeFrom(const RecharegRewardInfo& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_rewardid()) { set_rewardid(from.rewardid()); } if (from.has_nickname()) { set_nickname(from.nickname()); } if (from.has_rewardcount()) { set_rewardcount(from.rewardcount()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void RecharegRewardInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void RecharegRewardInfo::CopyFrom(const RecharegRewardInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool RecharegRewardInfo::IsInitialized() const { return true; } void RecharegRewardInfo::Swap(RecharegRewardInfo* other) { if (other != this) { std::swap(rewardid_, other->rewardid_); std::swap(nickname_, other->nickname_); std::swap(rewardcount_, other->rewardcount_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata RecharegRewardInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = RecharegRewardInfo_descriptor_; metadata.reflection = RecharegRewardInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_wjlw_enter::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2w_wjlw_enter::packetc2w_wjlw_enter() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_wjlw_enter::InitAsDefaultInstance() { } packetc2w_wjlw_enter::packetc2w_wjlw_enter(const packetc2w_wjlw_enter& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_wjlw_enter::SharedCtor() { _cached_size_ = 0; packet_id_ = 5139; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_wjlw_enter::~packetc2w_wjlw_enter() { SharedDtor(); } void packetc2w_wjlw_enter::SharedDtor() { if (this != default_instance_) { } } void packetc2w_wjlw_enter::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_wjlw_enter::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_wjlw_enter_descriptor_; } const packetc2w_wjlw_enter& packetc2w_wjlw_enter::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetc2w_wjlw_enter* packetc2w_wjlw_enter::default_instance_ = NULL; packetc2w_wjlw_enter* packetc2w_wjlw_enter::New() const { return new packetc2w_wjlw_enter; } void packetc2w_wjlw_enter::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5139; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_wjlw_enter::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((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_wjlw_enter]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_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_wjlw_enter::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_enter]; 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_wjlw_enter::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_enter]; 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_wjlw_enter::ByteSize() const { int 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_wjlw_enter]; 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_wjlw_enter::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_wjlw_enter* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_wjlw_enter::MergeFrom(const packetc2w_wjlw_enter& 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_wjlw_enter::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_wjlw_enter::CopyFrom(const packetc2w_wjlw_enter& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_wjlw_enter::IsInitialized() const { return true; } void packetc2w_wjlw_enter::Swap(packetc2w_wjlw_enter* 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_wjlw_enter::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_wjlw_enter_descriptor_; metadata.reflection = packetc2w_wjlw_enter_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_wjlw_enter_result::kPacketIdFieldNumber; const int packetw2c_wjlw_enter_result::kGoldInfoFieldNumber; const int packetw2c_wjlw_enter_result::kRechargeInfoFieldNumber; const int packetw2c_wjlw_enter_result::kRewardRecordListFieldNumber; const int packetw2c_wjlw_enter_result::kYesterdayInfoFieldNumber; const int packetw2c_wjlw_enter_result::kGoldStateFieldNumber; #endif // !_MSC_VER packetw2c_wjlw_enter_result::packetw2c_wjlw_enter_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_wjlw_enter_result::InitAsDefaultInstance() { goldinfo_ = const_cast< ::client2world_protocols::WjlwInfo*>(&::client2world_protocols::WjlwInfo::default_instance()); rechargeinfo_ = const_cast< ::client2world_protocols::WjlwInfo*>(&::client2world_protocols::WjlwInfo::default_instance()); } packetw2c_wjlw_enter_result::packetw2c_wjlw_enter_result(const packetw2c_wjlw_enter_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_wjlw_enter_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7651; goldinfo_ = NULL; rechargeinfo_ = NULL; goldstate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_wjlw_enter_result::~packetw2c_wjlw_enter_result() { SharedDtor(); } void packetw2c_wjlw_enter_result::SharedDtor() { if (this != default_instance_) { delete goldinfo_; delete rechargeinfo_; } } void packetw2c_wjlw_enter_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_wjlw_enter_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_wjlw_enter_result_descriptor_; } const packetw2c_wjlw_enter_result& packetw2c_wjlw_enter_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetw2c_wjlw_enter_result* packetw2c_wjlw_enter_result::default_instance_ = NULL; packetw2c_wjlw_enter_result* packetw2c_wjlw_enter_result::New() const { return new packetw2c_wjlw_enter_result; } void packetw2c_wjlw_enter_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7651; if (has_goldinfo()) { if (goldinfo_ != NULL) goldinfo_->::client2world_protocols::WjlwInfo::Clear(); } if (has_rechargeinfo()) { if (rechargeinfo_ != NULL) rechargeinfo_->::client2world_protocols::WjlwInfo::Clear(); } goldstate_ = 0; } rewardrecordlist_.Clear(); yesterdayinfo_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_wjlw_enter_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_wjlw_enter_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_goldInfo; break; } // optional .client2world_protocols.WjlwInfo goldInfo = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_goldInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_goldinfo())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_rechargeInfo; break; } // optional .client2world_protocols.WjlwInfo rechargeInfo = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_rechargeInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_rechargeinfo())); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_rewardRecordList; break; } // repeated .client2world_protocols.GlobalRewardRecord rewardRecordList = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_rewardRecordList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_rewardrecordlist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_rewardRecordList; if (input->ExpectTag(42)) goto parse_yesterdayInfo; break; } // repeated .client2world_protocols.RecharegRewardInfo yesterdayInfo = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_yesterdayInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_yesterdayinfo())); } else { goto handle_uninterpreted; } if (input->ExpectTag(42)) goto parse_yesterdayInfo; if (input->ExpectTag(48)) goto parse_goldState; break; } // optional int32 goldState = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_goldState: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &goldstate_))); set_has_goldstate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_enter_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_enter_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional .client2world_protocols.WjlwInfo goldInfo = 2; if (has_goldinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->goldinfo(), output); } // optional .client2world_protocols.WjlwInfo rechargeInfo = 3; if (has_rechargeinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->rechargeinfo(), output); } // repeated .client2world_protocols.GlobalRewardRecord rewardRecordList = 4; for (int i = 0; i < this->rewardrecordlist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->rewardrecordlist(i), output); } // repeated .client2world_protocols.RecharegRewardInfo yesterdayInfo = 5; for (int i = 0; i < this->yesterdayinfo_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, this->yesterdayinfo(i), output); } // optional int32 goldState = 6; if (has_goldstate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->goldstate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_wjlw_enter_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_enter_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional .client2world_protocols.WjlwInfo goldInfo = 2; if (has_goldinfo()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->goldinfo(), target); } // optional .client2world_protocols.WjlwInfo rechargeInfo = 3; if (has_rechargeinfo()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->rechargeinfo(), target); } // repeated .client2world_protocols.GlobalRewardRecord rewardRecordList = 4; for (int i = 0; i < this->rewardrecordlist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->rewardrecordlist(i), target); } // repeated .client2world_protocols.RecharegRewardInfo yesterdayInfo = 5; for (int i = 0; i < this->yesterdayinfo_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 5, this->yesterdayinfo(i), target); } // optional int32 goldState = 6; if (has_goldstate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->goldstate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_wjlw_enter_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_wjlw_enter_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional .client2world_protocols.WjlwInfo goldInfo = 2; if (has_goldinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->goldinfo()); } // optional .client2world_protocols.WjlwInfo rechargeInfo = 3; if (has_rechargeinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->rechargeinfo()); } // optional int32 goldState = 6; if (has_goldstate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->goldstate()); } } // repeated .client2world_protocols.GlobalRewardRecord rewardRecordList = 4; total_size += 1 * this->rewardrecordlist_size(); for (int i = 0; i < this->rewardrecordlist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->rewardrecordlist(i)); } // repeated .client2world_protocols.RecharegRewardInfo yesterdayInfo = 5; total_size += 1 * this->yesterdayinfo_size(); for (int i = 0; i < this->yesterdayinfo_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->yesterdayinfo(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_wjlw_enter_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_wjlw_enter_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_wjlw_enter_result::MergeFrom(const packetw2c_wjlw_enter_result& from) { GOOGLE_CHECK_NE(&from, this); rewardrecordlist_.MergeFrom(from.rewardrecordlist_); yesterdayinfo_.MergeFrom(from.yesterdayinfo_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_goldinfo()) { mutable_goldinfo()->::client2world_protocols::WjlwInfo::MergeFrom(from.goldinfo()); } if (from.has_rechargeinfo()) { mutable_rechargeinfo()->::client2world_protocols::WjlwInfo::MergeFrom(from.rechargeinfo()); } if (from.has_goldstate()) { set_goldstate(from.goldstate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_wjlw_enter_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_wjlw_enter_result::CopyFrom(const packetw2c_wjlw_enter_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_wjlw_enter_result::IsInitialized() const { return true; } void packetw2c_wjlw_enter_result::Swap(packetw2c_wjlw_enter_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(goldinfo_, other->goldinfo_); std::swap(rechargeinfo_, other->rechargeinfo_); rewardrecordlist_.Swap(&other->rewardrecordlist_); yesterdayinfo_.Swap(&other->yesterdayinfo_); std::swap(goldstate_, other->goldstate_); std::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_wjlw_enter_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_wjlw_enter_result_descriptor_; metadata.reflection = packetw2c_wjlw_enter_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_wjlw_exit::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2w_wjlw_exit::packetc2w_wjlw_exit() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_wjlw_exit::InitAsDefaultInstance() { } packetc2w_wjlw_exit::packetc2w_wjlw_exit(const packetc2w_wjlw_exit& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_wjlw_exit::SharedCtor() { _cached_size_ = 0; packet_id_ = 5140; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_wjlw_exit::~packetc2w_wjlw_exit() { SharedDtor(); } void packetc2w_wjlw_exit::SharedDtor() { if (this != default_instance_) { } } void packetc2w_wjlw_exit::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_wjlw_exit::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_wjlw_exit_descriptor_; } const packetc2w_wjlw_exit& packetc2w_wjlw_exit::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetc2w_wjlw_exit* packetc2w_wjlw_exit::default_instance_ = NULL; packetc2w_wjlw_exit* packetc2w_wjlw_exit::New() const { return new packetc2w_wjlw_exit; } void packetc2w_wjlw_exit::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5140; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_wjlw_exit::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((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_wjlw_exit]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_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_wjlw_exit::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_exit]; 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_wjlw_exit::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_exit]; 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_wjlw_exit::ByteSize() const { int 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_wjlw_exit]; 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_wjlw_exit::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_wjlw_exit* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_wjlw_exit::MergeFrom(const packetc2w_wjlw_exit& 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_wjlw_exit::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_wjlw_exit::CopyFrom(const packetc2w_wjlw_exit& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_wjlw_exit::IsInitialized() const { return true; } void packetc2w_wjlw_exit::Swap(packetc2w_wjlw_exit* 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_wjlw_exit::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_wjlw_exit_descriptor_; metadata.reflection = packetc2w_wjlw_exit_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_wjlw_equip::kPacketIdFieldNumber; const int packetc2w_wjlw_equip::kPlayTypeFieldNumber; const int packetc2w_wjlw_equip::kEquipCountFieldNumber; #endif // !_MSC_VER packetc2w_wjlw_equip::packetc2w_wjlw_equip() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_wjlw_equip::InitAsDefaultInstance() { } packetc2w_wjlw_equip::packetc2w_wjlw_equip(const packetc2w_wjlw_equip& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_wjlw_equip::SharedCtor() { _cached_size_ = 0; packet_id_ = 5141; playtype_ = 0; equipcount_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_wjlw_equip::~packetc2w_wjlw_equip() { SharedDtor(); } void packetc2w_wjlw_equip::SharedDtor() { if (this != default_instance_) { } } void packetc2w_wjlw_equip::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_wjlw_equip::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_wjlw_equip_descriptor_; } const packetc2w_wjlw_equip& packetc2w_wjlw_equip::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetc2w_wjlw_equip* packetc2w_wjlw_equip::default_instance_ = NULL; packetc2w_wjlw_equip* packetc2w_wjlw_equip::New() const { return new packetc2w_wjlw_equip; } void packetc2w_wjlw_equip::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5141; playtype_ = 0; equipcount_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_wjlw_equip::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((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_wjlw_equip]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_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_playType; break; } // optional int32 playType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_equipCount; break; } // optional int32 equipCount = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_equipCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &equipcount_))); set_has_equipcount(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_equip::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_equip]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playType = 2; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playtype(), output); } // optional int32 equipCount = 3; if (has_equipcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->equipcount(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_wjlw_equip::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_equip]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playType = 2; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playtype(), target); } // optional int32 equipCount = 3; if (has_equipcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->equipcount(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_wjlw_equip::ByteSize() const { int 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_wjlw_equip]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playType = 2; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } // optional int32 equipCount = 3; if (has_equipcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->equipcount()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_equip::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_wjlw_equip* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_wjlw_equip::MergeFrom(const packetc2w_wjlw_equip& 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_playtype()) { set_playtype(from.playtype()); } if (from.has_equipcount()) { set_equipcount(from.equipcount()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_wjlw_equip::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_wjlw_equip::CopyFrom(const packetc2w_wjlw_equip& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_wjlw_equip::IsInitialized() const { return true; } void packetc2w_wjlw_equip::Swap(packetc2w_wjlw_equip* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playtype_, other->playtype_); std::swap(equipcount_, other->equipcount_); std::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_wjlw_equip::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_wjlw_equip_descriptor_; metadata.reflection = packetc2w_wjlw_equip_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_wjlw_equip_result::kPacketIdFieldNumber; const int packetw2c_wjlw_equip_result::kResultFieldNumber; const int packetw2c_wjlw_equip_result::kPlayTypeFieldNumber; const int packetw2c_wjlw_equip_result::kEquipCountFieldNumber; #endif // !_MSC_VER packetw2c_wjlw_equip_result::packetw2c_wjlw_equip_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_wjlw_equip_result::InitAsDefaultInstance() { } packetw2c_wjlw_equip_result::packetw2c_wjlw_equip_result(const packetw2c_wjlw_equip_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_wjlw_equip_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7652; result_ = 0; playtype_ = 0; equipcount_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_wjlw_equip_result::~packetw2c_wjlw_equip_result() { SharedDtor(); } void packetw2c_wjlw_equip_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_wjlw_equip_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_wjlw_equip_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_wjlw_equip_result_descriptor_; } const packetw2c_wjlw_equip_result& packetw2c_wjlw_equip_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetw2c_wjlw_equip_result* packetw2c_wjlw_equip_result::default_instance_ = NULL; packetw2c_wjlw_equip_result* packetw2c_wjlw_equip_result::New() const { return new packetw2c_wjlw_equip_result; } void packetw2c_wjlw_equip_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7652; result_ = 0; playtype_ = 0; equipcount_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_wjlw_equip_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_wjlw_equip_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_playType; break; } // optional int32 playType = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_equipCount; break; } // optional int32 equipCount = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_equipCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &equipcount_))); set_has_equipcount(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_equip_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_equip_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 playType = 3; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->playtype(), output); } // optional int32 equipCount = 4; if (has_equipcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->equipcount(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_wjlw_equip_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_equip_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 playType = 3; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->playtype(), target); } // optional int32 equipCount = 4; if (has_equipcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->equipcount(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_wjlw_equip_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_wjlw_equip_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 playType = 3; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } // optional int32 equipCount = 4; if (has_equipcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->equipcount()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_equip_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_wjlw_equip_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_wjlw_equip_result::MergeFrom(const packetw2c_wjlw_equip_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_playtype()) { set_playtype(from.playtype()); } if (from.has_equipcount()) { set_equipcount(from.equipcount()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_wjlw_equip_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_wjlw_equip_result::CopyFrom(const packetw2c_wjlw_equip_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_wjlw_equip_result::IsInitialized() const { return true; } void packetw2c_wjlw_equip_result::Swap(packetw2c_wjlw_equip_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(playtype_, other->playtype_); std::swap(equipcount_, other->equipcount_); std::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_wjlw_equip_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_wjlw_equip_result_descriptor_; metadata.reflection = packetw2c_wjlw_equip_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_wjlw_req_self_reward_record::kPacketIdFieldNumber; const int packetc2w_wjlw_req_self_reward_record::kPlayTypeFieldNumber; #endif // !_MSC_VER packetc2w_wjlw_req_self_reward_record::packetc2w_wjlw_req_self_reward_record() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_wjlw_req_self_reward_record::InitAsDefaultInstance() { } packetc2w_wjlw_req_self_reward_record::packetc2w_wjlw_req_self_reward_record(const packetc2w_wjlw_req_self_reward_record& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_wjlw_req_self_reward_record::SharedCtor() { _cached_size_ = 0; packet_id_ = 5142; playtype_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_wjlw_req_self_reward_record::~packetc2w_wjlw_req_self_reward_record() { SharedDtor(); } void packetc2w_wjlw_req_self_reward_record::SharedDtor() { if (this != default_instance_) { } } void packetc2w_wjlw_req_self_reward_record::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_wjlw_req_self_reward_record::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_wjlw_req_self_reward_record_descriptor_; } const packetc2w_wjlw_req_self_reward_record& packetc2w_wjlw_req_self_reward_record::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetc2w_wjlw_req_self_reward_record* packetc2w_wjlw_req_self_reward_record::default_instance_ = NULL; packetc2w_wjlw_req_self_reward_record* packetc2w_wjlw_req_self_reward_record::New() const { return new packetc2w_wjlw_req_self_reward_record; } void packetc2w_wjlw_req_self_reward_record::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5142; playtype_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_wjlw_req_self_reward_record::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((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_wjlw_req_self_reward_record]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_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_playType; break; } // optional int32 playType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_req_self_reward_record::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_req_self_reward_record]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playType = 2; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playtype(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_wjlw_req_self_reward_record::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_req_self_reward_record]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playType = 2; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playtype(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_wjlw_req_self_reward_record::ByteSize() const { int 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_wjlw_req_self_reward_record]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playType = 2; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_req_self_reward_record::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_wjlw_req_self_reward_record* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_wjlw_req_self_reward_record::MergeFrom(const packetc2w_wjlw_req_self_reward_record& 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_playtype()) { set_playtype(from.playtype()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_wjlw_req_self_reward_record::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_wjlw_req_self_reward_record::CopyFrom(const packetc2w_wjlw_req_self_reward_record& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_wjlw_req_self_reward_record::IsInitialized() const { return true; } void packetc2w_wjlw_req_self_reward_record::Swap(packetc2w_wjlw_req_self_reward_record* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playtype_, other->playtype_); std::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_wjlw_req_self_reward_record::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_wjlw_req_self_reward_record_descriptor_; metadata.reflection = packetc2w_wjlw_req_self_reward_record_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int PriRewardRecord::kRecordIdFieldNumber; const int PriRewardRecord::kTimeFieldNumber; const int PriRewardRecord::kItemIdFieldNumber; const int PriRewardRecord::kCountFieldNumber; const int PriRewardRecord::kIsReceiveFieldNumber; #endif // !_MSC_VER PriRewardRecord::PriRewardRecord() : ::google::protobuf::Message() { SharedCtor(); } void PriRewardRecord::InitAsDefaultInstance() { } PriRewardRecord::PriRewardRecord(const PriRewardRecord& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void PriRewardRecord::SharedCtor() { _cached_size_ = 0; recordid_ = 0; time_ = 0; itemid_ = 0; count_ = 0; isreceive_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } PriRewardRecord::~PriRewardRecord() { SharedDtor(); } void PriRewardRecord::SharedDtor() { if (this != default_instance_) { } } void PriRewardRecord::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* PriRewardRecord::descriptor() { protobuf_AssignDescriptorsOnce(); return PriRewardRecord_descriptor_; } const PriRewardRecord& PriRewardRecord::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } PriRewardRecord* PriRewardRecord::default_instance_ = NULL; PriRewardRecord* PriRewardRecord::New() const { return new PriRewardRecord; } void PriRewardRecord::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { recordid_ = 0; time_ = 0; itemid_ = 0; count_ = 0; isreceive_ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool PriRewardRecord::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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 recordId = 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, &recordid_))); set_has_recordid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_time; break; } // optional int32 time = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &time_))); set_has_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_itemId; break; } // optional int32 itemId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_itemId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &itemid_))); set_has_itemid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_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_isReceive; break; } // optional bool isReceive = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_isReceive: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &isreceive_))); set_has_isreceive(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void PriRewardRecord::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 recordId = 1; if (has_recordid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->recordid(), output); } // optional int32 time = 2; if (has_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->time(), output); } // optional int32 itemId = 3; if (has_itemid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemid(), output); } // optional int32 count = 4; if (has_count()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output); } // optional bool isReceive = 5; if (has_isreceive()) { ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->isreceive(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* PriRewardRecord::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 recordId = 1; if (has_recordid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->recordid(), target); } // optional int32 time = 2; if (has_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->time(), target); } // optional int32 itemId = 3; if (has_itemid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemid(), target); } // optional int32 count = 4; if (has_count()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target); } // optional bool isReceive = 5; if (has_isreceive()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->isreceive(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int PriRewardRecord::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 recordId = 1; if (has_recordid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->recordid()); } // optional int32 time = 2; if (has_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->time()); } // optional int32 itemId = 3; if (has_itemid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->itemid()); } // optional int32 count = 4; if (has_count()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->count()); } // optional bool isReceive = 5; if (has_isreceive()) { 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 PriRewardRecord::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const PriRewardRecord* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void PriRewardRecord::MergeFrom(const PriRewardRecord& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_recordid()) { set_recordid(from.recordid()); } if (from.has_time()) { set_time(from.time()); } if (from.has_itemid()) { set_itemid(from.itemid()); } if (from.has_count()) { set_count(from.count()); } if (from.has_isreceive()) { set_isreceive(from.isreceive()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void PriRewardRecord::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void PriRewardRecord::CopyFrom(const PriRewardRecord& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool PriRewardRecord::IsInitialized() const { return true; } void PriRewardRecord::Swap(PriRewardRecord* other) { if (other != this) { std::swap(recordid_, other->recordid_); std::swap(time_, other->time_); std::swap(itemid_, other->itemid_); std::swap(count_, other->count_); std::swap(isreceive_, other->isreceive_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata PriRewardRecord::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = PriRewardRecord_descriptor_; metadata.reflection = PriRewardRecord_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_wjlw_req_self_reward_record_result::kPacketIdFieldNumber; const int packetw2c_wjlw_req_self_reward_record_result::kPlayTypeFieldNumber; const int packetw2c_wjlw_req_self_reward_record_result::kRecordListFieldNumber; #endif // !_MSC_VER packetw2c_wjlw_req_self_reward_record_result::packetw2c_wjlw_req_self_reward_record_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_wjlw_req_self_reward_record_result::InitAsDefaultInstance() { } packetw2c_wjlw_req_self_reward_record_result::packetw2c_wjlw_req_self_reward_record_result(const packetw2c_wjlw_req_self_reward_record_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_wjlw_req_self_reward_record_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7653; playtype_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_wjlw_req_self_reward_record_result::~packetw2c_wjlw_req_self_reward_record_result() { SharedDtor(); } void packetw2c_wjlw_req_self_reward_record_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_wjlw_req_self_reward_record_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_wjlw_req_self_reward_record_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_wjlw_req_self_reward_record_result_descriptor_; } const packetw2c_wjlw_req_self_reward_record_result& packetw2c_wjlw_req_self_reward_record_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetw2c_wjlw_req_self_reward_record_result* packetw2c_wjlw_req_self_reward_record_result::default_instance_ = NULL; packetw2c_wjlw_req_self_reward_record_result* packetw2c_wjlw_req_self_reward_record_result::New() const { return new packetw2c_wjlw_req_self_reward_record_result; } void packetw2c_wjlw_req_self_reward_record_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7653; playtype_ = 0; } recordlist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_wjlw_req_self_reward_record_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_wjlw_req_self_reward_record_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_playType; break; } // optional int32 playType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_recordList; break; } // repeated .client2world_protocols.PriRewardRecord recordList = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_recordList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_recordlist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_recordList; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetw2c_wjlw_req_self_reward_record_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_req_self_reward_record_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playType = 2; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playtype(), output); } // repeated .client2world_protocols.PriRewardRecord recordList = 3; for (int i = 0; i < this->recordlist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->recordlist(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_wjlw_req_self_reward_record_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_req_self_reward_record_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playType = 2; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playtype(), target); } // repeated .client2world_protocols.PriRewardRecord recordList = 3; for (int i = 0; i < this->recordlist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->recordlist(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_wjlw_req_self_reward_record_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_wjlw_req_self_reward_record_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playType = 2; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } } // repeated .client2world_protocols.PriRewardRecord recordList = 3; total_size += 1 * this->recordlist_size(); for (int i = 0; i < this->recordlist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->recordlist(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetw2c_wjlw_req_self_reward_record_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_wjlw_req_self_reward_record_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_wjlw_req_self_reward_record_result::MergeFrom(const packetw2c_wjlw_req_self_reward_record_result& from) { GOOGLE_CHECK_NE(&from, this); recordlist_.MergeFrom(from.recordlist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playtype()) { set_playtype(from.playtype()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_wjlw_req_self_reward_record_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_wjlw_req_self_reward_record_result::CopyFrom(const packetw2c_wjlw_req_self_reward_record_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_wjlw_req_self_reward_record_result::IsInitialized() const { return true; } void packetw2c_wjlw_req_self_reward_record_result::Swap(packetw2c_wjlw_req_self_reward_record_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playtype_, other->playtype_); recordlist_.Swap(&other->recordlist_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetw2c_wjlw_req_self_reward_record_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_wjlw_req_self_reward_record_result_descriptor_; metadata.reflection = packetw2c_wjlw_req_self_reward_record_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_wjlw_recv_reward::kPacketIdFieldNumber; const int packetc2w_wjlw_recv_reward::kPlayTypeFieldNumber; const int packetc2w_wjlw_recv_reward::kRecordIdFieldNumber; #endif // !_MSC_VER packetc2w_wjlw_recv_reward::packetc2w_wjlw_recv_reward() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_wjlw_recv_reward::InitAsDefaultInstance() { } packetc2w_wjlw_recv_reward::packetc2w_wjlw_recv_reward(const packetc2w_wjlw_recv_reward& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_wjlw_recv_reward::SharedCtor() { _cached_size_ = 0; packet_id_ = 5143; playtype_ = 0; recordid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_wjlw_recv_reward::~packetc2w_wjlw_recv_reward() { SharedDtor(); } void packetc2w_wjlw_recv_reward::SharedDtor() { if (this != default_instance_) { } } void packetc2w_wjlw_recv_reward::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_wjlw_recv_reward::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_wjlw_recv_reward_descriptor_; } const packetc2w_wjlw_recv_reward& packetc2w_wjlw_recv_reward::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetc2w_wjlw_recv_reward* packetc2w_wjlw_recv_reward::default_instance_ = NULL; packetc2w_wjlw_recv_reward* packetc2w_wjlw_recv_reward::New() const { return new packetc2w_wjlw_recv_reward; } void packetc2w_wjlw_recv_reward::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5143; playtype_ = 0; recordid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_wjlw_recv_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_wjlw_recv_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_playType; break; } // optional int32 playType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_recordId; break; } // optional int32 recordId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_recordId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &recordid_))); set_has_recordid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_recv_reward::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_recv_reward]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playType = 2; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playtype(), output); } // optional int32 recordId = 3; if (has_recordid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->recordid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_wjlw_recv_reward::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_recv_reward]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playType = 2; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playtype(), target); } // optional int32 recordId = 3; if (has_recordid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->recordid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_wjlw_recv_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_wjlw_recv_reward]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playType = 2; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } // optional int32 recordId = 3; if (has_recordid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->recordid()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_recv_reward::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_wjlw_recv_reward* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_wjlw_recv_reward::MergeFrom(const packetc2w_wjlw_recv_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_playtype()) { set_playtype(from.playtype()); } if (from.has_recordid()) { set_recordid(from.recordid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_wjlw_recv_reward::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_wjlw_recv_reward::CopyFrom(const packetc2w_wjlw_recv_reward& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_wjlw_recv_reward::IsInitialized() const { return true; } void packetc2w_wjlw_recv_reward::Swap(packetc2w_wjlw_recv_reward* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playtype_, other->playtype_); std::swap(recordid_, other->recordid_); std::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_wjlw_recv_reward::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_wjlw_recv_reward_descriptor_; metadata.reflection = packetc2w_wjlw_recv_reward_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_wjlw_recv_reward_result::kPacketIdFieldNumber; const int packetw2c_wjlw_recv_reward_result::kResultFieldNumber; const int packetw2c_wjlw_recv_reward_result::kPlayTypeFieldNumber; const int packetw2c_wjlw_recv_reward_result::kRecordIdFieldNumber; #endif // !_MSC_VER packetw2c_wjlw_recv_reward_result::packetw2c_wjlw_recv_reward_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_wjlw_recv_reward_result::InitAsDefaultInstance() { } packetw2c_wjlw_recv_reward_result::packetw2c_wjlw_recv_reward_result(const packetw2c_wjlw_recv_reward_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_wjlw_recv_reward_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7654; result_ = 0; playtype_ = 0; recordid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_wjlw_recv_reward_result::~packetw2c_wjlw_recv_reward_result() { SharedDtor(); } void packetw2c_wjlw_recv_reward_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_wjlw_recv_reward_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_wjlw_recv_reward_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_wjlw_recv_reward_result_descriptor_; } const packetw2c_wjlw_recv_reward_result& packetw2c_wjlw_recv_reward_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetw2c_wjlw_recv_reward_result* packetw2c_wjlw_recv_reward_result::default_instance_ = NULL; packetw2c_wjlw_recv_reward_result* packetw2c_wjlw_recv_reward_result::New() const { return new packetw2c_wjlw_recv_reward_result; } void packetw2c_wjlw_recv_reward_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7654; result_ = 0; playtype_ = 0; recordid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_wjlw_recv_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_wjlw_recv_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_playType; break; } // optional int32 playType = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_recordId; break; } // optional int32 recordId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_recordId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &recordid_))); set_has_recordid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_recv_reward_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_recv_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 playType = 3; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->playtype(), output); } // optional int32 recordId = 4; if (has_recordid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->recordid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_wjlw_recv_reward_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_recv_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 playType = 3; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->playtype(), target); } // optional int32 recordId = 4; if (has_recordid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->recordid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_wjlw_recv_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_wjlw_recv_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 playType = 3; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } // optional int32 recordId = 4; if (has_recordid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->recordid()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_recv_reward_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_wjlw_recv_reward_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_wjlw_recv_reward_result::MergeFrom(const packetw2c_wjlw_recv_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_playtype()) { set_playtype(from.playtype()); } if (from.has_recordid()) { set_recordid(from.recordid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_wjlw_recv_reward_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_wjlw_recv_reward_result::CopyFrom(const packetw2c_wjlw_recv_reward_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_wjlw_recv_reward_result::IsInitialized() const { return true; } void packetw2c_wjlw_recv_reward_result::Swap(packetw2c_wjlw_recv_reward_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(playtype_, other->playtype_); std::swap(recordid_, other->recordid_); std::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_wjlw_recv_reward_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_wjlw_recv_reward_result_descriptor_; metadata.reflection = packetw2c_wjlw_recv_reward_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_wjlw_bc_open_reward::kPacketIdFieldNumber; const int packetw2c_wjlw_bc_open_reward::kRecordFieldNumber; #endif // !_MSC_VER packetw2c_wjlw_bc_open_reward::packetw2c_wjlw_bc_open_reward() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_wjlw_bc_open_reward::InitAsDefaultInstance() { record_ = const_cast< ::client2world_protocols::GlobalRewardRecord*>(&::client2world_protocols::GlobalRewardRecord::default_instance()); } packetw2c_wjlw_bc_open_reward::packetw2c_wjlw_bc_open_reward(const packetw2c_wjlw_bc_open_reward& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_wjlw_bc_open_reward::SharedCtor() { _cached_size_ = 0; packet_id_ = 7655; record_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_wjlw_bc_open_reward::~packetw2c_wjlw_bc_open_reward() { SharedDtor(); } void packetw2c_wjlw_bc_open_reward::SharedDtor() { if (this != default_instance_) { delete record_; } } void packetw2c_wjlw_bc_open_reward::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_wjlw_bc_open_reward::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_wjlw_bc_open_reward_descriptor_; } const packetw2c_wjlw_bc_open_reward& packetw2c_wjlw_bc_open_reward::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetw2c_wjlw_bc_open_reward* packetw2c_wjlw_bc_open_reward::default_instance_ = NULL; packetw2c_wjlw_bc_open_reward* packetw2c_wjlw_bc_open_reward::New() const { return new packetw2c_wjlw_bc_open_reward; } void packetw2c_wjlw_bc_open_reward::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7655; if (has_record()) { if (record_ != NULL) record_->::client2world_protocols::GlobalRewardRecord::Clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_wjlw_bc_open_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_w2c_wjlw_bc_open_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(18)) goto parse_record; break; } // optional .client2world_protocols.GlobalRewardRecord record = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_record: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_record())); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_bc_open_reward::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_bc_open_reward]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional .client2world_protocols.GlobalRewardRecord record = 2; if (has_record()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->record(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_wjlw_bc_open_reward::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_bc_open_reward]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional .client2world_protocols.GlobalRewardRecord record = 2; if (has_record()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->record(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_wjlw_bc_open_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_w2c_wjlw_bc_open_reward]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional .client2world_protocols.GlobalRewardRecord record = 2; if (has_record()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->record()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_bc_open_reward::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_wjlw_bc_open_reward* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_wjlw_bc_open_reward::MergeFrom(const packetw2c_wjlw_bc_open_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_record()) { mutable_record()->::client2world_protocols::GlobalRewardRecord::MergeFrom(from.record()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_wjlw_bc_open_reward::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_wjlw_bc_open_reward::CopyFrom(const packetw2c_wjlw_bc_open_reward& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_wjlw_bc_open_reward::IsInitialized() const { return true; } void packetw2c_wjlw_bc_open_reward::Swap(packetw2c_wjlw_bc_open_reward* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(record_, other->record_); std::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_wjlw_bc_open_reward::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_wjlw_bc_open_reward_descriptor_; metadata.reflection = packetw2c_wjlw_bc_open_reward_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_wjlw_refresh_interval::kPacketIdFieldNumber; const int packetc2w_wjlw_refresh_interval::kEquipLastTimeFieldNumber; const int packetc2w_wjlw_refresh_interval::kPlayTypeFieldNumber; #endif // !_MSC_VER packetc2w_wjlw_refresh_interval::packetc2w_wjlw_refresh_interval() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_wjlw_refresh_interval::InitAsDefaultInstance() { } packetc2w_wjlw_refresh_interval::packetc2w_wjlw_refresh_interval(const packetc2w_wjlw_refresh_interval& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_wjlw_refresh_interval::SharedCtor() { _cached_size_ = 0; packet_id_ = 5144; equiplasttime_ = 0; playtype_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_wjlw_refresh_interval::~packetc2w_wjlw_refresh_interval() { SharedDtor(); } void packetc2w_wjlw_refresh_interval::SharedDtor() { if (this != default_instance_) { } } void packetc2w_wjlw_refresh_interval::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_wjlw_refresh_interval::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_wjlw_refresh_interval_descriptor_; } const packetc2w_wjlw_refresh_interval& packetc2w_wjlw_refresh_interval::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetc2w_wjlw_refresh_interval* packetc2w_wjlw_refresh_interval::default_instance_ = NULL; packetc2w_wjlw_refresh_interval* packetc2w_wjlw_refresh_interval::New() const { return new packetc2w_wjlw_refresh_interval; } void packetc2w_wjlw_refresh_interval::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5144; equiplasttime_ = 0; playtype_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_wjlw_refresh_interval::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((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_wjlw_refresh_interval]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_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_equipLastTime; break; } // optional int32 equipLastTime = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_equipLastTime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &equiplasttime_))); set_has_equiplasttime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_playType; break; } // optional int32 playType = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_refresh_interval::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_refresh_interval]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 equipLastTime = 2; if (has_equiplasttime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->equiplasttime(), output); } // optional int32 playType = 3; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->playtype(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_wjlw_refresh_interval::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_refresh_interval]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 equipLastTime = 2; if (has_equiplasttime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->equiplasttime(), target); } // optional int32 playType = 3; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->playtype(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_wjlw_refresh_interval::ByteSize() const { int 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_wjlw_refresh_interval]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 equipLastTime = 2; if (has_equiplasttime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->equiplasttime()); } // optional int32 playType = 3; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_refresh_interval::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_wjlw_refresh_interval* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_wjlw_refresh_interval::MergeFrom(const packetc2w_wjlw_refresh_interval& 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_equiplasttime()) { set_equiplasttime(from.equiplasttime()); } if (from.has_playtype()) { set_playtype(from.playtype()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_wjlw_refresh_interval::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_wjlw_refresh_interval::CopyFrom(const packetc2w_wjlw_refresh_interval& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_wjlw_refresh_interval::IsInitialized() const { return true; } void packetc2w_wjlw_refresh_interval::Swap(packetc2w_wjlw_refresh_interval* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(equiplasttime_, other->equiplasttime_); std::swap(playtype_, other->playtype_); std::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_wjlw_refresh_interval::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_wjlw_refresh_interval_descriptor_; metadata.reflection = packetc2w_wjlw_refresh_interval_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_wjlw_refresh_interval_result::kPacketIdFieldNumber; const int packetw2c_wjlw_refresh_interval_result::kEquipLastTimeFieldNumber; const int packetw2c_wjlw_refresh_interval_result::kPlayTypeFieldNumber; const int packetw2c_wjlw_refresh_interval_result::kEquipRecordListFieldNumber; const int packetw2c_wjlw_refresh_interval_result::kRewardPoolFieldNumber; #endif // !_MSC_VER packetw2c_wjlw_refresh_interval_result::packetw2c_wjlw_refresh_interval_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_wjlw_refresh_interval_result::InitAsDefaultInstance() { } packetw2c_wjlw_refresh_interval_result::packetw2c_wjlw_refresh_interval_result(const packetw2c_wjlw_refresh_interval_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_wjlw_refresh_interval_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7656; equiplasttime_ = 0; playtype_ = 0; rewardpool_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_wjlw_refresh_interval_result::~packetw2c_wjlw_refresh_interval_result() { SharedDtor(); } void packetw2c_wjlw_refresh_interval_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_wjlw_refresh_interval_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_wjlw_refresh_interval_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_wjlw_refresh_interval_result_descriptor_; } const packetw2c_wjlw_refresh_interval_result& packetw2c_wjlw_refresh_interval_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetw2c_wjlw_refresh_interval_result* packetw2c_wjlw_refresh_interval_result::default_instance_ = NULL; packetw2c_wjlw_refresh_interval_result* packetw2c_wjlw_refresh_interval_result::New() const { return new packetw2c_wjlw_refresh_interval_result; } void packetw2c_wjlw_refresh_interval_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7656; equiplasttime_ = 0; playtype_ = 0; rewardpool_ = 0; } equiprecordlist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_wjlw_refresh_interval_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_wjlw_refresh_interval_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_equipLastTime; break; } // optional int32 equipLastTime = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_equipLastTime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &equiplasttime_))); set_has_equiplasttime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_playType; break; } // optional int32 playType = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_equipRecordList; break; } // repeated .client2world_protocols.EquipRecord equipRecordList = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_equipRecordList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_equiprecordlist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_equipRecordList; if (input->ExpectTag(40)) goto parse_rewardPool; break; } // optional int32 rewardPool = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rewardPool: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rewardpool_))); set_has_rewardpool(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_refresh_interval_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_refresh_interval_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 equipLastTime = 2; if (has_equiplasttime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->equiplasttime(), output); } // optional int32 playType = 3; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->playtype(), output); } // repeated .client2world_protocols.EquipRecord equipRecordList = 4; for (int i = 0; i < this->equiprecordlist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->equiprecordlist(i), output); } // optional int32 rewardPool = 5; if (has_rewardpool()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->rewardpool(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_wjlw_refresh_interval_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_refresh_interval_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 equipLastTime = 2; if (has_equiplasttime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->equiplasttime(), target); } // optional int32 playType = 3; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->playtype(), target); } // repeated .client2world_protocols.EquipRecord equipRecordList = 4; for (int i = 0; i < this->equiprecordlist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->equiprecordlist(i), target); } // optional int32 rewardPool = 5; if (has_rewardpool()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->rewardpool(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_wjlw_refresh_interval_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_wjlw_refresh_interval_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 equipLastTime = 2; if (has_equiplasttime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->equiplasttime()); } // optional int32 playType = 3; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } // optional int32 rewardPool = 5; if (has_rewardpool()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardpool()); } } // repeated .client2world_protocols.EquipRecord equipRecordList = 4; total_size += 1 * this->equiprecordlist_size(); for (int i = 0; i < this->equiprecordlist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->equiprecordlist(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_wjlw_refresh_interval_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_wjlw_refresh_interval_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_wjlw_refresh_interval_result::MergeFrom(const packetw2c_wjlw_refresh_interval_result& from) { GOOGLE_CHECK_NE(&from, this); equiprecordlist_.MergeFrom(from.equiprecordlist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_equiplasttime()) { set_equiplasttime(from.equiplasttime()); } if (from.has_playtype()) { set_playtype(from.playtype()); } if (from.has_rewardpool()) { set_rewardpool(from.rewardpool()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_wjlw_refresh_interval_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_wjlw_refresh_interval_result::CopyFrom(const packetw2c_wjlw_refresh_interval_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_wjlw_refresh_interval_result::IsInitialized() const { return true; } void packetw2c_wjlw_refresh_interval_result::Swap(packetw2c_wjlw_refresh_interval_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(equiplasttime_, other->equiplasttime_); std::swap(playtype_, other->playtype_); equiprecordlist_.Swap(&other->equiprecordlist_); std::swap(rewardpool_, other->rewardpool_); std::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_wjlw_refresh_interval_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_wjlw_refresh_interval_result_descriptor_; metadata.reflection = packetw2c_wjlw_refresh_interval_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_wjlw_get_equip_rank::kPacketIdFieldNumber; const int packetc2w_wjlw_get_equip_rank::kPlayTypeFieldNumber; #endif // !_MSC_VER packetc2w_wjlw_get_equip_rank::packetc2w_wjlw_get_equip_rank() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_wjlw_get_equip_rank::InitAsDefaultInstance() { } packetc2w_wjlw_get_equip_rank::packetc2w_wjlw_get_equip_rank(const packetc2w_wjlw_get_equip_rank& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_wjlw_get_equip_rank::SharedCtor() { _cached_size_ = 0; packet_id_ = 5145; playtype_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_wjlw_get_equip_rank::~packetc2w_wjlw_get_equip_rank() { SharedDtor(); } void packetc2w_wjlw_get_equip_rank::SharedDtor() { if (this != default_instance_) { } } void packetc2w_wjlw_get_equip_rank::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_wjlw_get_equip_rank::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_wjlw_get_equip_rank_descriptor_; } const packetc2w_wjlw_get_equip_rank& packetc2w_wjlw_get_equip_rank::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetc2w_wjlw_get_equip_rank* packetc2w_wjlw_get_equip_rank::default_instance_ = NULL; packetc2w_wjlw_get_equip_rank* packetc2w_wjlw_get_equip_rank::New() const { return new packetc2w_wjlw_get_equip_rank; } void packetc2w_wjlw_get_equip_rank::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5145; playtype_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_wjlw_get_equip_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_wjlw_get_equip_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->ExpectTag(16)) goto parse_playType; break; } // optional int32 playType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_get_equip_rank::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_get_equip_rank]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playType = 2; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playtype(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_wjlw_get_equip_rank::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wjlw_get_equip_rank]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playType = 2; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playtype(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_wjlw_get_equip_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_wjlw_get_equip_rank]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playType = 2; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } } if (!unknown_fields().empty()) { total_size += ::google::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_wjlw_get_equip_rank::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_wjlw_get_equip_rank* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_wjlw_get_equip_rank::MergeFrom(const packetc2w_wjlw_get_equip_rank& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playtype()) { set_playtype(from.playtype()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_wjlw_get_equip_rank::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_wjlw_get_equip_rank::CopyFrom(const packetc2w_wjlw_get_equip_rank& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_wjlw_get_equip_rank::IsInitialized() const { return true; } void packetc2w_wjlw_get_equip_rank::Swap(packetc2w_wjlw_get_equip_rank* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playtype_, other->playtype_); std::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_wjlw_get_equip_rank::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_wjlw_get_equip_rank_descriptor_; metadata.reflection = packetc2w_wjlw_get_equip_rank_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int RankEquipInfo::kNickNameFieldNumber; const int RankEquipInfo::kEquipCountFieldNumber; const int RankEquipInfo::kWinRewardProbFieldNumber; const int RankEquipInfo::kPlayerIdFieldNumber; #endif // !_MSC_VER RankEquipInfo::RankEquipInfo() : ::google::protobuf::Message() { SharedCtor(); } void RankEquipInfo::InitAsDefaultInstance() { } RankEquipInfo::RankEquipInfo(const RankEquipInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void RankEquipInfo::SharedCtor() { _cached_size_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); equipcount_ = 0; winrewardprob_ = 0; playerid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } RankEquipInfo::~RankEquipInfo() { SharedDtor(); } void RankEquipInfo::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void RankEquipInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* RankEquipInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return RankEquipInfo_descriptor_; } const RankEquipInfo& RankEquipInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } RankEquipInfo* RankEquipInfo::default_instance_ = NULL; RankEquipInfo* RankEquipInfo::New() const { return new RankEquipInfo; } void RankEquipInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } equipcount_ = 0; winrewardprob_ = 0; playerid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool RankEquipInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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_equipCount; break; } // optional int32 equipCount = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_equipCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &equipcount_))); set_has_equipcount(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_winRewardProb; break; } // optional int32 winRewardProb = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_winRewardProb: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &winrewardprob_))); set_has_winrewardprob(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_playerId; break; } // optional int32 playerId = 4; case 4: { 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->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void RankEquipInfo::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 equipCount = 2; if (has_equipcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->equipcount(), output); } // optional int32 winRewardProb = 3; if (has_winrewardprob()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->winrewardprob(), output); } // optional int32 playerId = 4; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->playerid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* RankEquipInfo::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 equipCount = 2; if (has_equipcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->equipcount(), target); } // optional int32 winRewardProb = 3; if (has_winrewardprob()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->winrewardprob(), target); } // optional int32 playerId = 4; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->playerid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int RankEquipInfo::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 equipCount = 2; if (has_equipcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->equipcount()); } // optional int32 winRewardProb = 3; if (has_winrewardprob()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->winrewardprob()); } // optional int32 playerId = 4; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void RankEquipInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const RankEquipInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void RankEquipInfo::MergeFrom(const RankEquipInfo& 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_equipcount()) { set_equipcount(from.equipcount()); } if (from.has_winrewardprob()) { set_winrewardprob(from.winrewardprob()); } if (from.has_playerid()) { set_playerid(from.playerid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void RankEquipInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void RankEquipInfo::CopyFrom(const RankEquipInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool RankEquipInfo::IsInitialized() const { return true; } void RankEquipInfo::Swap(RankEquipInfo* other) { if (other != this) { std::swap(nickname_, other->nickname_); std::swap(equipcount_, other->equipcount_); std::swap(winrewardprob_, other->winrewardprob_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata RankEquipInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = RankEquipInfo_descriptor_; metadata.reflection = RankEquipInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_wjlw_get_equip_rank_result::kPacketIdFieldNumber; const int packetw2c_wjlw_get_equip_rank_result::kPlayTypeFieldNumber; const int packetw2c_wjlw_get_equip_rank_result::kRankListFieldNumber; const int packetw2c_wjlw_get_equip_rank_result::kSelfInfoFieldNumber; #endif // !_MSC_VER packetw2c_wjlw_get_equip_rank_result::packetw2c_wjlw_get_equip_rank_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_wjlw_get_equip_rank_result::InitAsDefaultInstance() { selfinfo_ = const_cast< ::client2world_protocols::RankEquipInfo*>(&::client2world_protocols::RankEquipInfo::default_instance()); } packetw2c_wjlw_get_equip_rank_result::packetw2c_wjlw_get_equip_rank_result(const packetw2c_wjlw_get_equip_rank_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_wjlw_get_equip_rank_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7657; playtype_ = 0; selfinfo_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_wjlw_get_equip_rank_result::~packetw2c_wjlw_get_equip_rank_result() { SharedDtor(); } void packetw2c_wjlw_get_equip_rank_result::SharedDtor() { if (this != default_instance_) { delete selfinfo_; } } void packetw2c_wjlw_get_equip_rank_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_wjlw_get_equip_rank_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_wjlw_get_equip_rank_result_descriptor_; } const packetw2c_wjlw_get_equip_rank_result& packetw2c_wjlw_get_equip_rank_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fwjlw_2eproto(); return *default_instance_; } packetw2c_wjlw_get_equip_rank_result* packetw2c_wjlw_get_equip_rank_result::default_instance_ = NULL; packetw2c_wjlw_get_equip_rank_result* packetw2c_wjlw_get_equip_rank_result::New() const { return new packetw2c_wjlw_get_equip_rank_result; } void packetw2c_wjlw_get_equip_rank_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7657; playtype_ = 0; if (has_selfinfo()) { if (selfinfo_ != NULL) selfinfo_->::client2world_protocols::RankEquipInfo::Clear(); } } ranklist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_wjlw_get_equip_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_wjlw_get_equip_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(16)) goto parse_playType; break; } // optional int32 playType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playtype_))); set_has_playtype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_rankList; break; } // repeated .client2world_protocols.RankEquipInfo rankList = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_rankList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_ranklist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_rankList; if (input->ExpectTag(34)) goto parse_selfInfo; break; } // optional .client2world_protocols.RankEquipInfo selfInfo = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_selfInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_selfinfo())); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_wjlw_get_equip_rank_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_get_equip_rank_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playType = 2; if (has_playtype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playtype(), output); } // repeated .client2world_protocols.RankEquipInfo rankList = 3; for (int i = 0; i < this->ranklist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->ranklist(i), output); } // optional .client2world_protocols.RankEquipInfo selfInfo = 4; if (has_selfinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->selfinfo(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_wjlw_get_equip_rank_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wjlw_get_equip_rank_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playType = 2; if (has_playtype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playtype(), target); } // repeated .client2world_protocols.RankEquipInfo rankList = 3; for (int i = 0; i < this->ranklist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->ranklist(i), target); } // optional .client2world_protocols.RankEquipInfo selfInfo = 4; if (has_selfinfo()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->selfinfo(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_wjlw_get_equip_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_wjlw_get_equip_rank_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playType = 2; if (has_playtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playtype()); } // optional .client2world_protocols.RankEquipInfo selfInfo = 4; if (has_selfinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->selfinfo()); } } // repeated .client2world_protocols.RankEquipInfo rankList = 3; total_size += 1 * this->ranklist_size(); for (int i = 0; i < this->ranklist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->ranklist(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetw2c_wjlw_get_equip_rank_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_wjlw_get_equip_rank_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_wjlw_get_equip_rank_result::MergeFrom(const packetw2c_wjlw_get_equip_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_playtype()) { set_playtype(from.playtype()); } if (from.has_selfinfo()) { mutable_selfinfo()->::client2world_protocols::RankEquipInfo::MergeFrom(from.selfinfo()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_wjlw_get_equip_rank_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_wjlw_get_equip_rank_result::CopyFrom(const packetw2c_wjlw_get_equip_rank_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_wjlw_get_equip_rank_result::IsInitialized() const { return true; } void packetw2c_wjlw_get_equip_rank_result::Swap(packetw2c_wjlw_get_equip_rank_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playtype_, other->playtype_); ranklist_.Swap(&other->ranklist_); std::swap(selfinfo_, other->selfinfo_); std::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_wjlw_get_equip_rank_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_wjlw_get_equip_rank_result_descriptor_; metadata.reflection = packetw2c_wjlw_get_equip_rank_result_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace client2world_protocols // @@protoc_insertion_point(global_scope)