123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: client2world_activity.proto
- #ifndef PROTOBUF_client2world_5factivity_2eproto__INCLUDED
- #define PROTOBUF_client2world_5factivity_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_5factivity_2eproto();
- void protobuf_AssignDesc_client2world_5factivity_2eproto();
- void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- class packetc2w_req_activity_state;
- class packetw2c_req_activity_state_result;
- class packetc2w_receive_cdkey;
- class packetw2c_receive_cdkey_result;
- class packetw2c_sync_activity_result;
- class packetc2w_get_grow_fund_info;
- class packetw2c_get_grow_fund_info_result;
- class packetc2w_receive_grow_fund_reward;
- class packetw2c_receive_grow_fund_reward_result;
- class packetc2w_grow_fund_record;
- // ===================================================================
- class packetc2w_req_activity_state : public ::google::protobuf::Message {
- public:
- packetc2w_req_activity_state();
- virtual ~packetc2w_req_activity_state();
- packetc2w_req_activity_state(const packetc2w_req_activity_state& from);
- inline packetc2w_req_activity_state& operator=(const packetc2w_req_activity_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_req_activity_state& default_instance();
- void Swap(packetc2w_req_activity_state* other);
- // implements Message ----------------------------------------------
- packetc2w_req_activity_state* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_req_activity_state& from);
- void MergeFrom(const packetc2w_req_activity_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_req_activity_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_req_activity_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_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_req_activity_state* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_req_activity_state_result : public ::google::protobuf::Message {
- public:
- packetw2c_req_activity_state_result();
- virtual ~packetw2c_req_activity_state_result();
- packetw2c_req_activity_state_result(const packetw2c_req_activity_state_result& from);
- inline packetw2c_req_activity_state_result& operator=(const packetw2c_req_activity_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_req_activity_state_result& default_instance();
- void Swap(packetw2c_req_activity_state_result* other);
- // implements Message ----------------------------------------------
- packetw2c_req_activity_state_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_req_activity_state_result& from);
- void MergeFrom(const packetw2c_req_activity_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_req_activity_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 .msg_info_def.ActivityReceiveInfo receiveInfo = 2;
- inline int receiveinfo_size() const;
- inline void clear_receiveinfo();
- static const int kReceiveInfoFieldNumber = 2;
- inline const ::msg_info_def::ActivityReceiveInfo& receiveinfo(int index) const;
- inline ::msg_info_def::ActivityReceiveInfo* mutable_receiveinfo(int index);
- inline ::msg_info_def::ActivityReceiveInfo* add_receiveinfo();
- inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityReceiveInfo >&
- receiveinfo() const;
- inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityReceiveInfo >*
- mutable_receiveinfo();
- // optional int32 activityCurRecharge = 3;
- inline bool has_activitycurrecharge() const;
- inline void clear_activitycurrecharge();
- static const int kActivityCurRechargeFieldNumber = 3;
- inline ::google::protobuf::int32 activitycurrecharge() const;
- inline void set_activitycurrecharge(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_activity_state_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_activitycurrecharge();
- inline void clear_has_activitycurrecharge();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityReceiveInfo > receiveinfo_;
- int packet_id_;
- ::google::protobuf::int32 activitycurrecharge_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_req_activity_state_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_receive_cdkey : public ::google::protobuf::Message {
- public:
- packetc2w_receive_cdkey();
- virtual ~packetc2w_receive_cdkey();
- packetc2w_receive_cdkey(const packetc2w_receive_cdkey& from);
- inline packetc2w_receive_cdkey& operator=(const packetc2w_receive_cdkey& 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_cdkey& default_instance();
- void Swap(packetc2w_receive_cdkey* other);
- // implements Message ----------------------------------------------
- packetc2w_receive_cdkey* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_receive_cdkey& from);
- void MergeFrom(const packetc2w_receive_cdkey& 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_cdkey];
- 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 string cdkey = 2;
- inline bool has_cdkey() const;
- inline void clear_cdkey();
- static const int kCdkeyFieldNumber = 2;
- inline const ::std::string& cdkey() const;
- inline void set_cdkey(const ::std::string& value);
- inline void set_cdkey(const char* value);
- inline void set_cdkey(const char* value, size_t size);
- inline ::std::string* mutable_cdkey();
- inline ::std::string* release_cdkey();
- inline void set_allocated_cdkey(::std::string* cdkey);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_cdkey)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_cdkey();
- inline void clear_has_cdkey();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::std::string* cdkey_;
- int packet_id_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_receive_cdkey* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_receive_cdkey_result : public ::google::protobuf::Message {
- public:
- packetw2c_receive_cdkey_result();
- virtual ~packetw2c_receive_cdkey_result();
- packetw2c_receive_cdkey_result(const packetw2c_receive_cdkey_result& from);
- inline packetw2c_receive_cdkey_result& operator=(const packetw2c_receive_cdkey_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_cdkey_result& default_instance();
- void Swap(packetw2c_receive_cdkey_result* other);
- // implements Message ----------------------------------------------
- packetw2c_receive_cdkey_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_receive_cdkey_result& from);
- void MergeFrom(const packetw2c_receive_cdkey_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_cdkey_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 giftId = 3;
- inline bool has_giftid() const;
- inline void clear_giftid();
- static const int kGiftIdFieldNumber = 3;
- inline ::google::protobuf::int32 giftid() const;
- inline void set_giftid(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_cdkey_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_giftid();
- inline void clear_has_giftid();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 result_;
- ::google::protobuf::int32 giftid_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_receive_cdkey_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_sync_activity_result : public ::google::protobuf::Message {
- public:
- packetw2c_sync_activity_result();
- virtual ~packetw2c_sync_activity_result();
- packetw2c_sync_activity_result(const packetw2c_sync_activity_result& from);
- inline packetw2c_sync_activity_result& operator=(const packetw2c_sync_activity_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_sync_activity_result& default_instance();
- void Swap(packetw2c_sync_activity_result* other);
- // implements Message ----------------------------------------------
- packetw2c_sync_activity_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_sync_activity_result& from);
- void MergeFrom(const packetw2c_sync_activity_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_sync_activity_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 active = 2;
- inline bool has_active() const;
- inline void clear_active();
- static const int kActiveFieldNumber = 2;
- inline ::google::protobuf::int32 active() const;
- inline void set_active(::google::protobuf::int32 value);
- // repeated int32 hasGetActiveBox = 3;
- inline int hasgetactivebox_size() const;
- inline void clear_hasgetactivebox();
- static const int kHasGetActiveBoxFieldNumber = 3;
- inline ::google::protobuf::int32 hasgetactivebox(int index) const;
- inline void set_hasgetactivebox(int index, ::google::protobuf::int32 value);
- inline void add_hasgetactivebox(::google::protobuf::int32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
- hasgetactivebox() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
- mutable_hasgetactivebox();
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_sync_activity_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_active();
- inline void clear_has_active();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 active_;
- ::google::protobuf::RepeatedField< ::google::protobuf::int32 > hasgetactivebox_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_sync_activity_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_get_grow_fund_info : public ::google::protobuf::Message {
- public:
- packetc2w_get_grow_fund_info();
- virtual ~packetc2w_get_grow_fund_info();
- packetc2w_get_grow_fund_info(const packetc2w_get_grow_fund_info& from);
- inline packetc2w_get_grow_fund_info& operator=(const packetc2w_get_grow_fund_info& 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_grow_fund_info& default_instance();
- void Swap(packetc2w_get_grow_fund_info* other);
- // implements Message ----------------------------------------------
- packetc2w_get_grow_fund_info* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_get_grow_fund_info& from);
- void MergeFrom(const packetc2w_get_grow_fund_info& 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_grow_fund_info];
- 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_grow_fund_info)
- 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_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_get_grow_fund_info* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_get_grow_fund_info_result : public ::google::protobuf::Message {
- public:
- packetw2c_get_grow_fund_info_result();
- virtual ~packetw2c_get_grow_fund_info_result();
- packetw2c_get_grow_fund_info_result(const packetw2c_get_grow_fund_info_result& from);
- inline packetw2c_get_grow_fund_info_result& operator=(const packetw2c_get_grow_fund_info_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_grow_fund_info_result& default_instance();
- void Swap(packetw2c_get_grow_fund_info_result* other);
- // implements Message ----------------------------------------------
- packetw2c_get_grow_fund_info_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_get_grow_fund_info_result& from);
- void MergeFrom(const packetw2c_get_grow_fund_info_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_grow_fund_info_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 bool isReceived = 2;
- inline int isreceived_size() const;
- inline void clear_isreceived();
- static const int kIsReceivedFieldNumber = 2;
- inline bool isreceived(int index) const;
- inline void set_isreceived(int index, bool value);
- inline void add_isreceived(bool value);
- inline const ::google::protobuf::RepeatedField< bool >&
- isreceived() const;
- inline ::google::protobuf::RepeatedField< bool >*
- mutable_isreceived();
- // optional int32 rechared = 3;
- inline bool has_rechared() const;
- inline void clear_rechared();
- static const int kRecharedFieldNumber = 3;
- inline ::google::protobuf::int32 rechared() const;
- inline void set_rechared(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_get_grow_fund_info_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_rechared();
- inline void clear_has_rechared();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::RepeatedField< bool > isreceived_;
- int packet_id_;
- ::google::protobuf::int32 rechared_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_get_grow_fund_info_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_receive_grow_fund_reward : public ::google::protobuf::Message {
- public:
- packetc2w_receive_grow_fund_reward();
- virtual ~packetc2w_receive_grow_fund_reward();
- packetc2w_receive_grow_fund_reward(const packetc2w_receive_grow_fund_reward& from);
- inline packetc2w_receive_grow_fund_reward& operator=(const packetc2w_receive_grow_fund_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_grow_fund_reward& default_instance();
- void Swap(packetc2w_receive_grow_fund_reward* other);
- // implements Message ----------------------------------------------
- packetc2w_receive_grow_fund_reward* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_receive_grow_fund_reward& from);
- void MergeFrom(const packetc2w_receive_grow_fund_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_grow_fund_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 rewardid = 2;
- inline bool has_rewardid() const;
- inline void clear_rewardid();
- static const int kRewardidFieldNumber = 2;
- inline ::google::protobuf::int32 rewardid() const;
- inline void set_rewardid(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_grow_fund_reward)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_rewardid();
- inline void clear_has_rewardid();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 rewardid_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_receive_grow_fund_reward* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_receive_grow_fund_reward_result : public ::google::protobuf::Message {
- public:
- packetw2c_receive_grow_fund_reward_result();
- virtual ~packetw2c_receive_grow_fund_reward_result();
- packetw2c_receive_grow_fund_reward_result(const packetw2c_receive_grow_fund_reward_result& from);
- inline packetw2c_receive_grow_fund_reward_result& operator=(const packetw2c_receive_grow_fund_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_grow_fund_reward_result& default_instance();
- void Swap(packetw2c_receive_grow_fund_reward_result* other);
- // implements Message ----------------------------------------------
- packetw2c_receive_grow_fund_reward_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_receive_grow_fund_reward_result& from);
- void MergeFrom(const packetw2c_receive_grow_fund_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_grow_fund_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 rewardid = 3;
- inline bool has_rewardid() const;
- inline void clear_rewardid();
- static const int kRewardidFieldNumber = 3;
- inline ::google::protobuf::int32 rewardid() const;
- inline void set_rewardid(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_grow_fund_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_rewardid();
- inline void clear_has_rewardid();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- ::google::protobuf::int32 result_;
- ::google::protobuf::int32 rewardid_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_receive_grow_fund_reward_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_grow_fund_record : public ::google::protobuf::Message {
- public:
- packetc2w_grow_fund_record();
- virtual ~packetc2w_grow_fund_record();
- packetc2w_grow_fund_record(const packetc2w_grow_fund_record& from);
- inline packetc2w_grow_fund_record& operator=(const packetc2w_grow_fund_record& 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_grow_fund_record& default_instance();
- void Swap(packetc2w_grow_fund_record* other);
- // implements Message ----------------------------------------------
- packetc2w_grow_fund_record* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_grow_fund_record& from);
- void MergeFrom(const packetc2w_grow_fund_record& 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_grow_fund_record];
- 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_grow_fund_record)
- 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_5factivity_2eproto();
- friend void protobuf_AssignDesc_client2world_5factivity_2eproto();
- friend void protobuf_ShutdownFile_client2world_5factivity_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_grow_fund_record* default_instance_;
- };
- // ===================================================================
- // ===================================================================
- // packetc2w_req_activity_state
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state];
- inline bool packetc2w_req_activity_state::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_req_activity_state::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_req_activity_state::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_req_activity_state::clear_packet_id() {
- packet_id_ = 5076;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_req_activity_state::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_req_activity_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;
- }
- // -------------------------------------------------------------------
- // packetw2c_req_activity_state_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result];
- inline bool packetw2c_req_activity_state_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_req_activity_state_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_req_activity_state_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_req_activity_state_result::clear_packet_id() {
- packet_id_ = 7580;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_req_activity_state_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_req_activity_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 .msg_info_def.ActivityReceiveInfo receiveInfo = 2;
- inline int packetw2c_req_activity_state_result::receiveinfo_size() const {
- return receiveinfo_.size();
- }
- inline void packetw2c_req_activity_state_result::clear_receiveinfo() {
- receiveinfo_.Clear();
- }
- inline const ::msg_info_def::ActivityReceiveInfo& packetw2c_req_activity_state_result::receiveinfo(int index) const {
- return receiveinfo_.Get(index);
- }
- inline ::msg_info_def::ActivityReceiveInfo* packetw2c_req_activity_state_result::mutable_receiveinfo(int index) {
- return receiveinfo_.Mutable(index);
- }
- inline ::msg_info_def::ActivityReceiveInfo* packetw2c_req_activity_state_result::add_receiveinfo() {
- return receiveinfo_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityReceiveInfo >&
- packetw2c_req_activity_state_result::receiveinfo() const {
- return receiveinfo_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityReceiveInfo >*
- packetw2c_req_activity_state_result::mutable_receiveinfo() {
- return &receiveinfo_;
- }
- // optional int32 activityCurRecharge = 3;
- inline bool packetw2c_req_activity_state_result::has_activitycurrecharge() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_req_activity_state_result::set_has_activitycurrecharge() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_req_activity_state_result::clear_has_activitycurrecharge() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_req_activity_state_result::clear_activitycurrecharge() {
- activitycurrecharge_ = 0;
- clear_has_activitycurrecharge();
- }
- inline ::google::protobuf::int32 packetw2c_req_activity_state_result::activitycurrecharge() const {
- return activitycurrecharge_;
- }
- inline void packetw2c_req_activity_state_result::set_activitycurrecharge(::google::protobuf::int32 value) {
- set_has_activitycurrecharge();
- activitycurrecharge_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_receive_cdkey
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey];
- inline bool packetc2w_receive_cdkey::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_receive_cdkey::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_receive_cdkey::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_receive_cdkey::clear_packet_id() {
- packet_id_ = 5074;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_receive_cdkey::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_receive_cdkey::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 string cdkey = 2;
- inline bool packetc2w_receive_cdkey::has_cdkey() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetc2w_receive_cdkey::set_has_cdkey() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetc2w_receive_cdkey::clear_has_cdkey() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetc2w_receive_cdkey::clear_cdkey() {
- if (cdkey_ != &::google::protobuf::internal::kEmptyString) {
- cdkey_->clear();
- }
- clear_has_cdkey();
- }
- inline const ::std::string& packetc2w_receive_cdkey::cdkey() const {
- return *cdkey_;
- }
- inline void packetc2w_receive_cdkey::set_cdkey(const ::std::string& value) {
- set_has_cdkey();
- if (cdkey_ == &::google::protobuf::internal::kEmptyString) {
- cdkey_ = new ::std::string;
- }
- cdkey_->assign(value);
- }
- inline void packetc2w_receive_cdkey::set_cdkey(const char* value) {
- set_has_cdkey();
- if (cdkey_ == &::google::protobuf::internal::kEmptyString) {
- cdkey_ = new ::std::string;
- }
- cdkey_->assign(value);
- }
- inline void packetc2w_receive_cdkey::set_cdkey(const char* value, size_t size) {
- set_has_cdkey();
- if (cdkey_ == &::google::protobuf::internal::kEmptyString) {
- cdkey_ = new ::std::string;
- }
- cdkey_->assign(reinterpret_cast<const char*>(value), size);
- }
- inline ::std::string* packetc2w_receive_cdkey::mutable_cdkey() {
- set_has_cdkey();
- if (cdkey_ == &::google::protobuf::internal::kEmptyString) {
- cdkey_ = new ::std::string;
- }
- return cdkey_;
- }
- inline ::std::string* packetc2w_receive_cdkey::release_cdkey() {
- clear_has_cdkey();
- if (cdkey_ == &::google::protobuf::internal::kEmptyString) {
- return NULL;
- } else {
- ::std::string* temp = cdkey_;
- cdkey_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- return temp;
- }
- }
- inline void packetc2w_receive_cdkey::set_allocated_cdkey(::std::string* cdkey) {
- if (cdkey_ != &::google::protobuf::internal::kEmptyString) {
- delete cdkey_;
- }
- if (cdkey) {
- set_has_cdkey();
- cdkey_ = cdkey;
- } else {
- clear_has_cdkey();
- cdkey_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- }
- }
- // -------------------------------------------------------------------
- // packetw2c_receive_cdkey_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result];
- inline bool packetw2c_receive_cdkey_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_receive_cdkey_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_receive_cdkey_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_receive_cdkey_result::clear_packet_id() {
- packet_id_ = 7578;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_receive_cdkey_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_receive_cdkey_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_cdkey_result::has_result() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetw2c_receive_cdkey_result::set_has_result() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetw2c_receive_cdkey_result::clear_has_result() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetw2c_receive_cdkey_result::clear_result() {
- result_ = 0;
- clear_has_result();
- }
- inline ::google::protobuf::int32 packetw2c_receive_cdkey_result::result() const {
- return result_;
- }
- inline void packetw2c_receive_cdkey_result::set_result(::google::protobuf::int32 value) {
- set_has_result();
- result_ = value;
- }
- // optional int32 giftId = 3;
- inline bool packetw2c_receive_cdkey_result::has_giftid() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_receive_cdkey_result::set_has_giftid() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_receive_cdkey_result::clear_has_giftid() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_receive_cdkey_result::clear_giftid() {
- giftid_ = 0;
- clear_has_giftid();
- }
- inline ::google::protobuf::int32 packetw2c_receive_cdkey_result::giftid() const {
- return giftid_;
- }
- inline void packetw2c_receive_cdkey_result::set_giftid(::google::protobuf::int32 value) {
- set_has_giftid();
- giftid_ = value;
- }
- // -------------------------------------------------------------------
- // packetw2c_sync_activity_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result];
- inline bool packetw2c_sync_activity_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_sync_activity_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_sync_activity_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_sync_activity_result::clear_packet_id() {
- packet_id_ = 7581;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_sync_activity_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_sync_activity_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 active = 2;
- inline bool packetw2c_sync_activity_result::has_active() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetw2c_sync_activity_result::set_has_active() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetw2c_sync_activity_result::clear_has_active() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetw2c_sync_activity_result::clear_active() {
- active_ = 0;
- clear_has_active();
- }
- inline ::google::protobuf::int32 packetw2c_sync_activity_result::active() const {
- return active_;
- }
- inline void packetw2c_sync_activity_result::set_active(::google::protobuf::int32 value) {
- set_has_active();
- active_ = value;
- }
- // repeated int32 hasGetActiveBox = 3;
- inline int packetw2c_sync_activity_result::hasgetactivebox_size() const {
- return hasgetactivebox_.size();
- }
- inline void packetw2c_sync_activity_result::clear_hasgetactivebox() {
- hasgetactivebox_.Clear();
- }
- inline ::google::protobuf::int32 packetw2c_sync_activity_result::hasgetactivebox(int index) const {
- return hasgetactivebox_.Get(index);
- }
- inline void packetw2c_sync_activity_result::set_hasgetactivebox(int index, ::google::protobuf::int32 value) {
- hasgetactivebox_.Set(index, value);
- }
- inline void packetw2c_sync_activity_result::add_hasgetactivebox(::google::protobuf::int32 value) {
- hasgetactivebox_.Add(value);
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
- packetw2c_sync_activity_result::hasgetactivebox() const {
- return hasgetactivebox_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
- packetw2c_sync_activity_result::mutable_hasgetactivebox() {
- return &hasgetactivebox_;
- }
- // -------------------------------------------------------------------
- // packetc2w_get_grow_fund_info
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info];
- inline bool packetc2w_get_grow_fund_info::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_get_grow_fund_info::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_get_grow_fund_info::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_get_grow_fund_info::clear_packet_id() {
- packet_id_ = 5163;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_get_grow_fund_info::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_get_grow_fund_info::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;
- }
- // -------------------------------------------------------------------
- // packetw2c_get_grow_fund_info_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result];
- inline bool packetw2c_get_grow_fund_info_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_get_grow_fund_info_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_get_grow_fund_info_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_get_grow_fund_info_result::clear_packet_id() {
- packet_id_ = 7678;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_get_grow_fund_info_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_get_grow_fund_info_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 bool isReceived = 2;
- inline int packetw2c_get_grow_fund_info_result::isreceived_size() const {
- return isreceived_.size();
- }
- inline void packetw2c_get_grow_fund_info_result::clear_isreceived() {
- isreceived_.Clear();
- }
- inline bool packetw2c_get_grow_fund_info_result::isreceived(int index) const {
- return isreceived_.Get(index);
- }
- inline void packetw2c_get_grow_fund_info_result::set_isreceived(int index, bool value) {
- isreceived_.Set(index, value);
- }
- inline void packetw2c_get_grow_fund_info_result::add_isreceived(bool value) {
- isreceived_.Add(value);
- }
- inline const ::google::protobuf::RepeatedField< bool >&
- packetw2c_get_grow_fund_info_result::isreceived() const {
- return isreceived_;
- }
- inline ::google::protobuf::RepeatedField< bool >*
- packetw2c_get_grow_fund_info_result::mutable_isreceived() {
- return &isreceived_;
- }
- // optional int32 rechared = 3;
- inline bool packetw2c_get_grow_fund_info_result::has_rechared() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_get_grow_fund_info_result::set_has_rechared() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_get_grow_fund_info_result::clear_has_rechared() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_get_grow_fund_info_result::clear_rechared() {
- rechared_ = 0;
- clear_has_rechared();
- }
- inline ::google::protobuf::int32 packetw2c_get_grow_fund_info_result::rechared() const {
- return rechared_;
- }
- inline void packetw2c_get_grow_fund_info_result::set_rechared(::google::protobuf::int32 value) {
- set_has_rechared();
- rechared_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_receive_grow_fund_reward
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward];
- inline bool packetc2w_receive_grow_fund_reward::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_receive_grow_fund_reward::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_receive_grow_fund_reward::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_receive_grow_fund_reward::clear_packet_id() {
- packet_id_ = 5162;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_receive_grow_fund_reward::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_receive_grow_fund_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 rewardid = 2;
- inline bool packetc2w_receive_grow_fund_reward::has_rewardid() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetc2w_receive_grow_fund_reward::set_has_rewardid() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetc2w_receive_grow_fund_reward::clear_has_rewardid() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetc2w_receive_grow_fund_reward::clear_rewardid() {
- rewardid_ = 0;
- clear_has_rewardid();
- }
- inline ::google::protobuf::int32 packetc2w_receive_grow_fund_reward::rewardid() const {
- return rewardid_;
- }
- inline void packetc2w_receive_grow_fund_reward::set_rewardid(::google::protobuf::int32 value) {
- set_has_rewardid();
- rewardid_ = value;
- }
- // -------------------------------------------------------------------
- // packetw2c_receive_grow_fund_reward_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result];
- inline bool packetw2c_receive_grow_fund_reward_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_receive_grow_fund_reward_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_receive_grow_fund_reward_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_receive_grow_fund_reward_result::clear_packet_id() {
- packet_id_ = 7677;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_receive_grow_fund_reward_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_receive_grow_fund_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_grow_fund_reward_result::has_result() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetw2c_receive_grow_fund_reward_result::set_has_result() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetw2c_receive_grow_fund_reward_result::clear_has_result() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetw2c_receive_grow_fund_reward_result::clear_result() {
- result_ = 0;
- clear_has_result();
- }
- inline ::google::protobuf::int32 packetw2c_receive_grow_fund_reward_result::result() const {
- return result_;
- }
- inline void packetw2c_receive_grow_fund_reward_result::set_result(::google::protobuf::int32 value) {
- set_has_result();
- result_ = value;
- }
- // optional int32 rewardid = 3;
- inline bool packetw2c_receive_grow_fund_reward_result::has_rewardid() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_receive_grow_fund_reward_result::set_has_rewardid() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_receive_grow_fund_reward_result::clear_has_rewardid() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_receive_grow_fund_reward_result::clear_rewardid() {
- rewardid_ = 0;
- clear_has_rewardid();
- }
- inline ::google::protobuf::int32 packetw2c_receive_grow_fund_reward_result::rewardid() const {
- return rewardid_;
- }
- inline void packetw2c_receive_grow_fund_reward_result::set_rewardid(::google::protobuf::int32 value) {
- set_has_rewardid();
- rewardid_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_grow_fund_record
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record];
- inline bool packetc2w_grow_fund_record::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_grow_fund_record::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_grow_fund_record::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_grow_fund_record::clear_packet_id() {
- packet_id_ = 5164;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_grow_fund_record::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_grow_fund_record::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;
- }
- // @@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_5factivity_2eproto__INCLUDED
|