// Generated by the protocol buffer compiler. DO NOT EDIT! // source: fish_type_def.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "fish_type_def.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace fish_protocols { namespace { const ::google::protobuf::Descriptor* msg_fish_init_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* msg_fish_init_reflection_ = NULL; const ::google::protobuf::Descriptor* msg_generator_init_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* msg_generator_init_reflection_ = NULL; const ::google::protobuf::Descriptor* SelfBuff_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* SelfBuff_reflection_ = NULL; const ::google::protobuf::Descriptor* FunBuff_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* FunBuff_reflection_ = NULL; const ::google::protobuf::Descriptor* msg_scene_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* msg_scene_info_reflection_ = NULL; const ::google::protobuf::Descriptor* msg_buff_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* msg_buff_info_reflection_ = NULL; const ::google::protobuf::Descriptor* msg_seat_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* msg_seat_info_reflection_ = NULL; const ::google::protobuf::Descriptor* msg_item_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* msg_item_reflection_ = NULL; const ::google::protobuf::Descriptor* msg_fish_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* msg_fish_info_reflection_ = NULL; const ::google::protobuf::Descriptor* redEnvlopeInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* redEnvlopeInfo_reflection_ = NULL; } // namespace void protobuf_AssignDesc_fish_5ftype_5fdef_2eproto() { protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "fish_type_def.proto"); GOOGLE_CHECK(file != NULL); msg_fish_init_descriptor_ = file->message_type(0); static const int msg_fish_init_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_init, id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_init, fish_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_init, life_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_init, route_param_), }; msg_fish_init_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( msg_fish_init_descriptor_, msg_fish_init::default_instance_, msg_fish_init_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_init, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_init, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(msg_fish_init)); msg_generator_init_descriptor_ = file->message_type(1); static const int msg_generator_init_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, generator_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, life_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, start_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, route_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, pos_x_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, pos_y_), }; msg_generator_init_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( msg_generator_init_descriptor_, msg_generator_init::default_instance_, msg_generator_init_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_generator_init, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(msg_generator_init)); SelfBuff_descriptor_ = file->message_type(2); static const int SelfBuff_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelfBuff, buffid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelfBuff, remaintime_), }; SelfBuff_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SelfBuff_descriptor_, SelfBuff::default_instance_, SelfBuff_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelfBuff, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelfBuff, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SelfBuff)); FunBuff_descriptor_ = file->message_type(3); static const int FunBuff_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FunBuff, buffid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FunBuff, efftype_), }; FunBuff_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( FunBuff_descriptor_, FunBuff::default_instance_, FunBuff_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FunBuff, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FunBuff, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(FunBuff)); msg_scene_info_descriptor_ = file->message_type(4); static const int msg_scene_info_offsets_[10] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, sceneid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, roomid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, seat_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, fish_infos_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, generator_infos_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, boss_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, selfbufflist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, selffunbufflist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, high_grade_jackpot_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, frozeremaintime_), }; msg_scene_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( msg_scene_info_descriptor_, msg_scene_info::default_instance_, msg_scene_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_scene_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(msg_scene_info)); msg_buff_info_descriptor_ = file->message_type(5); static const int msg_buff_info_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_buff_info, buffid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_buff_info, outtime_), }; msg_buff_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( msg_buff_info_descriptor_, msg_buff_info::default_instance_, msg_buff_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_buff_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_buff_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(msg_buff_info)); msg_seat_info_descriptor_ = file->message_type(6); static const int msg_seat_info_offsets_[20] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, seat_index_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, player_gold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, turret_rate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, turret_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, turret_lv_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, wing_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, wing_lv_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, bufflist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, headid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, frameid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, point_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, vip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, player_lv_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, player_diamond_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, player_ticket_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, dimensity_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, room_rate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, bullet_power_), }; msg_seat_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( msg_seat_info_descriptor_, msg_seat_info::default_instance_, msg_seat_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_seat_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(msg_seat_info)); msg_item_descriptor_ = file->message_type(7); static const int msg_item_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_item, item_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_item, item_count_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_item, end_time_), }; msg_item_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( msg_item_descriptor_, msg_item::default_instance_, msg_item_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_item, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_item, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(msg_item)); msg_fish_info_descriptor_ = file->message_type(8); static const int msg_fish_info_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_info, id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_info, fish_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_info, route_id_), }; msg_fish_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( msg_fish_info_descriptor_, msg_fish_info::default_instance_, msg_fish_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_fish_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(msg_fish_info)); redEnvlopeInfo_descriptor_ = file->message_type(9); static const int redEnvlopeInfo_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(redEnvlopeInfo, roomid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(redEnvlopeInfo, curgeer_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(redEnvlopeInfo, redenvelopeacc_), }; redEnvlopeInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( redEnvlopeInfo_descriptor_, redEnvlopeInfo::default_instance_, redEnvlopeInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(redEnvlopeInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(redEnvlopeInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(redEnvlopeInfo)); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_fish_5ftype_5fdef_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( msg_fish_init_descriptor_, &msg_fish_init::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( msg_generator_init_descriptor_, &msg_generator_init::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( SelfBuff_descriptor_, &SelfBuff::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( FunBuff_descriptor_, &FunBuff::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( msg_scene_info_descriptor_, &msg_scene_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( msg_buff_info_descriptor_, &msg_buff_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( msg_seat_info_descriptor_, &msg_seat_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( msg_item_descriptor_, &msg_item::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( msg_fish_info_descriptor_, &msg_fish_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( redEnvlopeInfo_descriptor_, &redEnvlopeInfo::default_instance()); } } // namespace void protobuf_ShutdownFile_fish_5ftype_5fdef_2eproto() { delete msg_fish_init::default_instance_; delete msg_fish_init_reflection_; delete msg_generator_init::default_instance_; delete msg_generator_init_reflection_; delete SelfBuff::default_instance_; delete SelfBuff_reflection_; delete FunBuff::default_instance_; delete FunBuff_reflection_; delete msg_scene_info::default_instance_; delete msg_scene_info_reflection_; delete msg_buff_info::default_instance_; delete msg_buff_info_reflection_; delete msg_seat_info::default_instance_; delete msg_seat_info_reflection_; delete msg_item::default_instance_; delete msg_item_reflection_; delete msg_fish_info::default_instance_; delete msg_fish_info_reflection_; delete redEnvlopeInfo::default_instance_; delete redEnvlopeInfo_reflection_; } void protobuf_AddDesc_fish_5ftype_5fdef_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto(); ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\023fish_type_def.proto\022\016fish_protocols\032\016f" "ish_def.proto\032\022msg_type_def.proto\"T\n\rmsg" "_fish_init\022\n\n\002id\030\001 \001(\005\022\017\n\007fish_id\030\002 \001(\005\022" "\021\n\tlife_time\030\003 \001(\002\022\023\n\013route_param\030\004 \003(\002\"" "\210\001\n\022msg_generator_init\022\024\n\014generator_id\030\001" " \001(\005\022\021\n\tlife_time\030\002 \001(\005\022\020\n\010start_id\030\003 \001(" "\005\022\023\n\010route_id\030\004 \001(\005:\0010\022\020\n\005pos_x\030\005 \001(\005:\0010" "\022\020\n\005pos_y\030\006 \001(\005:\0010\".\n\010SelfBuff\022\016\n\006buffId" "\030\001 \001(\005\022\022\n\nremainTime\030\002 \001(\005\"*\n\007FunBuff\022\016\n" "\006buffId\030\001 \001(\005\022\017\n\007effType\030\002 \001(\005\"\375\002\n\016msg_s" "cene_info\022\017\n\007sceneid\030\001 \001(\005\022\016\n\006roomid\030\002 \001" "(\005\0220\n\tseat_info\030\003 \003(\0132\035.fish_protocols.m" "sg_seat_info\0221\n\nfish_infos\030\004 \003(\0132\035.fish_" "protocols.msg_fish_init\022;\n\017generator_inf" "os\030\005 \003(\0132\".fish_protocols.msg_generator_" "init\022\021\n\tboss_time\030\006 \001(\005\022.\n\014selfBuffList\030" "\007 \003(\0132\030.fish_protocols.SelfBuff\0220\n\017selfF" "unBuffList\030\010 \003(\0132\027.fish_protocols.FunBuf" "f\022\032\n\022high_grade_jackpot\030\t \001(\003\022\027\n\017frozeRe" "mainTime\030\n \001(\005\"4\n\rmsg_buff_info\022\016\n\006buffi" "d\030\001 \001(\005\022\023\n\007outtime\030\002 \001(\005:\002-1\"\246\003\n\rmsg_sea" "t_info\022\022\n\nseat_index\030\001 \001(\005\022\021\n\tplayer_id\030" "\002 \001(\005\022\020\n\010nickname\030\003 \001(\t\022\023\n\013player_gold\030\004" " \001(\003\022\023\n\013turret_rate\030\005 \001(\005\022\021\n\tturret_id\030\006" " \001(\005\022\021\n\tturret_lv\030\007 \001(\005\022\017\n\007wing_id\030\010 \001(\005" "\022\017\n\007wing_lv\030\t \001(\005\022/\n\010bufflist\030\n \003(\0132\035.fi" "sh_protocols.msg_buff_info\022\016\n\006headid\030\013 \001" "(\005\022\017\n\007frameid\030\014 \001(\005\022\r\n\005point\030\r \001(\005\022\013\n\003vi" "p\030\016 \001(\005\022\021\n\tplayer_lv\030\017 \001(\005\022\026\n\016player_dia" "mond\030\020 \001(\005\022\025\n\rplayer_ticket\030\021 \001(\005\022\021\n\tdim" "ensity\030\022 \001(\005\022\021\n\troom_rate\030\023 \001(\005\022\024\n\014bulle" "t_power\030\024 \001(\005\"E\n\010msg_item\022\017\n\007item_id\030\001 \001" "(\005\022\022\n\nitem_count\030\002 \001(\005\022\024\n\010end_time\030\003 \001(\005" ":\002-1\">\n\rmsg_fish_info\022\n\n\002id\030\001 \001(\005\022\017\n\007fis" "h_id\030\002 \001(\005\022\020\n\010route_id\030\003 \001(\005\"I\n\016redEnvlo" "peInfo\022\016\n\006roomid\030\001 \001(\005\022\017\n\007curGeer\030\002 \001(\005\022" "\026\n\016redEnvelopeAcc\030\003 \001(\005", 1463); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "fish_type_def.proto", &protobuf_RegisterTypes); msg_fish_init::default_instance_ = new msg_fish_init(); msg_generator_init::default_instance_ = new msg_generator_init(); SelfBuff::default_instance_ = new SelfBuff(); FunBuff::default_instance_ = new FunBuff(); msg_scene_info::default_instance_ = new msg_scene_info(); msg_buff_info::default_instance_ = new msg_buff_info(); msg_seat_info::default_instance_ = new msg_seat_info(); msg_item::default_instance_ = new msg_item(); msg_fish_info::default_instance_ = new msg_fish_info(); redEnvlopeInfo::default_instance_ = new redEnvlopeInfo(); msg_fish_init::default_instance_->InitAsDefaultInstance(); msg_generator_init::default_instance_->InitAsDefaultInstance(); SelfBuff::default_instance_->InitAsDefaultInstance(); FunBuff::default_instance_->InitAsDefaultInstance(); msg_scene_info::default_instance_->InitAsDefaultInstance(); msg_buff_info::default_instance_->InitAsDefaultInstance(); msg_seat_info::default_instance_->InitAsDefaultInstance(); msg_item::default_instance_->InitAsDefaultInstance(); msg_fish_info::default_instance_->InitAsDefaultInstance(); redEnvlopeInfo::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5ftype_5fdef_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_fish_5ftype_5fdef_2eproto { StaticDescriptorInitializer_fish_5ftype_5fdef_2eproto() { protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); } } static_descriptor_initializer_fish_5ftype_5fdef_2eproto_; // =================================================================== #ifndef _MSC_VER const int msg_fish_init::kIdFieldNumber; const int msg_fish_init::kFishIdFieldNumber; const int msg_fish_init::kLifeTimeFieldNumber; const int msg_fish_init::kRouteParamFieldNumber; #endif // !_MSC_VER msg_fish_init::msg_fish_init() : ::google::protobuf::Message() { SharedCtor(); } void msg_fish_init::InitAsDefaultInstance() { } msg_fish_init::msg_fish_init(const msg_fish_init& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void msg_fish_init::SharedCtor() { _cached_size_ = 0; id_ = 0; fish_id_ = 0; life_time_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } msg_fish_init::~msg_fish_init() { SharedDtor(); } void msg_fish_init::SharedDtor() { if (this != default_instance_) { } } void msg_fish_init::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* msg_fish_init::descriptor() { protobuf_AssignDescriptorsOnce(); return msg_fish_init_descriptor_; } const msg_fish_init& msg_fish_init::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } msg_fish_init* msg_fish_init::default_instance_ = NULL; msg_fish_init* msg_fish_init::New() const { return new msg_fish_init; } void msg_fish_init::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { id_ = 0; fish_id_ = 0; life_time_ = 0; } route_param_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool msg_fish_init::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 id = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &id_))); set_has_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_fish_id; break; } // optional int32 fish_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fish_id_))); set_has_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(29)) goto parse_life_time; break; } // optional float life_time = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { parse_life_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &life_time_))); set_has_life_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(37)) goto parse_route_param; break; } // repeated float route_param = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { parse_route_param: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( 1, 37, input, this->mutable_route_param()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, this->mutable_route_param()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(37)) goto parse_route_param; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void msg_fish_init::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 id = 1; if (has_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output); } // optional int32 fish_id = 2; if (has_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fish_id(), output); } // optional float life_time = 3; if (has_life_time()) { ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->life_time(), output); } // repeated float route_param = 4; for (int i = 0; i < this->route_param_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteFloat( 4, this->route_param(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* msg_fish_init::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 id = 1; if (has_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target); } // optional int32 fish_id = 2; if (has_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fish_id(), target); } // optional float life_time = 3; if (has_life_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->life_time(), target); } // repeated float route_param = 4; for (int i = 0; i < this->route_param_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteFloatToArray(4, this->route_param(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int msg_fish_init::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 id = 1; if (has_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->id()); } // optional int32 fish_id = 2; if (has_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fish_id()); } // optional float life_time = 3; if (has_life_time()) { total_size += 1 + 4; } } // repeated float route_param = 4; { int data_size = 0; data_size = 4 * this->route_param_size(); total_size += 1 * this->route_param_size() + data_size; } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void msg_fish_init::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const msg_fish_init* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void msg_fish_init::MergeFrom(const msg_fish_init& from) { GOOGLE_CHECK_NE(&from, this); route_param_.MergeFrom(from.route_param_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_id()) { set_id(from.id()); } if (from.has_fish_id()) { set_fish_id(from.fish_id()); } if (from.has_life_time()) { set_life_time(from.life_time()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void msg_fish_init::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void msg_fish_init::CopyFrom(const msg_fish_init& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool msg_fish_init::IsInitialized() const { return true; } void msg_fish_init::Swap(msg_fish_init* other) { if (other != this) { std::swap(id_, other->id_); std::swap(fish_id_, other->fish_id_); std::swap(life_time_, other->life_time_); route_param_.Swap(&other->route_param_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata msg_fish_init::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = msg_fish_init_descriptor_; metadata.reflection = msg_fish_init_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int msg_generator_init::kGeneratorIdFieldNumber; const int msg_generator_init::kLifeTimeFieldNumber; const int msg_generator_init::kStartIdFieldNumber; const int msg_generator_init::kRouteIdFieldNumber; const int msg_generator_init::kPosXFieldNumber; const int msg_generator_init::kPosYFieldNumber; #endif // !_MSC_VER msg_generator_init::msg_generator_init() : ::google::protobuf::Message() { SharedCtor(); } void msg_generator_init::InitAsDefaultInstance() { } msg_generator_init::msg_generator_init(const msg_generator_init& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void msg_generator_init::SharedCtor() { _cached_size_ = 0; generator_id_ = 0; life_time_ = 0; start_id_ = 0; route_id_ = 0; pos_x_ = 0; pos_y_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } msg_generator_init::~msg_generator_init() { SharedDtor(); } void msg_generator_init::SharedDtor() { if (this != default_instance_) { } } void msg_generator_init::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* msg_generator_init::descriptor() { protobuf_AssignDescriptorsOnce(); return msg_generator_init_descriptor_; } const msg_generator_init& msg_generator_init::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } msg_generator_init* msg_generator_init::default_instance_ = NULL; msg_generator_init* msg_generator_init::New() const { return new msg_generator_init; } void msg_generator_init::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { generator_id_ = 0; life_time_ = 0; start_id_ = 0; route_id_ = 0; pos_x_ = 0; pos_y_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool msg_generator_init::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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 generator_id = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &generator_id_))); set_has_generator_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_life_time; break; } // optional int32 life_time = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_life_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &life_time_))); set_has_life_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_start_id; break; } // optional int32 start_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_start_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &start_id_))); set_has_start_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_route_id; break; } // optional int32 route_id = 4 [default = 0]; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_route_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &route_id_))); set_has_route_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_pos_x; break; } // optional int32 pos_x = 5 [default = 0]; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_pos_x: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &pos_x_))); set_has_pos_x(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_pos_y; break; } // optional int32 pos_y = 6 [default = 0]; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_pos_y: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &pos_y_))); set_has_pos_y(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void msg_generator_init::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 generator_id = 1; if (has_generator_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->generator_id(), output); } // optional int32 life_time = 2; if (has_life_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->life_time(), output); } // optional int32 start_id = 3; if (has_start_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->start_id(), output); } // optional int32 route_id = 4 [default = 0]; if (has_route_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->route_id(), output); } // optional int32 pos_x = 5 [default = 0]; if (has_pos_x()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->pos_x(), output); } // optional int32 pos_y = 6 [default = 0]; if (has_pos_y()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->pos_y(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* msg_generator_init::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 generator_id = 1; if (has_generator_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->generator_id(), target); } // optional int32 life_time = 2; if (has_life_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->life_time(), target); } // optional int32 start_id = 3; if (has_start_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->start_id(), target); } // optional int32 route_id = 4 [default = 0]; if (has_route_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->route_id(), target); } // optional int32 pos_x = 5 [default = 0]; if (has_pos_x()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->pos_x(), target); } // optional int32 pos_y = 6 [default = 0]; if (has_pos_y()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->pos_y(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int msg_generator_init::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 generator_id = 1; if (has_generator_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->generator_id()); } // optional int32 life_time = 2; if (has_life_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->life_time()); } // optional int32 start_id = 3; if (has_start_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->start_id()); } // optional int32 route_id = 4 [default = 0]; if (has_route_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->route_id()); } // optional int32 pos_x = 5 [default = 0]; if (has_pos_x()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->pos_x()); } // optional int32 pos_y = 6 [default = 0]; if (has_pos_y()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->pos_y()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void msg_generator_init::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const msg_generator_init* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void msg_generator_init::MergeFrom(const msg_generator_init& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_generator_id()) { set_generator_id(from.generator_id()); } if (from.has_life_time()) { set_life_time(from.life_time()); } if (from.has_start_id()) { set_start_id(from.start_id()); } if (from.has_route_id()) { set_route_id(from.route_id()); } if (from.has_pos_x()) { set_pos_x(from.pos_x()); } if (from.has_pos_y()) { set_pos_y(from.pos_y()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void msg_generator_init::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void msg_generator_init::CopyFrom(const msg_generator_init& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool msg_generator_init::IsInitialized() const { return true; } void msg_generator_init::Swap(msg_generator_init* other) { if (other != this) { std::swap(generator_id_, other->generator_id_); std::swap(life_time_, other->life_time_); std::swap(start_id_, other->start_id_); std::swap(route_id_, other->route_id_); std::swap(pos_x_, other->pos_x_); std::swap(pos_y_, other->pos_y_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata msg_generator_init::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = msg_generator_init_descriptor_; metadata.reflection = msg_generator_init_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int SelfBuff::kBuffIdFieldNumber; const int SelfBuff::kRemainTimeFieldNumber; #endif // !_MSC_VER SelfBuff::SelfBuff() : ::google::protobuf::Message() { SharedCtor(); } void SelfBuff::InitAsDefaultInstance() { } SelfBuff::SelfBuff(const SelfBuff& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void SelfBuff::SharedCtor() { _cached_size_ = 0; buffid_ = 0; remaintime_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } SelfBuff::~SelfBuff() { SharedDtor(); } void SelfBuff::SharedDtor() { if (this != default_instance_) { } } void SelfBuff::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* SelfBuff::descriptor() { protobuf_AssignDescriptorsOnce(); return SelfBuff_descriptor_; } const SelfBuff& SelfBuff::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } SelfBuff* SelfBuff::default_instance_ = NULL; SelfBuff* SelfBuff::New() const { return new SelfBuff; } void SelfBuff::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { buffid_ = 0; remaintime_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool SelfBuff::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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 buffId = 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, &buffid_))); set_has_buffid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_remainTime; break; } // optional int32 remainTime = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_remainTime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &remaintime_))); set_has_remaintime(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void SelfBuff::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 buffId = 1; if (has_buffid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->buffid(), output); } // optional int32 remainTime = 2; if (has_remaintime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->remaintime(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* SelfBuff::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 buffId = 1; if (has_buffid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->buffid(), target); } // optional int32 remainTime = 2; if (has_remaintime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->remaintime(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int SelfBuff::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 buffId = 1; if (has_buffid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->buffid()); } // optional int32 remainTime = 2; if (has_remaintime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->remaintime()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SelfBuff::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const SelfBuff* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void SelfBuff::MergeFrom(const SelfBuff& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_buffid()) { set_buffid(from.buffid()); } if (from.has_remaintime()) { set_remaintime(from.remaintime()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void SelfBuff::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void SelfBuff::CopyFrom(const SelfBuff& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool SelfBuff::IsInitialized() const { return true; } void SelfBuff::Swap(SelfBuff* other) { if (other != this) { std::swap(buffid_, other->buffid_); std::swap(remaintime_, other->remaintime_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata SelfBuff::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = SelfBuff_descriptor_; metadata.reflection = SelfBuff_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int FunBuff::kBuffIdFieldNumber; const int FunBuff::kEffTypeFieldNumber; #endif // !_MSC_VER FunBuff::FunBuff() : ::google::protobuf::Message() { SharedCtor(); } void FunBuff::InitAsDefaultInstance() { } FunBuff::FunBuff(const FunBuff& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void FunBuff::SharedCtor() { _cached_size_ = 0; buffid_ = 0; efftype_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } FunBuff::~FunBuff() { SharedDtor(); } void FunBuff::SharedDtor() { if (this != default_instance_) { } } void FunBuff::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* FunBuff::descriptor() { protobuf_AssignDescriptorsOnce(); return FunBuff_descriptor_; } const FunBuff& FunBuff::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } FunBuff* FunBuff::default_instance_ = NULL; FunBuff* FunBuff::New() const { return new FunBuff; } void FunBuff::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { buffid_ = 0; efftype_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool FunBuff::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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 buffId = 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, &buffid_))); set_has_buffid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_effType; break; } // optional int32 effType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_effType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &efftype_))); set_has_efftype(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void FunBuff::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 buffId = 1; if (has_buffid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->buffid(), output); } // optional int32 effType = 2; if (has_efftype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->efftype(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* FunBuff::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 buffId = 1; if (has_buffid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->buffid(), target); } // optional int32 effType = 2; if (has_efftype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->efftype(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int FunBuff::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 buffId = 1; if (has_buffid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->buffid()); } // optional int32 effType = 2; if (has_efftype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->efftype()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void FunBuff::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const FunBuff* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void FunBuff::MergeFrom(const FunBuff& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_buffid()) { set_buffid(from.buffid()); } if (from.has_efftype()) { set_efftype(from.efftype()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void FunBuff::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void FunBuff::CopyFrom(const FunBuff& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool FunBuff::IsInitialized() const { return true; } void FunBuff::Swap(FunBuff* other) { if (other != this) { std::swap(buffid_, other->buffid_); std::swap(efftype_, other->efftype_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata FunBuff::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = FunBuff_descriptor_; metadata.reflection = FunBuff_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int msg_scene_info::kSceneidFieldNumber; const int msg_scene_info::kRoomidFieldNumber; const int msg_scene_info::kSeatInfoFieldNumber; const int msg_scene_info::kFishInfosFieldNumber; const int msg_scene_info::kGeneratorInfosFieldNumber; const int msg_scene_info::kBossTimeFieldNumber; const int msg_scene_info::kSelfBuffListFieldNumber; const int msg_scene_info::kSelfFunBuffListFieldNumber; const int msg_scene_info::kHighGradeJackpotFieldNumber; const int msg_scene_info::kFrozeRemainTimeFieldNumber; #endif // !_MSC_VER msg_scene_info::msg_scene_info() : ::google::protobuf::Message() { SharedCtor(); } void msg_scene_info::InitAsDefaultInstance() { } msg_scene_info::msg_scene_info(const msg_scene_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void msg_scene_info::SharedCtor() { _cached_size_ = 0; sceneid_ = 0; roomid_ = 0; boss_time_ = 0; high_grade_jackpot_ = GOOGLE_LONGLONG(0); frozeremaintime_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } msg_scene_info::~msg_scene_info() { SharedDtor(); } void msg_scene_info::SharedDtor() { if (this != default_instance_) { } } void msg_scene_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* msg_scene_info::descriptor() { protobuf_AssignDescriptorsOnce(); return msg_scene_info_descriptor_; } const msg_scene_info& msg_scene_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } msg_scene_info* msg_scene_info::default_instance_ = NULL; msg_scene_info* msg_scene_info::New() const { return new msg_scene_info; } void msg_scene_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { sceneid_ = 0; roomid_ = 0; boss_time_ = 0; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { high_grade_jackpot_ = GOOGLE_LONGLONG(0); frozeremaintime_ = 0; } seat_info_.Clear(); fish_infos_.Clear(); generator_infos_.Clear(); selfbufflist_.Clear(); selffunbufflist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool msg_scene_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 sceneid = 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, &sceneid_))); set_has_sceneid(); } 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(26)) goto parse_seat_info; break; } // repeated .fish_protocols.msg_seat_info seat_info = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_seat_info: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_seat_info())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_seat_info; if (input->ExpectTag(34)) goto parse_fish_infos; break; } // repeated .fish_protocols.msg_fish_init fish_infos = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_fish_infos: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_fish_infos())); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_fish_infos; if (input->ExpectTag(42)) goto parse_generator_infos; break; } // repeated .fish_protocols.msg_generator_init generator_infos = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_generator_infos: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_generator_infos())); } else { goto handle_uninterpreted; } if (input->ExpectTag(42)) goto parse_generator_infos; if (input->ExpectTag(48)) goto parse_boss_time; break; } // optional int32 boss_time = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_boss_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &boss_time_))); set_has_boss_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(58)) goto parse_selfBuffList; break; } // repeated .fish_protocols.SelfBuff selfBuffList = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_selfBuffList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_selfbufflist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(58)) goto parse_selfBuffList; if (input->ExpectTag(66)) goto parse_selfFunBuffList; break; } // repeated .fish_protocols.FunBuff selfFunBuffList = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_selfFunBuffList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_selffunbufflist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(66)) goto parse_selfFunBuffList; if (input->ExpectTag(72)) goto parse_high_grade_jackpot; break; } // optional int64 high_grade_jackpot = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_high_grade_jackpot: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &high_grade_jackpot_))); set_has_high_grade_jackpot(); } else { goto handle_uninterpreted; } if (input->ExpectTag(80)) goto parse_frozeRemainTime; break; } // optional int32 frozeRemainTime = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_frozeRemainTime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &frozeremaintime_))); set_has_frozeremaintime(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void msg_scene_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 sceneid = 1; if (has_sceneid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->sceneid(), output); } // optional int32 roomid = 2; if (has_roomid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output); } // repeated .fish_protocols.msg_seat_info seat_info = 3; for (int i = 0; i < this->seat_info_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->seat_info(i), output); } // repeated .fish_protocols.msg_fish_init fish_infos = 4; for (int i = 0; i < this->fish_infos_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->fish_infos(i), output); } // repeated .fish_protocols.msg_generator_init generator_infos = 5; for (int i = 0; i < this->generator_infos_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, this->generator_infos(i), output); } // optional int32 boss_time = 6; if (has_boss_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->boss_time(), output); } // repeated .fish_protocols.SelfBuff selfBuffList = 7; for (int i = 0; i < this->selfbufflist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 7, this->selfbufflist(i), output); } // repeated .fish_protocols.FunBuff selfFunBuffList = 8; for (int i = 0; i < this->selffunbufflist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, this->selffunbufflist(i), output); } // optional int64 high_grade_jackpot = 9; if (has_high_grade_jackpot()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(9, this->high_grade_jackpot(), output); } // optional int32 frozeRemainTime = 10; if (has_frozeremaintime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->frozeremaintime(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* msg_scene_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 sceneid = 1; if (has_sceneid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->sceneid(), target); } // optional int32 roomid = 2; if (has_roomid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target); } // repeated .fish_protocols.msg_seat_info seat_info = 3; for (int i = 0; i < this->seat_info_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->seat_info(i), target); } // repeated .fish_protocols.msg_fish_init fish_infos = 4; for (int i = 0; i < this->fish_infos_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->fish_infos(i), target); } // repeated .fish_protocols.msg_generator_init generator_infos = 5; for (int i = 0; i < this->generator_infos_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 5, this->generator_infos(i), target); } // optional int32 boss_time = 6; if (has_boss_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->boss_time(), target); } // repeated .fish_protocols.SelfBuff selfBuffList = 7; for (int i = 0; i < this->selfbufflist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 7, this->selfbufflist(i), target); } // repeated .fish_protocols.FunBuff selfFunBuffList = 8; for (int i = 0; i < this->selffunbufflist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 8, this->selffunbufflist(i), target); } // optional int64 high_grade_jackpot = 9; if (has_high_grade_jackpot()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(9, this->high_grade_jackpot(), target); } // optional int32 frozeRemainTime = 10; if (has_frozeremaintime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->frozeremaintime(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int msg_scene_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 sceneid = 1; if (has_sceneid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->sceneid()); } // optional int32 roomid = 2; if (has_roomid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->roomid()); } // optional int32 boss_time = 6; if (has_boss_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->boss_time()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int64 high_grade_jackpot = 9; if (has_high_grade_jackpot()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->high_grade_jackpot()); } // optional int32 frozeRemainTime = 10; if (has_frozeremaintime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->frozeremaintime()); } } // repeated .fish_protocols.msg_seat_info seat_info = 3; total_size += 1 * this->seat_info_size(); for (int i = 0; i < this->seat_info_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->seat_info(i)); } // repeated .fish_protocols.msg_fish_init fish_infos = 4; total_size += 1 * this->fish_infos_size(); for (int i = 0; i < this->fish_infos_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->fish_infos(i)); } // repeated .fish_protocols.msg_generator_init generator_infos = 5; total_size += 1 * this->generator_infos_size(); for (int i = 0; i < this->generator_infos_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->generator_infos(i)); } // repeated .fish_protocols.SelfBuff selfBuffList = 7; total_size += 1 * this->selfbufflist_size(); for (int i = 0; i < this->selfbufflist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->selfbufflist(i)); } // repeated .fish_protocols.FunBuff selfFunBuffList = 8; total_size += 1 * this->selffunbufflist_size(); for (int i = 0; i < this->selffunbufflist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->selffunbufflist(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 msg_scene_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const msg_scene_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void msg_scene_info::MergeFrom(const msg_scene_info& from) { GOOGLE_CHECK_NE(&from, this); seat_info_.MergeFrom(from.seat_info_); fish_infos_.MergeFrom(from.fish_infos_); generator_infos_.MergeFrom(from.generator_infos_); selfbufflist_.MergeFrom(from.selfbufflist_); selffunbufflist_.MergeFrom(from.selffunbufflist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_sceneid()) { set_sceneid(from.sceneid()); } if (from.has_roomid()) { set_roomid(from.roomid()); } if (from.has_boss_time()) { set_boss_time(from.boss_time()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_high_grade_jackpot()) { set_high_grade_jackpot(from.high_grade_jackpot()); } if (from.has_frozeremaintime()) { set_frozeremaintime(from.frozeremaintime()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void msg_scene_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void msg_scene_info::CopyFrom(const msg_scene_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool msg_scene_info::IsInitialized() const { return true; } void msg_scene_info::Swap(msg_scene_info* other) { if (other != this) { std::swap(sceneid_, other->sceneid_); std::swap(roomid_, other->roomid_); seat_info_.Swap(&other->seat_info_); fish_infos_.Swap(&other->fish_infos_); generator_infos_.Swap(&other->generator_infos_); std::swap(boss_time_, other->boss_time_); selfbufflist_.Swap(&other->selfbufflist_); selffunbufflist_.Swap(&other->selffunbufflist_); std::swap(high_grade_jackpot_, other->high_grade_jackpot_); std::swap(frozeremaintime_, other->frozeremaintime_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata msg_scene_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = msg_scene_info_descriptor_; metadata.reflection = msg_scene_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int msg_buff_info::kBuffidFieldNumber; const int msg_buff_info::kOuttimeFieldNumber; #endif // !_MSC_VER msg_buff_info::msg_buff_info() : ::google::protobuf::Message() { SharedCtor(); } void msg_buff_info::InitAsDefaultInstance() { } msg_buff_info::msg_buff_info(const msg_buff_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void msg_buff_info::SharedCtor() { _cached_size_ = 0; buffid_ = 0; outtime_ = -1; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } msg_buff_info::~msg_buff_info() { SharedDtor(); } void msg_buff_info::SharedDtor() { if (this != default_instance_) { } } void msg_buff_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* msg_buff_info::descriptor() { protobuf_AssignDescriptorsOnce(); return msg_buff_info_descriptor_; } const msg_buff_info& msg_buff_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } msg_buff_info* msg_buff_info::default_instance_ = NULL; msg_buff_info* msg_buff_info::New() const { return new msg_buff_info; } void msg_buff_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { buffid_ = 0; outtime_ = -1; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool msg_buff_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 buffid = 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, &buffid_))); set_has_buffid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_outtime; break; } // optional int32 outtime = 2 [default = -1]; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_outtime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &outtime_))); set_has_outtime(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void msg_buff_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 buffid = 1; if (has_buffid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->buffid(), output); } // optional int32 outtime = 2 [default = -1]; if (has_outtime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->outtime(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* msg_buff_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 buffid = 1; if (has_buffid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->buffid(), target); } // optional int32 outtime = 2 [default = -1]; if (has_outtime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->outtime(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int msg_buff_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 buffid = 1; if (has_buffid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->buffid()); } // optional int32 outtime = 2 [default = -1]; if (has_outtime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->outtime()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void msg_buff_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const msg_buff_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void msg_buff_info::MergeFrom(const msg_buff_info& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_buffid()) { set_buffid(from.buffid()); } if (from.has_outtime()) { set_outtime(from.outtime()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void msg_buff_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void msg_buff_info::CopyFrom(const msg_buff_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool msg_buff_info::IsInitialized() const { return true; } void msg_buff_info::Swap(msg_buff_info* other) { if (other != this) { std::swap(buffid_, other->buffid_); std::swap(outtime_, other->outtime_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata msg_buff_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = msg_buff_info_descriptor_; metadata.reflection = msg_buff_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int msg_seat_info::kSeatIndexFieldNumber; const int msg_seat_info::kPlayerIdFieldNumber; const int msg_seat_info::kNicknameFieldNumber; const int msg_seat_info::kPlayerGoldFieldNumber; const int msg_seat_info::kTurretRateFieldNumber; const int msg_seat_info::kTurretIdFieldNumber; const int msg_seat_info::kTurretLvFieldNumber; const int msg_seat_info::kWingIdFieldNumber; const int msg_seat_info::kWingLvFieldNumber; const int msg_seat_info::kBufflistFieldNumber; const int msg_seat_info::kHeadidFieldNumber; const int msg_seat_info::kFrameidFieldNumber; const int msg_seat_info::kPointFieldNumber; const int msg_seat_info::kVipFieldNumber; const int msg_seat_info::kPlayerLvFieldNumber; const int msg_seat_info::kPlayerDiamondFieldNumber; const int msg_seat_info::kPlayerTicketFieldNumber; const int msg_seat_info::kDimensityFieldNumber; const int msg_seat_info::kRoomRateFieldNumber; const int msg_seat_info::kBulletPowerFieldNumber; #endif // !_MSC_VER msg_seat_info::msg_seat_info() : ::google::protobuf::Message() { SharedCtor(); } void msg_seat_info::InitAsDefaultInstance() { } msg_seat_info::msg_seat_info(const msg_seat_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void msg_seat_info::SharedCtor() { _cached_size_ = 0; seat_index_ = 0; player_id_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); player_gold_ = GOOGLE_LONGLONG(0); turret_rate_ = 0; turret_id_ = 0; turret_lv_ = 0; wing_id_ = 0; wing_lv_ = 0; headid_ = 0; frameid_ = 0; point_ = 0; vip_ = 0; player_lv_ = 0; player_diamond_ = 0; player_ticket_ = 0; dimensity_ = 0; room_rate_ = 0; bullet_power_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } msg_seat_info::~msg_seat_info() { SharedDtor(); } void msg_seat_info::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void msg_seat_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* msg_seat_info::descriptor() { protobuf_AssignDescriptorsOnce(); return msg_seat_info_descriptor_; } const msg_seat_info& msg_seat_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } msg_seat_info* msg_seat_info::default_instance_ = NULL; msg_seat_info* msg_seat_info::New() const { return new msg_seat_info; } void msg_seat_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { seat_index_ = 0; player_id_ = 0; if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } player_gold_ = GOOGLE_LONGLONG(0); turret_rate_ = 0; turret_id_ = 0; turret_lv_ = 0; wing_id_ = 0; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { wing_lv_ = 0; headid_ = 0; frameid_ = 0; point_ = 0; vip_ = 0; player_lv_ = 0; player_diamond_ = 0; } if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { player_ticket_ = 0; dimensity_ = 0; room_rate_ = 0; bullet_power_ = 0; } bufflist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool msg_seat_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 seat_index = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &seat_index_))); set_has_seat_index(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_nickname; break; } // optional string nickname = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_nickname: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_nickname())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::PARSE); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_player_gold; break; } // optional int64 player_gold = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &player_gold_))); set_has_player_gold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_turret_rate; break; } // optional int32 turret_rate = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turret_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turret_rate_))); set_has_turret_rate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_turret_id; break; } // optional int32 turret_id = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turret_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turret_id_))); set_has_turret_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_turret_lv; break; } // optional int32 turret_lv = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turret_lv: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turret_lv_))); set_has_turret_lv(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_wing_id; break; } // optional int32 wing_id = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_wing_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &wing_id_))); set_has_wing_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_wing_lv; break; } // optional int32 wing_lv = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_wing_lv: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &wing_lv_))); set_has_wing_lv(); } else { goto handle_uninterpreted; } if (input->ExpectTag(82)) goto parse_bufflist; break; } // repeated .fish_protocols.msg_buff_info bufflist = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_bufflist: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_bufflist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(82)) goto parse_bufflist; if (input->ExpectTag(88)) goto parse_headid; break; } // optional int32 headid = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_headid: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &headid_))); set_has_headid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(96)) goto parse_frameid; break; } // optional int32 frameid = 12; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_frameid: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &frameid_))); set_has_frameid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(104)) goto parse_point; break; } // optional int32 point = 13; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_point: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &point_))); set_has_point(); } else { goto handle_uninterpreted; } if (input->ExpectTag(112)) goto parse_vip; break; } // optional int32 vip = 14; case 14: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_vip: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &vip_))); set_has_vip(); } else { goto handle_uninterpreted; } if (input->ExpectTag(120)) goto parse_player_lv; break; } // optional int32 player_lv = 15; case 15: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_lv: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_lv_))); set_has_player_lv(); } else { goto handle_uninterpreted; } if (input->ExpectTag(128)) goto parse_player_diamond; break; } // optional int32 player_diamond = 16; case 16: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_diamond: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_diamond_))); set_has_player_diamond(); } else { goto handle_uninterpreted; } if (input->ExpectTag(136)) goto parse_player_ticket; break; } // optional int32 player_ticket = 17; case 17: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_ticket: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_ticket_))); set_has_player_ticket(); } else { goto handle_uninterpreted; } if (input->ExpectTag(144)) goto parse_dimensity; break; } // optional int32 dimensity = 18; case 18: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_dimensity: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &dimensity_))); set_has_dimensity(); } else { goto handle_uninterpreted; } if (input->ExpectTag(152)) goto parse_room_rate; break; } // optional int32 room_rate = 19; case 19: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_room_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &room_rate_))); set_has_room_rate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(160)) goto parse_bullet_power; break; } // optional int32 bullet_power = 20; case 20: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_power: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_power_))); set_has_bullet_power(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void msg_seat_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 seat_index = 1; if (has_seat_index()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->seat_index(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional string nickname = 3; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); ::google::protobuf::internal::WireFormatLite::WriteString( 3, this->nickname(), output); } // optional int64 player_gold = 4; if (has_player_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->player_gold(), output); } // optional int32 turret_rate = 5; if (has_turret_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->turret_rate(), output); } // optional int32 turret_id = 6; if (has_turret_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->turret_id(), output); } // optional int32 turret_lv = 7; if (has_turret_lv()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->turret_lv(), output); } // optional int32 wing_id = 8; if (has_wing_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->wing_id(), output); } // optional int32 wing_lv = 9; if (has_wing_lv()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->wing_lv(), output); } // repeated .fish_protocols.msg_buff_info bufflist = 10; for (int i = 0; i < this->bufflist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 10, this->bufflist(i), output); } // optional int32 headid = 11; if (has_headid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->headid(), output); } // optional int32 frameid = 12; if (has_frameid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->frameid(), output); } // optional int32 point = 13; if (has_point()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->point(), output); } // optional int32 vip = 14; if (has_vip()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->vip(), output); } // optional int32 player_lv = 15; if (has_player_lv()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->player_lv(), output); } // optional int32 player_diamond = 16; if (has_player_diamond()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->player_diamond(), output); } // optional int32 player_ticket = 17; if (has_player_ticket()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->player_ticket(), output); } // optional int32 dimensity = 18; if (has_dimensity()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(18, this->dimensity(), output); } // optional int32 room_rate = 19; if (has_room_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(19, this->room_rate(), output); } // optional int32 bullet_power = 20; if (has_bullet_power()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(20, this->bullet_power(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* msg_seat_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 seat_index = 1; if (has_seat_index()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->seat_index(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional string nickname = 3; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->nickname(), target); } // optional int64 player_gold = 4; if (has_player_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->player_gold(), target); } // optional int32 turret_rate = 5; if (has_turret_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->turret_rate(), target); } // optional int32 turret_id = 6; if (has_turret_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->turret_id(), target); } // optional int32 turret_lv = 7; if (has_turret_lv()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->turret_lv(), target); } // optional int32 wing_id = 8; if (has_wing_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->wing_id(), target); } // optional int32 wing_lv = 9; if (has_wing_lv()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->wing_lv(), target); } // repeated .fish_protocols.msg_buff_info bufflist = 10; for (int i = 0; i < this->bufflist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 10, this->bufflist(i), target); } // optional int32 headid = 11; if (has_headid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->headid(), target); } // optional int32 frameid = 12; if (has_frameid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->frameid(), target); } // optional int32 point = 13; if (has_point()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->point(), target); } // optional int32 vip = 14; if (has_vip()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->vip(), target); } // optional int32 player_lv = 15; if (has_player_lv()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->player_lv(), target); } // optional int32 player_diamond = 16; if (has_player_diamond()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->player_diamond(), target); } // optional int32 player_ticket = 17; if (has_player_ticket()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->player_ticket(), target); } // optional int32 dimensity = 18; if (has_dimensity()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(18, this->dimensity(), target); } // optional int32 room_rate = 19; if (has_room_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(19, this->room_rate(), target); } // optional int32 bullet_power = 20; if (has_bullet_power()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(20, this->bullet_power(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int msg_seat_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 seat_index = 1; if (has_seat_index()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->seat_index()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional string nickname = 3; if (has_nickname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->nickname()); } // optional int64 player_gold = 4; if (has_player_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->player_gold()); } // optional int32 turret_rate = 5; if (has_turret_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turret_rate()); } // optional int32 turret_id = 6; if (has_turret_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turret_id()); } // optional int32 turret_lv = 7; if (has_turret_lv()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turret_lv()); } // optional int32 wing_id = 8; if (has_wing_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->wing_id()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 wing_lv = 9; if (has_wing_lv()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->wing_lv()); } // optional int32 headid = 11; if (has_headid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->headid()); } // optional int32 frameid = 12; if (has_frameid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->frameid()); } // optional int32 point = 13; if (has_point()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->point()); } // optional int32 vip = 14; if (has_vip()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->vip()); } // optional int32 player_lv = 15; if (has_player_lv()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_lv()); } // optional int32 player_diamond = 16; if (has_player_diamond()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_diamond()); } } if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { // optional int32 player_ticket = 17; if (has_player_ticket()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_ticket()); } // optional int32 dimensity = 18; if (has_dimensity()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->dimensity()); } // optional int32 room_rate = 19; if (has_room_rate()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->room_rate()); } // optional int32 bullet_power = 20; if (has_bullet_power()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_power()); } } // repeated .fish_protocols.msg_buff_info bufflist = 10; total_size += 1 * this->bufflist_size(); for (int i = 0; i < this->bufflist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->bufflist(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 msg_seat_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const msg_seat_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void msg_seat_info::MergeFrom(const msg_seat_info& from) { GOOGLE_CHECK_NE(&from, this); bufflist_.MergeFrom(from.bufflist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_seat_index()) { set_seat_index(from.seat_index()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_nickname()) { set_nickname(from.nickname()); } if (from.has_player_gold()) { set_player_gold(from.player_gold()); } if (from.has_turret_rate()) { set_turret_rate(from.turret_rate()); } if (from.has_turret_id()) { set_turret_id(from.turret_id()); } if (from.has_turret_lv()) { set_turret_lv(from.turret_lv()); } if (from.has_wing_id()) { set_wing_id(from.wing_id()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_wing_lv()) { set_wing_lv(from.wing_lv()); } if (from.has_headid()) { set_headid(from.headid()); } if (from.has_frameid()) { set_frameid(from.frameid()); } if (from.has_point()) { set_point(from.point()); } if (from.has_vip()) { set_vip(from.vip()); } if (from.has_player_lv()) { set_player_lv(from.player_lv()); } if (from.has_player_diamond()) { set_player_diamond(from.player_diamond()); } } if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { if (from.has_player_ticket()) { set_player_ticket(from.player_ticket()); } if (from.has_dimensity()) { set_dimensity(from.dimensity()); } if (from.has_room_rate()) { set_room_rate(from.room_rate()); } if (from.has_bullet_power()) { set_bullet_power(from.bullet_power()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void msg_seat_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void msg_seat_info::CopyFrom(const msg_seat_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool msg_seat_info::IsInitialized() const { return true; } void msg_seat_info::Swap(msg_seat_info* other) { if (other != this) { std::swap(seat_index_, other->seat_index_); std::swap(player_id_, other->player_id_); std::swap(nickname_, other->nickname_); std::swap(player_gold_, other->player_gold_); std::swap(turret_rate_, other->turret_rate_); std::swap(turret_id_, other->turret_id_); std::swap(turret_lv_, other->turret_lv_); std::swap(wing_id_, other->wing_id_); std::swap(wing_lv_, other->wing_lv_); bufflist_.Swap(&other->bufflist_); std::swap(headid_, other->headid_); std::swap(frameid_, other->frameid_); std::swap(point_, other->point_); std::swap(vip_, other->vip_); std::swap(player_lv_, other->player_lv_); std::swap(player_diamond_, other->player_diamond_); std::swap(player_ticket_, other->player_ticket_); std::swap(dimensity_, other->dimensity_); std::swap(room_rate_, other->room_rate_); std::swap(bullet_power_, other->bullet_power_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata msg_seat_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = msg_seat_info_descriptor_; metadata.reflection = msg_seat_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int msg_item::kItemIdFieldNumber; const int msg_item::kItemCountFieldNumber; const int msg_item::kEndTimeFieldNumber; #endif // !_MSC_VER msg_item::msg_item() : ::google::protobuf::Message() { SharedCtor(); } void msg_item::InitAsDefaultInstance() { } msg_item::msg_item(const msg_item& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void msg_item::SharedCtor() { _cached_size_ = 0; item_id_ = 0; item_count_ = 0; end_time_ = -1; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } msg_item::~msg_item() { SharedDtor(); } void msg_item::SharedDtor() { if (this != default_instance_) { } } void msg_item::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* msg_item::descriptor() { protobuf_AssignDescriptorsOnce(); return msg_item_descriptor_; } const msg_item& msg_item::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } msg_item* msg_item::default_instance_ = NULL; msg_item* msg_item::New() const { return new msg_item; } void msg_item::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { item_id_ = 0; item_count_ = 0; end_time_ = -1; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool msg_item::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 item_id = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &item_id_))); set_has_item_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_item_count; break; } // optional int32 item_count = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_item_count: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &item_count_))); set_has_item_count(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_end_time; break; } // optional int32 end_time = 3 [default = -1]; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_end_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &end_time_))); set_has_end_time(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void msg_item::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 item_id = 1; if (has_item_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->item_id(), output); } // optional int32 item_count = 2; if (has_item_count()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->item_count(), output); } // optional int32 end_time = 3 [default = -1]; if (has_end_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->end_time(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* msg_item::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 item_id = 1; if (has_item_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->item_id(), target); } // optional int32 item_count = 2; if (has_item_count()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->item_count(), target); } // optional int32 end_time = 3 [default = -1]; if (has_end_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->end_time(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int msg_item::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 item_id = 1; if (has_item_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->item_id()); } // optional int32 item_count = 2; if (has_item_count()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->item_count()); } // optional int32 end_time = 3 [default = -1]; if (has_end_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->end_time()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void msg_item::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const msg_item* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void msg_item::MergeFrom(const msg_item& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_item_id()) { set_item_id(from.item_id()); } if (from.has_item_count()) { set_item_count(from.item_count()); } if (from.has_end_time()) { set_end_time(from.end_time()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void msg_item::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void msg_item::CopyFrom(const msg_item& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool msg_item::IsInitialized() const { return true; } void msg_item::Swap(msg_item* other) { if (other != this) { std::swap(item_id_, other->item_id_); std::swap(item_count_, other->item_count_); std::swap(end_time_, other->end_time_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata msg_item::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = msg_item_descriptor_; metadata.reflection = msg_item_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int msg_fish_info::kIdFieldNumber; const int msg_fish_info::kFishIdFieldNumber; const int msg_fish_info::kRouteIdFieldNumber; #endif // !_MSC_VER msg_fish_info::msg_fish_info() : ::google::protobuf::Message() { SharedCtor(); } void msg_fish_info::InitAsDefaultInstance() { } msg_fish_info::msg_fish_info(const msg_fish_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void msg_fish_info::SharedCtor() { _cached_size_ = 0; id_ = 0; fish_id_ = 0; route_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } msg_fish_info::~msg_fish_info() { SharedDtor(); } void msg_fish_info::SharedDtor() { if (this != default_instance_) { } } void msg_fish_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* msg_fish_info::descriptor() { protobuf_AssignDescriptorsOnce(); return msg_fish_info_descriptor_; } const msg_fish_info& msg_fish_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } msg_fish_info* msg_fish_info::default_instance_ = NULL; msg_fish_info* msg_fish_info::New() const { return new msg_fish_info; } void msg_fish_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { id_ = 0; fish_id_ = 0; route_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool msg_fish_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 id = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &id_))); set_has_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_fish_id; break; } // optional int32 fish_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fish_id_))); set_has_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_route_id; break; } // optional int32 route_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_route_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &route_id_))); set_has_route_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void msg_fish_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 id = 1; if (has_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output); } // optional int32 fish_id = 2; if (has_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fish_id(), output); } // optional int32 route_id = 3; if (has_route_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->route_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* msg_fish_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 id = 1; if (has_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target); } // optional int32 fish_id = 2; if (has_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fish_id(), target); } // optional int32 route_id = 3; if (has_route_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->route_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int msg_fish_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 id = 1; if (has_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->id()); } // optional int32 fish_id = 2; if (has_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fish_id()); } // optional int32 route_id = 3; if (has_route_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->route_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 msg_fish_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const msg_fish_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void msg_fish_info::MergeFrom(const msg_fish_info& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_id()) { set_id(from.id()); } if (from.has_fish_id()) { set_fish_id(from.fish_id()); } if (from.has_route_id()) { set_route_id(from.route_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void msg_fish_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void msg_fish_info::CopyFrom(const msg_fish_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool msg_fish_info::IsInitialized() const { return true; } void msg_fish_info::Swap(msg_fish_info* other) { if (other != this) { std::swap(id_, other->id_); std::swap(fish_id_, other->fish_id_); std::swap(route_id_, other->route_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 msg_fish_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = msg_fish_info_descriptor_; metadata.reflection = msg_fish_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int redEnvlopeInfo::kRoomidFieldNumber; const int redEnvlopeInfo::kCurGeerFieldNumber; const int redEnvlopeInfo::kRedEnvelopeAccFieldNumber; #endif // !_MSC_VER redEnvlopeInfo::redEnvlopeInfo() : ::google::protobuf::Message() { SharedCtor(); } void redEnvlopeInfo::InitAsDefaultInstance() { } redEnvlopeInfo::redEnvlopeInfo(const redEnvlopeInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void redEnvlopeInfo::SharedCtor() { _cached_size_ = 0; roomid_ = 0; curgeer_ = 0; redenvelopeacc_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } redEnvlopeInfo::~redEnvlopeInfo() { SharedDtor(); } void redEnvlopeInfo::SharedDtor() { if (this != default_instance_) { } } void redEnvlopeInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* redEnvlopeInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return redEnvlopeInfo_descriptor_; } const redEnvlopeInfo& redEnvlopeInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); return *default_instance_; } redEnvlopeInfo* redEnvlopeInfo::default_instance_ = NULL; redEnvlopeInfo* redEnvlopeInfo::New() const { return new redEnvlopeInfo; } void redEnvlopeInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { roomid_ = 0; curgeer_ = 0; redenvelopeacc_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool redEnvlopeInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #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_curGeer; break; } // optional int32 curGeer = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_curGeer: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &curgeer_))); set_has_curgeer(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_redEnvelopeAcc; break; } // optional int32 redEnvelopeAcc = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_redEnvelopeAcc: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &redenvelopeacc_))); set_has_redenvelopeacc(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void redEnvlopeInfo::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 curGeer = 2; if (has_curgeer()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->curgeer(), output); } // optional int32 redEnvelopeAcc = 3; if (has_redenvelopeacc()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->redenvelopeacc(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* redEnvlopeInfo::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 curGeer = 2; if (has_curgeer()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->curgeer(), target); } // optional int32 redEnvelopeAcc = 3; if (has_redenvelopeacc()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->redenvelopeacc(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int redEnvlopeInfo::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 curGeer = 2; if (has_curgeer()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->curgeer()); } // optional int32 redEnvelopeAcc = 3; if (has_redenvelopeacc()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->redenvelopeacc()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void redEnvlopeInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const redEnvlopeInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void redEnvlopeInfo::MergeFrom(const redEnvlopeInfo& 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_curgeer()) { set_curgeer(from.curgeer()); } if (from.has_redenvelopeacc()) { set_redenvelopeacc(from.redenvelopeacc()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void redEnvlopeInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void redEnvlopeInfo::CopyFrom(const redEnvlopeInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool redEnvlopeInfo::IsInitialized() const { return true; } void redEnvlopeInfo::Swap(redEnvlopeInfo* other) { if (other != this) { std::swap(roomid_, other->roomid_); std::swap(curgeer_, other->curgeer_); std::swap(redenvelopeacc_, other->redenvelopeacc_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata redEnvlopeInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = redEnvlopeInfo_descriptor_; metadata.reflection = redEnvlopeInfo_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace fish_protocols // @@protoc_insertion_point(global_scope)