12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: client2world_exchange.proto
- #ifndef PROTOBUF_client2world_5fexchange_2eproto__INCLUDED
- #define PROTOBUF_client2world_5fexchange_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_5fexchange_2eproto();
- void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- class packetc2w_exchange;
- class packetw2c_exchange_result;
- class packetc2w_get_exchange_state;
- class ExchangeInfo;
- class packetw2c_get_exchange_state_result;
- class packetc2w_req_exchange_count;
- class ExchangeCountInfo;
- class packetw2c_req_exchange_count_result;
- // ===================================================================
- class packetc2w_exchange : public ::google::protobuf::Message {
- public:
- packetc2w_exchange();
- virtual ~packetc2w_exchange();
- packetc2w_exchange(const packetc2w_exchange& from);
- inline packetc2w_exchange& operator=(const packetc2w_exchange& 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_exchange& default_instance();
- void Swap(packetc2w_exchange* other);
- // implements Message ----------------------------------------------
- packetc2w_exchange* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_exchange& from);
- void MergeFrom(const packetc2w_exchange& 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_exchange];
- 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 exchangeId = 2;
- inline bool has_exchangeid() const;
- inline void clear_exchangeid();
- static const int kExchangeIdFieldNumber = 2;
- inline ::google::protobuf::int32 exchangeid() const;
- inline void set_exchangeid(::google::protobuf::int32 value);
- // optional string phone = 3;
- inline bool has_phone() const;
- inline void clear_phone();
- static const int kPhoneFieldNumber = 3;
- inline const ::std::string& phone() const;
- inline void set_phone(const ::std::string& value);
- inline void set_phone(const char* value);
- inline void set_phone(const char* value, size_t size);
- inline ::std::string* mutable_phone();
- inline ::std::string* release_phone();
- inline void set_allocated_phone(::std::string* phone);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_exchange)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_exchangeid();
- inline void clear_has_exchangeid();
- inline void set_has_phone();
- inline void clear_has_phone();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 exchangeid_;
- ::std::string* phone_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_exchange* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_exchange_result : public ::google::protobuf::Message {
- public:
- packetw2c_exchange_result();
- virtual ~packetw2c_exchange_result();
- packetw2c_exchange_result(const packetw2c_exchange_result& from);
- inline packetw2c_exchange_result& operator=(const packetw2c_exchange_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_exchange_result& default_instance();
- void Swap(packetw2c_exchange_result* other);
- // implements Message ----------------------------------------------
- packetw2c_exchange_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_exchange_result& from);
- void MergeFrom(const packetw2c_exchange_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_exchange_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 exchangeId = 2;
- inline bool has_exchangeid() const;
- inline void clear_exchangeid();
- static const int kExchangeIdFieldNumber = 2;
- inline ::google::protobuf::int32 exchangeid() const;
- inline void set_exchangeid(::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_exchange_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_exchangeid();
- inline void clear_has_exchangeid();
- inline void set_has_result();
- inline void clear_has_result();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 exchangeid_;
- ::google::protobuf::int32 result_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_exchange_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_get_exchange_state : public ::google::protobuf::Message {
- public:
- packetc2w_get_exchange_state();
- virtual ~packetc2w_get_exchange_state();
- packetc2w_get_exchange_state(const packetc2w_get_exchange_state& from);
- inline packetc2w_get_exchange_state& operator=(const packetc2w_get_exchange_state& 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_get_exchange_state& default_instance();
- void Swap(packetc2w_get_exchange_state* other);
- // implements Message ----------------------------------------------
- packetc2w_get_exchange_state* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_get_exchange_state& from);
- void MergeFrom(const packetc2w_get_exchange_state& 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_get_exchange_state];
- 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);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_get_exchange_state)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_get_exchange_state* default_instance_;
- };
- // -------------------------------------------------------------------
- class ExchangeInfo : public ::google::protobuf::Message {
- public:
- ExchangeInfo();
- virtual ~ExchangeInfo();
- ExchangeInfo(const ExchangeInfo& from);
- inline ExchangeInfo& operator=(const ExchangeInfo& 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 ExchangeInfo& default_instance();
- void Swap(ExchangeInfo* other);
- // implements Message ----------------------------------------------
- ExchangeInfo* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const ExchangeInfo& from);
- void MergeFrom(const ExchangeInfo& 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 int32 time = 1;
- inline bool has_time() const;
- inline void clear_time();
- static const int kTimeFieldNumber = 1;
- inline ::google::protobuf::int32 time() const;
- inline void set_time(::google::protobuf::int32 value);
- // optional int32 chgId = 2;
- inline bool has_chgid() const;
- inline void clear_chgid();
- static const int kChgIdFieldNumber = 2;
- inline ::google::protobuf::int32 chgid() const;
- inline void set_chgid(::google::protobuf::int32 value);
- // optional int32 state = 3;
- inline bool has_state() const;
- inline void clear_state();
- static const int kStateFieldNumber = 3;
- inline ::google::protobuf::int32 state() const;
- inline void set_state(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.ExchangeInfo)
- private:
- inline void set_has_time();
- inline void clear_has_time();
- inline void set_has_chgid();
- inline void clear_has_chgid();
- inline void set_has_state();
- inline void clear_has_state();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::int32 time_;
- ::google::protobuf::int32 chgid_;
- ::google::protobuf::int32 state_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static ExchangeInfo* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_get_exchange_state_result : public ::google::protobuf::Message {
- public:
- packetw2c_get_exchange_state_result();
- virtual ~packetw2c_get_exchange_state_result();
- packetw2c_get_exchange_state_result(const packetw2c_get_exchange_state_result& from);
- inline packetw2c_get_exchange_state_result& operator=(const packetw2c_get_exchange_state_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_get_exchange_state_result& default_instance();
- void Swap(packetw2c_get_exchange_state_result* other);
- // implements Message ----------------------------------------------
- packetw2c_get_exchange_state_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_get_exchange_state_result& from);
- void MergeFrom(const packetw2c_get_exchange_state_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_get_exchange_state_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);
- // repeated .client2world_protocols.ExchangeInfo infoList = 2;
- inline int infolist_size() const;
- inline void clear_infolist();
- static const int kInfoListFieldNumber = 2;
- inline const ::client2world_protocols::ExchangeInfo& infolist(int index) const;
- inline ::client2world_protocols::ExchangeInfo* mutable_infolist(int index);
- inline ::client2world_protocols::ExchangeInfo* add_infolist();
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >&
- infolist() const;
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >*
- mutable_infolist();
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_get_exchange_state_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo > infolist_;
- int packet_id_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_get_exchange_state_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_req_exchange_count : public ::google::protobuf::Message {
- public:
- packetc2w_req_exchange_count();
- virtual ~packetc2w_req_exchange_count();
- packetc2w_req_exchange_count(const packetc2w_req_exchange_count& from);
- inline packetc2w_req_exchange_count& operator=(const packetc2w_req_exchange_count& 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_req_exchange_count& default_instance();
- void Swap(packetc2w_req_exchange_count* other);
- // implements Message ----------------------------------------------
- packetc2w_req_exchange_count* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_req_exchange_count& from);
- void MergeFrom(const packetc2w_req_exchange_count& 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_req_exchange_count];
- 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);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_exchange_count)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_req_exchange_count* default_instance_;
- };
- // -------------------------------------------------------------------
- class ExchangeCountInfo : public ::google::protobuf::Message {
- public:
- ExchangeCountInfo();
- virtual ~ExchangeCountInfo();
- ExchangeCountInfo(const ExchangeCountInfo& from);
- inline ExchangeCountInfo& operator=(const ExchangeCountInfo& 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 ExchangeCountInfo& default_instance();
- void Swap(ExchangeCountInfo* other);
- // implements Message ----------------------------------------------
- ExchangeCountInfo* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const ExchangeCountInfo& from);
- void MergeFrom(const ExchangeCountInfo& 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 int32 chgId = 1;
- inline bool has_chgid() const;
- inline void clear_chgid();
- static const int kChgIdFieldNumber = 1;
- inline ::google::protobuf::int32 chgid() const;
- inline void set_chgid(::google::protobuf::int32 value);
- // optional int32 hasExchangeCount = 2;
- inline bool has_hasexchangecount() const;
- inline void clear_hasexchangecount();
- static const int kHasExchangeCountFieldNumber = 2;
- inline ::google::protobuf::int32 hasexchangecount() const;
- inline void set_hasexchangecount(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.ExchangeCountInfo)
- private:
- inline void set_has_chgid();
- inline void clear_has_chgid();
- inline void set_has_hasexchangecount();
- inline void clear_has_hasexchangecount();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::int32 chgid_;
- ::google::protobuf::int32 hasexchangecount_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static ExchangeCountInfo* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_req_exchange_count_result : public ::google::protobuf::Message {
- public:
- packetw2c_req_exchange_count_result();
- virtual ~packetw2c_req_exchange_count_result();
- packetw2c_req_exchange_count_result(const packetw2c_req_exchange_count_result& from);
- inline packetw2c_req_exchange_count_result& operator=(const packetw2c_req_exchange_count_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_req_exchange_count_result& default_instance();
- void Swap(packetw2c_req_exchange_count_result* other);
- // implements Message ----------------------------------------------
- packetw2c_req_exchange_count_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_req_exchange_count_result& from);
- void MergeFrom(const packetw2c_req_exchange_count_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_req_exchange_count_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);
- // repeated .client2world_protocols.ExchangeCountInfo G_InfoList = 2;
- inline int g_infolist_size() const;
- inline void clear_g_infolist();
- static const int kGInfoListFieldNumber = 2;
- inline const ::client2world_protocols::ExchangeCountInfo& g_infolist(int index) const;
- inline ::client2world_protocols::ExchangeCountInfo* mutable_g_infolist(int index);
- inline ::client2world_protocols::ExchangeCountInfo* add_g_infolist();
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >&
- g_infolist() const;
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >*
- mutable_g_infolist();
- // repeated .client2world_protocols.ExchangeCountInfo P_InfoList = 3;
- inline int p_infolist_size() const;
- inline void clear_p_infolist();
- static const int kPInfoListFieldNumber = 3;
- inline const ::client2world_protocols::ExchangeCountInfo& p_infolist(int index) const;
- inline ::client2world_protocols::ExchangeCountInfo* mutable_p_infolist(int index);
- inline ::client2world_protocols::ExchangeCountInfo* add_p_infolist();
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >&
- p_infolist() const;
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >*
- mutable_p_infolist();
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_exchange_count_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo > g_infolist_;
- ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo > p_infolist_;
- int packet_id_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5fexchange_2eproto();
- friend void protobuf_AssignDesc_client2world_5fexchange_2eproto();
- friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_req_exchange_count_result* default_instance_;
- };
- // ===================================================================
- // ===================================================================
- // packetc2w_exchange
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange];
- inline bool packetc2w_exchange::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_exchange::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_exchange::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_exchange::clear_packet_id() {
- packet_id_ = 5022;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_exchange::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_exchange::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 exchangeId = 2;
- inline bool packetc2w_exchange::has_exchangeid() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetc2w_exchange::set_has_exchangeid() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetc2w_exchange::clear_has_exchangeid() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetc2w_exchange::clear_exchangeid() {
- exchangeid_ = 0;
- clear_has_exchangeid();
- }
- inline ::google::protobuf::int32 packetc2w_exchange::exchangeid() const {
- return exchangeid_;
- }
- inline void packetc2w_exchange::set_exchangeid(::google::protobuf::int32 value) {
- set_has_exchangeid();
- exchangeid_ = value;
- }
- // optional string phone = 3;
- inline bool packetc2w_exchange::has_phone() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetc2w_exchange::set_has_phone() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetc2w_exchange::clear_has_phone() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetc2w_exchange::clear_phone() {
- if (phone_ != &::google::protobuf::internal::kEmptyString) {
- phone_->clear();
- }
- clear_has_phone();
- }
- inline const ::std::string& packetc2w_exchange::phone() const {
- return *phone_;
- }
- inline void packetc2w_exchange::set_phone(const ::std::string& value) {
- set_has_phone();
- if (phone_ == &::google::protobuf::internal::kEmptyString) {
- phone_ = new ::std::string;
- }
- phone_->assign(value);
- }
- inline void packetc2w_exchange::set_phone(const char* value) {
- set_has_phone();
- if (phone_ == &::google::protobuf::internal::kEmptyString) {
- phone_ = new ::std::string;
- }
- phone_->assign(value);
- }
- inline void packetc2w_exchange::set_phone(const char* value, size_t size) {
- set_has_phone();
- if (phone_ == &::google::protobuf::internal::kEmptyString) {
- phone_ = new ::std::string;
- }
- phone_->assign(reinterpret_cast<const char*>(value), size);
- }
- inline ::std::string* packetc2w_exchange::mutable_phone() {
- set_has_phone();
- if (phone_ == &::google::protobuf::internal::kEmptyString) {
- phone_ = new ::std::string;
- }
- return phone_;
- }
- inline ::std::string* packetc2w_exchange::release_phone() {
- clear_has_phone();
- if (phone_ == &::google::protobuf::internal::kEmptyString) {
- return NULL;
- } else {
- ::std::string* temp = phone_;
- phone_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- return temp;
- }
- }
- inline void packetc2w_exchange::set_allocated_phone(::std::string* phone) {
- if (phone_ != &::google::protobuf::internal::kEmptyString) {
- delete phone_;
- }
- if (phone) {
- set_has_phone();
- phone_ = phone;
- } else {
- clear_has_phone();
- phone_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- }
- }
- // -------------------------------------------------------------------
- // packetw2c_exchange_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_result];
- inline bool packetw2c_exchange_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_exchange_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_exchange_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_exchange_result::clear_packet_id() {
- packet_id_ = 7524;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_exchange_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_exchange_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 exchangeId = 2;
- inline bool packetw2c_exchange_result::has_exchangeid() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetw2c_exchange_result::set_has_exchangeid() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetw2c_exchange_result::clear_has_exchangeid() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetw2c_exchange_result::clear_exchangeid() {
- exchangeid_ = 0;
- clear_has_exchangeid();
- }
- inline ::google::protobuf::int32 packetw2c_exchange_result::exchangeid() const {
- return exchangeid_;
- }
- inline void packetw2c_exchange_result::set_exchangeid(::google::protobuf::int32 value) {
- set_has_exchangeid();
- exchangeid_ = value;
- }
- // optional int32 result = 3;
- inline bool packetw2c_exchange_result::has_result() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_exchange_result::set_has_result() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_exchange_result::clear_has_result() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_exchange_result::clear_result() {
- result_ = 0;
- clear_has_result();
- }
- inline ::google::protobuf::int32 packetw2c_exchange_result::result() const {
- return result_;
- }
- inline void packetw2c_exchange_result::set_result(::google::protobuf::int32 value) {
- set_has_result();
- result_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_get_exchange_state
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_exchange_state];
- inline bool packetc2w_get_exchange_state::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_get_exchange_state::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_get_exchange_state::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_get_exchange_state::clear_packet_id() {
- packet_id_ = 5047;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_get_exchange_state::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_get_exchange_state::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;
- }
- // -------------------------------------------------------------------
- // ExchangeInfo
- // optional int32 time = 1;
- inline bool ExchangeInfo::has_time() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void ExchangeInfo::set_has_time() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void ExchangeInfo::clear_has_time() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void ExchangeInfo::clear_time() {
- time_ = 0;
- clear_has_time();
- }
- inline ::google::protobuf::int32 ExchangeInfo::time() const {
- return time_;
- }
- inline void ExchangeInfo::set_time(::google::protobuf::int32 value) {
- set_has_time();
- time_ = value;
- }
- // optional int32 chgId = 2;
- inline bool ExchangeInfo::has_chgid() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void ExchangeInfo::set_has_chgid() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void ExchangeInfo::clear_has_chgid() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void ExchangeInfo::clear_chgid() {
- chgid_ = 0;
- clear_has_chgid();
- }
- inline ::google::protobuf::int32 ExchangeInfo::chgid() const {
- return chgid_;
- }
- inline void ExchangeInfo::set_chgid(::google::protobuf::int32 value) {
- set_has_chgid();
- chgid_ = value;
- }
- // optional int32 state = 3;
- inline bool ExchangeInfo::has_state() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void ExchangeInfo::set_has_state() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void ExchangeInfo::clear_has_state() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void ExchangeInfo::clear_state() {
- state_ = 0;
- clear_has_state();
- }
- inline ::google::protobuf::int32 ExchangeInfo::state() const {
- return state_;
- }
- inline void ExchangeInfo::set_state(::google::protobuf::int32 value) {
- set_has_state();
- state_ = value;
- }
- // -------------------------------------------------------------------
- // packetw2c_get_exchange_state_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_exchange_state_result];
- inline bool packetw2c_get_exchange_state_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_get_exchange_state_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_get_exchange_state_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_get_exchange_state_result::clear_packet_id() {
- packet_id_ = 7551;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_get_exchange_state_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_get_exchange_state_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;
- }
- // repeated .client2world_protocols.ExchangeInfo infoList = 2;
- inline int packetw2c_get_exchange_state_result::infolist_size() const {
- return infolist_.size();
- }
- inline void packetw2c_get_exchange_state_result::clear_infolist() {
- infolist_.Clear();
- }
- inline const ::client2world_protocols::ExchangeInfo& packetw2c_get_exchange_state_result::infolist(int index) const {
- return infolist_.Get(index);
- }
- inline ::client2world_protocols::ExchangeInfo* packetw2c_get_exchange_state_result::mutable_infolist(int index) {
- return infolist_.Mutable(index);
- }
- inline ::client2world_protocols::ExchangeInfo* packetw2c_get_exchange_state_result::add_infolist() {
- return infolist_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >&
- packetw2c_get_exchange_state_result::infolist() const {
- return infolist_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >*
- packetw2c_get_exchange_state_result::mutable_infolist() {
- return &infolist_;
- }
- // -------------------------------------------------------------------
- // packetc2w_req_exchange_count
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_exchange_count];
- inline bool packetc2w_req_exchange_count::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_req_exchange_count::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_req_exchange_count::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_req_exchange_count::clear_packet_id() {
- packet_id_ = 5079;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_req_exchange_count::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_req_exchange_count::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;
- }
- // -------------------------------------------------------------------
- // ExchangeCountInfo
- // optional int32 chgId = 1;
- inline bool ExchangeCountInfo::has_chgid() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void ExchangeCountInfo::set_has_chgid() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void ExchangeCountInfo::clear_has_chgid() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void ExchangeCountInfo::clear_chgid() {
- chgid_ = 0;
- clear_has_chgid();
- }
- inline ::google::protobuf::int32 ExchangeCountInfo::chgid() const {
- return chgid_;
- }
- inline void ExchangeCountInfo::set_chgid(::google::protobuf::int32 value) {
- set_has_chgid();
- chgid_ = value;
- }
- // optional int32 hasExchangeCount = 2;
- inline bool ExchangeCountInfo::has_hasexchangecount() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void ExchangeCountInfo::set_has_hasexchangecount() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void ExchangeCountInfo::clear_has_hasexchangecount() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void ExchangeCountInfo::clear_hasexchangecount() {
- hasexchangecount_ = 0;
- clear_has_hasexchangecount();
- }
- inline ::google::protobuf::int32 ExchangeCountInfo::hasexchangecount() const {
- return hasexchangecount_;
- }
- inline void ExchangeCountInfo::set_hasexchangecount(::google::protobuf::int32 value) {
- set_has_hasexchangecount();
- hasexchangecount_ = value;
- }
- // -------------------------------------------------------------------
- // packetw2c_req_exchange_count_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_exchange_count_result];
- inline bool packetw2c_req_exchange_count_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_req_exchange_count_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_req_exchange_count_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_req_exchange_count_result::clear_packet_id() {
- packet_id_ = 7585;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_req_exchange_count_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_req_exchange_count_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;
- }
- // repeated .client2world_protocols.ExchangeCountInfo G_InfoList = 2;
- inline int packetw2c_req_exchange_count_result::g_infolist_size() const {
- return g_infolist_.size();
- }
- inline void packetw2c_req_exchange_count_result::clear_g_infolist() {
- g_infolist_.Clear();
- }
- inline const ::client2world_protocols::ExchangeCountInfo& packetw2c_req_exchange_count_result::g_infolist(int index) const {
- return g_infolist_.Get(index);
- }
- inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::mutable_g_infolist(int index) {
- return g_infolist_.Mutable(index);
- }
- inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::add_g_infolist() {
- return g_infolist_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >&
- packetw2c_req_exchange_count_result::g_infolist() const {
- return g_infolist_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >*
- packetw2c_req_exchange_count_result::mutable_g_infolist() {
- return &g_infolist_;
- }
- // repeated .client2world_protocols.ExchangeCountInfo P_InfoList = 3;
- inline int packetw2c_req_exchange_count_result::p_infolist_size() const {
- return p_infolist_.size();
- }
- inline void packetw2c_req_exchange_count_result::clear_p_infolist() {
- p_infolist_.Clear();
- }
- inline const ::client2world_protocols::ExchangeCountInfo& packetw2c_req_exchange_count_result::p_infolist(int index) const {
- return p_infolist_.Get(index);
- }
- inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::mutable_p_infolist(int index) {
- return p_infolist_.Mutable(index);
- }
- inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::add_p_infolist() {
- return p_infolist_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >&
- packetw2c_req_exchange_count_result::p_infolist() const {
- return p_infolist_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >*
- packetw2c_req_exchange_count_result::mutable_p_infolist() {
- return &p_infolist_;
- }
- // @@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_5fexchange_2eproto__INCLUDED
|