123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: client2world_benefits.proto
- #ifndef PROTOBUF_client2world_5fbenefits_2eproto__INCLUDED
- #define PROTOBUF_client2world_5fbenefits_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #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 <google/protobuf/generated_message_util.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h>
- #include <google/protobuf/extension_set.h>
- #include <google/protobuf/unknown_field_set.h>
- #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_5fbenefits_2eproto();
- void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
- void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
- class packetc2w_recv_wechat_benifit_gift;
- class packetc2w_recv_wechat_share_award;
- class packetw2c_recv_wechat_benifit_gift_result;
- class packetw2c_recv_wechat_share_award_result;
- // ===================================================================
- class packetc2w_recv_wechat_benifit_gift : public ::google::protobuf::Message {
- public:
- packetc2w_recv_wechat_benifit_gift();
- virtual ~packetc2w_recv_wechat_benifit_gift();
- packetc2w_recv_wechat_benifit_gift(const packetc2w_recv_wechat_benifit_gift& from);
- inline packetc2w_recv_wechat_benifit_gift& operator=(const packetc2w_recv_wechat_benifit_gift& 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_recv_wechat_benifit_gift& default_instance();
- void Swap(packetc2w_recv_wechat_benifit_gift* other);
- // implements Message ----------------------------------------------
- packetc2w_recv_wechat_benifit_gift* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_recv_wechat_benifit_gift& from);
- void MergeFrom(const packetc2w_recv_wechat_benifit_gift& 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_recv_wechat_benifit_gift];
- 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 type = 2;
- inline bool has_type() const;
- inline void clear_type();
- static const int kTypeFieldNumber = 2;
- inline ::google::protobuf::int32 type() const;
- inline void set_type(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_recv_wechat_benifit_gift)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_type();
- inline void clear_has_type();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 type_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fbenefits_2eproto();
- friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_recv_wechat_benifit_gift* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_recv_wechat_share_award : public ::google::protobuf::Message {
- public:
- packetc2w_recv_wechat_share_award();
- virtual ~packetc2w_recv_wechat_share_award();
- packetc2w_recv_wechat_share_award(const packetc2w_recv_wechat_share_award& from);
- inline packetc2w_recv_wechat_share_award& operator=(const packetc2w_recv_wechat_share_award& 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_recv_wechat_share_award& default_instance();
- void Swap(packetc2w_recv_wechat_share_award* other);
- // implements Message ----------------------------------------------
- packetc2w_recv_wechat_share_award* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_recv_wechat_share_award& from);
- void MergeFrom(const packetc2w_recv_wechat_share_award& 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_recv_wechat_share_award];
- 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_recv_wechat_share_award)
- 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_5fbenefits_2eproto();
- friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_recv_wechat_share_award* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_recv_wechat_benifit_gift_result : public ::google::protobuf::Message {
- public:
- packetw2c_recv_wechat_benifit_gift_result();
- virtual ~packetw2c_recv_wechat_benifit_gift_result();
- packetw2c_recv_wechat_benifit_gift_result(const packetw2c_recv_wechat_benifit_gift_result& from);
- inline packetw2c_recv_wechat_benifit_gift_result& operator=(const packetw2c_recv_wechat_benifit_gift_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_recv_wechat_benifit_gift_result& default_instance();
- void Swap(packetw2c_recv_wechat_benifit_gift_result* other);
- // implements Message ----------------------------------------------
- packetw2c_recv_wechat_benifit_gift_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_recv_wechat_benifit_gift_result& from);
- void MergeFrom(const packetw2c_recv_wechat_benifit_gift_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_recv_wechat_benifit_gift_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 type = 2;
- inline bool has_type() const;
- inline void clear_type();
- static const int kTypeFieldNumber = 2;
- inline ::google::protobuf::int32 type() const;
- inline void set_type(::google::protobuf::int32 value);
- // optional int32 result = 3;
- inline bool has_result() const;
- inline void clear_result();
- static const int kResultFieldNumber = 3;
- inline ::google::protobuf::int32 result() const;
- inline void set_result(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_recv_wechat_benifit_gift_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_type();
- inline void clear_has_type();
- inline void set_has_result();
- inline void clear_has_result();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 type_;
- ::google::protobuf::int32 result_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fbenefits_2eproto();
- friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_recv_wechat_benifit_gift_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_recv_wechat_share_award_result : public ::google::protobuf::Message {
- public:
- packetw2c_recv_wechat_share_award_result();
- virtual ~packetw2c_recv_wechat_share_award_result();
- packetw2c_recv_wechat_share_award_result(const packetw2c_recv_wechat_share_award_result& from);
- inline packetw2c_recv_wechat_share_award_result& operator=(const packetw2c_recv_wechat_share_award_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_recv_wechat_share_award_result& default_instance();
- void Swap(packetw2c_recv_wechat_share_award_result* other);
- // implements Message ----------------------------------------------
- packetw2c_recv_wechat_share_award_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_recv_wechat_share_award_result& from);
- void MergeFrom(const packetw2c_recv_wechat_share_award_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_recv_wechat_share_award_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 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);
- // optional int32 result = 3;
- inline bool has_result() const;
- inline void clear_result();
- static const int kResultFieldNumber = 3;
- inline ::google::protobuf::int32 result() const;
- inline void set_result(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_recv_wechat_share_award_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_index();
- inline void clear_has_index();
- inline void set_has_result();
- inline void clear_has_result();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 index_;
- ::google::protobuf::int32 result_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fbenefits_2eproto();
- friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_recv_wechat_share_award_result* default_instance_;
- };
- // ===================================================================
- // ===================================================================
- // packetc2w_recv_wechat_benifit_gift
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wechat_benifit_gift];
- inline bool packetc2w_recv_wechat_benifit_gift::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_recv_wechat_benifit_gift::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_recv_wechat_benifit_gift::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_recv_wechat_benifit_gift::clear_packet_id() {
- packet_id_ = 5037;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_recv_wechat_benifit_gift::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_recv_wechat_benifit_gift::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 type = 2;
- inline bool packetc2w_recv_wechat_benifit_gift::has_type() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetc2w_recv_wechat_benifit_gift::set_has_type() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetc2w_recv_wechat_benifit_gift::clear_has_type() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetc2w_recv_wechat_benifit_gift::clear_type() {
- type_ = 0;
- clear_has_type();
- }
- inline ::google::protobuf::int32 packetc2w_recv_wechat_benifit_gift::type() const {
- return type_;
- }
- inline void packetc2w_recv_wechat_benifit_gift::set_type(::google::protobuf::int32 value) {
- set_has_type();
- type_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_recv_wechat_share_award
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wechat_share_award];
- inline bool packetc2w_recv_wechat_share_award::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_recv_wechat_share_award::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_recv_wechat_share_award::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_recv_wechat_share_award::clear_packet_id() {
- packet_id_ = 5169;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_recv_wechat_share_award::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_recv_wechat_share_award::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_recv_wechat_share_award::has_index() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetc2w_recv_wechat_share_award::set_has_index() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetc2w_recv_wechat_share_award::clear_has_index() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetc2w_recv_wechat_share_award::clear_index() {
- index_ = 0;
- clear_has_index();
- }
- inline ::google::protobuf::int32 packetc2w_recv_wechat_share_award::index() const {
- return index_;
- }
- inline void packetc2w_recv_wechat_share_award::set_index(::google::protobuf::int32 value) {
- set_has_index();
- index_ = value;
- }
- // -------------------------------------------------------------------
- // packetw2c_recv_wechat_benifit_gift_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wechat_benifit_gift_result];
- inline bool packetw2c_recv_wechat_benifit_gift_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::clear_packet_id() {
- packet_id_ = 7685;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_recv_wechat_benifit_gift_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_recv_wechat_benifit_gift_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 type = 2;
- inline bool packetw2c_recv_wechat_benifit_gift_result::has_type() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::set_has_type() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::clear_has_type() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::clear_type() {
- type_ = 0;
- clear_has_type();
- }
- inline ::google::protobuf::int32 packetw2c_recv_wechat_benifit_gift_result::type() const {
- return type_;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::set_type(::google::protobuf::int32 value) {
- set_has_type();
- type_ = value;
- }
- // optional int32 result = 3;
- inline bool packetw2c_recv_wechat_benifit_gift_result::has_result() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::set_has_result() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::clear_has_result() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::clear_result() {
- result_ = 0;
- clear_has_result();
- }
- inline ::google::protobuf::int32 packetw2c_recv_wechat_benifit_gift_result::result() const {
- return result_;
- }
- inline void packetw2c_recv_wechat_benifit_gift_result::set_result(::google::protobuf::int32 value) {
- set_has_result();
- result_ = value;
- }
- // -------------------------------------------------------------------
- // packetw2c_recv_wechat_share_award_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wechat_share_award_result];
- inline bool packetw2c_recv_wechat_share_award_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_recv_wechat_share_award_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_recv_wechat_share_award_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_recv_wechat_share_award_result::clear_packet_id() {
- packet_id_ = 7686;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_recv_wechat_share_award_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_recv_wechat_share_award_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 index = 2;
- inline bool packetw2c_recv_wechat_share_award_result::has_index() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetw2c_recv_wechat_share_award_result::set_has_index() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetw2c_recv_wechat_share_award_result::clear_has_index() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetw2c_recv_wechat_share_award_result::clear_index() {
- index_ = 0;
- clear_has_index();
- }
- inline ::google::protobuf::int32 packetw2c_recv_wechat_share_award_result::index() const {
- return index_;
- }
- inline void packetw2c_recv_wechat_share_award_result::set_index(::google::protobuf::int32 value) {
- set_has_index();
- index_ = value;
- }
- // optional int32 result = 3;
- inline bool packetw2c_recv_wechat_share_award_result::has_result() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_recv_wechat_share_award_result::set_has_result() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_recv_wechat_share_award_result::clear_has_result() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_recv_wechat_share_award_result::clear_result() {
- result_ = 0;
- clear_has_result();
- }
- inline ::google::protobuf::int32 packetw2c_recv_wechat_share_award_result::result() const {
- return result_;
- }
- inline void packetw2c_recv_wechat_share_award_result::set_result(::google::protobuf::int32 value) {
- set_has_result();
- result_ = 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_5fbenefits_2eproto__INCLUDED
|