// Generated by the protocol buffer compiler. DO NOT EDIT! // source: fish_bombfairyland.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "fish_bombfairyland.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace fish_protocols { namespace { const ::google::protobuf::Descriptor* packetc2l_enter_southsea_treasurehunt_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_enter_southsea_treasurehunt_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_enter_southsea_treasurehunt_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_enter_southsea_treasurehunt_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_get_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_southsea_treasurehunt_get_info_reflection_ = NULL; const ::google::protobuf::Descriptor* STRoomstate_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* STRoomstate_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_get_info_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_southsea_treasurehunt_get_info_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_enter_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_southsea_treasurehunt_enter_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_enter_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_southsea_treasurehunt_enter_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_lottery_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_southsea_treasurehunt_lottery_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_lottery_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_southsea_treasurehunt_lottery_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_get_southsea_treasurehunt_notice_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_get_southsea_treasurehunt_notice_reflection_ = NULL; const ::google::protobuf::Descriptor* MTreasureHuntNoticeInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* MTreasureHuntNoticeInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_get_southsea_treasurehunt_notice_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_get_southsea_treasurehunt_notice_result_reflection_ = NULL; } // namespace void protobuf_AssignDesc_fish_5fbombfairyland_2eproto() { protobuf_AddDesc_fish_5fbombfairyland_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "fish_bombfairyland.proto"); GOOGLE_CHECK(file != NULL); packetc2l_enter_southsea_treasurehunt_descriptor_ = file->message_type(0); static const int packetc2l_enter_southsea_treasurehunt_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_enter_southsea_treasurehunt, packet_id_), }; packetc2l_enter_southsea_treasurehunt_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_enter_southsea_treasurehunt_descriptor_, packetc2l_enter_southsea_treasurehunt::default_instance_, packetc2l_enter_southsea_treasurehunt_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_enter_southsea_treasurehunt, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_enter_southsea_treasurehunt, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_enter_southsea_treasurehunt)); packetl2c_enter_southsea_treasurehunt_result_descriptor_ = file->message_type(1); static const int packetl2c_enter_southsea_treasurehunt_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, sendcoppercount_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, result_), }; packetl2c_enter_southsea_treasurehunt_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_enter_southsea_treasurehunt_result_descriptor_, packetl2c_enter_southsea_treasurehunt_result::default_instance_, packetl2c_enter_southsea_treasurehunt_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_enter_southsea_treasurehunt_result)); packetc2l_southsea_treasurehunt_get_info_descriptor_ = file->message_type(2); static const int packetc2l_southsea_treasurehunt_get_info_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_get_info, packet_id_), }; packetc2l_southsea_treasurehunt_get_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_southsea_treasurehunt_get_info_descriptor_, packetc2l_southsea_treasurehunt_get_info::default_instance_, packetc2l_southsea_treasurehunt_get_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_get_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_get_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_southsea_treasurehunt_get_info)); STRoomstate_descriptor_ = file->message_type(3); static const int STRoomstate_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, roomid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, state_), }; STRoomstate_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( STRoomstate_descriptor_, STRoomstate::default_instance_, STRoomstate_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(STRoomstate)); packetl2c_southsea_treasurehunt_get_info_result_descriptor_ = file->message_type(4); static const int packetl2c_southsea_treasurehunt_get_info_result_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, roomlist_), }; packetl2c_southsea_treasurehunt_get_info_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_southsea_treasurehunt_get_info_result_descriptor_, packetl2c_southsea_treasurehunt_get_info_result::default_instance_, packetl2c_southsea_treasurehunt_get_info_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_southsea_treasurehunt_get_info_result)); packetc2l_southsea_treasurehunt_enter_descriptor_ = file->message_type(5); static const int packetc2l_southsea_treasurehunt_enter_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, roomid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, enterway_), }; packetc2l_southsea_treasurehunt_enter_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_southsea_treasurehunt_enter_descriptor_, packetc2l_southsea_treasurehunt_enter::default_instance_, packetc2l_southsea_treasurehunt_enter_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_southsea_treasurehunt_enter)); packetl2c_southsea_treasurehunt_enter_result_descriptor_ = file->message_type(6); static const int packetl2c_southsea_treasurehunt_enter_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, roomid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, enterway_), }; packetl2c_southsea_treasurehunt_enter_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_southsea_treasurehunt_enter_result_descriptor_, packetl2c_southsea_treasurehunt_enter_result::default_instance_, packetl2c_southsea_treasurehunt_enter_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_southsea_treasurehunt_enter_result)); packetc2l_southsea_treasurehunt_lottery_descriptor_ = file->message_type(7); static const int packetc2l_southsea_treasurehunt_lottery_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, roomid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, enterway_), }; packetc2l_southsea_treasurehunt_lottery_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_southsea_treasurehunt_lottery_descriptor_, packetc2l_southsea_treasurehunt_lottery::default_instance_, packetc2l_southsea_treasurehunt_lottery_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_southsea_treasurehunt_lottery)); packetl2c_southsea_treasurehunt_lottery_result_descriptor_ = file->message_type(8); static const int packetl2c_southsea_treasurehunt_lottery_result_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, roomid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, enterway_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, rewardid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, rewardlist_), }; packetl2c_southsea_treasurehunt_lottery_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_southsea_treasurehunt_lottery_result_descriptor_, packetl2c_southsea_treasurehunt_lottery_result::default_instance_, packetl2c_southsea_treasurehunt_lottery_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_southsea_treasurehunt_lottery_result)); packetc2l_get_southsea_treasurehunt_notice_descriptor_ = file->message_type(9); static const int packetc2l_get_southsea_treasurehunt_notice_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, lastid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, roomid_), }; packetc2l_get_southsea_treasurehunt_notice_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_get_southsea_treasurehunt_notice_descriptor_, packetc2l_get_southsea_treasurehunt_notice::default_instance_, packetc2l_get_southsea_treasurehunt_notice_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_get_southsea_treasurehunt_notice)); MTreasureHuntNoticeInfo_descriptor_ = file->message_type(10); static const int MTreasureHuntNoticeInfo_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, itemid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, count_), }; MTreasureHuntNoticeInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MTreasureHuntNoticeInfo_descriptor_, MTreasureHuntNoticeInfo::default_instance_, MTreasureHuntNoticeInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MTreasureHuntNoticeInfo)); packetl2c_get_southsea_treasurehunt_notice_result_descriptor_ = file->message_type(11); static const int packetl2c_get_southsea_treasurehunt_notice_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, lastid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, noticelist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, roomid_), }; packetl2c_get_southsea_treasurehunt_notice_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_get_southsea_treasurehunt_notice_result_descriptor_, packetl2c_get_southsea_treasurehunt_notice_result::default_instance_, packetl2c_get_southsea_treasurehunt_notice_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_get_southsea_treasurehunt_notice_result)); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_fish_5fbombfairyland_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_enter_southsea_treasurehunt_descriptor_, &packetc2l_enter_southsea_treasurehunt::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_enter_southsea_treasurehunt_result_descriptor_, &packetl2c_enter_southsea_treasurehunt_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_southsea_treasurehunt_get_info_descriptor_, &packetc2l_southsea_treasurehunt_get_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( STRoomstate_descriptor_, &STRoomstate::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_southsea_treasurehunt_get_info_result_descriptor_, &packetl2c_southsea_treasurehunt_get_info_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_southsea_treasurehunt_enter_descriptor_, &packetc2l_southsea_treasurehunt_enter::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_southsea_treasurehunt_enter_result_descriptor_, &packetl2c_southsea_treasurehunt_enter_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_southsea_treasurehunt_lottery_descriptor_, &packetc2l_southsea_treasurehunt_lottery::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_southsea_treasurehunt_lottery_result_descriptor_, &packetl2c_southsea_treasurehunt_lottery_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_get_southsea_treasurehunt_notice_descriptor_, &packetc2l_get_southsea_treasurehunt_notice::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( MTreasureHuntNoticeInfo_descriptor_, &MTreasureHuntNoticeInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_get_southsea_treasurehunt_notice_result_descriptor_, &packetl2c_get_southsea_treasurehunt_notice_result::default_instance()); } } // namespace void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto() { delete packetc2l_enter_southsea_treasurehunt::default_instance_; delete packetc2l_enter_southsea_treasurehunt_reflection_; delete packetl2c_enter_southsea_treasurehunt_result::default_instance_; delete packetl2c_enter_southsea_treasurehunt_result_reflection_; delete packetc2l_southsea_treasurehunt_get_info::default_instance_; delete packetc2l_southsea_treasurehunt_get_info_reflection_; delete STRoomstate::default_instance_; delete STRoomstate_reflection_; delete packetl2c_southsea_treasurehunt_get_info_result::default_instance_; delete packetl2c_southsea_treasurehunt_get_info_result_reflection_; delete packetc2l_southsea_treasurehunt_enter::default_instance_; delete packetc2l_southsea_treasurehunt_enter_reflection_; delete packetl2c_southsea_treasurehunt_enter_result::default_instance_; delete packetl2c_southsea_treasurehunt_enter_result_reflection_; delete packetc2l_southsea_treasurehunt_lottery::default_instance_; delete packetc2l_southsea_treasurehunt_lottery_reflection_; delete packetl2c_southsea_treasurehunt_lottery_result::default_instance_; delete packetl2c_southsea_treasurehunt_lottery_result_reflection_; delete packetc2l_get_southsea_treasurehunt_notice::default_instance_; delete packetc2l_get_southsea_treasurehunt_notice_reflection_; delete MTreasureHuntNoticeInfo::default_instance_; delete MTreasureHuntNoticeInfo_reflection_; delete packetl2c_get_southsea_treasurehunt_notice_result::default_instance_; delete packetl2c_get_southsea_treasurehunt_notice_result_reflection_; } void protobuf_AddDesc_fish_5fbombfairyland_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto(); ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\030fish_bombfairyland.proto\022\016fish_protoco" "ls\032\016fish_def.proto\032\023fish_type_def.proto\032" "\022msg_type_def.proto\"\204\001\n%packetc2l_enter_" "southsea_treasurehunt\022[\n\tpacket_id\030\001 \001(\016" "2!.fish_protocols.e_server_msg_type:%e_m" "st_c2l_enter_southsea_treasurehunt\"\273\001\n,p" "acketl2c_enter_southsea_treasurehunt_res" "ult\022b\n\tpacket_id\030\001 \001(\0162!.fish_protocols." "e_server_msg_type:,e_mst_l2c_enter_south" "sea_treasurehunt_result\022\027\n\017sendCopperCou" "nt\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\212\001\n(packetc2l_s" "outhsea_treasurehunt_get_info\022^\n\tpacket_" "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t" "ype:(e_mst_c2l_southsea_treasurehunt_get" "_info\",\n\013STRoomstate\022\016\n\006roomId\030\001 \001(\005\022\r\n\005" "state\030\002 \001(\005\"\307\001\n/packetl2c_southsea_treas" "urehunt_get_info_result\022e\n\tpacket_id\030\001 \001" "(\0162!.fish_protocols.e_server_msg_type:/e" "_mst_l2c_southsea_treasurehunt_get_info_" "result\022-\n\010roomList\030\002 \003(\0132\033.fish_protocol" "s.STRoomstate\"\246\001\n%packetc2l_southsea_tre" "asurehunt_enter\022[\n\tpacket_id\030\001 \001(\0162!.fis" "h_protocols.e_server_msg_type:%e_mst_c2l" "_southsea_treasurehunt_enter\022\016\n\006roomId\030\002" " \001(\005\022\020\n\010enterWay\030\003 \001(\005\"\304\001\n,packetl2c_sou" "thsea_treasurehunt_enter_result\022b\n\tpacke" "t_id\030\001 \001(\0162!.fish_protocols.e_server_msg" "_type:,e_mst_l2c_southsea_treasurehunt_e" "nter_result\022\016\n\006result\030\002 \001(\005\022\016\n\006roomId\030\003 " "\001(\005\022\020\n\010enterWay\030\004 \001(\005\"\252\001\n\'packetc2l_sout" "hsea_treasurehunt_lottery\022]\n\tpacket_id\030\001" " \001(\0162!.fish_protocols.e_server_msg_type:" "\'e_mst_c2l_southsea_treasurehunt_lottery" "\022\016\n\006roomId\030\002 \001(\005\022\020\n\010enterWay\030\003 \001(\005\"\210\002\n.p" "acketl2c_southsea_treasurehunt_lottery_r" "esult\022d\n\tpacket_id\030\001 \001(\0162!.fish_protocol" "s.e_server_msg_type:.e_mst_l2c_southsea_" "treasurehunt_lottery_result\022\016\n\006result\030\002 " "\001(\005\022\016\n\006roomId\030\003 \001(\005\022\020\n\010enterWay\030\004 \001(\005\022\020\n" "\010rewardId\030\005 \001(\005\022,\n\nrewardList\030\006 \003(\0132\030.fi" "sh_protocols.msg_item\"\256\001\n*packetc2l_get_" "southsea_treasurehunt_notice\022`\n\tpacket_i" "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty" "pe:*e_mst_c2l_get_southsea_treasurehunt_" "notice\022\016\n\006lastId\030\002 \001(\005\022\016\n\006roomId\030\003 \001(\005\"J" "\n\027MTreasureHuntNoticeInfo\022\020\n\010nickName\030\001 " "\001(\t\022\016\n\006itemId\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\371\001\n1p" "acketl2c_get_southsea_treasurehunt_notic" "e_result\022g\n\tpacket_id\030\001 \001(\0162!.fish_proto" "cols.e_server_msg_type:1e_mst_l2c_get_so" "uthsea_treasurehunt_notice_result\022\016\n\006las" "tId\030\002 \001(\005\022;\n\nnoticeList\030\003 \003(\0132\'.fish_pro" "tocols.MTreasureHuntNoticeInfo\022\016\n\006roomId" "\030\004 \001(\005", 2126); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "fish_bombfairyland.proto", &protobuf_RegisterTypes); packetc2l_enter_southsea_treasurehunt::default_instance_ = new packetc2l_enter_southsea_treasurehunt(); packetl2c_enter_southsea_treasurehunt_result::default_instance_ = new packetl2c_enter_southsea_treasurehunt_result(); packetc2l_southsea_treasurehunt_get_info::default_instance_ = new packetc2l_southsea_treasurehunt_get_info(); STRoomstate::default_instance_ = new STRoomstate(); packetl2c_southsea_treasurehunt_get_info_result::default_instance_ = new packetl2c_southsea_treasurehunt_get_info_result(); packetc2l_southsea_treasurehunt_enter::default_instance_ = new packetc2l_southsea_treasurehunt_enter(); packetl2c_southsea_treasurehunt_enter_result::default_instance_ = new packetl2c_southsea_treasurehunt_enter_result(); packetc2l_southsea_treasurehunt_lottery::default_instance_ = new packetc2l_southsea_treasurehunt_lottery(); packetl2c_southsea_treasurehunt_lottery_result::default_instance_ = new packetl2c_southsea_treasurehunt_lottery_result(); packetc2l_get_southsea_treasurehunt_notice::default_instance_ = new packetc2l_get_southsea_treasurehunt_notice(); MTreasureHuntNoticeInfo::default_instance_ = new MTreasureHuntNoticeInfo(); packetl2c_get_southsea_treasurehunt_notice_result::default_instance_ = new packetl2c_get_southsea_treasurehunt_notice_result(); packetc2l_enter_southsea_treasurehunt::default_instance_->InitAsDefaultInstance(); packetl2c_enter_southsea_treasurehunt_result::default_instance_->InitAsDefaultInstance(); packetc2l_southsea_treasurehunt_get_info::default_instance_->InitAsDefaultInstance(); STRoomstate::default_instance_->InitAsDefaultInstance(); packetl2c_southsea_treasurehunt_get_info_result::default_instance_->InitAsDefaultInstance(); packetc2l_southsea_treasurehunt_enter::default_instance_->InitAsDefaultInstance(); packetl2c_southsea_treasurehunt_enter_result::default_instance_->InitAsDefaultInstance(); packetc2l_southsea_treasurehunt_lottery::default_instance_->InitAsDefaultInstance(); packetl2c_southsea_treasurehunt_lottery_result::default_instance_->InitAsDefaultInstance(); packetc2l_get_southsea_treasurehunt_notice::default_instance_->InitAsDefaultInstance(); MTreasureHuntNoticeInfo::default_instance_->InitAsDefaultInstance(); packetl2c_get_southsea_treasurehunt_notice_result::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fbombfairyland_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_fish_5fbombfairyland_2eproto { StaticDescriptorInitializer_fish_5fbombfairyland_2eproto() { protobuf_AddDesc_fish_5fbombfairyland_2eproto(); } } static_descriptor_initializer_fish_5fbombfairyland_2eproto_; // =================================================================== #ifndef _MSC_VER const int packetc2l_enter_southsea_treasurehunt::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_enter_southsea_treasurehunt::packetc2l_enter_southsea_treasurehunt() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_enter_southsea_treasurehunt::InitAsDefaultInstance() { } packetc2l_enter_southsea_treasurehunt::packetc2l_enter_southsea_treasurehunt(const packetc2l_enter_southsea_treasurehunt& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_enter_southsea_treasurehunt::SharedCtor() { _cached_size_ = 0; packet_id_ = 10176; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_enter_southsea_treasurehunt::~packetc2l_enter_southsea_treasurehunt() { SharedDtor(); } void packetc2l_enter_southsea_treasurehunt::SharedDtor() { if (this != default_instance_) { } } void packetc2l_enter_southsea_treasurehunt::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_enter_southsea_treasurehunt::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_enter_southsea_treasurehunt_descriptor_; } const packetc2l_enter_southsea_treasurehunt& packetc2l_enter_southsea_treasurehunt::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetc2l_enter_southsea_treasurehunt* packetc2l_enter_southsea_treasurehunt::default_instance_ = NULL; packetc2l_enter_southsea_treasurehunt* packetc2l_enter_southsea_treasurehunt::New() const { return new packetc2l_enter_southsea_treasurehunt; } void packetc2l_enter_southsea_treasurehunt::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10176; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_enter_southsea_treasurehunt::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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_enter_southsea_treasurehunt]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::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_enter_southsea_treasurehunt::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt]; 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_enter_southsea_treasurehunt::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt]; 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_enter_southsea_treasurehunt::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_enter_southsea_treasurehunt]; 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_enter_southsea_treasurehunt::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_enter_southsea_treasurehunt* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_enter_southsea_treasurehunt::MergeFrom(const packetc2l_enter_southsea_treasurehunt& 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_enter_southsea_treasurehunt::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_enter_southsea_treasurehunt::CopyFrom(const packetc2l_enter_southsea_treasurehunt& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_enter_southsea_treasurehunt::IsInitialized() const { return true; } void packetc2l_enter_southsea_treasurehunt::Swap(packetc2l_enter_southsea_treasurehunt* 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_enter_southsea_treasurehunt::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_enter_southsea_treasurehunt_descriptor_; metadata.reflection = packetc2l_enter_southsea_treasurehunt_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_enter_southsea_treasurehunt_result::kPacketIdFieldNumber; const int packetl2c_enter_southsea_treasurehunt_result::kSendCopperCountFieldNumber; const int packetl2c_enter_southsea_treasurehunt_result::kResultFieldNumber; #endif // !_MSC_VER packetl2c_enter_southsea_treasurehunt_result::packetl2c_enter_southsea_treasurehunt_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_enter_southsea_treasurehunt_result::InitAsDefaultInstance() { } packetl2c_enter_southsea_treasurehunt_result::packetl2c_enter_southsea_treasurehunt_result(const packetl2c_enter_southsea_treasurehunt_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_enter_southsea_treasurehunt_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16169; sendcoppercount_ = 0; result_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_enter_southsea_treasurehunt_result::~packetl2c_enter_southsea_treasurehunt_result() { SharedDtor(); } void packetl2c_enter_southsea_treasurehunt_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_enter_southsea_treasurehunt_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_enter_southsea_treasurehunt_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_enter_southsea_treasurehunt_result_descriptor_; } const packetl2c_enter_southsea_treasurehunt_result& packetl2c_enter_southsea_treasurehunt_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetl2c_enter_southsea_treasurehunt_result* packetl2c_enter_southsea_treasurehunt_result::default_instance_ = NULL; packetl2c_enter_southsea_treasurehunt_result* packetl2c_enter_southsea_treasurehunt_result::New() const { return new packetl2c_enter_southsea_treasurehunt_result; } void packetl2c_enter_southsea_treasurehunt_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16169; sendcoppercount_ = 0; result_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_enter_southsea_treasurehunt_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_enter_southsea_treasurehunt_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_sendCopperCount; break; } // optional int32 sendCopperCount = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_sendCopperCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &sendcoppercount_))); set_has_sendcoppercount(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_result; break; } // optional int32 result = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_enter_southsea_treasurehunt_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 sendCopperCount = 2; if (has_sendcoppercount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendcoppercount(), output); } // optional int32 result = 3; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_enter_southsea_treasurehunt_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 sendCopperCount = 2; if (has_sendcoppercount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendcoppercount(), target); } // optional int32 result = 3; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_enter_southsea_treasurehunt_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_enter_southsea_treasurehunt_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 sendCopperCount = 2; if (has_sendcoppercount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->sendcoppercount()); } // optional int32 result = 3; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_enter_southsea_treasurehunt_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_enter_southsea_treasurehunt_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_enter_southsea_treasurehunt_result::MergeFrom(const packetl2c_enter_southsea_treasurehunt_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_sendcoppercount()) { set_sendcoppercount(from.sendcoppercount()); } if (from.has_result()) { set_result(from.result()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_enter_southsea_treasurehunt_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_enter_southsea_treasurehunt_result::CopyFrom(const packetl2c_enter_southsea_treasurehunt_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_enter_southsea_treasurehunt_result::IsInitialized() const { return true; } void packetl2c_enter_southsea_treasurehunt_result::Swap(packetl2c_enter_southsea_treasurehunt_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(sendcoppercount_, other->sendcoppercount_); std::swap(result_, other->result_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_enter_southsea_treasurehunt_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_enter_southsea_treasurehunt_result_descriptor_; metadata.reflection = packetl2c_enter_southsea_treasurehunt_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_southsea_treasurehunt_get_info::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_southsea_treasurehunt_get_info::packetc2l_southsea_treasurehunt_get_info() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_southsea_treasurehunt_get_info::InitAsDefaultInstance() { } packetc2l_southsea_treasurehunt_get_info::packetc2l_southsea_treasurehunt_get_info(const packetc2l_southsea_treasurehunt_get_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_southsea_treasurehunt_get_info::SharedCtor() { _cached_size_ = 0; packet_id_ = 10173; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_southsea_treasurehunt_get_info::~packetc2l_southsea_treasurehunt_get_info() { SharedDtor(); } void packetc2l_southsea_treasurehunt_get_info::SharedDtor() { if (this != default_instance_) { } } void packetc2l_southsea_treasurehunt_get_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_get_info::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_southsea_treasurehunt_get_info_descriptor_; } const packetc2l_southsea_treasurehunt_get_info& packetc2l_southsea_treasurehunt_get_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetc2l_southsea_treasurehunt_get_info* packetc2l_southsea_treasurehunt_get_info::default_instance_ = NULL; packetc2l_southsea_treasurehunt_get_info* packetc2l_southsea_treasurehunt_get_info::New() const { return new packetc2l_southsea_treasurehunt_get_info; } void packetc2l_southsea_treasurehunt_get_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10173; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_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_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info::MergeFrom(const packetc2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_southsea_treasurehunt_get_info::CopyFrom(const packetc2l_southsea_treasurehunt_get_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_southsea_treasurehunt_get_info::IsInitialized() const { return true; } void packetc2l_southsea_treasurehunt_get_info::Swap(packetc2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_southsea_treasurehunt_get_info_descriptor_; metadata.reflection = packetc2l_southsea_treasurehunt_get_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int STRoomstate::kRoomIdFieldNumber; const int STRoomstate::kStateFieldNumber; #endif // !_MSC_VER STRoomstate::STRoomstate() : ::google::protobuf::Message() { SharedCtor(); } void STRoomstate::InitAsDefaultInstance() { } STRoomstate::STRoomstate(const STRoomstate& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void STRoomstate::SharedCtor() { _cached_size_ = 0; roomid_ = 0; state_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } STRoomstate::~STRoomstate() { SharedDtor(); } void STRoomstate::SharedDtor() { if (this != default_instance_) { } } void STRoomstate::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* STRoomstate::descriptor() { protobuf_AssignDescriptorsOnce(); return STRoomstate_descriptor_; } const STRoomstate& STRoomstate::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } STRoomstate* STRoomstate::default_instance_ = NULL; STRoomstate* STRoomstate::New() const { return new STRoomstate; } void STRoomstate::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { roomid_ = 0; state_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool STRoomstate::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 roomId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &roomid_))); set_has_roomid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_state; break; } // optional int32 state = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_state: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &state_))); set_has_state(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void STRoomstate::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 roomId = 1; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->roomid(), output); } // optional int32 state = 2; if (has_state()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->state(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* STRoomstate::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 roomId = 1; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->roomid(), target); } // optional int32 state = 2; if (has_state()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->state(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int STRoomstate::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 roomId = 1; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } // optional int32 state = 2; if (has_state()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->state()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void STRoomstate::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const STRoomstate* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void STRoomstate::MergeFrom(const STRoomstate& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_roomid()) { set_roomid(from.roomid()); } if (from.has_state()) { set_state(from.state()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void STRoomstate::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void STRoomstate::CopyFrom(const STRoomstate& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool STRoomstate::IsInitialized() const { return true; } void STRoomstate::Swap(STRoomstate* other) { if (other != this) { std::swap(roomid_, other->roomid_); std::swap(state_, other->state_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata STRoomstate::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = STRoomstate_descriptor_; metadata.reflection = STRoomstate_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_southsea_treasurehunt_get_info_result::kPacketIdFieldNumber; const int packetl2c_southsea_treasurehunt_get_info_result::kRoomListFieldNumber; #endif // !_MSC_VER packetl2c_southsea_treasurehunt_get_info_result::packetl2c_southsea_treasurehunt_get_info_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_southsea_treasurehunt_get_info_result::InitAsDefaultInstance() { } packetl2c_southsea_treasurehunt_get_info_result::packetl2c_southsea_treasurehunt_get_info_result(const packetl2c_southsea_treasurehunt_get_info_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_southsea_treasurehunt_get_info_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16166; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_southsea_treasurehunt_get_info_result::~packetl2c_southsea_treasurehunt_get_info_result() { SharedDtor(); } void packetl2c_southsea_treasurehunt_get_info_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_southsea_treasurehunt_get_info_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_get_info_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_southsea_treasurehunt_get_info_result_descriptor_; } const packetl2c_southsea_treasurehunt_get_info_result& packetl2c_southsea_treasurehunt_get_info_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetl2c_southsea_treasurehunt_get_info_result* packetl2c_southsea_treasurehunt_get_info_result::default_instance_ = NULL; packetl2c_southsea_treasurehunt_get_info_result* packetl2c_southsea_treasurehunt_get_info_result::New() const { return new packetl2c_southsea_treasurehunt_get_info_result; } void packetl2c_southsea_treasurehunt_get_info_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16166; } roomlist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_southsea_treasurehunt_get_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_southsea_treasurehunt_get_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(18)) goto parse_roomList; break; } // repeated .fish_protocols.STRoomstate roomList = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_roomList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_roomlist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_roomList; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_southsea_treasurehunt_get_info_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // repeated .fish_protocols.STRoomstate roomList = 2; for (int i = 0; i < this->roomlist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->roomlist(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_southsea_treasurehunt_get_info_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // repeated .fish_protocols.STRoomstate roomList = 2; for (int i = 0; i < this->roomlist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->roomlist(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } // repeated .fish_protocols.STRoomstate roomList = 2; total_size += 1 * this->roomlist_size(); for (int i = 0; i < this->roomlist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->roomlist(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_southsea_treasurehunt_get_info_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info_result::MergeFrom(const packetl2c_southsea_treasurehunt_get_info_result& from) { GOOGLE_CHECK_NE(&from, this); roomlist_.MergeFrom(from.roomlist_); 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 packetl2c_southsea_treasurehunt_get_info_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_southsea_treasurehunt_get_info_result::CopyFrom(const packetl2c_southsea_treasurehunt_get_info_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_southsea_treasurehunt_get_info_result::IsInitialized() const { return true; } void packetl2c_southsea_treasurehunt_get_info_result::Swap(packetl2c_southsea_treasurehunt_get_info_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); roomlist_.Swap(&other->roomlist_); std::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_southsea_treasurehunt_get_info_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_southsea_treasurehunt_get_info_result_descriptor_; metadata.reflection = packetl2c_southsea_treasurehunt_get_info_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_southsea_treasurehunt_enter::kPacketIdFieldNumber; const int packetc2l_southsea_treasurehunt_enter::kRoomIdFieldNumber; const int packetc2l_southsea_treasurehunt_enter::kEnterWayFieldNumber; #endif // !_MSC_VER packetc2l_southsea_treasurehunt_enter::packetc2l_southsea_treasurehunt_enter() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_southsea_treasurehunt_enter::InitAsDefaultInstance() { } packetc2l_southsea_treasurehunt_enter::packetc2l_southsea_treasurehunt_enter(const packetc2l_southsea_treasurehunt_enter& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_southsea_treasurehunt_enter::SharedCtor() { _cached_size_ = 0; packet_id_ = 10174; roomid_ = 0; enterway_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_southsea_treasurehunt_enter::~packetc2l_southsea_treasurehunt_enter() { SharedDtor(); } void packetc2l_southsea_treasurehunt_enter::SharedDtor() { if (this != default_instance_) { } } void packetc2l_southsea_treasurehunt_enter::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_enter::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_southsea_treasurehunt_enter_descriptor_; } const packetc2l_southsea_treasurehunt_enter& packetc2l_southsea_treasurehunt_enter::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetc2l_southsea_treasurehunt_enter* packetc2l_southsea_treasurehunt_enter::default_instance_ = NULL; packetc2l_southsea_treasurehunt_enter* packetc2l_southsea_treasurehunt_enter::New() const { return new packetc2l_southsea_treasurehunt_enter; } void packetc2l_southsea_treasurehunt_enter::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10174; roomid_ = 0; enterway_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_southsea_treasurehunt_enter::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::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_roomId; break; } // optional int32 roomId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_roomId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &roomid_))); set_has_roomid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_enterWay; break; } // optional int32 enterWay = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_enterWay: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &enterway_))); set_has_enterway(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_southsea_treasurehunt_enter::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 roomId = 2; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output); } // optional int32 enterWay = 3; if (has_enterway()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->enterway(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_southsea_treasurehunt_enter::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 roomId = 2; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target); } // optional int32 enterWay = 3; if (has_enterway()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->enterway(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_southsea_treasurehunt_enter::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_southsea_treasurehunt_enter]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 roomId = 2; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } // optional int32 enterWay = 3; if (has_enterway()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->enterway()); } } if (!unknown_fields().empty()) { total_size += ::google::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_southsea_treasurehunt_enter::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_southsea_treasurehunt_enter* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_southsea_treasurehunt_enter::MergeFrom(const packetc2l_southsea_treasurehunt_enter& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_roomid()) { set_roomid(from.roomid()); } if (from.has_enterway()) { set_enterway(from.enterway()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_southsea_treasurehunt_enter::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_southsea_treasurehunt_enter::CopyFrom(const packetc2l_southsea_treasurehunt_enter& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_southsea_treasurehunt_enter::IsInitialized() const { return true; } void packetc2l_southsea_treasurehunt_enter::Swap(packetc2l_southsea_treasurehunt_enter* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(roomid_, other->roomid_); std::swap(enterway_, other->enterway_); std::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_southsea_treasurehunt_enter::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_southsea_treasurehunt_enter_descriptor_; metadata.reflection = packetc2l_southsea_treasurehunt_enter_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_southsea_treasurehunt_enter_result::kPacketIdFieldNumber; const int packetl2c_southsea_treasurehunt_enter_result::kResultFieldNumber; const int packetl2c_southsea_treasurehunt_enter_result::kRoomIdFieldNumber; const int packetl2c_southsea_treasurehunt_enter_result::kEnterWayFieldNumber; #endif // !_MSC_VER packetl2c_southsea_treasurehunt_enter_result::packetl2c_southsea_treasurehunt_enter_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_southsea_treasurehunt_enter_result::InitAsDefaultInstance() { } packetl2c_southsea_treasurehunt_enter_result::packetl2c_southsea_treasurehunt_enter_result(const packetl2c_southsea_treasurehunt_enter_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_southsea_treasurehunt_enter_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16167; result_ = 0; roomid_ = 0; enterway_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_southsea_treasurehunt_enter_result::~packetl2c_southsea_treasurehunt_enter_result() { SharedDtor(); } void packetl2c_southsea_treasurehunt_enter_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_southsea_treasurehunt_enter_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_enter_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_southsea_treasurehunt_enter_result_descriptor_; } const packetl2c_southsea_treasurehunt_enter_result& packetl2c_southsea_treasurehunt_enter_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetl2c_southsea_treasurehunt_enter_result* packetl2c_southsea_treasurehunt_enter_result::default_instance_ = NULL; packetl2c_southsea_treasurehunt_enter_result* packetl2c_southsea_treasurehunt_enter_result::New() const { return new packetl2c_southsea_treasurehunt_enter_result; } void packetl2c_southsea_treasurehunt_enter_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16167; result_ = 0; roomid_ = 0; enterway_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_southsea_treasurehunt_enter_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::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_roomId; break; } // optional int32 roomId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_roomId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &roomid_))); set_has_roomid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_enterWay; break; } // optional int32 enterWay = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_enterWay: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &enterway_))); set_has_enterway(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_southsea_treasurehunt_enter_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 roomId = 3; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output); } // optional int32 enterWay = 4; if (has_enterway()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->enterway(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_southsea_treasurehunt_enter_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 roomId = 3; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target); } // optional int32 enterWay = 4; if (has_enterway()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->enterway(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_southsea_treasurehunt_enter_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_southsea_treasurehunt_enter_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 roomId = 3; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } // optional int32 enterWay = 4; if (has_enterway()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->enterway()); } } if (!unknown_fields().empty()) { total_size += ::google::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_southsea_treasurehunt_enter_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_southsea_treasurehunt_enter_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_southsea_treasurehunt_enter_result::MergeFrom(const packetl2c_southsea_treasurehunt_enter_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_roomid()) { set_roomid(from.roomid()); } if (from.has_enterway()) { set_enterway(from.enterway()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_southsea_treasurehunt_enter_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_southsea_treasurehunt_enter_result::CopyFrom(const packetl2c_southsea_treasurehunt_enter_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_southsea_treasurehunt_enter_result::IsInitialized() const { return true; } void packetl2c_southsea_treasurehunt_enter_result::Swap(packetl2c_southsea_treasurehunt_enter_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(roomid_, other->roomid_); std::swap(enterway_, other->enterway_); std::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_southsea_treasurehunt_enter_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_southsea_treasurehunt_enter_result_descriptor_; metadata.reflection = packetl2c_southsea_treasurehunt_enter_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_southsea_treasurehunt_lottery::kPacketIdFieldNumber; const int packetc2l_southsea_treasurehunt_lottery::kRoomIdFieldNumber; const int packetc2l_southsea_treasurehunt_lottery::kEnterWayFieldNumber; #endif // !_MSC_VER packetc2l_southsea_treasurehunt_lottery::packetc2l_southsea_treasurehunt_lottery() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_southsea_treasurehunt_lottery::InitAsDefaultInstance() { } packetc2l_southsea_treasurehunt_lottery::packetc2l_southsea_treasurehunt_lottery(const packetc2l_southsea_treasurehunt_lottery& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_southsea_treasurehunt_lottery::SharedCtor() { _cached_size_ = 0; packet_id_ = 10172; roomid_ = 0; enterway_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_southsea_treasurehunt_lottery::~packetc2l_southsea_treasurehunt_lottery() { SharedDtor(); } void packetc2l_southsea_treasurehunt_lottery::SharedDtor() { if (this != default_instance_) { } } void packetc2l_southsea_treasurehunt_lottery::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_lottery::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_southsea_treasurehunt_lottery_descriptor_; } const packetc2l_southsea_treasurehunt_lottery& packetc2l_southsea_treasurehunt_lottery::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetc2l_southsea_treasurehunt_lottery* packetc2l_southsea_treasurehunt_lottery::default_instance_ = NULL; packetc2l_southsea_treasurehunt_lottery* packetc2l_southsea_treasurehunt_lottery::New() const { return new packetc2l_southsea_treasurehunt_lottery; } void packetc2l_southsea_treasurehunt_lottery::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10172; roomid_ = 0; enterway_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_southsea_treasurehunt_lottery::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::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_roomId; break; } // optional int32 roomId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_roomId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &roomid_))); set_has_roomid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_enterWay; break; } // optional int32 enterWay = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_enterWay: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &enterway_))); set_has_enterway(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::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_southsea_treasurehunt_lottery::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 roomId = 2; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output); } // optional int32 enterWay = 3; if (has_enterway()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->enterway(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_southsea_treasurehunt_lottery::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 roomId = 2; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target); } // optional int32 enterWay = 3; if (has_enterway()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->enterway(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_southsea_treasurehunt_lottery::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_southsea_treasurehunt_lottery]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 roomId = 2; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } // optional int32 enterWay = 3; if (has_enterway()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->enterway()); } } if (!unknown_fields().empty()) { total_size += ::google::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_southsea_treasurehunt_lottery::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_southsea_treasurehunt_lottery* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_southsea_treasurehunt_lottery::MergeFrom(const packetc2l_southsea_treasurehunt_lottery& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_roomid()) { set_roomid(from.roomid()); } if (from.has_enterway()) { set_enterway(from.enterway()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_southsea_treasurehunt_lottery::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_southsea_treasurehunt_lottery::CopyFrom(const packetc2l_southsea_treasurehunt_lottery& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_southsea_treasurehunt_lottery::IsInitialized() const { return true; } void packetc2l_southsea_treasurehunt_lottery::Swap(packetc2l_southsea_treasurehunt_lottery* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(roomid_, other->roomid_); std::swap(enterway_, other->enterway_); std::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_southsea_treasurehunt_lottery::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_southsea_treasurehunt_lottery_descriptor_; metadata.reflection = packetc2l_southsea_treasurehunt_lottery_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_southsea_treasurehunt_lottery_result::kPacketIdFieldNumber; const int packetl2c_southsea_treasurehunt_lottery_result::kResultFieldNumber; const int packetl2c_southsea_treasurehunt_lottery_result::kRoomIdFieldNumber; const int packetl2c_southsea_treasurehunt_lottery_result::kEnterWayFieldNumber; const int packetl2c_southsea_treasurehunt_lottery_result::kRewardIdFieldNumber; const int packetl2c_southsea_treasurehunt_lottery_result::kRewardListFieldNumber; #endif // !_MSC_VER packetl2c_southsea_treasurehunt_lottery_result::packetl2c_southsea_treasurehunt_lottery_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_southsea_treasurehunt_lottery_result::InitAsDefaultInstance() { } packetl2c_southsea_treasurehunt_lottery_result::packetl2c_southsea_treasurehunt_lottery_result(const packetl2c_southsea_treasurehunt_lottery_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_southsea_treasurehunt_lottery_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16165; result_ = 0; roomid_ = 0; enterway_ = 0; rewardid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_southsea_treasurehunt_lottery_result::~packetl2c_southsea_treasurehunt_lottery_result() { SharedDtor(); } void packetl2c_southsea_treasurehunt_lottery_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_southsea_treasurehunt_lottery_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_lottery_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_southsea_treasurehunt_lottery_result_descriptor_; } const packetl2c_southsea_treasurehunt_lottery_result& packetl2c_southsea_treasurehunt_lottery_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetl2c_southsea_treasurehunt_lottery_result* packetl2c_southsea_treasurehunt_lottery_result::default_instance_ = NULL; packetl2c_southsea_treasurehunt_lottery_result* packetl2c_southsea_treasurehunt_lottery_result::New() const { return new packetl2c_southsea_treasurehunt_lottery_result; } void packetl2c_southsea_treasurehunt_lottery_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16165; result_ = 0; roomid_ = 0; enterway_ = 0; rewardid_ = 0; } rewardlist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_southsea_treasurehunt_lottery_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::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_roomId; break; } // optional int32 roomId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_roomId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &roomid_))); set_has_roomid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_enterWay; break; } // optional int32 enterWay = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_enterWay: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &enterway_))); set_has_enterway(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_rewardId; break; } // optional int32 rewardId = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rewardId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rewardid_))); set_has_rewardid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(50)) goto parse_rewardList; break; } // repeated .fish_protocols.msg_item rewardList = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_rewardList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_rewardlist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(50)) goto parse_rewardList; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_southsea_treasurehunt_lottery_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 roomId = 3; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output); } // optional int32 enterWay = 4; if (has_enterway()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->enterway(), output); } // optional int32 rewardId = 5; if (has_rewardid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->rewardid(), output); } // repeated .fish_protocols.msg_item rewardList = 6; for (int i = 0; i < this->rewardlist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, this->rewardlist(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_southsea_treasurehunt_lottery_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 roomId = 3; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target); } // optional int32 enterWay = 4; if (has_enterway()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->enterway(), target); } // optional int32 rewardId = 5; if (has_rewardid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->rewardid(), target); } // repeated .fish_protocols.msg_item rewardList = 6; for (int i = 0; i < this->rewardlist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 6, this->rewardlist(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_southsea_treasurehunt_lottery_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_southsea_treasurehunt_lottery_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 roomId = 3; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } // optional int32 enterWay = 4; if (has_enterway()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->enterway()); } // optional int32 rewardId = 5; if (has_rewardid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardid()); } } // repeated .fish_protocols.msg_item rewardList = 6; total_size += 1 * this->rewardlist_size(); for (int i = 0; i < this->rewardlist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->rewardlist(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_southsea_treasurehunt_lottery_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_southsea_treasurehunt_lottery_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_southsea_treasurehunt_lottery_result::MergeFrom(const packetl2c_southsea_treasurehunt_lottery_result& from) { GOOGLE_CHECK_NE(&from, this); rewardlist_.MergeFrom(from.rewardlist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_roomid()) { set_roomid(from.roomid()); } if (from.has_enterway()) { set_enterway(from.enterway()); } if (from.has_rewardid()) { set_rewardid(from.rewardid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_southsea_treasurehunt_lottery_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_southsea_treasurehunt_lottery_result::CopyFrom(const packetl2c_southsea_treasurehunt_lottery_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_southsea_treasurehunt_lottery_result::IsInitialized() const { return true; } void packetl2c_southsea_treasurehunt_lottery_result::Swap(packetl2c_southsea_treasurehunt_lottery_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(roomid_, other->roomid_); std::swap(enterway_, other->enterway_); std::swap(rewardid_, other->rewardid_); rewardlist_.Swap(&other->rewardlist_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_southsea_treasurehunt_lottery_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_southsea_treasurehunt_lottery_result_descriptor_; metadata.reflection = packetl2c_southsea_treasurehunt_lottery_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_get_southsea_treasurehunt_notice::kPacketIdFieldNumber; const int packetc2l_get_southsea_treasurehunt_notice::kLastIdFieldNumber; const int packetc2l_get_southsea_treasurehunt_notice::kRoomIdFieldNumber; #endif // !_MSC_VER packetc2l_get_southsea_treasurehunt_notice::packetc2l_get_southsea_treasurehunt_notice() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_get_southsea_treasurehunt_notice::InitAsDefaultInstance() { } packetc2l_get_southsea_treasurehunt_notice::packetc2l_get_southsea_treasurehunt_notice(const packetc2l_get_southsea_treasurehunt_notice& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_get_southsea_treasurehunt_notice::SharedCtor() { _cached_size_ = 0; packet_id_ = 10175; lastid_ = 0; roomid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_get_southsea_treasurehunt_notice::~packetc2l_get_southsea_treasurehunt_notice() { SharedDtor(); } void packetc2l_get_southsea_treasurehunt_notice::SharedDtor() { if (this != default_instance_) { } } void packetc2l_get_southsea_treasurehunt_notice::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_get_southsea_treasurehunt_notice::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_get_southsea_treasurehunt_notice_descriptor_; } const packetc2l_get_southsea_treasurehunt_notice& packetc2l_get_southsea_treasurehunt_notice::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetc2l_get_southsea_treasurehunt_notice* packetc2l_get_southsea_treasurehunt_notice::default_instance_ = NULL; packetc2l_get_southsea_treasurehunt_notice* packetc2l_get_southsea_treasurehunt_notice::New() const { return new packetc2l_get_southsea_treasurehunt_notice; } void packetc2l_get_southsea_treasurehunt_notice::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10175; lastid_ = 0; roomid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_get_southsea_treasurehunt_notice::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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_southsea_treasurehunt_notice]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::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_lastId; break; } // optional int32 lastId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_lastId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &lastid_))); set_has_lastid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_roomId; break; } // optional int32 roomId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_roomId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &roomid_))); set_has_roomid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_get_southsea_treasurehunt_notice::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 lastId = 2; if (has_lastid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lastid(), output); } // optional int32 roomId = 3; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_get_southsea_treasurehunt_notice::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 lastId = 2; if (has_lastid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lastid(), target); } // optional int32 roomId = 3; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_get_southsea_treasurehunt_notice::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_southsea_treasurehunt_notice]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 lastId = 2; if (has_lastid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->lastid()); } // optional int32 roomId = 3; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_get_southsea_treasurehunt_notice::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_get_southsea_treasurehunt_notice* 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_southsea_treasurehunt_notice::MergeFrom(const packetc2l_get_southsea_treasurehunt_notice& 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_lastid()) { set_lastid(from.lastid()); } if (from.has_roomid()) { set_roomid(from.roomid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_get_southsea_treasurehunt_notice::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_get_southsea_treasurehunt_notice::CopyFrom(const packetc2l_get_southsea_treasurehunt_notice& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_get_southsea_treasurehunt_notice::IsInitialized() const { return true; } void packetc2l_get_southsea_treasurehunt_notice::Swap(packetc2l_get_southsea_treasurehunt_notice* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(lastid_, other->lastid_); std::swap(roomid_, other->roomid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_get_southsea_treasurehunt_notice::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_get_southsea_treasurehunt_notice_descriptor_; metadata.reflection = packetc2l_get_southsea_treasurehunt_notice_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int MTreasureHuntNoticeInfo::kNickNameFieldNumber; const int MTreasureHuntNoticeInfo::kItemIdFieldNumber; const int MTreasureHuntNoticeInfo::kCountFieldNumber; #endif // !_MSC_VER MTreasureHuntNoticeInfo::MTreasureHuntNoticeInfo() : ::google::protobuf::Message() { SharedCtor(); } void MTreasureHuntNoticeInfo::InitAsDefaultInstance() { } MTreasureHuntNoticeInfo::MTreasureHuntNoticeInfo(const MTreasureHuntNoticeInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void MTreasureHuntNoticeInfo::SharedCtor() { _cached_size_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); itemid_ = 0; count_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } MTreasureHuntNoticeInfo::~MTreasureHuntNoticeInfo() { SharedDtor(); } void MTreasureHuntNoticeInfo::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void MTreasureHuntNoticeInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* MTreasureHuntNoticeInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return MTreasureHuntNoticeInfo_descriptor_; } const MTreasureHuntNoticeInfo& MTreasureHuntNoticeInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } MTreasureHuntNoticeInfo* MTreasureHuntNoticeInfo::default_instance_ = NULL; MTreasureHuntNoticeInfo* MTreasureHuntNoticeInfo::New() const { return new MTreasureHuntNoticeInfo; } void MTreasureHuntNoticeInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } itemid_ = 0; count_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool MTreasureHuntNoticeInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional string nickName = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_nickname())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::PARSE); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_itemId; break; } // optional int32 itemId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_itemId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &itemid_))); set_has_itemid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_count; break; } // optional int32 count = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_count: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &count_))); set_has_count(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void MTreasureHuntNoticeInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional string nickName = 1; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); ::google::protobuf::internal::WireFormatLite::WriteString( 1, this->nickname(), output); } // optional int32 itemId = 2; if (has_itemid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemid(), output); } // optional int32 count = 3; if (has_count()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* MTreasureHuntNoticeInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional string nickName = 1; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->nickname(), target); } // optional int32 itemId = 2; if (has_itemid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemid(), target); } // optional int32 count = 3; if (has_count()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int MTreasureHuntNoticeInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional string nickName = 1; if (has_nickname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->nickname()); } // optional int32 itemId = 2; if (has_itemid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->itemid()); } // optional int32 count = 3; if (has_count()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->count()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void MTreasureHuntNoticeInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const MTreasureHuntNoticeInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void MTreasureHuntNoticeInfo::MergeFrom(const MTreasureHuntNoticeInfo& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_nickname()) { set_nickname(from.nickname()); } if (from.has_itemid()) { set_itemid(from.itemid()); } if (from.has_count()) { set_count(from.count()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void MTreasureHuntNoticeInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void MTreasureHuntNoticeInfo::CopyFrom(const MTreasureHuntNoticeInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool MTreasureHuntNoticeInfo::IsInitialized() const { return true; } void MTreasureHuntNoticeInfo::Swap(MTreasureHuntNoticeInfo* other) { if (other != this) { std::swap(nickname_, other->nickname_); std::swap(itemid_, other->itemid_); std::swap(count_, other->count_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata MTreasureHuntNoticeInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = MTreasureHuntNoticeInfo_descriptor_; metadata.reflection = MTreasureHuntNoticeInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_get_southsea_treasurehunt_notice_result::kPacketIdFieldNumber; const int packetl2c_get_southsea_treasurehunt_notice_result::kLastIdFieldNumber; const int packetl2c_get_southsea_treasurehunt_notice_result::kNoticeListFieldNumber; const int packetl2c_get_southsea_treasurehunt_notice_result::kRoomIdFieldNumber; #endif // !_MSC_VER packetl2c_get_southsea_treasurehunt_notice_result::packetl2c_get_southsea_treasurehunt_notice_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_get_southsea_treasurehunt_notice_result::InitAsDefaultInstance() { } packetl2c_get_southsea_treasurehunt_notice_result::packetl2c_get_southsea_treasurehunt_notice_result(const packetl2c_get_southsea_treasurehunt_notice_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_get_southsea_treasurehunt_notice_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16168; lastid_ = 0; roomid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_get_southsea_treasurehunt_notice_result::~packetl2c_get_southsea_treasurehunt_notice_result() { SharedDtor(); } void packetl2c_get_southsea_treasurehunt_notice_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_get_southsea_treasurehunt_notice_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_get_southsea_treasurehunt_notice_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_get_southsea_treasurehunt_notice_result_descriptor_; } const packetl2c_get_southsea_treasurehunt_notice_result& packetl2c_get_southsea_treasurehunt_notice_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto(); return *default_instance_; } packetl2c_get_southsea_treasurehunt_notice_result* packetl2c_get_southsea_treasurehunt_notice_result::default_instance_ = NULL; packetl2c_get_southsea_treasurehunt_notice_result* packetl2c_get_southsea_treasurehunt_notice_result::New() const { return new packetl2c_get_southsea_treasurehunt_notice_result; } void packetl2c_get_southsea_treasurehunt_notice_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16168; lastid_ = 0; roomid_ = 0; } noticelist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_get_southsea_treasurehunt_notice_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_southsea_treasurehunt_notice_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_lastId; break; } // optional int32 lastId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_lastId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &lastid_))); set_has_lastid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_noticeList; break; } // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_noticeList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_noticelist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_noticeList; if (input->ExpectTag(32)) goto parse_roomId; break; } // optional int32 roomId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_roomId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &roomid_))); set_has_roomid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_get_southsea_treasurehunt_notice_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 lastId = 2; if (has_lastid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lastid(), output); } // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3; for (int i = 0; i < this->noticelist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->noticelist(i), output); } // optional int32 roomId = 4; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->roomid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_get_southsea_treasurehunt_notice_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 lastId = 2; if (has_lastid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lastid(), target); } // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3; for (int i = 0; i < this->noticelist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->noticelist(i), target); } // optional int32 roomId = 4; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->roomid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_get_southsea_treasurehunt_notice_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_southsea_treasurehunt_notice_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 lastId = 2; if (has_lastid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->lastid()); } // optional int32 roomId = 4; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } } // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3; total_size += 1 * this->noticelist_size(); for (int i = 0; i < this->noticelist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->noticelist(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_get_southsea_treasurehunt_notice_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_get_southsea_treasurehunt_notice_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_southsea_treasurehunt_notice_result::MergeFrom(const packetl2c_get_southsea_treasurehunt_notice_result& from) { GOOGLE_CHECK_NE(&from, this); noticelist_.MergeFrom(from.noticelist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_lastid()) { set_lastid(from.lastid()); } if (from.has_roomid()) { set_roomid(from.roomid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_get_southsea_treasurehunt_notice_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_get_southsea_treasurehunt_notice_result::CopyFrom(const packetl2c_get_southsea_treasurehunt_notice_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_get_southsea_treasurehunt_notice_result::IsInitialized() const { return true; } void packetl2c_get_southsea_treasurehunt_notice_result::Swap(packetl2c_get_southsea_treasurehunt_notice_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(lastid_, other->lastid_); noticelist_.Swap(&other->noticelist_); std::swap(roomid_, other->roomid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_get_southsea_treasurehunt_notice_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_get_southsea_treasurehunt_notice_result_descriptor_; metadata.reflection = packetl2c_get_southsea_treasurehunt_notice_result_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace fish_protocols // @@protoc_insertion_point(global_scope)