// Generated by the protocol buffer compiler. DO NOT EDIT! // source: fish_mythical_palace.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "fish_mythical_palace.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace fish_protocols { namespace { const ::google::protobuf::Descriptor* MythicalRankInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* MythicalRankInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* DropGoldHistory_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* DropGoldHistory_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_get_mythical_palace_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_get_mythical_palace_info_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_get_mythical_palace_info_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_get_mythical_palace_info_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mythical_palace_event_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_trigger_mythical_palace_event_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_receive_mythical_points_award_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_receive_mythical_points_award_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_receive_mythical_points_award_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_receive_mythical_points_award_result_reflection_ = NULL; } // namespace void protobuf_AssignDesc_fish_5fmythical_5fpalace_2eproto() { protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "fish_mythical_palace.proto"); GOOGLE_CHECK(file != NULL); MythicalRankInfo_descriptor_ = file->message_type(0); static const int MythicalRankInfo_offsets_[9] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, rank_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, frameid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, headid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, zhuquepoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, baihupoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, caishenpoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, totalpoints_), }; MythicalRankInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MythicalRankInfo_descriptor_, MythicalRankInfo::default_instance_, MythicalRankInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MythicalRankInfo)); DropGoldHistory_descriptor_ = file->message_type(1); static const int DropGoldHistory_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, fishid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, bulletrate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, gold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, eventid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, goldrate_), }; DropGoldHistory_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( DropGoldHistory_descriptor_, DropGoldHistory::default_instance_, DropGoldHistory_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(DropGoldHistory)); packetc2l_get_mythical_palace_info_descriptor_ = file->message_type(2); static const int packetc2l_get_mythical_palace_info_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, packet_id_), }; packetc2l_get_mythical_palace_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_get_mythical_palace_info_descriptor_, packetc2l_get_mythical_palace_info::default_instance_, packetc2l_get_mythical_palace_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_get_mythical_palace_info)); packetl2c_get_mythical_palace_info_result_descriptor_ = file->message_type(3); static const int packetl2c_get_mythical_palace_info_result_offsets_[11] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, zhuquepoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, baihupoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, caishenpoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, totalpoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, receivedpointsawardcount_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, curranklist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, changelist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, thresholdvalue_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, myrank_), }; packetl2c_get_mythical_palace_info_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_get_mythical_palace_info_result_descriptor_, packetl2c_get_mythical_palace_info_result::default_instance_, packetl2c_get_mythical_palace_info_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_get_mythical_palace_info_result)); packetl2c_bc_trigger_mythical_palace_event_descriptor_ = file->message_type(4); static const int packetl2c_bc_trigger_mythical_palace_event_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, eventid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, bossrate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, gold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, droppoints_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, droppointsex_), }; packetl2c_bc_trigger_mythical_palace_event_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_trigger_mythical_palace_event_descriptor_, packetl2c_bc_trigger_mythical_palace_event::default_instance_, packetl2c_bc_trigger_mythical_palace_event_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_trigger_mythical_palace_event)); packetc2l_receive_mythical_points_award_descriptor_ = file->message_type(5); static const int packetc2l_receive_mythical_points_award_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, packet_id_), }; packetc2l_receive_mythical_points_award_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_receive_mythical_points_award_descriptor_, packetc2l_receive_mythical_points_award::default_instance_, packetc2l_receive_mythical_points_award_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_receive_mythical_points_award)); packetl2c_receive_mythical_points_award_result_descriptor_ = file->message_type(6); static const int packetl2c_receive_mythical_points_award_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, items_), }; packetl2c_receive_mythical_points_award_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_receive_mythical_points_award_result_descriptor_, packetl2c_receive_mythical_points_award_result::default_instance_, packetl2c_receive_mythical_points_award_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_receive_mythical_points_award_result)); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_fish_5fmythical_5fpalace_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( MythicalRankInfo_descriptor_, &MythicalRankInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( DropGoldHistory_descriptor_, &DropGoldHistory::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_get_mythical_palace_info_descriptor_, &packetc2l_get_mythical_palace_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_get_mythical_palace_info_result_descriptor_, &packetl2c_get_mythical_palace_info_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_trigger_mythical_palace_event_descriptor_, &packetl2c_bc_trigger_mythical_palace_event::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_receive_mythical_points_award_descriptor_, &packetc2l_receive_mythical_points_award::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_receive_mythical_points_award_result_descriptor_, &packetl2c_receive_mythical_points_award_result::default_instance()); } } // namespace void protobuf_ShutdownFile_fish_5fmythical_5fpalace_2eproto() { delete MythicalRankInfo::default_instance_; delete MythicalRankInfo_reflection_; delete DropGoldHistory::default_instance_; delete DropGoldHistory_reflection_; delete packetc2l_get_mythical_palace_info::default_instance_; delete packetc2l_get_mythical_palace_info_reflection_; delete packetl2c_get_mythical_palace_info_result::default_instance_; delete packetl2c_get_mythical_palace_info_result_reflection_; delete packetl2c_bc_trigger_mythical_palace_event::default_instance_; delete packetl2c_bc_trigger_mythical_palace_event_reflection_; delete packetc2l_receive_mythical_points_award::default_instance_; delete packetc2l_receive_mythical_points_award_reflection_; delete packetl2c_receive_mythical_points_award_result::default_instance_; delete packetl2c_receive_mythical_points_award_result_reflection_; } void protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto(); ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto(); ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); ::fish_protocols::protobuf_AddDesc_fish_5fprotocol_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\032fish_mythical_palace.proto\022\016fish_proto" "cols\032\016fish_def.proto\032\022msg_type_def.proto" "\032\023fish_type_def.proto\032\023fish_protocol.pro" "to\"\274\001\n\020MythicalRankInfo\022\020\n\010playerId\030\001 \001(" "\005\022\020\n\010nickName\030\002 \001(\t\022\014\n\004rank\030\003 \001(\005\022\017\n\007fra" "meID\030\004 \001(\005\022\016\n\006headId\030\005 \001(\005\022\024\n\014zhuQuePoin" "ts\030\006 \001(\005\022\023\n\013baiHuPoints\030\007 \001(\005\022\025\n\rcaiShen" "Points\030\010 \001(\005\022\023\n\013totalPoints\030\t \001(\005\"x\n\017Dro" "pGoldHistory\022\020\n\010nickName\030\001 \001(\t\022\016\n\006fishId" "\030\002 \001(\005\022\022\n\nbulletRate\030\003 \001(\005\022\014\n\004gold\030\004 \001(\005" "\022\017\n\007eventId\030\005 \001(\005\022\020\n\010goldRate\030\006 \001(\005\"~\n\"p" "acketc2l_get_mythical_palace_info\022X\n\tpac" "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m" "sg_type:\"e_mst_c2l_get_mythical_palace_i" "nfo\"\251\003\n)packetl2c_get_mythical_palace_in" "fo_result\022_\n\tpacket_id\030\001 \001(\0162!.fish_prot" "ocols.e_server_msg_type:)e_mst_l2c_get_m" "ythical_palace_info_result\022\016\n\006result\030\002 \001" "(\005\022\024\n\014zhuQuePoints\030\003 \001(\005\022\023\n\013baiHuPoints\030" "\004 \001(\005\022\025\n\rcaiShenPoints\030\005 \001(\005\022\023\n\013totalPoi" "nts\030\006 \001(\005\022 \n\030receivedPointsAwardCount\030\007 " "\001(\005\0225\n\013curRankList\030\010 \003(\0132 .fish_protocol" "s.MythicalRankInfo\0223\n\nchangeList\030\t \003(\0132\037" ".fish_protocols.DropGoldHistory\022\026\n\016thres" "holdValue\030\n \003(\005\022\016\n\006myrank\030\013 \001(\005\"\373\001\n*pack" "etl2c_bc_trigger_mythical_palace_event\022`" "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser" "ver_msg_type:*e_mst_l2c_bc_trigger_mythi" "cal_palace_event\022\020\n\010playerId\030\002 \001(\005\022\017\n\007ev" "entId\030\003 \001(\005\022\020\n\010bossRate\030\004 \001(\005\022\014\n\004gold\030\005 " "\001(\005\022\022\n\ndropPoints\030\006 \001(\005\022\024\n\014dropPointsEx\030" "\007 \001(\005\"\210\001\n\'packetc2l_receive_mythical_poi" "nts_award\022]\n\tpacket_id\030\001 \001(\0162!.fish_prot" "ocols.e_server_msg_type:\'e_mst_c2l_recei" "ve_mythical_points_award\"\317\001\n.packetl2c_r" "eceive_mythical_points_award_result\022d\n\tp" "acket_id\030\001 \001(\0162!.fish_protocols.e_server" "_msg_type:.e_mst_l2c_receive_mythical_po" "ints_award_result\022\016\n\006result\030\002 \001(\005\022\'\n\005ite" "ms\030\003 \003(\0132\030.fish_protocols.ItemInfo", 1594); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "fish_mythical_palace.proto", &protobuf_RegisterTypes); MythicalRankInfo::default_instance_ = new MythicalRankInfo(); DropGoldHistory::default_instance_ = new DropGoldHistory(); packetc2l_get_mythical_palace_info::default_instance_ = new packetc2l_get_mythical_palace_info(); packetl2c_get_mythical_palace_info_result::default_instance_ = new packetl2c_get_mythical_palace_info_result(); packetl2c_bc_trigger_mythical_palace_event::default_instance_ = new packetl2c_bc_trigger_mythical_palace_event(); packetc2l_receive_mythical_points_award::default_instance_ = new packetc2l_receive_mythical_points_award(); packetl2c_receive_mythical_points_award_result::default_instance_ = new packetl2c_receive_mythical_points_award_result(); MythicalRankInfo::default_instance_->InitAsDefaultInstance(); DropGoldHistory::default_instance_->InitAsDefaultInstance(); packetc2l_get_mythical_palace_info::default_instance_->InitAsDefaultInstance(); packetl2c_get_mythical_palace_info_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_trigger_mythical_palace_event::default_instance_->InitAsDefaultInstance(); packetc2l_receive_mythical_points_award::default_instance_->InitAsDefaultInstance(); packetl2c_receive_mythical_points_award_result::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fmythical_5fpalace_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_fish_5fmythical_5fpalace_2eproto { StaticDescriptorInitializer_fish_5fmythical_5fpalace_2eproto() { protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); } } static_descriptor_initializer_fish_5fmythical_5fpalace_2eproto_; // =================================================================== #ifndef _MSC_VER const int MythicalRankInfo::kPlayerIdFieldNumber; const int MythicalRankInfo::kNickNameFieldNumber; const int MythicalRankInfo::kRankFieldNumber; const int MythicalRankInfo::kFrameIDFieldNumber; const int MythicalRankInfo::kHeadIdFieldNumber; const int MythicalRankInfo::kZhuQuePointsFieldNumber; const int MythicalRankInfo::kBaiHuPointsFieldNumber; const int MythicalRankInfo::kCaiShenPointsFieldNumber; const int MythicalRankInfo::kTotalPointsFieldNumber; #endif // !_MSC_VER MythicalRankInfo::MythicalRankInfo() : ::google::protobuf::Message() { SharedCtor(); } void MythicalRankInfo::InitAsDefaultInstance() { } MythicalRankInfo::MythicalRankInfo(const MythicalRankInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void MythicalRankInfo::SharedCtor() { _cached_size_ = 0; playerid_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); rank_ = 0; frameid_ = 0; headid_ = 0; zhuquepoints_ = 0; baihupoints_ = 0; caishenpoints_ = 0; totalpoints_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } MythicalRankInfo::~MythicalRankInfo() { SharedDtor(); } void MythicalRankInfo::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void MythicalRankInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* MythicalRankInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return MythicalRankInfo_descriptor_; } const MythicalRankInfo& MythicalRankInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); return *default_instance_; } MythicalRankInfo* MythicalRankInfo::default_instance_ = NULL; MythicalRankInfo* MythicalRankInfo::New() const { return new MythicalRankInfo; } void MythicalRankInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { playerid_ = 0; if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } rank_ = 0; frameid_ = 0; headid_ = 0; zhuquepoints_ = 0; baihupoints_ = 0; caishenpoints_ = 0; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { totalpoints_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool MythicalRankInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_nickName; break; } // optional string nickName = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_nickName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_nickname())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::PARSE); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_rank; break; } // optional int32 rank = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rank: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rank_))); set_has_rank(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_frameID; break; } // optional int32 frameID = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_frameID: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &frameid_))); set_has_frameid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_headId; break; } // optional int32 headId = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_headId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &headid_))); set_has_headid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_zhuQuePoints; break; } // optional int32 zhuQuePoints = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_zhuQuePoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &zhuquepoints_))); set_has_zhuquepoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_baiHuPoints; break; } // optional int32 baiHuPoints = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_baiHuPoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &baihupoints_))); set_has_baihupoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_caiShenPoints; break; } // optional int32 caiShenPoints = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_caiShenPoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &caishenpoints_))); set_has_caishenpoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_totalPoints; break; } // optional int32 totalPoints = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_totalPoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &totalpoints_))); set_has_totalpoints(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void MythicalRankInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 playerId = 1; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output); } // optional string nickName = 2; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); ::google::protobuf::internal::WireFormatLite::WriteString( 2, this->nickname(), output); } // optional int32 rank = 3; if (has_rank()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rank(), output); } // optional int32 frameID = 4; if (has_frameid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->frameid(), output); } // optional int32 headId = 5; if (has_headid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->headid(), output); } // optional int32 zhuQuePoints = 6; if (has_zhuquepoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->zhuquepoints(), output); } // optional int32 baiHuPoints = 7; if (has_baihupoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->baihupoints(), output); } // optional int32 caiShenPoints = 8; if (has_caishenpoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->caishenpoints(), output); } // optional int32 totalPoints = 9; if (has_totalpoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->totalpoints(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* MythicalRankInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 playerId = 1; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target); } // optional string nickName = 2; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->nickname(), target); } // optional int32 rank = 3; if (has_rank()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rank(), target); } // optional int32 frameID = 4; if (has_frameid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->frameid(), target); } // optional int32 headId = 5; if (has_headid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->headid(), target); } // optional int32 zhuQuePoints = 6; if (has_zhuquepoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->zhuquepoints(), target); } // optional int32 baiHuPoints = 7; if (has_baihupoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->baihupoints(), target); } // optional int32 caiShenPoints = 8; if (has_caishenpoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->caishenpoints(), target); } // optional int32 totalPoints = 9; if (has_totalpoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->totalpoints(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int MythicalRankInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional string nickName = 2; if (has_nickname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->nickname()); } // optional int32 rank = 3; if (has_rank()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rank()); } // optional int32 frameID = 4; if (has_frameid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->frameid()); } // optional int32 headId = 5; if (has_headid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->headid()); } // optional int32 zhuQuePoints = 6; if (has_zhuquepoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->zhuquepoints()); } // optional int32 baiHuPoints = 7; if (has_baihupoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->baihupoints()); } // optional int32 caiShenPoints = 8; if (has_caishenpoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->caishenpoints()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 totalPoints = 9; if (has_totalpoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->totalpoints()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void MythicalRankInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const MythicalRankInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void MythicalRankInfo::MergeFrom(const MythicalRankInfo& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_nickname()) { set_nickname(from.nickname()); } if (from.has_rank()) { set_rank(from.rank()); } if (from.has_frameid()) { set_frameid(from.frameid()); } if (from.has_headid()) { set_headid(from.headid()); } if (from.has_zhuquepoints()) { set_zhuquepoints(from.zhuquepoints()); } if (from.has_baihupoints()) { set_baihupoints(from.baihupoints()); } if (from.has_caishenpoints()) { set_caishenpoints(from.caishenpoints()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_totalpoints()) { set_totalpoints(from.totalpoints()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void MythicalRankInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void MythicalRankInfo::CopyFrom(const MythicalRankInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool MythicalRankInfo::IsInitialized() const { return true; } void MythicalRankInfo::Swap(MythicalRankInfo* other) { if (other != this) { std::swap(playerid_, other->playerid_); std::swap(nickname_, other->nickname_); std::swap(rank_, other->rank_); std::swap(frameid_, other->frameid_); std::swap(headid_, other->headid_); std::swap(zhuquepoints_, other->zhuquepoints_); std::swap(baihupoints_, other->baihupoints_); std::swap(caishenpoints_, other->caishenpoints_); std::swap(totalpoints_, other->totalpoints_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata MythicalRankInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = MythicalRankInfo_descriptor_; metadata.reflection = MythicalRankInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int DropGoldHistory::kNickNameFieldNumber; const int DropGoldHistory::kFishIdFieldNumber; const int DropGoldHistory::kBulletRateFieldNumber; const int DropGoldHistory::kGoldFieldNumber; const int DropGoldHistory::kEventIdFieldNumber; const int DropGoldHistory::kGoldRateFieldNumber; #endif // !_MSC_VER DropGoldHistory::DropGoldHistory() : ::google::protobuf::Message() { SharedCtor(); } void DropGoldHistory::InitAsDefaultInstance() { } DropGoldHistory::DropGoldHistory(const DropGoldHistory& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void DropGoldHistory::SharedCtor() { _cached_size_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); fishid_ = 0; bulletrate_ = 0; gold_ = 0; eventid_ = 0; goldrate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } DropGoldHistory::~DropGoldHistory() { SharedDtor(); } void DropGoldHistory::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void DropGoldHistory::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* DropGoldHistory::descriptor() { protobuf_AssignDescriptorsOnce(); return DropGoldHistory_descriptor_; } const DropGoldHistory& DropGoldHistory::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); return *default_instance_; } DropGoldHistory* DropGoldHistory::default_instance_ = NULL; DropGoldHistory* DropGoldHistory::New() const { return new DropGoldHistory; } void DropGoldHistory::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } fishid_ = 0; bulletrate_ = 0; gold_ = 0; eventid_ = 0; goldrate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool DropGoldHistory::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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_fishId; break; } // optional int32 fishId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishid_))); set_has_fishid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_bulletRate; break; } // optional int32 bulletRate = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bulletRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bulletrate_))); set_has_bulletrate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_gold; break; } // optional int32 gold = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &gold_))); set_has_gold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_eventId; break; } // optional int32 eventId = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_eventId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &eventid_))); set_has_eventid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_goldRate; break; } // optional int32 goldRate = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_goldRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &goldrate_))); set_has_goldrate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void DropGoldHistory::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 fishId = 2; if (has_fishid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishid(), output); } // optional int32 bulletRate = 3; if (has_bulletrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletrate(), output); } // optional int32 gold = 4; if (has_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold(), output); } // optional int32 eventId = 5; if (has_eventid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->eventid(), output); } // optional int32 goldRate = 6; if (has_goldrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->goldrate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* DropGoldHistory::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 fishId = 2; if (has_fishid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishid(), target); } // optional int32 bulletRate = 3; if (has_bulletrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletrate(), target); } // optional int32 gold = 4; if (has_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold(), target); } // optional int32 eventId = 5; if (has_eventid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->eventid(), target); } // optional int32 goldRate = 6; if (has_goldrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->goldrate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int DropGoldHistory::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 fishId = 2; if (has_fishid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishid()); } // optional int32 bulletRate = 3; if (has_bulletrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bulletrate()); } // optional int32 gold = 4; if (has_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->gold()); } // optional int32 eventId = 5; if (has_eventid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->eventid()); } // optional int32 goldRate = 6; if (has_goldrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->goldrate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void DropGoldHistory::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const DropGoldHistory* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void DropGoldHistory::MergeFrom(const DropGoldHistory& 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_fishid()) { set_fishid(from.fishid()); } if (from.has_bulletrate()) { set_bulletrate(from.bulletrate()); } if (from.has_gold()) { set_gold(from.gold()); } if (from.has_eventid()) { set_eventid(from.eventid()); } if (from.has_goldrate()) { set_goldrate(from.goldrate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void DropGoldHistory::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void DropGoldHistory::CopyFrom(const DropGoldHistory& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool DropGoldHistory::IsInitialized() const { return true; } void DropGoldHistory::Swap(DropGoldHistory* other) { if (other != this) { std::swap(nickname_, other->nickname_); std::swap(fishid_, other->fishid_); std::swap(bulletrate_, other->bulletrate_); std::swap(gold_, other->gold_); std::swap(eventid_, other->eventid_); std::swap(goldrate_, other->goldrate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata DropGoldHistory::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = DropGoldHistory_descriptor_; metadata.reflection = DropGoldHistory_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_get_mythical_palace_info::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_get_mythical_palace_info::packetc2l_get_mythical_palace_info() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_get_mythical_palace_info::InitAsDefaultInstance() { } packetc2l_get_mythical_palace_info::packetc2l_get_mythical_palace_info(const packetc2l_get_mythical_palace_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_get_mythical_palace_info::SharedCtor() { _cached_size_ = 0; packet_id_ = 10200; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_get_mythical_palace_info::~packetc2l_get_mythical_palace_info() { SharedDtor(); } void packetc2l_get_mythical_palace_info::SharedDtor() { if (this != default_instance_) { } } void packetc2l_get_mythical_palace_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_get_mythical_palace_info::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_get_mythical_palace_info_descriptor_; } const packetc2l_get_mythical_palace_info& packetc2l_get_mythical_palace_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); return *default_instance_; } packetc2l_get_mythical_palace_info* packetc2l_get_mythical_palace_info::default_instance_ = NULL; packetc2l_get_mythical_palace_info* packetc2l_get_mythical_palace_info::New() const { return new packetc2l_get_mythical_palace_info; } void packetc2l_get_mythical_palace_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10200; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_get_mythical_palace_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_get_mythical_palace_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_get_mythical_palace_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_get_mythical_palace_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_get_mythical_palace_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_get_mythical_palace_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_get_mythical_palace_info::MergeFrom(const packetc2l_get_mythical_palace_info& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_get_mythical_palace_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_get_mythical_palace_info::CopyFrom(const packetc2l_get_mythical_palace_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_get_mythical_palace_info::IsInitialized() const { return true; } void packetc2l_get_mythical_palace_info::Swap(packetc2l_get_mythical_palace_info* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_get_mythical_palace_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_get_mythical_palace_info_descriptor_; metadata.reflection = packetc2l_get_mythical_palace_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_get_mythical_palace_info_result::kPacketIdFieldNumber; const int packetl2c_get_mythical_palace_info_result::kResultFieldNumber; const int packetl2c_get_mythical_palace_info_result::kZhuQuePointsFieldNumber; const int packetl2c_get_mythical_palace_info_result::kBaiHuPointsFieldNumber; const int packetl2c_get_mythical_palace_info_result::kCaiShenPointsFieldNumber; const int packetl2c_get_mythical_palace_info_result::kTotalPointsFieldNumber; const int packetl2c_get_mythical_palace_info_result::kReceivedPointsAwardCountFieldNumber; const int packetl2c_get_mythical_palace_info_result::kCurRankListFieldNumber; const int packetl2c_get_mythical_palace_info_result::kChangeListFieldNumber; const int packetl2c_get_mythical_palace_info_result::kThresholdValueFieldNumber; const int packetl2c_get_mythical_palace_info_result::kMyrankFieldNumber; #endif // !_MSC_VER packetl2c_get_mythical_palace_info_result::packetl2c_get_mythical_palace_info_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_get_mythical_palace_info_result::InitAsDefaultInstance() { } packetl2c_get_mythical_palace_info_result::packetl2c_get_mythical_palace_info_result(const packetl2c_get_mythical_palace_info_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_get_mythical_palace_info_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16194; result_ = 0; zhuquepoints_ = 0; baihupoints_ = 0; caishenpoints_ = 0; totalpoints_ = 0; receivedpointsawardcount_ = 0; myrank_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_get_mythical_palace_info_result::~packetl2c_get_mythical_palace_info_result() { SharedDtor(); } void packetl2c_get_mythical_palace_info_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_get_mythical_palace_info_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_get_mythical_palace_info_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_get_mythical_palace_info_result_descriptor_; } const packetl2c_get_mythical_palace_info_result& packetl2c_get_mythical_palace_info_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); return *default_instance_; } packetl2c_get_mythical_palace_info_result* packetl2c_get_mythical_palace_info_result::default_instance_ = NULL; packetl2c_get_mythical_palace_info_result* packetl2c_get_mythical_palace_info_result::New() const { return new packetl2c_get_mythical_palace_info_result; } void packetl2c_get_mythical_palace_info_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16194; result_ = 0; zhuquepoints_ = 0; baihupoints_ = 0; caishenpoints_ = 0; totalpoints_ = 0; receivedpointsawardcount_ = 0; } if (_has_bits_[10 / 32] & (0xffu << (10 % 32))) { myrank_ = 0; } curranklist_.Clear(); changelist_.Clear(); thresholdvalue_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_get_mythical_palace_info_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_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_zhuQuePoints; break; } // optional int32 zhuQuePoints = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_zhuQuePoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &zhuquepoints_))); set_has_zhuquepoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_baiHuPoints; break; } // optional int32 baiHuPoints = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_baiHuPoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &baihupoints_))); set_has_baihupoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_caiShenPoints; break; } // optional int32 caiShenPoints = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_caiShenPoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &caishenpoints_))); set_has_caishenpoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_totalPoints; break; } // optional int32 totalPoints = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_totalPoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &totalpoints_))); set_has_totalpoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_receivedPointsAwardCount; break; } // optional int32 receivedPointsAwardCount = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_receivedPointsAwardCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &receivedpointsawardcount_))); set_has_receivedpointsawardcount(); } else { goto handle_uninterpreted; } if (input->ExpectTag(66)) goto parse_curRankList; break; } // repeated .fish_protocols.MythicalRankInfo curRankList = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_curRankList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_curranklist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(66)) goto parse_curRankList; if (input->ExpectTag(74)) goto parse_changeList; break; } // repeated .fish_protocols.DropGoldHistory changeList = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_changeList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_changelist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(74)) goto parse_changeList; if (input->ExpectTag(80)) goto parse_thresholdValue; break; } // repeated int32 thresholdValue = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_thresholdValue: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 80, input, this->mutable_thresholdvalue()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_thresholdvalue()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(80)) goto parse_thresholdValue; if (input->ExpectTag(88)) goto parse_myrank; break; } // optional int32 myrank = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_myrank: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &myrank_))); set_has_myrank(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_get_mythical_palace_info_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 zhuQuePoints = 3; if (has_zhuquepoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->zhuquepoints(), output); } // optional int32 baiHuPoints = 4; if (has_baihupoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->baihupoints(), output); } // optional int32 caiShenPoints = 5; if (has_caishenpoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->caishenpoints(), output); } // optional int32 totalPoints = 6; if (has_totalpoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->totalpoints(), output); } // optional int32 receivedPointsAwardCount = 7; if (has_receivedpointsawardcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->receivedpointsawardcount(), output); } // repeated .fish_protocols.MythicalRankInfo curRankList = 8; for (int i = 0; i < this->curranklist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, this->curranklist(i), output); } // repeated .fish_protocols.DropGoldHistory changeList = 9; for (int i = 0; i < this->changelist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 9, this->changelist(i), output); } // repeated int32 thresholdValue = 10; for (int i = 0; i < this->thresholdvalue_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 10, this->thresholdvalue(i), output); } // optional int32 myrank = 11; if (has_myrank()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->myrank(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_get_mythical_palace_info_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 zhuQuePoints = 3; if (has_zhuquepoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->zhuquepoints(), target); } // optional int32 baiHuPoints = 4; if (has_baihupoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->baihupoints(), target); } // optional int32 caiShenPoints = 5; if (has_caishenpoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->caishenpoints(), target); } // optional int32 totalPoints = 6; if (has_totalpoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->totalpoints(), target); } // optional int32 receivedPointsAwardCount = 7; if (has_receivedpointsawardcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->receivedpointsawardcount(), target); } // repeated .fish_protocols.MythicalRankInfo curRankList = 8; for (int i = 0; i < this->curranklist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 8, this->curranklist(i), target); } // repeated .fish_protocols.DropGoldHistory changeList = 9; for (int i = 0; i < this->changelist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 9, this->changelist(i), target); } // repeated int32 thresholdValue = 10; for (int i = 0; i < this->thresholdvalue_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(10, this->thresholdvalue(i), target); } // optional int32 myrank = 11; if (has_myrank()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->myrank(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_get_mythical_palace_info_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 zhuQuePoints = 3; if (has_zhuquepoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->zhuquepoints()); } // optional int32 baiHuPoints = 4; if (has_baihupoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->baihupoints()); } // optional int32 caiShenPoints = 5; if (has_caishenpoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->caishenpoints()); } // optional int32 totalPoints = 6; if (has_totalpoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->totalpoints()); } // optional int32 receivedPointsAwardCount = 7; if (has_receivedpointsawardcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->receivedpointsawardcount()); } } if (_has_bits_[10 / 32] & (0xffu << (10 % 32))) { // optional int32 myrank = 11; if (has_myrank()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->myrank()); } } // repeated .fish_protocols.MythicalRankInfo curRankList = 8; total_size += 1 * this->curranklist_size(); for (int i = 0; i < this->curranklist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->curranklist(i)); } // repeated .fish_protocols.DropGoldHistory changeList = 9; total_size += 1 * this->changelist_size(); for (int i = 0; i < this->changelist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->changelist(i)); } // repeated int32 thresholdValue = 10; { int data_size = 0; for (int i = 0; i < this->thresholdvalue_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->thresholdvalue(i)); } total_size += 1 * this->thresholdvalue_size() + data_size; } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_get_mythical_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_get_mythical_palace_info_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_get_mythical_palace_info_result::MergeFrom(const packetl2c_get_mythical_palace_info_result& from) { GOOGLE_CHECK_NE(&from, this); curranklist_.MergeFrom(from.curranklist_); changelist_.MergeFrom(from.changelist_); thresholdvalue_.MergeFrom(from.thresholdvalue_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_zhuquepoints()) { set_zhuquepoints(from.zhuquepoints()); } if (from.has_baihupoints()) { set_baihupoints(from.baihupoints()); } if (from.has_caishenpoints()) { set_caishenpoints(from.caishenpoints()); } if (from.has_totalpoints()) { set_totalpoints(from.totalpoints()); } if (from.has_receivedpointsawardcount()) { set_receivedpointsawardcount(from.receivedpointsawardcount()); } } if (from._has_bits_[10 / 32] & (0xffu << (10 % 32))) { if (from.has_myrank()) { set_myrank(from.myrank()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_get_mythical_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_get_mythical_palace_info_result::CopyFrom(const packetl2c_get_mythical_palace_info_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_get_mythical_palace_info_result::IsInitialized() const { return true; } void packetl2c_get_mythical_palace_info_result::Swap(packetl2c_get_mythical_palace_info_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(zhuquepoints_, other->zhuquepoints_); std::swap(baihupoints_, other->baihupoints_); std::swap(caishenpoints_, other->caishenpoints_); std::swap(totalpoints_, other->totalpoints_); std::swap(receivedpointsawardcount_, other->receivedpointsawardcount_); curranklist_.Swap(&other->curranklist_); changelist_.Swap(&other->changelist_); thresholdvalue_.Swap(&other->thresholdvalue_); std::swap(myrank_, other->myrank_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_get_mythical_palace_info_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_get_mythical_palace_info_result_descriptor_; metadata.reflection = packetl2c_get_mythical_palace_info_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_trigger_mythical_palace_event::kPacketIdFieldNumber; const int packetl2c_bc_trigger_mythical_palace_event::kPlayerIdFieldNumber; const int packetl2c_bc_trigger_mythical_palace_event::kEventIdFieldNumber; const int packetl2c_bc_trigger_mythical_palace_event::kBossRateFieldNumber; const int packetl2c_bc_trigger_mythical_palace_event::kGoldFieldNumber; const int packetl2c_bc_trigger_mythical_palace_event::kDropPointsFieldNumber; const int packetl2c_bc_trigger_mythical_palace_event::kDropPointsExFieldNumber; #endif // !_MSC_VER packetl2c_bc_trigger_mythical_palace_event::packetl2c_bc_trigger_mythical_palace_event() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_trigger_mythical_palace_event::InitAsDefaultInstance() { } packetl2c_bc_trigger_mythical_palace_event::packetl2c_bc_trigger_mythical_palace_event(const packetl2c_bc_trigger_mythical_palace_event& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_trigger_mythical_palace_event::SharedCtor() { _cached_size_ = 0; packet_id_ = 16195; playerid_ = 0; eventid_ = 0; bossrate_ = 0; gold_ = 0; droppoints_ = 0; droppointsex_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_trigger_mythical_palace_event::~packetl2c_bc_trigger_mythical_palace_event() { SharedDtor(); } void packetl2c_bc_trigger_mythical_palace_event::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_trigger_mythical_palace_event::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mythical_palace_event::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_trigger_mythical_palace_event_descriptor_; } const packetl2c_bc_trigger_mythical_palace_event& packetl2c_bc_trigger_mythical_palace_event::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); return *default_instance_; } packetl2c_bc_trigger_mythical_palace_event* packetl2c_bc_trigger_mythical_palace_event::default_instance_ = NULL; packetl2c_bc_trigger_mythical_palace_event* packetl2c_bc_trigger_mythical_palace_event::New() const { return new packetl2c_bc_trigger_mythical_palace_event; } void packetl2c_bc_trigger_mythical_palace_event::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16195; playerid_ = 0; eventid_ = 0; bossrate_ = 0; gold_ = 0; droppoints_ = 0; droppointsex_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_trigger_mythical_palace_event::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_eventId; break; } // optional int32 eventId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_eventId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &eventid_))); set_has_eventid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_bossRate; break; } // optional int32 bossRate = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bossRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bossrate_))); set_has_bossrate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_gold; break; } // optional int32 gold = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &gold_))); set_has_gold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_dropPoints; break; } // optional int32 dropPoints = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_dropPoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &droppoints_))); set_has_droppoints(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_dropPointsEx; break; } // optional int32 dropPointsEx = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_dropPointsEx: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &droppointsex_))); set_has_droppointsex(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_trigger_mythical_palace_event::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 eventId = 3; if (has_eventid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->eventid(), output); } // optional int32 bossRate = 4; if (has_bossrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bossrate(), output); } // optional int32 gold = 5; if (has_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gold(), output); } // optional int32 dropPoints = 6; if (has_droppoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->droppoints(), output); } // optional int32 dropPointsEx = 7; if (has_droppointsex()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->droppointsex(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_trigger_mythical_palace_event::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 eventId = 3; if (has_eventid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->eventid(), target); } // optional int32 bossRate = 4; if (has_bossrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bossrate(), target); } // optional int32 gold = 5; if (has_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gold(), target); } // optional int32 dropPoints = 6; if (has_droppoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->droppoints(), target); } // optional int32 dropPointsEx = 7; if (has_droppointsex()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->droppointsex(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_trigger_mythical_palace_event::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 eventId = 3; if (has_eventid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->eventid()); } // optional int32 bossRate = 4; if (has_bossrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bossrate()); } // optional int32 gold = 5; if (has_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->gold()); } // optional int32 dropPoints = 6; if (has_droppoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->droppoints()); } // optional int32 dropPointsEx = 7; if (has_droppointsex()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->droppointsex()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_trigger_mythical_palace_event::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_trigger_mythical_palace_event* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_trigger_mythical_palace_event::MergeFrom(const packetl2c_bc_trigger_mythical_palace_event& 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_playerid()) { set_playerid(from.playerid()); } if (from.has_eventid()) { set_eventid(from.eventid()); } if (from.has_bossrate()) { set_bossrate(from.bossrate()); } if (from.has_gold()) { set_gold(from.gold()); } if (from.has_droppoints()) { set_droppoints(from.droppoints()); } if (from.has_droppointsex()) { set_droppointsex(from.droppointsex()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_trigger_mythical_palace_event::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_trigger_mythical_palace_event::CopyFrom(const packetl2c_bc_trigger_mythical_palace_event& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_trigger_mythical_palace_event::IsInitialized() const { return true; } void packetl2c_bc_trigger_mythical_palace_event::Swap(packetl2c_bc_trigger_mythical_palace_event* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(eventid_, other->eventid_); std::swap(bossrate_, other->bossrate_); std::swap(gold_, other->gold_); std::swap(droppoints_, other->droppoints_); std::swap(droppointsex_, other->droppointsex_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_trigger_mythical_palace_event::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_trigger_mythical_palace_event_descriptor_; metadata.reflection = packetl2c_bc_trigger_mythical_palace_event_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_receive_mythical_points_award::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_receive_mythical_points_award::packetc2l_receive_mythical_points_award() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_receive_mythical_points_award::InitAsDefaultInstance() { } packetc2l_receive_mythical_points_award::packetc2l_receive_mythical_points_award(const packetc2l_receive_mythical_points_award& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_receive_mythical_points_award::SharedCtor() { _cached_size_ = 0; packet_id_ = 10201; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_receive_mythical_points_award::~packetc2l_receive_mythical_points_award() { SharedDtor(); } void packetc2l_receive_mythical_points_award::SharedDtor() { if (this != default_instance_) { } } void packetc2l_receive_mythical_points_award::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_receive_mythical_points_award::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_receive_mythical_points_award_descriptor_; } const packetc2l_receive_mythical_points_award& packetc2l_receive_mythical_points_award::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); return *default_instance_; } packetc2l_receive_mythical_points_award* packetc2l_receive_mythical_points_award::default_instance_ = NULL; packetc2l_receive_mythical_points_award* packetc2l_receive_mythical_points_award::New() const { return new packetc2l_receive_mythical_points_award; } void packetc2l_receive_mythical_points_award::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10201; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_receive_mythical_points_award::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_receive_mythical_points_award::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_receive_mythical_points_award::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_receive_mythical_points_award::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_receive_mythical_points_award::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_receive_mythical_points_award* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_receive_mythical_points_award::MergeFrom(const packetc2l_receive_mythical_points_award& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_receive_mythical_points_award::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_receive_mythical_points_award::CopyFrom(const packetc2l_receive_mythical_points_award& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_receive_mythical_points_award::IsInitialized() const { return true; } void packetc2l_receive_mythical_points_award::Swap(packetc2l_receive_mythical_points_award* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_receive_mythical_points_award::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_receive_mythical_points_award_descriptor_; metadata.reflection = packetc2l_receive_mythical_points_award_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_receive_mythical_points_award_result::kPacketIdFieldNumber; const int packetl2c_receive_mythical_points_award_result::kResultFieldNumber; const int packetl2c_receive_mythical_points_award_result::kItemsFieldNumber; #endif // !_MSC_VER packetl2c_receive_mythical_points_award_result::packetl2c_receive_mythical_points_award_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_receive_mythical_points_award_result::InitAsDefaultInstance() { } packetl2c_receive_mythical_points_award_result::packetl2c_receive_mythical_points_award_result(const packetl2c_receive_mythical_points_award_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_receive_mythical_points_award_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16196; result_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_receive_mythical_points_award_result::~packetl2c_receive_mythical_points_award_result() { SharedDtor(); } void packetl2c_receive_mythical_points_award_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_receive_mythical_points_award_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_receive_mythical_points_award_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_receive_mythical_points_award_result_descriptor_; } const packetl2c_receive_mythical_points_award_result& packetl2c_receive_mythical_points_award_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto(); return *default_instance_; } packetl2c_receive_mythical_points_award_result* packetl2c_receive_mythical_points_award_result::default_instance_ = NULL; packetl2c_receive_mythical_points_award_result* packetl2c_receive_mythical_points_award_result::New() const { return new packetl2c_receive_mythical_points_award_result; } void packetl2c_receive_mythical_points_award_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16196; result_ = 0; } items_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_receive_mythical_points_award_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_items; break; } // repeated .fish_protocols.ItemInfo items = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_items: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_items())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_items; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_receive_mythical_points_award_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // repeated .fish_protocols.ItemInfo items = 3; for (int i = 0; i < this->items_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->items(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_receive_mythical_points_award_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // repeated .fish_protocols.ItemInfo items = 3; for (int i = 0; i < this->items_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->items(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_receive_mythical_points_award_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } } // repeated .fish_protocols.ItemInfo items = 3; total_size += 1 * this->items_size(); for (int i = 0; i < this->items_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->items(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_receive_mythical_points_award_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_receive_mythical_points_award_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_receive_mythical_points_award_result::MergeFrom(const packetl2c_receive_mythical_points_award_result& from) { GOOGLE_CHECK_NE(&from, this); items_.MergeFrom(from.items_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_receive_mythical_points_award_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_receive_mythical_points_award_result::CopyFrom(const packetl2c_receive_mythical_points_award_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_receive_mythical_points_award_result::IsInitialized() const { return true; } void packetl2c_receive_mythical_points_award_result::Swap(packetl2c_receive_mythical_points_award_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); items_.Swap(&other->items_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_receive_mythical_points_award_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_receive_mythical_points_award_result_descriptor_; metadata.reflection = packetl2c_receive_mythical_points_award_result_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace fish_protocols // @@protoc_insertion_point(global_scope)