1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: client2world_rank.proto
- #ifndef PROTOBUF_client2world_5frank_2eproto__INCLUDED
- #define PROTOBUF_client2world_5frank_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_5frank_2eproto();
- void protobuf_AssignDesc_client2world_5frank_2eproto();
- void protobuf_ShutdownFile_client2world_5frank_2eproto();
- class RankInfo;
- class packetc2w_req_coin_rank;
- class packetw2c_req_coin_rank_result;
- class RechargeInfo;
- class packetc2w_req_recharge_rank;
- class packetw2c_req_recharge_rank_result;
- class packetc2w_req_coin_growth;
- class packetw2c_req_coin_growth_result;
- // ===================================================================
- class RankInfo : public ::google::protobuf::Message {
- public:
- RankInfo();
- virtual ~RankInfo();
- RankInfo(const RankInfo& from);
- inline RankInfo& operator=(const RankInfo& 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 RankInfo& default_instance();
- void Swap(RankInfo* other);
- // implements Message ----------------------------------------------
- RankInfo* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const RankInfo& from);
- void MergeFrom(const RankInfo& 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 playerId = 1;
- inline bool has_playerid() const;
- inline void clear_playerid();
- static const int kPlayerIdFieldNumber = 1;
- inline ::google::protobuf::int32 playerid() const;
- inline void set_playerid(::google::protobuf::int32 value);
- // optional string nickName = 2;
- inline bool has_nickname() const;
- inline void clear_nickname();
- static const int kNickNameFieldNumber = 2;
- inline const ::std::string& nickname() const;
- inline void set_nickname(const ::std::string& value);
- inline void set_nickname(const char* value);
- inline void set_nickname(const char* value, size_t size);
- inline ::std::string* mutable_nickname();
- inline ::std::string* release_nickname();
- inline void set_allocated_nickname(::std::string* nickname);
- // optional int64 gold = 3;
- inline bool has_gold() const;
- inline void clear_gold();
- static const int kGoldFieldNumber = 3;
- inline ::google::protobuf::int64 gold() const;
- inline void set_gold(::google::protobuf::int64 value);
- // optional int32 vipLevel = 4;
- inline bool has_viplevel() const;
- inline void clear_viplevel();
- static const int kVipLevelFieldNumber = 4;
- inline ::google::protobuf::int32 viplevel() const;
- inline void set_viplevel(::google::protobuf::int32 value);
- // optional int32 playerlv = 5;
- inline bool has_playerlv() const;
- inline void clear_playerlv();
- static const int kPlayerlvFieldNumber = 5;
- inline ::google::protobuf::int32 playerlv() const;
- inline void set_playerlv(::google::protobuf::int32 value);
- // optional int32 headid = 6;
- inline bool has_headid() const;
- inline void clear_headid();
- static const int kHeadidFieldNumber = 6;
- inline ::google::protobuf::int32 headid() const;
- inline void set_headid(::google::protobuf::int32 value);
- // optional int32 frameid = 7;
- inline bool has_frameid() const;
- inline void clear_frameid();
- static const int kFrameidFieldNumber = 7;
- inline ::google::protobuf::int32 frameid() const;
- inline void set_frameid(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.RankInfo)
- private:
- inline void set_has_playerid();
- inline void clear_has_playerid();
- inline void set_has_nickname();
- inline void clear_has_nickname();
- inline void set_has_gold();
- inline void clear_has_gold();
- inline void set_has_viplevel();
- inline void clear_has_viplevel();
- inline void set_has_playerlv();
- inline void clear_has_playerlv();
- inline void set_has_headid();
- inline void clear_has_headid();
- inline void set_has_frameid();
- inline void clear_has_frameid();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::std::string* nickname_;
- ::google::protobuf::int32 playerid_;
- ::google::protobuf::int32 viplevel_;
- ::google::protobuf::int64 gold_;
- ::google::protobuf::int32 playerlv_;
- ::google::protobuf::int32 headid_;
- ::google::protobuf::int32 frameid_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static RankInfo* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_req_coin_rank : public ::google::protobuf::Message {
- public:
- packetc2w_req_coin_rank();
- virtual ~packetc2w_req_coin_rank();
- packetc2w_req_coin_rank(const packetc2w_req_coin_rank& from);
- inline packetc2w_req_coin_rank& operator=(const packetc2w_req_coin_rank& 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_coin_rank& default_instance();
- void Swap(packetc2w_req_coin_rank* other);
- // implements Message ----------------------------------------------
- packetc2w_req_coin_rank* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_req_coin_rank& from);
- void MergeFrom(const packetc2w_req_coin_rank& 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_coin_rank];
- 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_coin_rank)
- 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_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_req_coin_rank* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_req_coin_rank_result : public ::google::protobuf::Message {
- public:
- packetw2c_req_coin_rank_result();
- virtual ~packetw2c_req_coin_rank_result();
- packetw2c_req_coin_rank_result(const packetw2c_req_coin_rank_result& from);
- inline packetw2c_req_coin_rank_result& operator=(const packetw2c_req_coin_rank_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_coin_rank_result& default_instance();
- void Swap(packetw2c_req_coin_rank_result* other);
- // implements Message ----------------------------------------------
- packetw2c_req_coin_rank_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_req_coin_rank_result& from);
- void MergeFrom(const packetw2c_req_coin_rank_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_coin_rank_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.RankInfo rankList = 2;
- inline int ranklist_size() const;
- inline void clear_ranklist();
- static const int kRankListFieldNumber = 2;
- inline const ::client2world_protocols::RankInfo& ranklist(int index) const;
- inline ::client2world_protocols::RankInfo* mutable_ranklist(int index);
- inline ::client2world_protocols::RankInfo* add_ranklist();
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >&
- ranklist() const;
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >*
- mutable_ranklist();
- // optional int32 selfRank = 3;
- inline bool has_selfrank() const;
- inline void clear_selfrank();
- static const int kSelfRankFieldNumber = 3;
- inline ::google::protobuf::int32 selfrank() const;
- inline void set_selfrank(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_coin_rank_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_selfrank();
- inline void clear_has_selfrank();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo > ranklist_;
- int packet_id_;
- ::google::protobuf::int32 selfrank_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_req_coin_rank_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class RechargeInfo : public ::google::protobuf::Message {
- public:
- RechargeInfo();
- virtual ~RechargeInfo();
- RechargeInfo(const RechargeInfo& from);
- inline RechargeInfo& operator=(const RechargeInfo& 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 RechargeInfo& default_instance();
- void Swap(RechargeInfo* other);
- // implements Message ----------------------------------------------
- RechargeInfo* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const RechargeInfo& from);
- void MergeFrom(const RechargeInfo& 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 playerId = 1;
- inline bool has_playerid() const;
- inline void clear_playerid();
- static const int kPlayerIdFieldNumber = 1;
- inline ::google::protobuf::int32 playerid() const;
- inline void set_playerid(::google::protobuf::int32 value);
- // optional string nickName = 2;
- inline bool has_nickname() const;
- inline void clear_nickname();
- static const int kNickNameFieldNumber = 2;
- inline const ::std::string& nickname() const;
- inline void set_nickname(const ::std::string& value);
- inline void set_nickname(const char* value);
- inline void set_nickname(const char* value, size_t size);
- inline ::std::string* mutable_nickname();
- inline ::std::string* release_nickname();
- inline void set_allocated_nickname(::std::string* nickname);
- // optional int32 rmb = 3;
- inline bool has_rmb() const;
- inline void clear_rmb();
- static const int kRmbFieldNumber = 3;
- inline ::google::protobuf::int32 rmb() const;
- inline void set_rmb(::google::protobuf::int32 value);
- // optional int32 vipLevel = 4;
- inline bool has_viplevel() const;
- inline void clear_viplevel();
- static const int kVipLevelFieldNumber = 4;
- inline ::google::protobuf::int32 viplevel() const;
- inline void set_viplevel(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.RechargeInfo)
- private:
- inline void set_has_playerid();
- inline void clear_has_playerid();
- inline void set_has_nickname();
- inline void clear_has_nickname();
- inline void set_has_rmb();
- inline void clear_has_rmb();
- inline void set_has_viplevel();
- inline void clear_has_viplevel();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::std::string* nickname_;
- ::google::protobuf::int32 playerid_;
- ::google::protobuf::int32 rmb_;
- ::google::protobuf::int32 viplevel_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static RechargeInfo* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_req_recharge_rank : public ::google::protobuf::Message {
- public:
- packetc2w_req_recharge_rank();
- virtual ~packetc2w_req_recharge_rank();
- packetc2w_req_recharge_rank(const packetc2w_req_recharge_rank& from);
- inline packetc2w_req_recharge_rank& operator=(const packetc2w_req_recharge_rank& 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_recharge_rank& default_instance();
- void Swap(packetc2w_req_recharge_rank* other);
- // implements Message ----------------------------------------------
- packetc2w_req_recharge_rank* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_req_recharge_rank& from);
- void MergeFrom(const packetc2w_req_recharge_rank& 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_recharge_rank];
- 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 bool is_yesterday = 2 [default = false];
- inline bool has_is_yesterday() const;
- inline void clear_is_yesterday();
- static const int kIsYesterdayFieldNumber = 2;
- inline bool is_yesterday() const;
- inline void set_is_yesterday(bool value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_recharge_rank)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_is_yesterday();
- inline void clear_has_is_yesterday();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- int packet_id_;
- bool is_yesterday_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_req_recharge_rank* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_req_recharge_rank_result : public ::google::protobuf::Message {
- public:
- packetw2c_req_recharge_rank_result();
- virtual ~packetw2c_req_recharge_rank_result();
- packetw2c_req_recharge_rank_result(const packetw2c_req_recharge_rank_result& from);
- inline packetw2c_req_recharge_rank_result& operator=(const packetw2c_req_recharge_rank_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_recharge_rank_result& default_instance();
- void Swap(packetw2c_req_recharge_rank_result* other);
- // implements Message ----------------------------------------------
- packetw2c_req_recharge_rank_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_req_recharge_rank_result& from);
- void MergeFrom(const packetw2c_req_recharge_rank_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_recharge_rank_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.RechargeInfo rankList = 2;
- inline int ranklist_size() const;
- inline void clear_ranklist();
- static const int kRankListFieldNumber = 2;
- inline const ::client2world_protocols::RechargeInfo& ranklist(int index) const;
- inline ::client2world_protocols::RechargeInfo* mutable_ranklist(int index);
- inline ::client2world_protocols::RechargeInfo* add_ranklist();
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RechargeInfo >&
- ranklist() const;
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RechargeInfo >*
- mutable_ranklist();
- // optional int32 selfRank = 3;
- inline bool has_selfrank() const;
- inline void clear_selfrank();
- static const int kSelfRankFieldNumber = 3;
- inline ::google::protobuf::int32 selfrank() const;
- inline void set_selfrank(::google::protobuf::int32 value);
- // optional int32 selfrmb = 4;
- inline bool has_selfrmb() const;
- inline void clear_selfrmb();
- static const int kSelfrmbFieldNumber = 4;
- inline ::google::protobuf::int32 selfrmb() const;
- inline void set_selfrmb(::google::protobuf::int32 value);
- // optional bool is_yesterday = 5 [default = false];
- inline bool has_is_yesterday() const;
- inline void clear_is_yesterday();
- static const int kIsYesterdayFieldNumber = 5;
- inline bool is_yesterday() const;
- inline void set_is_yesterday(bool value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_recharge_rank_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_selfrank();
- inline void clear_has_selfrank();
- inline void set_has_selfrmb();
- inline void clear_has_selfrmb();
- inline void set_has_is_yesterday();
- inline void clear_has_is_yesterday();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RechargeInfo > ranklist_;
- int packet_id_;
- ::google::protobuf::int32 selfrank_;
- ::google::protobuf::int32 selfrmb_;
- bool is_yesterday_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_req_recharge_rank_result* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetc2w_req_coin_growth : public ::google::protobuf::Message {
- public:
- packetc2w_req_coin_growth();
- virtual ~packetc2w_req_coin_growth();
- packetc2w_req_coin_growth(const packetc2w_req_coin_growth& from);
- inline packetc2w_req_coin_growth& operator=(const packetc2w_req_coin_growth& 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_coin_growth& default_instance();
- void Swap(packetc2w_req_coin_growth* other);
- // implements Message ----------------------------------------------
- packetc2w_req_coin_growth* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetc2w_req_coin_growth& from);
- void MergeFrom(const packetc2w_req_coin_growth& 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_coin_growth];
- 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_coin_growth)
- 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_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static packetc2w_req_coin_growth* default_instance_;
- };
- // -------------------------------------------------------------------
- class packetw2c_req_coin_growth_result : public ::google::protobuf::Message {
- public:
- packetw2c_req_coin_growth_result();
- virtual ~packetw2c_req_coin_growth_result();
- packetw2c_req_coin_growth_result(const packetw2c_req_coin_growth_result& from);
- inline packetw2c_req_coin_growth_result& operator=(const packetw2c_req_coin_growth_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_coin_growth_result& default_instance();
- void Swap(packetw2c_req_coin_growth_result* other);
- // implements Message ----------------------------------------------
- packetw2c_req_coin_growth_result* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const packetw2c_req_coin_growth_result& from);
- void MergeFrom(const packetw2c_req_coin_growth_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_coin_growth_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.RankInfo rankList = 2;
- inline int ranklist_size() const;
- inline void clear_ranklist();
- static const int kRankListFieldNumber = 2;
- inline const ::client2world_protocols::RankInfo& ranklist(int index) const;
- inline ::client2world_protocols::RankInfo* mutable_ranklist(int index);
- inline ::client2world_protocols::RankInfo* add_ranklist();
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >&
- ranklist() const;
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >*
- mutable_ranklist();
- // optional int32 selfRank = 3;
- inline bool has_selfrank() const;
- inline void clear_selfrank();
- static const int kSelfRankFieldNumber = 3;
- inline ::google::protobuf::int32 selfrank() const;
- inline void set_selfrank(::google::protobuf::int32 value);
- // optional int64 selfGold = 4;
- inline bool has_selfgold() const;
- inline void clear_selfgold();
- static const int kSelfGoldFieldNumber = 4;
- inline ::google::protobuf::int64 selfgold() const;
- inline void set_selfgold(::google::protobuf::int64 value);
- // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_coin_growth_result)
- private:
- inline void set_has_packet_id();
- inline void clear_has_packet_id();
- inline void set_has_selfrank();
- inline void clear_has_selfrank();
- inline void set_has_selfgold();
- inline void clear_has_selfgold();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo > ranklist_;
- int packet_id_;
- ::google::protobuf::int32 selfrank_;
- ::google::protobuf::int64 selfgold_;
- mutable int _cached_size_;
- ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
- friend void protobuf_AddDesc_client2world_5frank_2eproto();
- friend void protobuf_AssignDesc_client2world_5frank_2eproto();
- friend void protobuf_ShutdownFile_client2world_5frank_2eproto();
- void InitAsDefaultInstance();
- static packetw2c_req_coin_growth_result* default_instance_;
- };
- // ===================================================================
- // ===================================================================
- // RankInfo
- // optional int32 playerId = 1;
- inline bool RankInfo::has_playerid() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void RankInfo::set_has_playerid() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void RankInfo::clear_has_playerid() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void RankInfo::clear_playerid() {
- playerid_ = 0;
- clear_has_playerid();
- }
- inline ::google::protobuf::int32 RankInfo::playerid() const {
- return playerid_;
- }
- inline void RankInfo::set_playerid(::google::protobuf::int32 value) {
- set_has_playerid();
- playerid_ = value;
- }
- // optional string nickName = 2;
- inline bool RankInfo::has_nickname() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void RankInfo::set_has_nickname() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void RankInfo::clear_has_nickname() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void RankInfo::clear_nickname() {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- nickname_->clear();
- }
- clear_has_nickname();
- }
- inline const ::std::string& RankInfo::nickname() const {
- return *nickname_;
- }
- inline void RankInfo::set_nickname(const ::std::string& value) {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- nickname_->assign(value);
- }
- inline void RankInfo::set_nickname(const char* value) {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- nickname_->assign(value);
- }
- inline void RankInfo::set_nickname(const char* value, size_t size) {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- nickname_->assign(reinterpret_cast<const char*>(value), size);
- }
- inline ::std::string* RankInfo::mutable_nickname() {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- return nickname_;
- }
- inline ::std::string* RankInfo::release_nickname() {
- clear_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- return NULL;
- } else {
- ::std::string* temp = nickname_;
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- return temp;
- }
- }
- inline void RankInfo::set_allocated_nickname(::std::string* nickname) {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- delete nickname_;
- }
- if (nickname) {
- set_has_nickname();
- nickname_ = nickname;
- } else {
- clear_has_nickname();
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- }
- }
- // optional int64 gold = 3;
- inline bool RankInfo::has_gold() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void RankInfo::set_has_gold() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void RankInfo::clear_has_gold() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void RankInfo::clear_gold() {
- gold_ = GOOGLE_LONGLONG(0);
- clear_has_gold();
- }
- inline ::google::protobuf::int64 RankInfo::gold() const {
- return gold_;
- }
- inline void RankInfo::set_gold(::google::protobuf::int64 value) {
- set_has_gold();
- gold_ = value;
- }
- // optional int32 vipLevel = 4;
- inline bool RankInfo::has_viplevel() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void RankInfo::set_has_viplevel() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void RankInfo::clear_has_viplevel() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void RankInfo::clear_viplevel() {
- viplevel_ = 0;
- clear_has_viplevel();
- }
- inline ::google::protobuf::int32 RankInfo::viplevel() const {
- return viplevel_;
- }
- inline void RankInfo::set_viplevel(::google::protobuf::int32 value) {
- set_has_viplevel();
- viplevel_ = value;
- }
- // optional int32 playerlv = 5;
- inline bool RankInfo::has_playerlv() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void RankInfo::set_has_playerlv() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void RankInfo::clear_has_playerlv() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void RankInfo::clear_playerlv() {
- playerlv_ = 0;
- clear_has_playerlv();
- }
- inline ::google::protobuf::int32 RankInfo::playerlv() const {
- return playerlv_;
- }
- inline void RankInfo::set_playerlv(::google::protobuf::int32 value) {
- set_has_playerlv();
- playerlv_ = value;
- }
- // optional int32 headid = 6;
- inline bool RankInfo::has_headid() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void RankInfo::set_has_headid() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void RankInfo::clear_has_headid() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void RankInfo::clear_headid() {
- headid_ = 0;
- clear_has_headid();
- }
- inline ::google::protobuf::int32 RankInfo::headid() const {
- return headid_;
- }
- inline void RankInfo::set_headid(::google::protobuf::int32 value) {
- set_has_headid();
- headid_ = value;
- }
- // optional int32 frameid = 7;
- inline bool RankInfo::has_frameid() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void RankInfo::set_has_frameid() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void RankInfo::clear_has_frameid() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void RankInfo::clear_frameid() {
- frameid_ = 0;
- clear_has_frameid();
- }
- inline ::google::protobuf::int32 RankInfo::frameid() const {
- return frameid_;
- }
- inline void RankInfo::set_frameid(::google::protobuf::int32 value) {
- set_has_frameid();
- frameid_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_req_coin_rank
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_coin_rank];
- inline bool packetc2w_req_coin_rank::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_req_coin_rank::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_req_coin_rank::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_req_coin_rank::clear_packet_id() {
- packet_id_ = 5020;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_req_coin_rank::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_req_coin_rank::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_coin_rank_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_coin_rank_result];
- inline bool packetw2c_req_coin_rank_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_req_coin_rank_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_req_coin_rank_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_req_coin_rank_result::clear_packet_id() {
- packet_id_ = 7521;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_req_coin_rank_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_req_coin_rank_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.RankInfo rankList = 2;
- inline int packetw2c_req_coin_rank_result::ranklist_size() const {
- return ranklist_.size();
- }
- inline void packetw2c_req_coin_rank_result::clear_ranklist() {
- ranklist_.Clear();
- }
- inline const ::client2world_protocols::RankInfo& packetw2c_req_coin_rank_result::ranklist(int index) const {
- return ranklist_.Get(index);
- }
- inline ::client2world_protocols::RankInfo* packetw2c_req_coin_rank_result::mutable_ranklist(int index) {
- return ranklist_.Mutable(index);
- }
- inline ::client2world_protocols::RankInfo* packetw2c_req_coin_rank_result::add_ranklist() {
- return ranklist_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >&
- packetw2c_req_coin_rank_result::ranklist() const {
- return ranklist_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >*
- packetw2c_req_coin_rank_result::mutable_ranklist() {
- return &ranklist_;
- }
- // optional int32 selfRank = 3;
- inline bool packetw2c_req_coin_rank_result::has_selfrank() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_req_coin_rank_result::set_has_selfrank() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_req_coin_rank_result::clear_has_selfrank() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_req_coin_rank_result::clear_selfrank() {
- selfrank_ = 0;
- clear_has_selfrank();
- }
- inline ::google::protobuf::int32 packetw2c_req_coin_rank_result::selfrank() const {
- return selfrank_;
- }
- inline void packetw2c_req_coin_rank_result::set_selfrank(::google::protobuf::int32 value) {
- set_has_selfrank();
- selfrank_ = value;
- }
- // -------------------------------------------------------------------
- // RechargeInfo
- // optional int32 playerId = 1;
- inline bool RechargeInfo::has_playerid() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void RechargeInfo::set_has_playerid() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void RechargeInfo::clear_has_playerid() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void RechargeInfo::clear_playerid() {
- playerid_ = 0;
- clear_has_playerid();
- }
- inline ::google::protobuf::int32 RechargeInfo::playerid() const {
- return playerid_;
- }
- inline void RechargeInfo::set_playerid(::google::protobuf::int32 value) {
- set_has_playerid();
- playerid_ = value;
- }
- // optional string nickName = 2;
- inline bool RechargeInfo::has_nickname() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void RechargeInfo::set_has_nickname() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void RechargeInfo::clear_has_nickname() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void RechargeInfo::clear_nickname() {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- nickname_->clear();
- }
- clear_has_nickname();
- }
- inline const ::std::string& RechargeInfo::nickname() const {
- return *nickname_;
- }
- inline void RechargeInfo::set_nickname(const ::std::string& value) {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- nickname_->assign(value);
- }
- inline void RechargeInfo::set_nickname(const char* value) {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- nickname_->assign(value);
- }
- inline void RechargeInfo::set_nickname(const char* value, size_t size) {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- nickname_->assign(reinterpret_cast<const char*>(value), size);
- }
- inline ::std::string* RechargeInfo::mutable_nickname() {
- set_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- nickname_ = new ::std::string;
- }
- return nickname_;
- }
- inline ::std::string* RechargeInfo::release_nickname() {
- clear_has_nickname();
- if (nickname_ == &::google::protobuf::internal::kEmptyString) {
- return NULL;
- } else {
- ::std::string* temp = nickname_;
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- return temp;
- }
- }
- inline void RechargeInfo::set_allocated_nickname(::std::string* nickname) {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- delete nickname_;
- }
- if (nickname) {
- set_has_nickname();
- nickname_ = nickname;
- } else {
- clear_has_nickname();
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- }
- }
- // optional int32 rmb = 3;
- inline bool RechargeInfo::has_rmb() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void RechargeInfo::set_has_rmb() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void RechargeInfo::clear_has_rmb() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void RechargeInfo::clear_rmb() {
- rmb_ = 0;
- clear_has_rmb();
- }
- inline ::google::protobuf::int32 RechargeInfo::rmb() const {
- return rmb_;
- }
- inline void RechargeInfo::set_rmb(::google::protobuf::int32 value) {
- set_has_rmb();
- rmb_ = value;
- }
- // optional int32 vipLevel = 4;
- inline bool RechargeInfo::has_viplevel() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void RechargeInfo::set_has_viplevel() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void RechargeInfo::clear_has_viplevel() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void RechargeInfo::clear_viplevel() {
- viplevel_ = 0;
- clear_has_viplevel();
- }
- inline ::google::protobuf::int32 RechargeInfo::viplevel() const {
- return viplevel_;
- }
- inline void RechargeInfo::set_viplevel(::google::protobuf::int32 value) {
- set_has_viplevel();
- viplevel_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_req_recharge_rank
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recharge_rank];
- inline bool packetc2w_req_recharge_rank::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_req_recharge_rank::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_req_recharge_rank::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_req_recharge_rank::clear_packet_id() {
- packet_id_ = 5051;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_req_recharge_rank::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_req_recharge_rank::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 bool is_yesterday = 2 [default = false];
- inline bool packetc2w_req_recharge_rank::has_is_yesterday() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void packetc2w_req_recharge_rank::set_has_is_yesterday() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void packetc2w_req_recharge_rank::clear_has_is_yesterday() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void packetc2w_req_recharge_rank::clear_is_yesterday() {
- is_yesterday_ = false;
- clear_has_is_yesterday();
- }
- inline bool packetc2w_req_recharge_rank::is_yesterday() const {
- return is_yesterday_;
- }
- inline void packetc2w_req_recharge_rank::set_is_yesterday(bool value) {
- set_has_is_yesterday();
- is_yesterday_ = value;
- }
- // -------------------------------------------------------------------
- // packetw2c_req_recharge_rank_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recharge_rank_result];
- inline bool packetw2c_req_recharge_rank_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_req_recharge_rank_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_packet_id() {
- packet_id_ = 7554;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_req_recharge_rank_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_req_recharge_rank_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.RechargeInfo rankList = 2;
- inline int packetw2c_req_recharge_rank_result::ranklist_size() const {
- return ranklist_.size();
- }
- inline void packetw2c_req_recharge_rank_result::clear_ranklist() {
- ranklist_.Clear();
- }
- inline const ::client2world_protocols::RechargeInfo& packetw2c_req_recharge_rank_result::ranklist(int index) const {
- return ranklist_.Get(index);
- }
- inline ::client2world_protocols::RechargeInfo* packetw2c_req_recharge_rank_result::mutable_ranklist(int index) {
- return ranklist_.Mutable(index);
- }
- inline ::client2world_protocols::RechargeInfo* packetw2c_req_recharge_rank_result::add_ranklist() {
- return ranklist_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RechargeInfo >&
- packetw2c_req_recharge_rank_result::ranklist() const {
- return ranklist_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RechargeInfo >*
- packetw2c_req_recharge_rank_result::mutable_ranklist() {
- return &ranklist_;
- }
- // optional int32 selfRank = 3;
- inline bool packetw2c_req_recharge_rank_result::has_selfrank() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_req_recharge_rank_result::set_has_selfrank() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_has_selfrank() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_selfrank() {
- selfrank_ = 0;
- clear_has_selfrank();
- }
- inline ::google::protobuf::int32 packetw2c_req_recharge_rank_result::selfrank() const {
- return selfrank_;
- }
- inline void packetw2c_req_recharge_rank_result::set_selfrank(::google::protobuf::int32 value) {
- set_has_selfrank();
- selfrank_ = value;
- }
- // optional int32 selfrmb = 4;
- inline bool packetw2c_req_recharge_rank_result::has_selfrmb() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void packetw2c_req_recharge_rank_result::set_has_selfrmb() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_has_selfrmb() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_selfrmb() {
- selfrmb_ = 0;
- clear_has_selfrmb();
- }
- inline ::google::protobuf::int32 packetw2c_req_recharge_rank_result::selfrmb() const {
- return selfrmb_;
- }
- inline void packetw2c_req_recharge_rank_result::set_selfrmb(::google::protobuf::int32 value) {
- set_has_selfrmb();
- selfrmb_ = value;
- }
- // optional bool is_yesterday = 5 [default = false];
- inline bool packetw2c_req_recharge_rank_result::has_is_yesterday() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void packetw2c_req_recharge_rank_result::set_has_is_yesterday() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_has_is_yesterday() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void packetw2c_req_recharge_rank_result::clear_is_yesterday() {
- is_yesterday_ = false;
- clear_has_is_yesterday();
- }
- inline bool packetw2c_req_recharge_rank_result::is_yesterday() const {
- return is_yesterday_;
- }
- inline void packetw2c_req_recharge_rank_result::set_is_yesterday(bool value) {
- set_has_is_yesterday();
- is_yesterday_ = value;
- }
- // -------------------------------------------------------------------
- // packetc2w_req_coin_growth
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_coin_growth];
- inline bool packetc2w_req_coin_growth::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetc2w_req_coin_growth::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetc2w_req_coin_growth::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetc2w_req_coin_growth::clear_packet_id() {
- packet_id_ = 5054;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetc2w_req_coin_growth::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetc2w_req_coin_growth::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_coin_growth_result
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_coin_growth_result];
- inline bool packetw2c_req_coin_growth_result::has_packet_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void packetw2c_req_coin_growth_result::set_has_packet_id() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void packetw2c_req_coin_growth_result::clear_has_packet_id() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void packetw2c_req_coin_growth_result::clear_packet_id() {
- packet_id_ = 7557;
- clear_has_packet_id();
- }
- inline ::client2world_protocols::e_server_msg_type packetw2c_req_coin_growth_result::packet_id() const {
- return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
- }
- inline void packetw2c_req_coin_growth_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.RankInfo rankList = 2;
- inline int packetw2c_req_coin_growth_result::ranklist_size() const {
- return ranklist_.size();
- }
- inline void packetw2c_req_coin_growth_result::clear_ranklist() {
- ranklist_.Clear();
- }
- inline const ::client2world_protocols::RankInfo& packetw2c_req_coin_growth_result::ranklist(int index) const {
- return ranklist_.Get(index);
- }
- inline ::client2world_protocols::RankInfo* packetw2c_req_coin_growth_result::mutable_ranklist(int index) {
- return ranklist_.Mutable(index);
- }
- inline ::client2world_protocols::RankInfo* packetw2c_req_coin_growth_result::add_ranklist() {
- return ranklist_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >&
- packetw2c_req_coin_growth_result::ranklist() const {
- return ranklist_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::RankInfo >*
- packetw2c_req_coin_growth_result::mutable_ranklist() {
- return &ranklist_;
- }
- // optional int32 selfRank = 3;
- inline bool packetw2c_req_coin_growth_result::has_selfrank() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void packetw2c_req_coin_growth_result::set_has_selfrank() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void packetw2c_req_coin_growth_result::clear_has_selfrank() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void packetw2c_req_coin_growth_result::clear_selfrank() {
- selfrank_ = 0;
- clear_has_selfrank();
- }
- inline ::google::protobuf::int32 packetw2c_req_coin_growth_result::selfrank() const {
- return selfrank_;
- }
- inline void packetw2c_req_coin_growth_result::set_selfrank(::google::protobuf::int32 value) {
- set_has_selfrank();
- selfrank_ = value;
- }
- // optional int64 selfGold = 4;
- inline bool packetw2c_req_coin_growth_result::has_selfgold() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void packetw2c_req_coin_growth_result::set_has_selfgold() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void packetw2c_req_coin_growth_result::clear_has_selfgold() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void packetw2c_req_coin_growth_result::clear_selfgold() {
- selfgold_ = GOOGLE_LONGLONG(0);
- clear_has_selfgold();
- }
- inline ::google::protobuf::int64 packetw2c_req_coin_growth_result::selfgold() const {
- return selfgold_;
- }
- inline void packetw2c_req_coin_growth_result::set_selfgold(::google::protobuf::int64 value) {
- set_has_selfgold();
- selfgold_ = 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_5frank_2eproto__INCLUDED
|