// Generated by the protocol buffer compiler. DO NOT EDIT! // source: client2world_qq_platform.proto #ifndef PROTOBUF_client2world_5fqq_5fplatform_2eproto__INCLUDED #define PROTOBUF_client2world_5fqq_5fplatform_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 2005000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include "client2world_msg_type.pb.h" #include "msg_type_def.pb.h" #include "msg_info_def.pb.h" // @@protoc_insertion_point(includes) namespace client2world_protocols { // Internal implementation detail -- do not call these. void protobuf_AddDesc_client2world_5fqq_5fplatform_2eproto(); void protobuf_AssignDesc_client2world_5fqq_5fplatform_2eproto(); void protobuf_ShutdownFile_client2world_5fqq_5fplatform_2eproto(); class packetc2w_receive_blue_diamond_reward; class packetw2c_receive_blue_diamond_reward_result; // =================================================================== class packetc2w_receive_blue_diamond_reward : public ::google::protobuf::Message { public: packetc2w_receive_blue_diamond_reward(); virtual ~packetc2w_receive_blue_diamond_reward(); packetc2w_receive_blue_diamond_reward(const packetc2w_receive_blue_diamond_reward& from); inline packetc2w_receive_blue_diamond_reward& operator=(const packetc2w_receive_blue_diamond_reward& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_receive_blue_diamond_reward& default_instance(); void Swap(packetc2w_receive_blue_diamond_reward* other); // implements Message ---------------------------------------------- packetc2w_receive_blue_diamond_reward* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_receive_blue_diamond_reward& from); void MergeFrom(const packetc2w_receive_blue_diamond_reward& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_blue_diamond_reward]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 index = 2; inline bool has_index() const; inline void clear_index(); static const int kIndexFieldNumber = 2; inline ::google::protobuf::int32 index() const; inline void set_index(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_blue_diamond_reward) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_index(); inline void clear_has_index(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 index_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fqq_5fplatform_2eproto(); friend void protobuf_AssignDesc_client2world_5fqq_5fplatform_2eproto(); friend void protobuf_ShutdownFile_client2world_5fqq_5fplatform_2eproto(); void InitAsDefaultInstance(); static packetc2w_receive_blue_diamond_reward* default_instance_; }; // ------------------------------------------------------------------- class packetw2c_receive_blue_diamond_reward_result : public ::google::protobuf::Message { public: packetw2c_receive_blue_diamond_reward_result(); virtual ~packetw2c_receive_blue_diamond_reward_result(); packetw2c_receive_blue_diamond_reward_result(const packetw2c_receive_blue_diamond_reward_result& from); inline packetw2c_receive_blue_diamond_reward_result& operator=(const packetw2c_receive_blue_diamond_reward_result& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetw2c_receive_blue_diamond_reward_result& default_instance(); void Swap(packetw2c_receive_blue_diamond_reward_result* other); // implements Message ---------------------------------------------- packetw2c_receive_blue_diamond_reward_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetw2c_receive_blue_diamond_reward_result& from); void MergeFrom(const packetw2c_receive_blue_diamond_reward_result& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_blue_diamond_reward_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 result = 2; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // optional int32 index = 3; inline bool has_index() const; inline void clear_index(); static const int kIndexFieldNumber = 3; inline ::google::protobuf::int32 index() const; inline void set_index(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_blue_diamond_reward_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_index(); inline void clear_has_index(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 result_; ::google::protobuf::int32 index_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fqq_5fplatform_2eproto(); friend void protobuf_AssignDesc_client2world_5fqq_5fplatform_2eproto(); friend void protobuf_ShutdownFile_client2world_5fqq_5fplatform_2eproto(); void InitAsDefaultInstance(); static packetw2c_receive_blue_diamond_reward_result* default_instance_; }; // =================================================================== // =================================================================== // packetc2w_receive_blue_diamond_reward // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_blue_diamond_reward]; inline bool packetc2w_receive_blue_diamond_reward::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_receive_blue_diamond_reward::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_receive_blue_diamond_reward::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_receive_blue_diamond_reward::clear_packet_id() { packet_id_ = 5056; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_receive_blue_diamond_reward::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_receive_blue_diamond_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 index = 2; inline bool packetc2w_receive_blue_diamond_reward::has_index() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2w_receive_blue_diamond_reward::set_has_index() { _has_bits_[0] |= 0x00000002u; } inline void packetc2w_receive_blue_diamond_reward::clear_has_index() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2w_receive_blue_diamond_reward::clear_index() { index_ = 0; clear_has_index(); } inline ::google::protobuf::int32 packetc2w_receive_blue_diamond_reward::index() const { return index_; } inline void packetc2w_receive_blue_diamond_reward::set_index(::google::protobuf::int32 value) { set_has_index(); index_ = value; } // ------------------------------------------------------------------- // packetw2c_receive_blue_diamond_reward_result // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_blue_diamond_reward_result]; inline bool packetw2c_receive_blue_diamond_reward_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetw2c_receive_blue_diamond_reward_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetw2c_receive_blue_diamond_reward_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetw2c_receive_blue_diamond_reward_result::clear_packet_id() { packet_id_ = 7559; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetw2c_receive_blue_diamond_reward_result::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetw2c_receive_blue_diamond_reward_result::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 result = 2; inline bool packetw2c_receive_blue_diamond_reward_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetw2c_receive_blue_diamond_reward_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetw2c_receive_blue_diamond_reward_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetw2c_receive_blue_diamond_reward_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetw2c_receive_blue_diamond_reward_result::result() const { return result_; } inline void packetw2c_receive_blue_diamond_reward_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // optional int32 index = 3; inline bool packetw2c_receive_blue_diamond_reward_result::has_index() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetw2c_receive_blue_diamond_reward_result::set_has_index() { _has_bits_[0] |= 0x00000004u; } inline void packetw2c_receive_blue_diamond_reward_result::clear_has_index() { _has_bits_[0] &= ~0x00000004u; } inline void packetw2c_receive_blue_diamond_reward_result::clear_index() { index_ = 0; clear_has_index(); } inline ::google::protobuf::int32 packetw2c_receive_blue_diamond_reward_result::index() const { return index_; } inline void packetw2c_receive_blue_diamond_reward_result::set_index(::google::protobuf::int32 value) { set_has_index(); index_ = value; } // @@protoc_insertion_point(namespace_scope) } // namespace client2world_protocols #ifndef SWIG namespace google { namespace protobuf { } // namespace google } // namespace protobuf #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_client2world_5fqq_5fplatform_2eproto__INCLUDED