// Generated by the protocol buffer compiler. DO NOT EDIT! // source: client2world_activity.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "client2world_activity.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace client2world_protocols { namespace { const ::google::protobuf::Descriptor* packetc2w_req_activity_state_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_req_activity_state_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_req_activity_state_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_req_activity_state_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_receive_cdkey_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_receive_cdkey_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_receive_cdkey_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_receive_cdkey_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_sync_activity_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_sync_activity_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_get_grow_fund_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_get_grow_fund_info_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_get_grow_fund_info_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_get_grow_fund_info_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_receive_grow_fund_reward_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_receive_grow_fund_reward_reflection_ = NULL; const ::google::protobuf::Descriptor* packetw2c_receive_grow_fund_reward_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetw2c_receive_grow_fund_reward_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2w_grow_fund_record_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2w_grow_fund_record_reflection_ = NULL; } // namespace void protobuf_AssignDesc_client2world_5factivity_2eproto() { protobuf_AddDesc_client2world_5factivity_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "client2world_activity.proto"); GOOGLE_CHECK(file != NULL); packetc2w_req_activity_state_descriptor_ = file->message_type(0); static const int packetc2w_req_activity_state_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_activity_state, packet_id_), }; packetc2w_req_activity_state_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_req_activity_state_descriptor_, packetc2w_req_activity_state::default_instance_, packetc2w_req_activity_state_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_activity_state, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_activity_state, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_req_activity_state)); packetw2c_req_activity_state_result_descriptor_ = file->message_type(1); static const int packetw2c_req_activity_state_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, receiveinfo_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, activitycurrecharge_), }; packetw2c_req_activity_state_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_req_activity_state_result_descriptor_, packetw2c_req_activity_state_result::default_instance_, packetw2c_req_activity_state_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_req_activity_state_result)); packetc2w_receive_cdkey_descriptor_ = file->message_type(2); static const int packetc2w_receive_cdkey_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, cdkey_), }; packetc2w_receive_cdkey_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_receive_cdkey_descriptor_, packetc2w_receive_cdkey::default_instance_, packetc2w_receive_cdkey_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_receive_cdkey)); packetw2c_receive_cdkey_result_descriptor_ = file->message_type(3); static const int packetw2c_receive_cdkey_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, giftid_), }; packetw2c_receive_cdkey_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_receive_cdkey_result_descriptor_, packetw2c_receive_cdkey_result::default_instance_, packetw2c_receive_cdkey_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_receive_cdkey_result)); packetw2c_sync_activity_result_descriptor_ = file->message_type(4); static const int packetw2c_sync_activity_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, active_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, hasgetactivebox_), }; packetw2c_sync_activity_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_sync_activity_result_descriptor_, packetw2c_sync_activity_result::default_instance_, packetw2c_sync_activity_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_sync_activity_result)); packetc2w_get_grow_fund_info_descriptor_ = file->message_type(5); static const int packetc2w_get_grow_fund_info_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_grow_fund_info, packet_id_), }; packetc2w_get_grow_fund_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_get_grow_fund_info_descriptor_, packetc2w_get_grow_fund_info::default_instance_, packetc2w_get_grow_fund_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_grow_fund_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_grow_fund_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_get_grow_fund_info)); packetw2c_get_grow_fund_info_result_descriptor_ = file->message_type(6); static const int packetw2c_get_grow_fund_info_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, isreceived_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, rechared_), }; packetw2c_get_grow_fund_info_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_get_grow_fund_info_result_descriptor_, packetw2c_get_grow_fund_info_result::default_instance_, packetw2c_get_grow_fund_info_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_get_grow_fund_info_result)); packetc2w_receive_grow_fund_reward_descriptor_ = file->message_type(7); static const int packetc2w_receive_grow_fund_reward_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, rewardid_), }; packetc2w_receive_grow_fund_reward_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_receive_grow_fund_reward_descriptor_, packetc2w_receive_grow_fund_reward::default_instance_, packetc2w_receive_grow_fund_reward_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_receive_grow_fund_reward)); packetw2c_receive_grow_fund_reward_result_descriptor_ = file->message_type(8); static const int packetw2c_receive_grow_fund_reward_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, rewardid_), }; packetw2c_receive_grow_fund_reward_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetw2c_receive_grow_fund_reward_result_descriptor_, packetw2c_receive_grow_fund_reward_result::default_instance_, packetw2c_receive_grow_fund_reward_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetw2c_receive_grow_fund_reward_result)); packetc2w_grow_fund_record_descriptor_ = file->message_type(9); static const int packetc2w_grow_fund_record_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_grow_fund_record, packet_id_), }; packetc2w_grow_fund_record_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2w_grow_fund_record_descriptor_, packetc2w_grow_fund_record::default_instance_, packetc2w_grow_fund_record_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_grow_fund_record, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_grow_fund_record, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2w_grow_fund_record)); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_client2world_5factivity_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_req_activity_state_descriptor_, &packetc2w_req_activity_state::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_req_activity_state_result_descriptor_, &packetw2c_req_activity_state_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_receive_cdkey_descriptor_, &packetc2w_receive_cdkey::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_receive_cdkey_result_descriptor_, &packetw2c_receive_cdkey_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_sync_activity_result_descriptor_, &packetw2c_sync_activity_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_get_grow_fund_info_descriptor_, &packetc2w_get_grow_fund_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_get_grow_fund_info_result_descriptor_, &packetw2c_get_grow_fund_info_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_receive_grow_fund_reward_descriptor_, &packetc2w_receive_grow_fund_reward::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetw2c_receive_grow_fund_reward_result_descriptor_, &packetw2c_receive_grow_fund_reward_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2w_grow_fund_record_descriptor_, &packetc2w_grow_fund_record::default_instance()); } } // namespace void protobuf_ShutdownFile_client2world_5factivity_2eproto() { delete packetc2w_req_activity_state::default_instance_; delete packetc2w_req_activity_state_reflection_; delete packetw2c_req_activity_state_result::default_instance_; delete packetw2c_req_activity_state_result_reflection_; delete packetc2w_receive_cdkey::default_instance_; delete packetc2w_receive_cdkey_reflection_; delete packetw2c_receive_cdkey_result::default_instance_; delete packetw2c_receive_cdkey_result_reflection_; delete packetw2c_sync_activity_result::default_instance_; delete packetw2c_sync_activity_result_reflection_; delete packetc2w_get_grow_fund_info::default_instance_; delete packetc2w_get_grow_fund_info_reflection_; delete packetw2c_get_grow_fund_info_result::default_instance_; delete packetw2c_get_grow_fund_info_result_reflection_; delete packetc2w_receive_grow_fund_reward::default_instance_; delete packetc2w_receive_grow_fund_reward_reflection_; delete packetw2c_receive_grow_fund_reward_result::default_instance_; delete packetw2c_receive_grow_fund_reward_result_reflection_; delete packetc2w_grow_fund_record::default_instance_; delete packetc2w_grow_fund_record_reflection_; } void protobuf_AddDesc_client2world_5factivity_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::client2world_protocols::protobuf_AddDesc_client2world_5fmsg_5ftype_2eproto(); ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto(); ::msg_info_def::protobuf_AddDesc_msg_5finfo_5fdef_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\033client2world_activity.proto\022\026client2wo" "rld_protocols\032\033client2world_msg_type.pro" "to\032\022msg_type_def.proto\032\022msg_info_def.pro" "to\"z\n\034packetc2w_req_activity_state\022Z\n\tpa" "cket_id\030\001 \001(\0162).client2world_protocols.e" "_server_msg_type:\034e_mst_c2w_req_activity" "_state\"\335\001\n#packetw2c_req_activity_state_" "result\022a\n\tpacket_id\030\001 \001(\0162).client2world" "_protocols.e_server_msg_type:#e_mst_w2c_" "req_activity_state_result\0226\n\013receiveInfo" "\030\002 \003(\0132!.msg_info_def.ActivityReceiveInf" "o\022\033\n\023activityCurRecharge\030\003 \001(\005\"\177\n\027packet" "c2w_receive_cdkey\022U\n\tpacket_id\030\001 \001(\0162).c" "lient2world_protocols.e_server_msg_type:" "\027e_mst_c2w_receive_cdkey\022\r\n\005cdkey\030\002 \001(\t\"" "\236\001\n\036packetw2c_receive_cdkey_result\022\\\n\tpa" "cket_id\030\001 \001(\0162).client2world_protocols.e" "_server_msg_type:\036e_mst_w2c_receive_cdke" "y_result\022\016\n\006result\030\002 \001(\005\022\016\n\006giftId\030\003 \001(\005" "\"\247\001\n\036packetw2c_sync_activity_result\022\\\n\tp" "acket_id\030\001 \001(\0162).client2world_protocols." "e_server_msg_type:\036e_mst_w2c_sync_activi" "ty_result\022\016\n\006active\030\002 \001(\005\022\027\n\017hasGetActiv" "eBox\030\003 \003(\005\"z\n\034packetc2w_get_grow_fund_in" "fo\022Z\n\tpacket_id\030\001 \001(\0162).client2world_pro" "tocols.e_server_msg_type:\034e_mst_c2w_get_" "grow_fund_info\"\256\001\n#packetw2c_get_grow_fu" "nd_info_result\022a\n\tpacket_id\030\001 \001(\0162).clie" "nt2world_protocols.e_server_msg_type:#e_" "mst_w2c_get_grow_fund_info_result\022\022\n\nisR" "eceived\030\002 \003(\010\022\020\n\010rechared\030\003 \001(\005\"\230\001\n\"pack" "etc2w_receive_grow_fund_reward\022`\n\tpacket" "_id\030\001 \001(\0162).client2world_protocols.e_ser" "ver_msg_type:\"e_mst_c2w_receive_grow_fun" "d_reward\022\020\n\010rewardid\030\002 \001(\005\"\266\001\n)packetw2c" "_receive_grow_fund_reward_result\022g\n\tpack" "et_id\030\001 \001(\0162).client2world_protocols.e_s" "erver_msg_type:)e_mst_w2c_receive_grow_f" "und_reward_result\022\016\n\006result\030\002 \001(\005\022\020\n\010rew" "ardid\030\003 \001(\005\"v\n\032packetc2w_grow_fund_recor" "d\022X\n\tpacket_id\030\001 \001(\0162).client2world_prot" "ocols.e_server_msg_type:\032e_mst_c2w_grow_" "fund_record", 1691); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "client2world_activity.proto", &protobuf_RegisterTypes); packetc2w_req_activity_state::default_instance_ = new packetc2w_req_activity_state(); packetw2c_req_activity_state_result::default_instance_ = new packetw2c_req_activity_state_result(); packetc2w_receive_cdkey::default_instance_ = new packetc2w_receive_cdkey(); packetw2c_receive_cdkey_result::default_instance_ = new packetw2c_receive_cdkey_result(); packetw2c_sync_activity_result::default_instance_ = new packetw2c_sync_activity_result(); packetc2w_get_grow_fund_info::default_instance_ = new packetc2w_get_grow_fund_info(); packetw2c_get_grow_fund_info_result::default_instance_ = new packetw2c_get_grow_fund_info_result(); packetc2w_receive_grow_fund_reward::default_instance_ = new packetc2w_receive_grow_fund_reward(); packetw2c_receive_grow_fund_reward_result::default_instance_ = new packetw2c_receive_grow_fund_reward_result(); packetc2w_grow_fund_record::default_instance_ = new packetc2w_grow_fund_record(); packetc2w_req_activity_state::default_instance_->InitAsDefaultInstance(); packetw2c_req_activity_state_result::default_instance_->InitAsDefaultInstance(); packetc2w_receive_cdkey::default_instance_->InitAsDefaultInstance(); packetw2c_receive_cdkey_result::default_instance_->InitAsDefaultInstance(); packetw2c_sync_activity_result::default_instance_->InitAsDefaultInstance(); packetc2w_get_grow_fund_info::default_instance_->InitAsDefaultInstance(); packetw2c_get_grow_fund_info_result::default_instance_->InitAsDefaultInstance(); packetc2w_receive_grow_fund_reward::default_instance_->InitAsDefaultInstance(); packetw2c_receive_grow_fund_reward_result::default_instance_->InitAsDefaultInstance(); packetc2w_grow_fund_record::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5factivity_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_client2world_5factivity_2eproto { StaticDescriptorInitializer_client2world_5factivity_2eproto() { protobuf_AddDesc_client2world_5factivity_2eproto(); } } static_descriptor_initializer_client2world_5factivity_2eproto_; // =================================================================== #ifndef _MSC_VER const int packetc2w_req_activity_state::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2w_req_activity_state::packetc2w_req_activity_state() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_req_activity_state::InitAsDefaultInstance() { } packetc2w_req_activity_state::packetc2w_req_activity_state(const packetc2w_req_activity_state& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_req_activity_state::SharedCtor() { _cached_size_ = 0; packet_id_ = 5076; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_req_activity_state::~packetc2w_req_activity_state() { SharedDtor(); } void packetc2w_req_activity_state::SharedDtor() { if (this != default_instance_) { } } void packetc2w_req_activity_state::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_req_activity_state::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_req_activity_state_descriptor_; } const packetc2w_req_activity_state& packetc2w_req_activity_state::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetc2w_req_activity_state* packetc2w_req_activity_state::default_instance_ = NULL; packetc2w_req_activity_state* packetc2w_req_activity_state::New() const { return new packetc2w_req_activity_state; } void packetc2w_req_activity_state::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5076; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_req_activity_state::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2w_req_activity_state::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_req_activity_state::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_req_activity_state::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2w_req_activity_state::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_req_activity_state* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_req_activity_state::MergeFrom(const packetc2w_req_activity_state& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_req_activity_state::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_req_activity_state::CopyFrom(const packetc2w_req_activity_state& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_req_activity_state::IsInitialized() const { return true; } void packetc2w_req_activity_state::Swap(packetc2w_req_activity_state* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2w_req_activity_state::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_req_activity_state_descriptor_; metadata.reflection = packetc2w_req_activity_state_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_req_activity_state_result::kPacketIdFieldNumber; const int packetw2c_req_activity_state_result::kReceiveInfoFieldNumber; const int packetw2c_req_activity_state_result::kActivityCurRechargeFieldNumber; #endif // !_MSC_VER packetw2c_req_activity_state_result::packetw2c_req_activity_state_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_req_activity_state_result::InitAsDefaultInstance() { } packetw2c_req_activity_state_result::packetw2c_req_activity_state_result(const packetw2c_req_activity_state_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_req_activity_state_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7580; activitycurrecharge_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_req_activity_state_result::~packetw2c_req_activity_state_result() { SharedDtor(); } void packetw2c_req_activity_state_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_req_activity_state_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_req_activity_state_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_req_activity_state_result_descriptor_; } const packetw2c_req_activity_state_result& packetw2c_req_activity_state_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetw2c_req_activity_state_result* packetw2c_req_activity_state_result::default_instance_ = NULL; packetw2c_req_activity_state_result* packetw2c_req_activity_state_result::New() const { return new packetw2c_req_activity_state_result; } void packetw2c_req_activity_state_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7580; activitycurrecharge_ = 0; } receiveinfo_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_req_activity_state_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_receiveInfo; break; } // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_receiveInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_receiveinfo())); } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_receiveInfo; if (input->ExpectTag(24)) goto parse_activityCurRecharge; break; } // optional int32 activityCurRecharge = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_activityCurRecharge: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &activitycurrecharge_))); set_has_activitycurrecharge(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetw2c_req_activity_state_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2; for (int i = 0; i < this->receiveinfo_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->receiveinfo(i), output); } // optional int32 activityCurRecharge = 3; if (has_activitycurrecharge()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->activitycurrecharge(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_req_activity_state_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2; for (int i = 0; i < this->receiveinfo_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->receiveinfo(i), target); } // optional int32 activityCurRecharge = 3; if (has_activitycurrecharge()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->activitycurrecharge(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_req_activity_state_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 activityCurRecharge = 3; if (has_activitycurrecharge()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->activitycurrecharge()); } } // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2; total_size += 1 * this->receiveinfo_size(); for (int i = 0; i < this->receiveinfo_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->receiveinfo(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetw2c_req_activity_state_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_req_activity_state_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_req_activity_state_result::MergeFrom(const packetw2c_req_activity_state_result& from) { GOOGLE_CHECK_NE(&from, this); receiveinfo_.MergeFrom(from.receiveinfo_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_activitycurrecharge()) { set_activitycurrecharge(from.activitycurrecharge()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_req_activity_state_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_req_activity_state_result::CopyFrom(const packetw2c_req_activity_state_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_req_activity_state_result::IsInitialized() const { return true; } void packetw2c_req_activity_state_result::Swap(packetw2c_req_activity_state_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); receiveinfo_.Swap(&other->receiveinfo_); std::swap(activitycurrecharge_, other->activitycurrecharge_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetw2c_req_activity_state_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_req_activity_state_result_descriptor_; metadata.reflection = packetw2c_req_activity_state_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_receive_cdkey::kPacketIdFieldNumber; const int packetc2w_receive_cdkey::kCdkeyFieldNumber; #endif // !_MSC_VER packetc2w_receive_cdkey::packetc2w_receive_cdkey() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_receive_cdkey::InitAsDefaultInstance() { } packetc2w_receive_cdkey::packetc2w_receive_cdkey(const packetc2w_receive_cdkey& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_receive_cdkey::SharedCtor() { _cached_size_ = 0; packet_id_ = 5074; cdkey_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_receive_cdkey::~packetc2w_receive_cdkey() { SharedDtor(); } void packetc2w_receive_cdkey::SharedDtor() { if (cdkey_ != &::google::protobuf::internal::kEmptyString) { delete cdkey_; } if (this != default_instance_) { } } void packetc2w_receive_cdkey::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_receive_cdkey::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_receive_cdkey_descriptor_; } const packetc2w_receive_cdkey& packetc2w_receive_cdkey::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetc2w_receive_cdkey* packetc2w_receive_cdkey::default_instance_ = NULL; packetc2w_receive_cdkey* packetc2w_receive_cdkey::New() const { return new packetc2w_receive_cdkey; } void packetc2w_receive_cdkey::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5074; if (has_cdkey()) { if (cdkey_ != &::google::protobuf::internal::kEmptyString) { cdkey_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_receive_cdkey::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_cdkey; break; } // optional string cdkey = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_cdkey: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_cdkey())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->cdkey().data(), this->cdkey().length(), ::google::protobuf::internal::WireFormat::PARSE); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2w_receive_cdkey::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional string cdkey = 2; if (has_cdkey()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->cdkey().data(), this->cdkey().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); ::google::protobuf::internal::WireFormatLite::WriteString( 2, this->cdkey(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_receive_cdkey::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional string cdkey = 2; if (has_cdkey()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->cdkey().data(), this->cdkey().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->cdkey(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_receive_cdkey::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional string cdkey = 2; if (has_cdkey()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->cdkey()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2w_receive_cdkey::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_receive_cdkey* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_receive_cdkey::MergeFrom(const packetc2w_receive_cdkey& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_cdkey()) { set_cdkey(from.cdkey()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_receive_cdkey::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_receive_cdkey::CopyFrom(const packetc2w_receive_cdkey& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_receive_cdkey::IsInitialized() const { return true; } void packetc2w_receive_cdkey::Swap(packetc2w_receive_cdkey* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(cdkey_, other->cdkey_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2w_receive_cdkey::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_receive_cdkey_descriptor_; metadata.reflection = packetc2w_receive_cdkey_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_receive_cdkey_result::kPacketIdFieldNumber; const int packetw2c_receive_cdkey_result::kResultFieldNumber; const int packetw2c_receive_cdkey_result::kGiftIdFieldNumber; #endif // !_MSC_VER packetw2c_receive_cdkey_result::packetw2c_receive_cdkey_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_receive_cdkey_result::InitAsDefaultInstance() { } packetw2c_receive_cdkey_result::packetw2c_receive_cdkey_result(const packetw2c_receive_cdkey_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_receive_cdkey_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7578; result_ = 0; giftid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_receive_cdkey_result::~packetw2c_receive_cdkey_result() { SharedDtor(); } void packetw2c_receive_cdkey_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_receive_cdkey_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_receive_cdkey_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_receive_cdkey_result_descriptor_; } const packetw2c_receive_cdkey_result& packetw2c_receive_cdkey_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetw2c_receive_cdkey_result* packetw2c_receive_cdkey_result::default_instance_ = NULL; packetw2c_receive_cdkey_result* packetw2c_receive_cdkey_result::New() const { return new packetw2c_receive_cdkey_result; } void packetw2c_receive_cdkey_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7578; result_ = 0; giftid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_receive_cdkey_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_giftId; break; } // optional int32 giftId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_giftId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &giftid_))); set_has_giftid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetw2c_receive_cdkey_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 giftId = 3; if (has_giftid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->giftid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_receive_cdkey_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 giftId = 3; if (has_giftid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->giftid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_receive_cdkey_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 giftId = 3; if (has_giftid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->giftid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetw2c_receive_cdkey_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_receive_cdkey_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_receive_cdkey_result::MergeFrom(const packetw2c_receive_cdkey_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_giftid()) { set_giftid(from.giftid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_receive_cdkey_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_receive_cdkey_result::CopyFrom(const packetw2c_receive_cdkey_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_receive_cdkey_result::IsInitialized() const { return true; } void packetw2c_receive_cdkey_result::Swap(packetw2c_receive_cdkey_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(giftid_, other->giftid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetw2c_receive_cdkey_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_receive_cdkey_result_descriptor_; metadata.reflection = packetw2c_receive_cdkey_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_sync_activity_result::kPacketIdFieldNumber; const int packetw2c_sync_activity_result::kActiveFieldNumber; const int packetw2c_sync_activity_result::kHasGetActiveBoxFieldNumber; #endif // !_MSC_VER packetw2c_sync_activity_result::packetw2c_sync_activity_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_sync_activity_result::InitAsDefaultInstance() { } packetw2c_sync_activity_result::packetw2c_sync_activity_result(const packetw2c_sync_activity_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_sync_activity_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7581; active_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_sync_activity_result::~packetw2c_sync_activity_result() { SharedDtor(); } void packetw2c_sync_activity_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_sync_activity_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_sync_activity_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_sync_activity_result_descriptor_; } const packetw2c_sync_activity_result& packetw2c_sync_activity_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetw2c_sync_activity_result* packetw2c_sync_activity_result::default_instance_ = NULL; packetw2c_sync_activity_result* packetw2c_sync_activity_result::New() const { return new packetw2c_sync_activity_result; } void packetw2c_sync_activity_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7581; active_ = 0; } hasgetactivebox_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_sync_activity_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_active; break; } // optional int32 active = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_active: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &active_))); set_has_active(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_hasGetActiveBox; break; } // repeated int32 hasGetActiveBox = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_hasGetActiveBox: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 24, input, this->mutable_hasgetactivebox()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_hasgetactivebox()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_hasGetActiveBox; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetw2c_sync_activity_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 active = 2; if (has_active()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->active(), output); } // repeated int32 hasGetActiveBox = 3; for (int i = 0; i < this->hasgetactivebox_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 3, this->hasgetactivebox(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_sync_activity_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 active = 2; if (has_active()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->active(), target); } // repeated int32 hasGetActiveBox = 3; for (int i = 0; i < this->hasgetactivebox_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(3, this->hasgetactivebox(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_sync_activity_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 active = 2; if (has_active()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->active()); } } // repeated int32 hasGetActiveBox = 3; { int data_size = 0; for (int i = 0; i < this->hasgetactivebox_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->hasgetactivebox(i)); } total_size += 1 * this->hasgetactivebox_size() + data_size; } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetw2c_sync_activity_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_sync_activity_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_sync_activity_result::MergeFrom(const packetw2c_sync_activity_result& from) { GOOGLE_CHECK_NE(&from, this); hasgetactivebox_.MergeFrom(from.hasgetactivebox_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_active()) { set_active(from.active()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_sync_activity_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_sync_activity_result::CopyFrom(const packetw2c_sync_activity_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_sync_activity_result::IsInitialized() const { return true; } void packetw2c_sync_activity_result::Swap(packetw2c_sync_activity_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(active_, other->active_); hasgetactivebox_.Swap(&other->hasgetactivebox_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetw2c_sync_activity_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_sync_activity_result_descriptor_; metadata.reflection = packetw2c_sync_activity_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_get_grow_fund_info::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2w_get_grow_fund_info::packetc2w_get_grow_fund_info() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_get_grow_fund_info::InitAsDefaultInstance() { } packetc2w_get_grow_fund_info::packetc2w_get_grow_fund_info(const packetc2w_get_grow_fund_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_get_grow_fund_info::SharedCtor() { _cached_size_ = 0; packet_id_ = 5163; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_get_grow_fund_info::~packetc2w_get_grow_fund_info() { SharedDtor(); } void packetc2w_get_grow_fund_info::SharedDtor() { if (this != default_instance_) { } } void packetc2w_get_grow_fund_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_get_grow_fund_info::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_get_grow_fund_info_descriptor_; } const packetc2w_get_grow_fund_info& packetc2w_get_grow_fund_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetc2w_get_grow_fund_info* packetc2w_get_grow_fund_info::default_instance_ = NULL; packetc2w_get_grow_fund_info* packetc2w_get_grow_fund_info::New() const { return new packetc2w_get_grow_fund_info; } void packetc2w_get_grow_fund_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5163; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_get_grow_fund_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2w_get_grow_fund_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_get_grow_fund_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_get_grow_fund_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2w_get_grow_fund_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_get_grow_fund_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_get_grow_fund_info::MergeFrom(const packetc2w_get_grow_fund_info& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_get_grow_fund_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_get_grow_fund_info::CopyFrom(const packetc2w_get_grow_fund_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_get_grow_fund_info::IsInitialized() const { return true; } void packetc2w_get_grow_fund_info::Swap(packetc2w_get_grow_fund_info* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2w_get_grow_fund_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_get_grow_fund_info_descriptor_; metadata.reflection = packetc2w_get_grow_fund_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_get_grow_fund_info_result::kPacketIdFieldNumber; const int packetw2c_get_grow_fund_info_result::kIsReceivedFieldNumber; const int packetw2c_get_grow_fund_info_result::kRecharedFieldNumber; #endif // !_MSC_VER packetw2c_get_grow_fund_info_result::packetw2c_get_grow_fund_info_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_get_grow_fund_info_result::InitAsDefaultInstance() { } packetw2c_get_grow_fund_info_result::packetw2c_get_grow_fund_info_result(const packetw2c_get_grow_fund_info_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_get_grow_fund_info_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7678; rechared_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_get_grow_fund_info_result::~packetw2c_get_grow_fund_info_result() { SharedDtor(); } void packetw2c_get_grow_fund_info_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_get_grow_fund_info_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_get_grow_fund_info_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_get_grow_fund_info_result_descriptor_; } const packetw2c_get_grow_fund_info_result& packetw2c_get_grow_fund_info_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetw2c_get_grow_fund_info_result* packetw2c_get_grow_fund_info_result::default_instance_ = NULL; packetw2c_get_grow_fund_info_result* packetw2c_get_grow_fund_info_result::New() const { return new packetw2c_get_grow_fund_info_result; } void packetw2c_get_grow_fund_info_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7678; rechared_ = 0; } isreceived_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_get_grow_fund_info_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_isReceived; break; } // repeated bool isReceived = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_isReceived: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( 1, 16, input, this->mutable_isreceived()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, this->mutable_isreceived()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_isReceived; if (input->ExpectTag(24)) goto parse_rechared; break; } // optional int32 rechared = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rechared: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rechared_))); set_has_rechared(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetw2c_get_grow_fund_info_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // repeated bool isReceived = 2; for (int i = 0; i < this->isreceived_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteBool( 2, this->isreceived(i), output); } // optional int32 rechared = 3; if (has_rechared()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rechared(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_get_grow_fund_info_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // repeated bool isReceived = 2; for (int i = 0; i < this->isreceived_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteBoolToArray(2, this->isreceived(i), target); } // optional int32 rechared = 3; if (has_rechared()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rechared(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_get_grow_fund_info_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 rechared = 3; if (has_rechared()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rechared()); } } // repeated bool isReceived = 2; { int data_size = 0; data_size = 1 * this->isreceived_size(); total_size += 1 * this->isreceived_size() + data_size; } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetw2c_get_grow_fund_info_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_get_grow_fund_info_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_get_grow_fund_info_result::MergeFrom(const packetw2c_get_grow_fund_info_result& from) { GOOGLE_CHECK_NE(&from, this); isreceived_.MergeFrom(from.isreceived_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_rechared()) { set_rechared(from.rechared()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_get_grow_fund_info_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_get_grow_fund_info_result::CopyFrom(const packetw2c_get_grow_fund_info_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_get_grow_fund_info_result::IsInitialized() const { return true; } void packetw2c_get_grow_fund_info_result::Swap(packetw2c_get_grow_fund_info_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); isreceived_.Swap(&other->isreceived_); std::swap(rechared_, other->rechared_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetw2c_get_grow_fund_info_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_get_grow_fund_info_result_descriptor_; metadata.reflection = packetw2c_get_grow_fund_info_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_receive_grow_fund_reward::kPacketIdFieldNumber; const int packetc2w_receive_grow_fund_reward::kRewardidFieldNumber; #endif // !_MSC_VER packetc2w_receive_grow_fund_reward::packetc2w_receive_grow_fund_reward() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_receive_grow_fund_reward::InitAsDefaultInstance() { } packetc2w_receive_grow_fund_reward::packetc2w_receive_grow_fund_reward(const packetc2w_receive_grow_fund_reward& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_receive_grow_fund_reward::SharedCtor() { _cached_size_ = 0; packet_id_ = 5162; rewardid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_receive_grow_fund_reward::~packetc2w_receive_grow_fund_reward() { SharedDtor(); } void packetc2w_receive_grow_fund_reward::SharedDtor() { if (this != default_instance_) { } } void packetc2w_receive_grow_fund_reward::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_receive_grow_fund_reward::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_receive_grow_fund_reward_descriptor_; } const packetc2w_receive_grow_fund_reward& packetc2w_receive_grow_fund_reward::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetc2w_receive_grow_fund_reward* packetc2w_receive_grow_fund_reward::default_instance_ = NULL; packetc2w_receive_grow_fund_reward* packetc2w_receive_grow_fund_reward::New() const { return new packetc2w_receive_grow_fund_reward; } void packetc2w_receive_grow_fund_reward::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5162; rewardid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_receive_grow_fund_reward::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_rewardid; break; } // optional int32 rewardid = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rewardid: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rewardid_))); set_has_rewardid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2w_receive_grow_fund_reward::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 rewardid = 2; if (has_rewardid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rewardid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_receive_grow_fund_reward::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 rewardid = 2; if (has_rewardid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rewardid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_receive_grow_fund_reward::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 rewardid = 2; if (has_rewardid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2w_receive_grow_fund_reward::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_receive_grow_fund_reward* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_receive_grow_fund_reward::MergeFrom(const packetc2w_receive_grow_fund_reward& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_rewardid()) { set_rewardid(from.rewardid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_receive_grow_fund_reward::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_receive_grow_fund_reward::CopyFrom(const packetc2w_receive_grow_fund_reward& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_receive_grow_fund_reward::IsInitialized() const { return true; } void packetc2w_receive_grow_fund_reward::Swap(packetc2w_receive_grow_fund_reward* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(rewardid_, other->rewardid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2w_receive_grow_fund_reward::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_receive_grow_fund_reward_descriptor_; metadata.reflection = packetc2w_receive_grow_fund_reward_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetw2c_receive_grow_fund_reward_result::kPacketIdFieldNumber; const int packetw2c_receive_grow_fund_reward_result::kResultFieldNumber; const int packetw2c_receive_grow_fund_reward_result::kRewardidFieldNumber; #endif // !_MSC_VER packetw2c_receive_grow_fund_reward_result::packetw2c_receive_grow_fund_reward_result() : ::google::protobuf::Message() { SharedCtor(); } void packetw2c_receive_grow_fund_reward_result::InitAsDefaultInstance() { } packetw2c_receive_grow_fund_reward_result::packetw2c_receive_grow_fund_reward_result(const packetw2c_receive_grow_fund_reward_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetw2c_receive_grow_fund_reward_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 7677; result_ = 0; rewardid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetw2c_receive_grow_fund_reward_result::~packetw2c_receive_grow_fund_reward_result() { SharedDtor(); } void packetw2c_receive_grow_fund_reward_result::SharedDtor() { if (this != default_instance_) { } } void packetw2c_receive_grow_fund_reward_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetw2c_receive_grow_fund_reward_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetw2c_receive_grow_fund_reward_result_descriptor_; } const packetw2c_receive_grow_fund_reward_result& packetw2c_receive_grow_fund_reward_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetw2c_receive_grow_fund_reward_result* packetw2c_receive_grow_fund_reward_result::default_instance_ = NULL; packetw2c_receive_grow_fund_reward_result* packetw2c_receive_grow_fund_reward_result::New() const { return new packetw2c_receive_grow_fund_reward_result; } void packetw2c_receive_grow_fund_reward_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 7677; result_ = 0; rewardid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetw2c_receive_grow_fund_reward_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_rewardid; break; } // optional int32 rewardid = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rewardid: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rewardid_))); set_has_rewardid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetw2c_receive_grow_fund_reward_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 rewardid = 3; if (has_rewardid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetw2c_receive_grow_fund_reward_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 rewardid = 3; if (has_rewardid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetw2c_receive_grow_fund_reward_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 rewardid = 3; if (has_rewardid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetw2c_receive_grow_fund_reward_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetw2c_receive_grow_fund_reward_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetw2c_receive_grow_fund_reward_result::MergeFrom(const packetw2c_receive_grow_fund_reward_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_rewardid()) { set_rewardid(from.rewardid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetw2c_receive_grow_fund_reward_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetw2c_receive_grow_fund_reward_result::CopyFrom(const packetw2c_receive_grow_fund_reward_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetw2c_receive_grow_fund_reward_result::IsInitialized() const { return true; } void packetw2c_receive_grow_fund_reward_result::Swap(packetw2c_receive_grow_fund_reward_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(rewardid_, other->rewardid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetw2c_receive_grow_fund_reward_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetw2c_receive_grow_fund_reward_result_descriptor_; metadata.reflection = packetw2c_receive_grow_fund_reward_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2w_grow_fund_record::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2w_grow_fund_record::packetc2w_grow_fund_record() : ::google::protobuf::Message() { SharedCtor(); } void packetc2w_grow_fund_record::InitAsDefaultInstance() { } packetc2w_grow_fund_record::packetc2w_grow_fund_record(const packetc2w_grow_fund_record& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2w_grow_fund_record::SharedCtor() { _cached_size_ = 0; packet_id_ = 5164; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2w_grow_fund_record::~packetc2w_grow_fund_record() { SharedDtor(); } void packetc2w_grow_fund_record::SharedDtor() { if (this != default_instance_) { } } void packetc2w_grow_fund_record::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2w_grow_fund_record::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2w_grow_fund_record_descriptor_; } const packetc2w_grow_fund_record& packetc2w_grow_fund_record::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto(); return *default_instance_; } packetc2w_grow_fund_record* packetc2w_grow_fund_record::default_instance_ = NULL; packetc2w_grow_fund_record* packetc2w_grow_fund_record::New() const { return new packetc2w_grow_fund_record; } void packetc2w_grow_fund_record::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 5164; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2w_grow_fund_record::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::client2world_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2w_grow_fund_record::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2w_grow_fund_record::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2w_grow_fund_record::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2w_grow_fund_record::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2w_grow_fund_record* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2w_grow_fund_record::MergeFrom(const packetc2w_grow_fund_record& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2w_grow_fund_record::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2w_grow_fund_record::CopyFrom(const packetc2w_grow_fund_record& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2w_grow_fund_record::IsInitialized() const { return true; } void packetc2w_grow_fund_record::Swap(packetc2w_grow_fund_record* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2w_grow_fund_record::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2w_grow_fund_record_descriptor_; metadata.reflection = packetc2w_grow_fund_record_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace client2world_protocols // @@protoc_insertion_point(global_scope)