fish_dragon_palace.pb.h 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_dragon_palace.proto
  3. #ifndef PROTOBUF_fish_5fdragon_5fpalace_2eproto__INCLUDED
  4. #define PROTOBUF_fish_5fdragon_5fpalace_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/message.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. #include <google/protobuf/unknown_field_set.h>
  22. #include "fish_def.pb.h"
  23. #include "msg_type_def.pb.h"
  24. #include "fish_type_def.pb.h"
  25. // @@protoc_insertion_point(includes)
  26. namespace fish_protocols {
  27. // Internal implementation detail -- do not call these.
  28. void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  29. void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  30. void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  31. class DragonPalaceRankInfo;
  32. class packetc2l_get_dragon_palace_info;
  33. class ExchangePriceInfo;
  34. class ExchangeItemInfo;
  35. class packetl2c_get_dragon_palace_info_result;
  36. class packetc2l_get_dragon_palace_rank;
  37. class packetl2c_get_dragon_palace_rank_result;
  38. class packetc2l_dragon_palace_exchange;
  39. class packetl2c_dragon_palace_exchange_result;
  40. class packetc2l_dragon_add_exchange_count;
  41. class packetl2c_dragon_add_exchange_count_result;
  42. class packetc2l_daily_dimensity_exchange;
  43. class packetl2c_daily_dimensity_exchange_result;
  44. // ===================================================================
  45. class DragonPalaceRankInfo : public ::google::protobuf::Message {
  46. public:
  47. DragonPalaceRankInfo();
  48. virtual ~DragonPalaceRankInfo();
  49. DragonPalaceRankInfo(const DragonPalaceRankInfo& from);
  50. inline DragonPalaceRankInfo& operator=(const DragonPalaceRankInfo& from) {
  51. CopyFrom(from);
  52. return *this;
  53. }
  54. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  55. return _unknown_fields_;
  56. }
  57. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  58. return &_unknown_fields_;
  59. }
  60. static const ::google::protobuf::Descriptor* descriptor();
  61. static const DragonPalaceRankInfo& default_instance();
  62. void Swap(DragonPalaceRankInfo* other);
  63. // implements Message ----------------------------------------------
  64. DragonPalaceRankInfo* New() const;
  65. void CopyFrom(const ::google::protobuf::Message& from);
  66. void MergeFrom(const ::google::protobuf::Message& from);
  67. void CopyFrom(const DragonPalaceRankInfo& from);
  68. void MergeFrom(const DragonPalaceRankInfo& from);
  69. void Clear();
  70. bool IsInitialized() const;
  71. int ByteSize() const;
  72. bool MergePartialFromCodedStream(
  73. ::google::protobuf::io::CodedInputStream* input);
  74. void SerializeWithCachedSizes(
  75. ::google::protobuf::io::CodedOutputStream* output) const;
  76. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  77. int GetCachedSize() const { return _cached_size_; }
  78. private:
  79. void SharedCtor();
  80. void SharedDtor();
  81. void SetCachedSize(int size) const;
  82. public:
  83. ::google::protobuf::Metadata GetMetadata() const;
  84. // nested types ----------------------------------------------------
  85. // accessors -------------------------------------------------------
  86. // optional int32 playerId = 1;
  87. inline bool has_playerid() const;
  88. inline void clear_playerid();
  89. static const int kPlayerIdFieldNumber = 1;
  90. inline ::google::protobuf::int32 playerid() const;
  91. inline void set_playerid(::google::protobuf::int32 value);
  92. // optional string nickName = 2;
  93. inline bool has_nickname() const;
  94. inline void clear_nickname();
  95. static const int kNickNameFieldNumber = 2;
  96. inline const ::std::string& nickname() const;
  97. inline void set_nickname(const ::std::string& value);
  98. inline void set_nickname(const char* value);
  99. inline void set_nickname(const char* value, size_t size);
  100. inline ::std::string* mutable_nickname();
  101. inline ::std::string* release_nickname();
  102. inline void set_allocated_nickname(::std::string* nickname);
  103. // optional int32 gainDimensity = 3;
  104. inline bool has_gaindimensity() const;
  105. inline void clear_gaindimensity();
  106. static const int kGainDimensityFieldNumber = 3;
  107. inline ::google::protobuf::int32 gaindimensity() const;
  108. inline void set_gaindimensity(::google::protobuf::int32 value);
  109. // optional int32 headid = 4;
  110. inline bool has_headid() const;
  111. inline void clear_headid();
  112. static const int kHeadidFieldNumber = 4;
  113. inline ::google::protobuf::int32 headid() const;
  114. inline void set_headid(::google::protobuf::int32 value);
  115. // optional int32 frameid = 5;
  116. inline bool has_frameid() const;
  117. inline void clear_frameid();
  118. static const int kFrameidFieldNumber = 5;
  119. inline ::google::protobuf::int32 frameid() const;
  120. inline void set_frameid(::google::protobuf::int32 value);
  121. // optional int32 gender = 6;
  122. inline bool has_gender() const;
  123. inline void clear_gender();
  124. static const int kGenderFieldNumber = 6;
  125. inline ::google::protobuf::int32 gender() const;
  126. inline void set_gender(::google::protobuf::int32 value);
  127. // @@protoc_insertion_point(class_scope:fish_protocols.DragonPalaceRankInfo)
  128. private:
  129. inline void set_has_playerid();
  130. inline void clear_has_playerid();
  131. inline void set_has_nickname();
  132. inline void clear_has_nickname();
  133. inline void set_has_gaindimensity();
  134. inline void clear_has_gaindimensity();
  135. inline void set_has_headid();
  136. inline void clear_has_headid();
  137. inline void set_has_frameid();
  138. inline void clear_has_frameid();
  139. inline void set_has_gender();
  140. inline void clear_has_gender();
  141. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  142. ::std::string* nickname_;
  143. ::google::protobuf::int32 playerid_;
  144. ::google::protobuf::int32 gaindimensity_;
  145. ::google::protobuf::int32 headid_;
  146. ::google::protobuf::int32 frameid_;
  147. ::google::protobuf::int32 gender_;
  148. mutable int _cached_size_;
  149. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  150. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  151. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  152. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  153. void InitAsDefaultInstance();
  154. static DragonPalaceRankInfo* default_instance_;
  155. };
  156. // -------------------------------------------------------------------
  157. class packetc2l_get_dragon_palace_info : public ::google::protobuf::Message {
  158. public:
  159. packetc2l_get_dragon_palace_info();
  160. virtual ~packetc2l_get_dragon_palace_info();
  161. packetc2l_get_dragon_palace_info(const packetc2l_get_dragon_palace_info& from);
  162. inline packetc2l_get_dragon_palace_info& operator=(const packetc2l_get_dragon_palace_info& from) {
  163. CopyFrom(from);
  164. return *this;
  165. }
  166. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  167. return _unknown_fields_;
  168. }
  169. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  170. return &_unknown_fields_;
  171. }
  172. static const ::google::protobuf::Descriptor* descriptor();
  173. static const packetc2l_get_dragon_palace_info& default_instance();
  174. void Swap(packetc2l_get_dragon_palace_info* other);
  175. // implements Message ----------------------------------------------
  176. packetc2l_get_dragon_palace_info* New() const;
  177. void CopyFrom(const ::google::protobuf::Message& from);
  178. void MergeFrom(const ::google::protobuf::Message& from);
  179. void CopyFrom(const packetc2l_get_dragon_palace_info& from);
  180. void MergeFrom(const packetc2l_get_dragon_palace_info& from);
  181. void Clear();
  182. bool IsInitialized() const;
  183. int ByteSize() const;
  184. bool MergePartialFromCodedStream(
  185. ::google::protobuf::io::CodedInputStream* input);
  186. void SerializeWithCachedSizes(
  187. ::google::protobuf::io::CodedOutputStream* output) const;
  188. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  189. int GetCachedSize() const { return _cached_size_; }
  190. private:
  191. void SharedCtor();
  192. void SharedDtor();
  193. void SetCachedSize(int size) const;
  194. public:
  195. ::google::protobuf::Metadata GetMetadata() const;
  196. // nested types ----------------------------------------------------
  197. // accessors -------------------------------------------------------
  198. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  199. inline bool has_packet_id() const;
  200. inline void clear_packet_id();
  201. static const int kPacketIdFieldNumber = 1;
  202. inline ::fish_protocols::e_server_msg_type packet_id() const;
  203. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  204. // optional bool isGetRankInfo = 2;
  205. inline bool has_isgetrankinfo() const;
  206. inline void clear_isgetrankinfo();
  207. static const int kIsGetRankInfoFieldNumber = 2;
  208. inline bool isgetrankinfo() const;
  209. inline void set_isgetrankinfo(bool value);
  210. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_dragon_palace_info)
  211. private:
  212. inline void set_has_packet_id();
  213. inline void clear_has_packet_id();
  214. inline void set_has_isgetrankinfo();
  215. inline void clear_has_isgetrankinfo();
  216. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  217. int packet_id_;
  218. bool isgetrankinfo_;
  219. mutable int _cached_size_;
  220. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  221. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  222. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  223. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  224. void InitAsDefaultInstance();
  225. static packetc2l_get_dragon_palace_info* default_instance_;
  226. };
  227. // -------------------------------------------------------------------
  228. class ExchangePriceInfo : public ::google::protobuf::Message {
  229. public:
  230. ExchangePriceInfo();
  231. virtual ~ExchangePriceInfo();
  232. ExchangePriceInfo(const ExchangePriceInfo& from);
  233. inline ExchangePriceInfo& operator=(const ExchangePriceInfo& from) {
  234. CopyFrom(from);
  235. return *this;
  236. }
  237. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  238. return _unknown_fields_;
  239. }
  240. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  241. return &_unknown_fields_;
  242. }
  243. static const ::google::protobuf::Descriptor* descriptor();
  244. static const ExchangePriceInfo& default_instance();
  245. void Swap(ExchangePriceInfo* other);
  246. // implements Message ----------------------------------------------
  247. ExchangePriceInfo* New() const;
  248. void CopyFrom(const ::google::protobuf::Message& from);
  249. void MergeFrom(const ::google::protobuf::Message& from);
  250. void CopyFrom(const ExchangePriceInfo& from);
  251. void MergeFrom(const ExchangePriceInfo& from);
  252. void Clear();
  253. bool IsInitialized() const;
  254. int ByteSize() const;
  255. bool MergePartialFromCodedStream(
  256. ::google::protobuf::io::CodedInputStream* input);
  257. void SerializeWithCachedSizes(
  258. ::google::protobuf::io::CodedOutputStream* output) const;
  259. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  260. int GetCachedSize() const { return _cached_size_; }
  261. private:
  262. void SharedCtor();
  263. void SharedDtor();
  264. void SetCachedSize(int size) const;
  265. public:
  266. ::google::protobuf::Metadata GetMetadata() const;
  267. // nested types ----------------------------------------------------
  268. // accessors -------------------------------------------------------
  269. // optional int32 exchangeId = 1;
  270. inline bool has_exchangeid() const;
  271. inline void clear_exchangeid();
  272. static const int kExchangeIdFieldNumber = 1;
  273. inline ::google::protobuf::int32 exchangeid() const;
  274. inline void set_exchangeid(::google::protobuf::int32 value);
  275. // optional int32 price = 2;
  276. inline bool has_price() const;
  277. inline void clear_price();
  278. static const int kPriceFieldNumber = 2;
  279. inline ::google::protobuf::int32 price() const;
  280. inline void set_price(::google::protobuf::int32 value);
  281. // @@protoc_insertion_point(class_scope:fish_protocols.ExchangePriceInfo)
  282. private:
  283. inline void set_has_exchangeid();
  284. inline void clear_has_exchangeid();
  285. inline void set_has_price();
  286. inline void clear_has_price();
  287. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  288. ::google::protobuf::int32 exchangeid_;
  289. ::google::protobuf::int32 price_;
  290. mutable int _cached_size_;
  291. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  292. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  293. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  294. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  295. void InitAsDefaultInstance();
  296. static ExchangePriceInfo* default_instance_;
  297. };
  298. // -------------------------------------------------------------------
  299. class ExchangeItemInfo : public ::google::protobuf::Message {
  300. public:
  301. ExchangeItemInfo();
  302. virtual ~ExchangeItemInfo();
  303. ExchangeItemInfo(const ExchangeItemInfo& from);
  304. inline ExchangeItemInfo& operator=(const ExchangeItemInfo& from) {
  305. CopyFrom(from);
  306. return *this;
  307. }
  308. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  309. return _unknown_fields_;
  310. }
  311. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  312. return &_unknown_fields_;
  313. }
  314. static const ::google::protobuf::Descriptor* descriptor();
  315. static const ExchangeItemInfo& default_instance();
  316. void Swap(ExchangeItemInfo* other);
  317. // implements Message ----------------------------------------------
  318. ExchangeItemInfo* New() const;
  319. void CopyFrom(const ::google::protobuf::Message& from);
  320. void MergeFrom(const ::google::protobuf::Message& from);
  321. void CopyFrom(const ExchangeItemInfo& from);
  322. void MergeFrom(const ExchangeItemInfo& from);
  323. void Clear();
  324. bool IsInitialized() const;
  325. int ByteSize() const;
  326. bool MergePartialFromCodedStream(
  327. ::google::protobuf::io::CodedInputStream* input);
  328. void SerializeWithCachedSizes(
  329. ::google::protobuf::io::CodedOutputStream* output) const;
  330. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  331. int GetCachedSize() const { return _cached_size_; }
  332. private:
  333. void SharedCtor();
  334. void SharedDtor();
  335. void SetCachedSize(int size) const;
  336. public:
  337. ::google::protobuf::Metadata GetMetadata() const;
  338. // nested types ----------------------------------------------------
  339. // accessors -------------------------------------------------------
  340. // optional int32 itemid = 1;
  341. inline bool has_itemid() const;
  342. inline void clear_itemid();
  343. static const int kItemidFieldNumber = 1;
  344. inline ::google::protobuf::int32 itemid() const;
  345. inline void set_itemid(::google::protobuf::int32 value);
  346. // optional int32 itemcount = 2;
  347. inline bool has_itemcount() const;
  348. inline void clear_itemcount();
  349. static const int kItemcountFieldNumber = 2;
  350. inline ::google::protobuf::int32 itemcount() const;
  351. inline void set_itemcount(::google::protobuf::int32 value);
  352. // @@protoc_insertion_point(class_scope:fish_protocols.ExchangeItemInfo)
  353. private:
  354. inline void set_has_itemid();
  355. inline void clear_has_itemid();
  356. inline void set_has_itemcount();
  357. inline void clear_has_itemcount();
  358. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  359. ::google::protobuf::int32 itemid_;
  360. ::google::protobuf::int32 itemcount_;
  361. mutable int _cached_size_;
  362. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  363. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  364. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  365. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  366. void InitAsDefaultInstance();
  367. static ExchangeItemInfo* default_instance_;
  368. };
  369. // -------------------------------------------------------------------
  370. class packetl2c_get_dragon_palace_info_result : public ::google::protobuf::Message {
  371. public:
  372. packetl2c_get_dragon_palace_info_result();
  373. virtual ~packetl2c_get_dragon_palace_info_result();
  374. packetl2c_get_dragon_palace_info_result(const packetl2c_get_dragon_palace_info_result& from);
  375. inline packetl2c_get_dragon_palace_info_result& operator=(const packetl2c_get_dragon_palace_info_result& from) {
  376. CopyFrom(from);
  377. return *this;
  378. }
  379. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  380. return _unknown_fields_;
  381. }
  382. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  383. return &_unknown_fields_;
  384. }
  385. static const ::google::protobuf::Descriptor* descriptor();
  386. static const packetl2c_get_dragon_palace_info_result& default_instance();
  387. void Swap(packetl2c_get_dragon_palace_info_result* other);
  388. // implements Message ----------------------------------------------
  389. packetl2c_get_dragon_palace_info_result* New() const;
  390. void CopyFrom(const ::google::protobuf::Message& from);
  391. void MergeFrom(const ::google::protobuf::Message& from);
  392. void CopyFrom(const packetl2c_get_dragon_palace_info_result& from);
  393. void MergeFrom(const packetl2c_get_dragon_palace_info_result& from);
  394. void Clear();
  395. bool IsInitialized() const;
  396. int ByteSize() const;
  397. bool MergePartialFromCodedStream(
  398. ::google::protobuf::io::CodedInputStream* input);
  399. void SerializeWithCachedSizes(
  400. ::google::protobuf::io::CodedOutputStream* output) const;
  401. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  402. int GetCachedSize() const { return _cached_size_; }
  403. private:
  404. void SharedCtor();
  405. void SharedDtor();
  406. void SetCachedSize(int size) const;
  407. public:
  408. ::google::protobuf::Metadata GetMetadata() const;
  409. // nested types ----------------------------------------------------
  410. // accessors -------------------------------------------------------
  411. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  412. inline bool has_packet_id() const;
  413. inline void clear_packet_id();
  414. static const int kPacketIdFieldNumber = 1;
  415. inline ::fish_protocols::e_server_msg_type packet_id() const;
  416. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  417. // optional int32 dimensityCount = 2;
  418. inline bool has_dimensitycount() const;
  419. inline void clear_dimensitycount();
  420. static const int kDimensityCountFieldNumber = 2;
  421. inline ::google::protobuf::int32 dimensitycount() const;
  422. inline void set_dimensitycount(::google::protobuf::int32 value);
  423. // optional int32 exchangeCount = 3;
  424. inline bool has_exchangecount() const;
  425. inline void clear_exchangecount();
  426. static const int kExchangeCountFieldNumber = 3;
  427. inline ::google::protobuf::int32 exchangecount() const;
  428. inline void set_exchangecount(::google::protobuf::int32 value);
  429. // optional int32 exchangeCountEx = 4;
  430. inline bool has_exchangecountex() const;
  431. inline void clear_exchangecountex();
  432. static const int kExchangeCountExFieldNumber = 4;
  433. inline ::google::protobuf::int32 exchangecountex() const;
  434. inline void set_exchangecountex(::google::protobuf::int32 value);
  435. // optional int32 discountExchangeCountLv = 5;
  436. inline bool has_discountexchangecountlv() const;
  437. inline void clear_discountexchangecountlv();
  438. static const int kDiscountExchangeCountLvFieldNumber = 5;
  439. inline ::google::protobuf::int32 discountexchangecountlv() const;
  440. inline void set_discountexchangecountlv(::google::protobuf::int32 value);
  441. // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  442. inline int curranklist_size() const;
  443. inline void clear_curranklist();
  444. static const int kCurRankListFieldNumber = 6;
  445. inline const ::fish_protocols::DragonPalaceRankInfo& curranklist(int index) const;
  446. inline ::fish_protocols::DragonPalaceRankInfo* mutable_curranklist(int index);
  447. inline ::fish_protocols::DragonPalaceRankInfo* add_curranklist();
  448. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >&
  449. curranklist() const;
  450. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >*
  451. mutable_curranklist();
  452. // optional int32 gainDimensityCurWeek = 7;
  453. inline bool has_gaindimensitycurweek() const;
  454. inline void clear_gaindimensitycurweek();
  455. static const int kGainDimensityCurWeekFieldNumber = 7;
  456. inline ::google::protobuf::int32 gaindimensitycurweek() const;
  457. inline void set_gaindimensitycurweek(::google::protobuf::int32 value);
  458. // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  459. inline int selffunbufflist_size() const;
  460. inline void clear_selffunbufflist();
  461. static const int kSelfFunBuffListFieldNumber = 8;
  462. inline const ::fish_protocols::FunBuff& selffunbufflist(int index) const;
  463. inline ::fish_protocols::FunBuff* mutable_selffunbufflist(int index);
  464. inline ::fish_protocols::FunBuff* add_selffunbufflist();
  465. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::FunBuff >&
  466. selffunbufflist() const;
  467. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::FunBuff >*
  468. mutable_selffunbufflist();
  469. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  470. inline int priceinfolist_size() const;
  471. inline void clear_priceinfolist();
  472. static const int kPriceInfoListFieldNumber = 9;
  473. inline const ::fish_protocols::ExchangePriceInfo& priceinfolist(int index) const;
  474. inline ::fish_protocols::ExchangePriceInfo* mutable_priceinfolist(int index);
  475. inline ::fish_protocols::ExchangePriceInfo* add_priceinfolist();
  476. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >&
  477. priceinfolist() const;
  478. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >*
  479. mutable_priceinfolist();
  480. // optional int32 exchangeAddCount = 10;
  481. inline bool has_exchangeaddcount() const;
  482. inline void clear_exchangeaddcount();
  483. static const int kExchangeAddCountFieldNumber = 10;
  484. inline ::google::protobuf::int32 exchangeaddcount() const;
  485. inline void set_exchangeaddcount(::google::protobuf::int32 value);
  486. // optional int32 dailyDimensity = 11;
  487. inline bool has_dailydimensity() const;
  488. inline void clear_dailydimensity();
  489. static const int kDailyDimensityFieldNumber = 11;
  490. inline ::google::protobuf::int32 dailydimensity() const;
  491. inline void set_dailydimensity(::google::protobuf::int32 value);
  492. // repeated bool dragonSlayerCheck = 12;
  493. inline int dragonslayercheck_size() const;
  494. inline void clear_dragonslayercheck();
  495. static const int kDragonSlayerCheckFieldNumber = 12;
  496. inline bool dragonslayercheck(int index) const;
  497. inline void set_dragonslayercheck(int index, bool value);
  498. inline void add_dragonslayercheck(bool value);
  499. inline const ::google::protobuf::RepeatedField< bool >&
  500. dragonslayercheck() const;
  501. inline ::google::protobuf::RepeatedField< bool >*
  502. mutable_dragonslayercheck();
  503. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_dragon_palace_info_result)
  504. private:
  505. inline void set_has_packet_id();
  506. inline void clear_has_packet_id();
  507. inline void set_has_dimensitycount();
  508. inline void clear_has_dimensitycount();
  509. inline void set_has_exchangecount();
  510. inline void clear_has_exchangecount();
  511. inline void set_has_exchangecountex();
  512. inline void clear_has_exchangecountex();
  513. inline void set_has_discountexchangecountlv();
  514. inline void clear_has_discountexchangecountlv();
  515. inline void set_has_gaindimensitycurweek();
  516. inline void clear_has_gaindimensitycurweek();
  517. inline void set_has_exchangeaddcount();
  518. inline void clear_has_exchangeaddcount();
  519. inline void set_has_dailydimensity();
  520. inline void clear_has_dailydimensity();
  521. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  522. int packet_id_;
  523. ::google::protobuf::int32 dimensitycount_;
  524. ::google::protobuf::int32 exchangecount_;
  525. ::google::protobuf::int32 exchangecountex_;
  526. ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo > curranklist_;
  527. ::google::protobuf::int32 discountexchangecountlv_;
  528. ::google::protobuf::int32 gaindimensitycurweek_;
  529. ::google::protobuf::RepeatedPtrField< ::fish_protocols::FunBuff > selffunbufflist_;
  530. ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo > priceinfolist_;
  531. ::google::protobuf::int32 exchangeaddcount_;
  532. ::google::protobuf::int32 dailydimensity_;
  533. ::google::protobuf::RepeatedField< bool > dragonslayercheck_;
  534. mutable int _cached_size_;
  535. ::google::protobuf::uint32 _has_bits_[(12 + 31) / 32];
  536. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  537. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  538. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  539. void InitAsDefaultInstance();
  540. static packetl2c_get_dragon_palace_info_result* default_instance_;
  541. };
  542. // -------------------------------------------------------------------
  543. class packetc2l_get_dragon_palace_rank : public ::google::protobuf::Message {
  544. public:
  545. packetc2l_get_dragon_palace_rank();
  546. virtual ~packetc2l_get_dragon_palace_rank();
  547. packetc2l_get_dragon_palace_rank(const packetc2l_get_dragon_palace_rank& from);
  548. inline packetc2l_get_dragon_palace_rank& operator=(const packetc2l_get_dragon_palace_rank& from) {
  549. CopyFrom(from);
  550. return *this;
  551. }
  552. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  553. return _unknown_fields_;
  554. }
  555. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  556. return &_unknown_fields_;
  557. }
  558. static const ::google::protobuf::Descriptor* descriptor();
  559. static const packetc2l_get_dragon_palace_rank& default_instance();
  560. void Swap(packetc2l_get_dragon_palace_rank* other);
  561. // implements Message ----------------------------------------------
  562. packetc2l_get_dragon_palace_rank* New() const;
  563. void CopyFrom(const ::google::protobuf::Message& from);
  564. void MergeFrom(const ::google::protobuf::Message& from);
  565. void CopyFrom(const packetc2l_get_dragon_palace_rank& from);
  566. void MergeFrom(const packetc2l_get_dragon_palace_rank& from);
  567. void Clear();
  568. bool IsInitialized() const;
  569. int ByteSize() const;
  570. bool MergePartialFromCodedStream(
  571. ::google::protobuf::io::CodedInputStream* input);
  572. void SerializeWithCachedSizes(
  573. ::google::protobuf::io::CodedOutputStream* output) const;
  574. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  575. int GetCachedSize() const { return _cached_size_; }
  576. private:
  577. void SharedCtor();
  578. void SharedDtor();
  579. void SetCachedSize(int size) const;
  580. public:
  581. ::google::protobuf::Metadata GetMetadata() const;
  582. // nested types ----------------------------------------------------
  583. // accessors -------------------------------------------------------
  584. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  585. inline bool has_packet_id() const;
  586. inline void clear_packet_id();
  587. static const int kPacketIdFieldNumber = 1;
  588. inline ::fish_protocols::e_server_msg_type packet_id() const;
  589. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  590. // optional int32 rankType = 2;
  591. inline bool has_ranktype() const;
  592. inline void clear_ranktype();
  593. static const int kRankTypeFieldNumber = 2;
  594. inline ::google::protobuf::int32 ranktype() const;
  595. inline void set_ranktype(::google::protobuf::int32 value);
  596. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_dragon_palace_rank)
  597. private:
  598. inline void set_has_packet_id();
  599. inline void clear_has_packet_id();
  600. inline void set_has_ranktype();
  601. inline void clear_has_ranktype();
  602. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  603. int packet_id_;
  604. ::google::protobuf::int32 ranktype_;
  605. mutable int _cached_size_;
  606. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  607. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  608. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  609. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  610. void InitAsDefaultInstance();
  611. static packetc2l_get_dragon_palace_rank* default_instance_;
  612. };
  613. // -------------------------------------------------------------------
  614. class packetl2c_get_dragon_palace_rank_result : public ::google::protobuf::Message {
  615. public:
  616. packetl2c_get_dragon_palace_rank_result();
  617. virtual ~packetl2c_get_dragon_palace_rank_result();
  618. packetl2c_get_dragon_palace_rank_result(const packetl2c_get_dragon_palace_rank_result& from);
  619. inline packetl2c_get_dragon_palace_rank_result& operator=(const packetl2c_get_dragon_palace_rank_result& from) {
  620. CopyFrom(from);
  621. return *this;
  622. }
  623. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  624. return _unknown_fields_;
  625. }
  626. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  627. return &_unknown_fields_;
  628. }
  629. static const ::google::protobuf::Descriptor* descriptor();
  630. static const packetl2c_get_dragon_palace_rank_result& default_instance();
  631. void Swap(packetl2c_get_dragon_palace_rank_result* other);
  632. // implements Message ----------------------------------------------
  633. packetl2c_get_dragon_palace_rank_result* New() const;
  634. void CopyFrom(const ::google::protobuf::Message& from);
  635. void MergeFrom(const ::google::protobuf::Message& from);
  636. void CopyFrom(const packetl2c_get_dragon_palace_rank_result& from);
  637. void MergeFrom(const packetl2c_get_dragon_palace_rank_result& from);
  638. void Clear();
  639. bool IsInitialized() const;
  640. int ByteSize() const;
  641. bool MergePartialFromCodedStream(
  642. ::google::protobuf::io::CodedInputStream* input);
  643. void SerializeWithCachedSizes(
  644. ::google::protobuf::io::CodedOutputStream* output) const;
  645. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  646. int GetCachedSize() const { return _cached_size_; }
  647. private:
  648. void SharedCtor();
  649. void SharedDtor();
  650. void SetCachedSize(int size) const;
  651. public:
  652. ::google::protobuf::Metadata GetMetadata() const;
  653. // nested types ----------------------------------------------------
  654. // accessors -------------------------------------------------------
  655. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  656. inline bool has_packet_id() const;
  657. inline void clear_packet_id();
  658. static const int kPacketIdFieldNumber = 1;
  659. inline ::fish_protocols::e_server_msg_type packet_id() const;
  660. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  661. // optional int32 rankType = 2;
  662. inline bool has_ranktype() const;
  663. inline void clear_ranktype();
  664. static const int kRankTypeFieldNumber = 2;
  665. inline ::google::protobuf::int32 ranktype() const;
  666. inline void set_ranktype(::google::protobuf::int32 value);
  667. // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  668. inline int ranklist_size() const;
  669. inline void clear_ranklist();
  670. static const int kRankListFieldNumber = 3;
  671. inline const ::fish_protocols::DragonPalaceRankInfo& ranklist(int index) const;
  672. inline ::fish_protocols::DragonPalaceRankInfo* mutable_ranklist(int index);
  673. inline ::fish_protocols::DragonPalaceRankInfo* add_ranklist();
  674. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >&
  675. ranklist() const;
  676. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >*
  677. mutable_ranklist();
  678. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_dragon_palace_rank_result)
  679. private:
  680. inline void set_has_packet_id();
  681. inline void clear_has_packet_id();
  682. inline void set_has_ranktype();
  683. inline void clear_has_ranktype();
  684. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  685. int packet_id_;
  686. ::google::protobuf::int32 ranktype_;
  687. ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo > ranklist_;
  688. mutable int _cached_size_;
  689. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  690. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  691. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  692. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  693. void InitAsDefaultInstance();
  694. static packetl2c_get_dragon_palace_rank_result* default_instance_;
  695. };
  696. // -------------------------------------------------------------------
  697. class packetc2l_dragon_palace_exchange : public ::google::protobuf::Message {
  698. public:
  699. packetc2l_dragon_palace_exchange();
  700. virtual ~packetc2l_dragon_palace_exchange();
  701. packetc2l_dragon_palace_exchange(const packetc2l_dragon_palace_exchange& from);
  702. inline packetc2l_dragon_palace_exchange& operator=(const packetc2l_dragon_palace_exchange& from) {
  703. CopyFrom(from);
  704. return *this;
  705. }
  706. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  707. return _unknown_fields_;
  708. }
  709. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  710. return &_unknown_fields_;
  711. }
  712. static const ::google::protobuf::Descriptor* descriptor();
  713. static const packetc2l_dragon_palace_exchange& default_instance();
  714. void Swap(packetc2l_dragon_palace_exchange* other);
  715. // implements Message ----------------------------------------------
  716. packetc2l_dragon_palace_exchange* New() const;
  717. void CopyFrom(const ::google::protobuf::Message& from);
  718. void MergeFrom(const ::google::protobuf::Message& from);
  719. void CopyFrom(const packetc2l_dragon_palace_exchange& from);
  720. void MergeFrom(const packetc2l_dragon_palace_exchange& from);
  721. void Clear();
  722. bool IsInitialized() const;
  723. int ByteSize() const;
  724. bool MergePartialFromCodedStream(
  725. ::google::protobuf::io::CodedInputStream* input);
  726. void SerializeWithCachedSizes(
  727. ::google::protobuf::io::CodedOutputStream* output) const;
  728. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  729. int GetCachedSize() const { return _cached_size_; }
  730. private:
  731. void SharedCtor();
  732. void SharedDtor();
  733. void SetCachedSize(int size) const;
  734. public:
  735. ::google::protobuf::Metadata GetMetadata() const;
  736. // nested types ----------------------------------------------------
  737. // accessors -------------------------------------------------------
  738. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  739. inline bool has_packet_id() const;
  740. inline void clear_packet_id();
  741. static const int kPacketIdFieldNumber = 1;
  742. inline ::fish_protocols::e_server_msg_type packet_id() const;
  743. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  744. // optional int32 exchangeId = 2;
  745. inline bool has_exchangeid() const;
  746. inline void clear_exchangeid();
  747. static const int kExchangeIdFieldNumber = 2;
  748. inline ::google::protobuf::int32 exchangeid() const;
  749. inline void set_exchangeid(::google::protobuf::int32 value);
  750. // optional int32 exchangeCount = 3;
  751. inline bool has_exchangecount() const;
  752. inline void clear_exchangecount();
  753. static const int kExchangeCountFieldNumber = 3;
  754. inline ::google::protobuf::int32 exchangecount() const;
  755. inline void set_exchangecount(::google::protobuf::int32 value);
  756. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_dragon_palace_exchange)
  757. private:
  758. inline void set_has_packet_id();
  759. inline void clear_has_packet_id();
  760. inline void set_has_exchangeid();
  761. inline void clear_has_exchangeid();
  762. inline void set_has_exchangecount();
  763. inline void clear_has_exchangecount();
  764. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  765. int packet_id_;
  766. ::google::protobuf::int32 exchangeid_;
  767. ::google::protobuf::int32 exchangecount_;
  768. mutable int _cached_size_;
  769. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  770. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  771. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  772. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  773. void InitAsDefaultInstance();
  774. static packetc2l_dragon_palace_exchange* default_instance_;
  775. };
  776. // -------------------------------------------------------------------
  777. class packetl2c_dragon_palace_exchange_result : public ::google::protobuf::Message {
  778. public:
  779. packetl2c_dragon_palace_exchange_result();
  780. virtual ~packetl2c_dragon_palace_exchange_result();
  781. packetl2c_dragon_palace_exchange_result(const packetl2c_dragon_palace_exchange_result& from);
  782. inline packetl2c_dragon_palace_exchange_result& operator=(const packetl2c_dragon_palace_exchange_result& from) {
  783. CopyFrom(from);
  784. return *this;
  785. }
  786. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  787. return _unknown_fields_;
  788. }
  789. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  790. return &_unknown_fields_;
  791. }
  792. static const ::google::protobuf::Descriptor* descriptor();
  793. static const packetl2c_dragon_palace_exchange_result& default_instance();
  794. void Swap(packetl2c_dragon_palace_exchange_result* other);
  795. // implements Message ----------------------------------------------
  796. packetl2c_dragon_palace_exchange_result* New() const;
  797. void CopyFrom(const ::google::protobuf::Message& from);
  798. void MergeFrom(const ::google::protobuf::Message& from);
  799. void CopyFrom(const packetl2c_dragon_palace_exchange_result& from);
  800. void MergeFrom(const packetl2c_dragon_palace_exchange_result& from);
  801. void Clear();
  802. bool IsInitialized() const;
  803. int ByteSize() const;
  804. bool MergePartialFromCodedStream(
  805. ::google::protobuf::io::CodedInputStream* input);
  806. void SerializeWithCachedSizes(
  807. ::google::protobuf::io::CodedOutputStream* output) const;
  808. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  809. int GetCachedSize() const { return _cached_size_; }
  810. private:
  811. void SharedCtor();
  812. void SharedDtor();
  813. void SetCachedSize(int size) const;
  814. public:
  815. ::google::protobuf::Metadata GetMetadata() const;
  816. // nested types ----------------------------------------------------
  817. // accessors -------------------------------------------------------
  818. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  819. inline bool has_packet_id() const;
  820. inline void clear_packet_id();
  821. static const int kPacketIdFieldNumber = 1;
  822. inline ::fish_protocols::e_server_msg_type packet_id() const;
  823. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  824. // optional int32 result = 2;
  825. inline bool has_result() const;
  826. inline void clear_result();
  827. static const int kResultFieldNumber = 2;
  828. inline ::google::protobuf::int32 result() const;
  829. inline void set_result(::google::protobuf::int32 value);
  830. // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  831. inline int exchangeitems_size() const;
  832. inline void clear_exchangeitems();
  833. static const int kExchangeItemsFieldNumber = 3;
  834. inline const ::fish_protocols::ExchangeItemInfo& exchangeitems(int index) const;
  835. inline ::fish_protocols::ExchangeItemInfo* mutable_exchangeitems(int index);
  836. inline ::fish_protocols::ExchangeItemInfo* add_exchangeitems();
  837. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >&
  838. exchangeitems() const;
  839. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >*
  840. mutable_exchangeitems();
  841. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  842. inline int priceinfolist_size() const;
  843. inline void clear_priceinfolist();
  844. static const int kPriceInfoListFieldNumber = 4;
  845. inline const ::fish_protocols::ExchangePriceInfo& priceinfolist(int index) const;
  846. inline ::fish_protocols::ExchangePriceInfo* mutable_priceinfolist(int index);
  847. inline ::fish_protocols::ExchangePriceInfo* add_priceinfolist();
  848. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >&
  849. priceinfolist() const;
  850. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >*
  851. mutable_priceinfolist();
  852. // optional int32 nextPrice = 5;
  853. inline bool has_nextprice() const;
  854. inline void clear_nextprice();
  855. static const int kNextPriceFieldNumber = 5;
  856. inline ::google::protobuf::int32 nextprice() const;
  857. inline void set_nextprice(::google::protobuf::int32 value);
  858. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_dragon_palace_exchange_result)
  859. private:
  860. inline void set_has_packet_id();
  861. inline void clear_has_packet_id();
  862. inline void set_has_result();
  863. inline void clear_has_result();
  864. inline void set_has_nextprice();
  865. inline void clear_has_nextprice();
  866. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  867. int packet_id_;
  868. ::google::protobuf::int32 result_;
  869. ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo > exchangeitems_;
  870. ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo > priceinfolist_;
  871. ::google::protobuf::int32 nextprice_;
  872. mutable int _cached_size_;
  873. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  874. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  875. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  876. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  877. void InitAsDefaultInstance();
  878. static packetl2c_dragon_palace_exchange_result* default_instance_;
  879. };
  880. // -------------------------------------------------------------------
  881. class packetc2l_dragon_add_exchange_count : public ::google::protobuf::Message {
  882. public:
  883. packetc2l_dragon_add_exchange_count();
  884. virtual ~packetc2l_dragon_add_exchange_count();
  885. packetc2l_dragon_add_exchange_count(const packetc2l_dragon_add_exchange_count& from);
  886. inline packetc2l_dragon_add_exchange_count& operator=(const packetc2l_dragon_add_exchange_count& from) {
  887. CopyFrom(from);
  888. return *this;
  889. }
  890. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  891. return _unknown_fields_;
  892. }
  893. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  894. return &_unknown_fields_;
  895. }
  896. static const ::google::protobuf::Descriptor* descriptor();
  897. static const packetc2l_dragon_add_exchange_count& default_instance();
  898. void Swap(packetc2l_dragon_add_exchange_count* other);
  899. // implements Message ----------------------------------------------
  900. packetc2l_dragon_add_exchange_count* New() const;
  901. void CopyFrom(const ::google::protobuf::Message& from);
  902. void MergeFrom(const ::google::protobuf::Message& from);
  903. void CopyFrom(const packetc2l_dragon_add_exchange_count& from);
  904. void MergeFrom(const packetc2l_dragon_add_exchange_count& from);
  905. void Clear();
  906. bool IsInitialized() const;
  907. int ByteSize() const;
  908. bool MergePartialFromCodedStream(
  909. ::google::protobuf::io::CodedInputStream* input);
  910. void SerializeWithCachedSizes(
  911. ::google::protobuf::io::CodedOutputStream* output) const;
  912. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  913. int GetCachedSize() const { return _cached_size_; }
  914. private:
  915. void SharedCtor();
  916. void SharedDtor();
  917. void SetCachedSize(int size) const;
  918. public:
  919. ::google::protobuf::Metadata GetMetadata() const;
  920. // nested types ----------------------------------------------------
  921. // accessors -------------------------------------------------------
  922. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  923. inline bool has_packet_id() const;
  924. inline void clear_packet_id();
  925. static const int kPacketIdFieldNumber = 1;
  926. inline ::fish_protocols::e_server_msg_type packet_id() const;
  927. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  928. // optional int32 addCount = 2;
  929. inline bool has_addcount() const;
  930. inline void clear_addcount();
  931. static const int kAddCountFieldNumber = 2;
  932. inline ::google::protobuf::int32 addcount() const;
  933. inline void set_addcount(::google::protobuf::int32 value);
  934. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_dragon_add_exchange_count)
  935. private:
  936. inline void set_has_packet_id();
  937. inline void clear_has_packet_id();
  938. inline void set_has_addcount();
  939. inline void clear_has_addcount();
  940. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  941. int packet_id_;
  942. ::google::protobuf::int32 addcount_;
  943. mutable int _cached_size_;
  944. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  945. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  946. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  947. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  948. void InitAsDefaultInstance();
  949. static packetc2l_dragon_add_exchange_count* default_instance_;
  950. };
  951. // -------------------------------------------------------------------
  952. class packetl2c_dragon_add_exchange_count_result : public ::google::protobuf::Message {
  953. public:
  954. packetl2c_dragon_add_exchange_count_result();
  955. virtual ~packetl2c_dragon_add_exchange_count_result();
  956. packetl2c_dragon_add_exchange_count_result(const packetl2c_dragon_add_exchange_count_result& from);
  957. inline packetl2c_dragon_add_exchange_count_result& operator=(const packetl2c_dragon_add_exchange_count_result& from) {
  958. CopyFrom(from);
  959. return *this;
  960. }
  961. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  962. return _unknown_fields_;
  963. }
  964. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  965. return &_unknown_fields_;
  966. }
  967. static const ::google::protobuf::Descriptor* descriptor();
  968. static const packetl2c_dragon_add_exchange_count_result& default_instance();
  969. void Swap(packetl2c_dragon_add_exchange_count_result* other);
  970. // implements Message ----------------------------------------------
  971. packetl2c_dragon_add_exchange_count_result* New() const;
  972. void CopyFrom(const ::google::protobuf::Message& from);
  973. void MergeFrom(const ::google::protobuf::Message& from);
  974. void CopyFrom(const packetl2c_dragon_add_exchange_count_result& from);
  975. void MergeFrom(const packetl2c_dragon_add_exchange_count_result& from);
  976. void Clear();
  977. bool IsInitialized() const;
  978. int ByteSize() const;
  979. bool MergePartialFromCodedStream(
  980. ::google::protobuf::io::CodedInputStream* input);
  981. void SerializeWithCachedSizes(
  982. ::google::protobuf::io::CodedOutputStream* output) const;
  983. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  984. int GetCachedSize() const { return _cached_size_; }
  985. private:
  986. void SharedCtor();
  987. void SharedDtor();
  988. void SetCachedSize(int size) const;
  989. public:
  990. ::google::protobuf::Metadata GetMetadata() const;
  991. // nested types ----------------------------------------------------
  992. // accessors -------------------------------------------------------
  993. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  994. inline bool has_packet_id() const;
  995. inline void clear_packet_id();
  996. static const int kPacketIdFieldNumber = 1;
  997. inline ::fish_protocols::e_server_msg_type packet_id() const;
  998. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  999. // optional int32 result = 2;
  1000. inline bool has_result() const;
  1001. inline void clear_result();
  1002. static const int kResultFieldNumber = 2;
  1003. inline ::google::protobuf::int32 result() const;
  1004. inline void set_result(::google::protobuf::int32 value);
  1005. // optional int32 addCount = 3;
  1006. inline bool has_addcount() const;
  1007. inline void clear_addcount();
  1008. static const int kAddCountFieldNumber = 3;
  1009. inline ::google::protobuf::int32 addcount() const;
  1010. inline void set_addcount(::google::protobuf::int32 value);
  1011. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_dragon_add_exchange_count_result)
  1012. private:
  1013. inline void set_has_packet_id();
  1014. inline void clear_has_packet_id();
  1015. inline void set_has_result();
  1016. inline void clear_has_result();
  1017. inline void set_has_addcount();
  1018. inline void clear_has_addcount();
  1019. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1020. int packet_id_;
  1021. ::google::protobuf::int32 result_;
  1022. ::google::protobuf::int32 addcount_;
  1023. mutable int _cached_size_;
  1024. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1025. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  1026. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  1027. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  1028. void InitAsDefaultInstance();
  1029. static packetl2c_dragon_add_exchange_count_result* default_instance_;
  1030. };
  1031. // -------------------------------------------------------------------
  1032. class packetc2l_daily_dimensity_exchange : public ::google::protobuf::Message {
  1033. public:
  1034. packetc2l_daily_dimensity_exchange();
  1035. virtual ~packetc2l_daily_dimensity_exchange();
  1036. packetc2l_daily_dimensity_exchange(const packetc2l_daily_dimensity_exchange& from);
  1037. inline packetc2l_daily_dimensity_exchange& operator=(const packetc2l_daily_dimensity_exchange& from) {
  1038. CopyFrom(from);
  1039. return *this;
  1040. }
  1041. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1042. return _unknown_fields_;
  1043. }
  1044. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1045. return &_unknown_fields_;
  1046. }
  1047. static const ::google::protobuf::Descriptor* descriptor();
  1048. static const packetc2l_daily_dimensity_exchange& default_instance();
  1049. void Swap(packetc2l_daily_dimensity_exchange* other);
  1050. // implements Message ----------------------------------------------
  1051. packetc2l_daily_dimensity_exchange* New() const;
  1052. void CopyFrom(const ::google::protobuf::Message& from);
  1053. void MergeFrom(const ::google::protobuf::Message& from);
  1054. void CopyFrom(const packetc2l_daily_dimensity_exchange& from);
  1055. void MergeFrom(const packetc2l_daily_dimensity_exchange& from);
  1056. void Clear();
  1057. bool IsInitialized() const;
  1058. int ByteSize() const;
  1059. bool MergePartialFromCodedStream(
  1060. ::google::protobuf::io::CodedInputStream* input);
  1061. void SerializeWithCachedSizes(
  1062. ::google::protobuf::io::CodedOutputStream* output) const;
  1063. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1064. int GetCachedSize() const { return _cached_size_; }
  1065. private:
  1066. void SharedCtor();
  1067. void SharedDtor();
  1068. void SetCachedSize(int size) const;
  1069. public:
  1070. ::google::protobuf::Metadata GetMetadata() const;
  1071. // nested types ----------------------------------------------------
  1072. // accessors -------------------------------------------------------
  1073. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  1074. inline bool has_packet_id() const;
  1075. inline void clear_packet_id();
  1076. static const int kPacketIdFieldNumber = 1;
  1077. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1078. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1079. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_daily_dimensity_exchange)
  1080. private:
  1081. inline void set_has_packet_id();
  1082. inline void clear_has_packet_id();
  1083. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1084. int packet_id_;
  1085. mutable int _cached_size_;
  1086. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1087. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  1088. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  1089. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  1090. void InitAsDefaultInstance();
  1091. static packetc2l_daily_dimensity_exchange* default_instance_;
  1092. };
  1093. // -------------------------------------------------------------------
  1094. class packetl2c_daily_dimensity_exchange_result : public ::google::protobuf::Message {
  1095. public:
  1096. packetl2c_daily_dimensity_exchange_result();
  1097. virtual ~packetl2c_daily_dimensity_exchange_result();
  1098. packetl2c_daily_dimensity_exchange_result(const packetl2c_daily_dimensity_exchange_result& from);
  1099. inline packetl2c_daily_dimensity_exchange_result& operator=(const packetl2c_daily_dimensity_exchange_result& from) {
  1100. CopyFrom(from);
  1101. return *this;
  1102. }
  1103. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1104. return _unknown_fields_;
  1105. }
  1106. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1107. return &_unknown_fields_;
  1108. }
  1109. static const ::google::protobuf::Descriptor* descriptor();
  1110. static const packetl2c_daily_dimensity_exchange_result& default_instance();
  1111. void Swap(packetl2c_daily_dimensity_exchange_result* other);
  1112. // implements Message ----------------------------------------------
  1113. packetl2c_daily_dimensity_exchange_result* New() const;
  1114. void CopyFrom(const ::google::protobuf::Message& from);
  1115. void MergeFrom(const ::google::protobuf::Message& from);
  1116. void CopyFrom(const packetl2c_daily_dimensity_exchange_result& from);
  1117. void MergeFrom(const packetl2c_daily_dimensity_exchange_result& from);
  1118. void Clear();
  1119. bool IsInitialized() const;
  1120. int ByteSize() const;
  1121. bool MergePartialFromCodedStream(
  1122. ::google::protobuf::io::CodedInputStream* input);
  1123. void SerializeWithCachedSizes(
  1124. ::google::protobuf::io::CodedOutputStream* output) const;
  1125. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1126. int GetCachedSize() const { return _cached_size_; }
  1127. private:
  1128. void SharedCtor();
  1129. void SharedDtor();
  1130. void SetCachedSize(int size) const;
  1131. public:
  1132. ::google::protobuf::Metadata GetMetadata() const;
  1133. // nested types ----------------------------------------------------
  1134. // accessors -------------------------------------------------------
  1135. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  1136. inline bool has_packet_id() const;
  1137. inline void clear_packet_id();
  1138. static const int kPacketIdFieldNumber = 1;
  1139. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1140. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1141. // optional int32 result = 2;
  1142. inline bool has_result() const;
  1143. inline void clear_result();
  1144. static const int kResultFieldNumber = 2;
  1145. inline ::google::protobuf::int32 result() const;
  1146. inline void set_result(::google::protobuf::int32 value);
  1147. // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  1148. inline int exchangeinfo_size() const;
  1149. inline void clear_exchangeinfo();
  1150. static const int kExchangeInfoFieldNumber = 3;
  1151. inline const ::fish_protocols::ExchangeItemInfo& exchangeinfo(int index) const;
  1152. inline ::fish_protocols::ExchangeItemInfo* mutable_exchangeinfo(int index);
  1153. inline ::fish_protocols::ExchangeItemInfo* add_exchangeinfo();
  1154. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >&
  1155. exchangeinfo() const;
  1156. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >*
  1157. mutable_exchangeinfo();
  1158. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_daily_dimensity_exchange_result)
  1159. private:
  1160. inline void set_has_packet_id();
  1161. inline void clear_has_packet_id();
  1162. inline void set_has_result();
  1163. inline void clear_has_result();
  1164. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1165. int packet_id_;
  1166. ::google::protobuf::int32 result_;
  1167. ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo > exchangeinfo_;
  1168. mutable int _cached_size_;
  1169. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1170. friend void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  1171. friend void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto();
  1172. friend void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto();
  1173. void InitAsDefaultInstance();
  1174. static packetl2c_daily_dimensity_exchange_result* default_instance_;
  1175. };
  1176. // ===================================================================
  1177. // ===================================================================
  1178. // DragonPalaceRankInfo
  1179. // optional int32 playerId = 1;
  1180. inline bool DragonPalaceRankInfo::has_playerid() const {
  1181. return (_has_bits_[0] & 0x00000001u) != 0;
  1182. }
  1183. inline void DragonPalaceRankInfo::set_has_playerid() {
  1184. _has_bits_[0] |= 0x00000001u;
  1185. }
  1186. inline void DragonPalaceRankInfo::clear_has_playerid() {
  1187. _has_bits_[0] &= ~0x00000001u;
  1188. }
  1189. inline void DragonPalaceRankInfo::clear_playerid() {
  1190. playerid_ = 0;
  1191. clear_has_playerid();
  1192. }
  1193. inline ::google::protobuf::int32 DragonPalaceRankInfo::playerid() const {
  1194. return playerid_;
  1195. }
  1196. inline void DragonPalaceRankInfo::set_playerid(::google::protobuf::int32 value) {
  1197. set_has_playerid();
  1198. playerid_ = value;
  1199. }
  1200. // optional string nickName = 2;
  1201. inline bool DragonPalaceRankInfo::has_nickname() const {
  1202. return (_has_bits_[0] & 0x00000002u) != 0;
  1203. }
  1204. inline void DragonPalaceRankInfo::set_has_nickname() {
  1205. _has_bits_[0] |= 0x00000002u;
  1206. }
  1207. inline void DragonPalaceRankInfo::clear_has_nickname() {
  1208. _has_bits_[0] &= ~0x00000002u;
  1209. }
  1210. inline void DragonPalaceRankInfo::clear_nickname() {
  1211. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1212. nickname_->clear();
  1213. }
  1214. clear_has_nickname();
  1215. }
  1216. inline const ::std::string& DragonPalaceRankInfo::nickname() const {
  1217. return *nickname_;
  1218. }
  1219. inline void DragonPalaceRankInfo::set_nickname(const ::std::string& value) {
  1220. set_has_nickname();
  1221. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1222. nickname_ = new ::std::string;
  1223. }
  1224. nickname_->assign(value);
  1225. }
  1226. inline void DragonPalaceRankInfo::set_nickname(const char* value) {
  1227. set_has_nickname();
  1228. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1229. nickname_ = new ::std::string;
  1230. }
  1231. nickname_->assign(value);
  1232. }
  1233. inline void DragonPalaceRankInfo::set_nickname(const char* value, size_t size) {
  1234. set_has_nickname();
  1235. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1236. nickname_ = new ::std::string;
  1237. }
  1238. nickname_->assign(reinterpret_cast<const char*>(value), size);
  1239. }
  1240. inline ::std::string* DragonPalaceRankInfo::mutable_nickname() {
  1241. set_has_nickname();
  1242. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1243. nickname_ = new ::std::string;
  1244. }
  1245. return nickname_;
  1246. }
  1247. inline ::std::string* DragonPalaceRankInfo::release_nickname() {
  1248. clear_has_nickname();
  1249. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1250. return NULL;
  1251. } else {
  1252. ::std::string* temp = nickname_;
  1253. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1254. return temp;
  1255. }
  1256. }
  1257. inline void DragonPalaceRankInfo::set_allocated_nickname(::std::string* nickname) {
  1258. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1259. delete nickname_;
  1260. }
  1261. if (nickname) {
  1262. set_has_nickname();
  1263. nickname_ = nickname;
  1264. } else {
  1265. clear_has_nickname();
  1266. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1267. }
  1268. }
  1269. // optional int32 gainDimensity = 3;
  1270. inline bool DragonPalaceRankInfo::has_gaindimensity() const {
  1271. return (_has_bits_[0] & 0x00000004u) != 0;
  1272. }
  1273. inline void DragonPalaceRankInfo::set_has_gaindimensity() {
  1274. _has_bits_[0] |= 0x00000004u;
  1275. }
  1276. inline void DragonPalaceRankInfo::clear_has_gaindimensity() {
  1277. _has_bits_[0] &= ~0x00000004u;
  1278. }
  1279. inline void DragonPalaceRankInfo::clear_gaindimensity() {
  1280. gaindimensity_ = 0;
  1281. clear_has_gaindimensity();
  1282. }
  1283. inline ::google::protobuf::int32 DragonPalaceRankInfo::gaindimensity() const {
  1284. return gaindimensity_;
  1285. }
  1286. inline void DragonPalaceRankInfo::set_gaindimensity(::google::protobuf::int32 value) {
  1287. set_has_gaindimensity();
  1288. gaindimensity_ = value;
  1289. }
  1290. // optional int32 headid = 4;
  1291. inline bool DragonPalaceRankInfo::has_headid() const {
  1292. return (_has_bits_[0] & 0x00000008u) != 0;
  1293. }
  1294. inline void DragonPalaceRankInfo::set_has_headid() {
  1295. _has_bits_[0] |= 0x00000008u;
  1296. }
  1297. inline void DragonPalaceRankInfo::clear_has_headid() {
  1298. _has_bits_[0] &= ~0x00000008u;
  1299. }
  1300. inline void DragonPalaceRankInfo::clear_headid() {
  1301. headid_ = 0;
  1302. clear_has_headid();
  1303. }
  1304. inline ::google::protobuf::int32 DragonPalaceRankInfo::headid() const {
  1305. return headid_;
  1306. }
  1307. inline void DragonPalaceRankInfo::set_headid(::google::protobuf::int32 value) {
  1308. set_has_headid();
  1309. headid_ = value;
  1310. }
  1311. // optional int32 frameid = 5;
  1312. inline bool DragonPalaceRankInfo::has_frameid() const {
  1313. return (_has_bits_[0] & 0x00000010u) != 0;
  1314. }
  1315. inline void DragonPalaceRankInfo::set_has_frameid() {
  1316. _has_bits_[0] |= 0x00000010u;
  1317. }
  1318. inline void DragonPalaceRankInfo::clear_has_frameid() {
  1319. _has_bits_[0] &= ~0x00000010u;
  1320. }
  1321. inline void DragonPalaceRankInfo::clear_frameid() {
  1322. frameid_ = 0;
  1323. clear_has_frameid();
  1324. }
  1325. inline ::google::protobuf::int32 DragonPalaceRankInfo::frameid() const {
  1326. return frameid_;
  1327. }
  1328. inline void DragonPalaceRankInfo::set_frameid(::google::protobuf::int32 value) {
  1329. set_has_frameid();
  1330. frameid_ = value;
  1331. }
  1332. // optional int32 gender = 6;
  1333. inline bool DragonPalaceRankInfo::has_gender() const {
  1334. return (_has_bits_[0] & 0x00000020u) != 0;
  1335. }
  1336. inline void DragonPalaceRankInfo::set_has_gender() {
  1337. _has_bits_[0] |= 0x00000020u;
  1338. }
  1339. inline void DragonPalaceRankInfo::clear_has_gender() {
  1340. _has_bits_[0] &= ~0x00000020u;
  1341. }
  1342. inline void DragonPalaceRankInfo::clear_gender() {
  1343. gender_ = 0;
  1344. clear_has_gender();
  1345. }
  1346. inline ::google::protobuf::int32 DragonPalaceRankInfo::gender() const {
  1347. return gender_;
  1348. }
  1349. inline void DragonPalaceRankInfo::set_gender(::google::protobuf::int32 value) {
  1350. set_has_gender();
  1351. gender_ = value;
  1352. }
  1353. // -------------------------------------------------------------------
  1354. // packetc2l_get_dragon_palace_info
  1355. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  1356. inline bool packetc2l_get_dragon_palace_info::has_packet_id() const {
  1357. return (_has_bits_[0] & 0x00000001u) != 0;
  1358. }
  1359. inline void packetc2l_get_dragon_palace_info::set_has_packet_id() {
  1360. _has_bits_[0] |= 0x00000001u;
  1361. }
  1362. inline void packetc2l_get_dragon_palace_info::clear_has_packet_id() {
  1363. _has_bits_[0] &= ~0x00000001u;
  1364. }
  1365. inline void packetc2l_get_dragon_palace_info::clear_packet_id() {
  1366. packet_id_ = 10148;
  1367. clear_has_packet_id();
  1368. }
  1369. inline ::fish_protocols::e_server_msg_type packetc2l_get_dragon_palace_info::packet_id() const {
  1370. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1371. }
  1372. inline void packetc2l_get_dragon_palace_info::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1373. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1374. set_has_packet_id();
  1375. packet_id_ = value;
  1376. }
  1377. // optional bool isGetRankInfo = 2;
  1378. inline bool packetc2l_get_dragon_palace_info::has_isgetrankinfo() const {
  1379. return (_has_bits_[0] & 0x00000002u) != 0;
  1380. }
  1381. inline void packetc2l_get_dragon_palace_info::set_has_isgetrankinfo() {
  1382. _has_bits_[0] |= 0x00000002u;
  1383. }
  1384. inline void packetc2l_get_dragon_palace_info::clear_has_isgetrankinfo() {
  1385. _has_bits_[0] &= ~0x00000002u;
  1386. }
  1387. inline void packetc2l_get_dragon_palace_info::clear_isgetrankinfo() {
  1388. isgetrankinfo_ = false;
  1389. clear_has_isgetrankinfo();
  1390. }
  1391. inline bool packetc2l_get_dragon_palace_info::isgetrankinfo() const {
  1392. return isgetrankinfo_;
  1393. }
  1394. inline void packetc2l_get_dragon_palace_info::set_isgetrankinfo(bool value) {
  1395. set_has_isgetrankinfo();
  1396. isgetrankinfo_ = value;
  1397. }
  1398. // -------------------------------------------------------------------
  1399. // ExchangePriceInfo
  1400. // optional int32 exchangeId = 1;
  1401. inline bool ExchangePriceInfo::has_exchangeid() const {
  1402. return (_has_bits_[0] & 0x00000001u) != 0;
  1403. }
  1404. inline void ExchangePriceInfo::set_has_exchangeid() {
  1405. _has_bits_[0] |= 0x00000001u;
  1406. }
  1407. inline void ExchangePriceInfo::clear_has_exchangeid() {
  1408. _has_bits_[0] &= ~0x00000001u;
  1409. }
  1410. inline void ExchangePriceInfo::clear_exchangeid() {
  1411. exchangeid_ = 0;
  1412. clear_has_exchangeid();
  1413. }
  1414. inline ::google::protobuf::int32 ExchangePriceInfo::exchangeid() const {
  1415. return exchangeid_;
  1416. }
  1417. inline void ExchangePriceInfo::set_exchangeid(::google::protobuf::int32 value) {
  1418. set_has_exchangeid();
  1419. exchangeid_ = value;
  1420. }
  1421. // optional int32 price = 2;
  1422. inline bool ExchangePriceInfo::has_price() const {
  1423. return (_has_bits_[0] & 0x00000002u) != 0;
  1424. }
  1425. inline void ExchangePriceInfo::set_has_price() {
  1426. _has_bits_[0] |= 0x00000002u;
  1427. }
  1428. inline void ExchangePriceInfo::clear_has_price() {
  1429. _has_bits_[0] &= ~0x00000002u;
  1430. }
  1431. inline void ExchangePriceInfo::clear_price() {
  1432. price_ = 0;
  1433. clear_has_price();
  1434. }
  1435. inline ::google::protobuf::int32 ExchangePriceInfo::price() const {
  1436. return price_;
  1437. }
  1438. inline void ExchangePriceInfo::set_price(::google::protobuf::int32 value) {
  1439. set_has_price();
  1440. price_ = value;
  1441. }
  1442. // -------------------------------------------------------------------
  1443. // ExchangeItemInfo
  1444. // optional int32 itemid = 1;
  1445. inline bool ExchangeItemInfo::has_itemid() const {
  1446. return (_has_bits_[0] & 0x00000001u) != 0;
  1447. }
  1448. inline void ExchangeItemInfo::set_has_itemid() {
  1449. _has_bits_[0] |= 0x00000001u;
  1450. }
  1451. inline void ExchangeItemInfo::clear_has_itemid() {
  1452. _has_bits_[0] &= ~0x00000001u;
  1453. }
  1454. inline void ExchangeItemInfo::clear_itemid() {
  1455. itemid_ = 0;
  1456. clear_has_itemid();
  1457. }
  1458. inline ::google::protobuf::int32 ExchangeItemInfo::itemid() const {
  1459. return itemid_;
  1460. }
  1461. inline void ExchangeItemInfo::set_itemid(::google::protobuf::int32 value) {
  1462. set_has_itemid();
  1463. itemid_ = value;
  1464. }
  1465. // optional int32 itemcount = 2;
  1466. inline bool ExchangeItemInfo::has_itemcount() const {
  1467. return (_has_bits_[0] & 0x00000002u) != 0;
  1468. }
  1469. inline void ExchangeItemInfo::set_has_itemcount() {
  1470. _has_bits_[0] |= 0x00000002u;
  1471. }
  1472. inline void ExchangeItemInfo::clear_has_itemcount() {
  1473. _has_bits_[0] &= ~0x00000002u;
  1474. }
  1475. inline void ExchangeItemInfo::clear_itemcount() {
  1476. itemcount_ = 0;
  1477. clear_has_itemcount();
  1478. }
  1479. inline ::google::protobuf::int32 ExchangeItemInfo::itemcount() const {
  1480. return itemcount_;
  1481. }
  1482. inline void ExchangeItemInfo::set_itemcount(::google::protobuf::int32 value) {
  1483. set_has_itemcount();
  1484. itemcount_ = value;
  1485. }
  1486. // -------------------------------------------------------------------
  1487. // packetl2c_get_dragon_palace_info_result
  1488. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  1489. inline bool packetl2c_get_dragon_palace_info_result::has_packet_id() const {
  1490. return (_has_bits_[0] & 0x00000001u) != 0;
  1491. }
  1492. inline void packetl2c_get_dragon_palace_info_result::set_has_packet_id() {
  1493. _has_bits_[0] |= 0x00000001u;
  1494. }
  1495. inline void packetl2c_get_dragon_palace_info_result::clear_has_packet_id() {
  1496. _has_bits_[0] &= ~0x00000001u;
  1497. }
  1498. inline void packetl2c_get_dragon_palace_info_result::clear_packet_id() {
  1499. packet_id_ = 16137;
  1500. clear_has_packet_id();
  1501. }
  1502. inline ::fish_protocols::e_server_msg_type packetl2c_get_dragon_palace_info_result::packet_id() const {
  1503. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1504. }
  1505. inline void packetl2c_get_dragon_palace_info_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1506. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1507. set_has_packet_id();
  1508. packet_id_ = value;
  1509. }
  1510. // optional int32 dimensityCount = 2;
  1511. inline bool packetl2c_get_dragon_palace_info_result::has_dimensitycount() const {
  1512. return (_has_bits_[0] & 0x00000002u) != 0;
  1513. }
  1514. inline void packetl2c_get_dragon_palace_info_result::set_has_dimensitycount() {
  1515. _has_bits_[0] |= 0x00000002u;
  1516. }
  1517. inline void packetl2c_get_dragon_palace_info_result::clear_has_dimensitycount() {
  1518. _has_bits_[0] &= ~0x00000002u;
  1519. }
  1520. inline void packetl2c_get_dragon_palace_info_result::clear_dimensitycount() {
  1521. dimensitycount_ = 0;
  1522. clear_has_dimensitycount();
  1523. }
  1524. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_info_result::dimensitycount() const {
  1525. return dimensitycount_;
  1526. }
  1527. inline void packetl2c_get_dragon_palace_info_result::set_dimensitycount(::google::protobuf::int32 value) {
  1528. set_has_dimensitycount();
  1529. dimensitycount_ = value;
  1530. }
  1531. // optional int32 exchangeCount = 3;
  1532. inline bool packetl2c_get_dragon_palace_info_result::has_exchangecount() const {
  1533. return (_has_bits_[0] & 0x00000004u) != 0;
  1534. }
  1535. inline void packetl2c_get_dragon_palace_info_result::set_has_exchangecount() {
  1536. _has_bits_[0] |= 0x00000004u;
  1537. }
  1538. inline void packetl2c_get_dragon_palace_info_result::clear_has_exchangecount() {
  1539. _has_bits_[0] &= ~0x00000004u;
  1540. }
  1541. inline void packetl2c_get_dragon_palace_info_result::clear_exchangecount() {
  1542. exchangecount_ = 0;
  1543. clear_has_exchangecount();
  1544. }
  1545. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_info_result::exchangecount() const {
  1546. return exchangecount_;
  1547. }
  1548. inline void packetl2c_get_dragon_palace_info_result::set_exchangecount(::google::protobuf::int32 value) {
  1549. set_has_exchangecount();
  1550. exchangecount_ = value;
  1551. }
  1552. // optional int32 exchangeCountEx = 4;
  1553. inline bool packetl2c_get_dragon_palace_info_result::has_exchangecountex() const {
  1554. return (_has_bits_[0] & 0x00000008u) != 0;
  1555. }
  1556. inline void packetl2c_get_dragon_palace_info_result::set_has_exchangecountex() {
  1557. _has_bits_[0] |= 0x00000008u;
  1558. }
  1559. inline void packetl2c_get_dragon_palace_info_result::clear_has_exchangecountex() {
  1560. _has_bits_[0] &= ~0x00000008u;
  1561. }
  1562. inline void packetl2c_get_dragon_palace_info_result::clear_exchangecountex() {
  1563. exchangecountex_ = 0;
  1564. clear_has_exchangecountex();
  1565. }
  1566. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_info_result::exchangecountex() const {
  1567. return exchangecountex_;
  1568. }
  1569. inline void packetl2c_get_dragon_palace_info_result::set_exchangecountex(::google::protobuf::int32 value) {
  1570. set_has_exchangecountex();
  1571. exchangecountex_ = value;
  1572. }
  1573. // optional int32 discountExchangeCountLv = 5;
  1574. inline bool packetl2c_get_dragon_palace_info_result::has_discountexchangecountlv() const {
  1575. return (_has_bits_[0] & 0x00000010u) != 0;
  1576. }
  1577. inline void packetl2c_get_dragon_palace_info_result::set_has_discountexchangecountlv() {
  1578. _has_bits_[0] |= 0x00000010u;
  1579. }
  1580. inline void packetl2c_get_dragon_palace_info_result::clear_has_discountexchangecountlv() {
  1581. _has_bits_[0] &= ~0x00000010u;
  1582. }
  1583. inline void packetl2c_get_dragon_palace_info_result::clear_discountexchangecountlv() {
  1584. discountexchangecountlv_ = 0;
  1585. clear_has_discountexchangecountlv();
  1586. }
  1587. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_info_result::discountexchangecountlv() const {
  1588. return discountexchangecountlv_;
  1589. }
  1590. inline void packetl2c_get_dragon_palace_info_result::set_discountexchangecountlv(::google::protobuf::int32 value) {
  1591. set_has_discountexchangecountlv();
  1592. discountexchangecountlv_ = value;
  1593. }
  1594. // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  1595. inline int packetl2c_get_dragon_palace_info_result::curranklist_size() const {
  1596. return curranklist_.size();
  1597. }
  1598. inline void packetl2c_get_dragon_palace_info_result::clear_curranklist() {
  1599. curranklist_.Clear();
  1600. }
  1601. inline const ::fish_protocols::DragonPalaceRankInfo& packetl2c_get_dragon_palace_info_result::curranklist(int index) const {
  1602. return curranklist_.Get(index);
  1603. }
  1604. inline ::fish_protocols::DragonPalaceRankInfo* packetl2c_get_dragon_palace_info_result::mutable_curranklist(int index) {
  1605. return curranklist_.Mutable(index);
  1606. }
  1607. inline ::fish_protocols::DragonPalaceRankInfo* packetl2c_get_dragon_palace_info_result::add_curranklist() {
  1608. return curranklist_.Add();
  1609. }
  1610. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >&
  1611. packetl2c_get_dragon_palace_info_result::curranklist() const {
  1612. return curranklist_;
  1613. }
  1614. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >*
  1615. packetl2c_get_dragon_palace_info_result::mutable_curranklist() {
  1616. return &curranklist_;
  1617. }
  1618. // optional int32 gainDimensityCurWeek = 7;
  1619. inline bool packetl2c_get_dragon_palace_info_result::has_gaindimensitycurweek() const {
  1620. return (_has_bits_[0] & 0x00000040u) != 0;
  1621. }
  1622. inline void packetl2c_get_dragon_palace_info_result::set_has_gaindimensitycurweek() {
  1623. _has_bits_[0] |= 0x00000040u;
  1624. }
  1625. inline void packetl2c_get_dragon_palace_info_result::clear_has_gaindimensitycurweek() {
  1626. _has_bits_[0] &= ~0x00000040u;
  1627. }
  1628. inline void packetl2c_get_dragon_palace_info_result::clear_gaindimensitycurweek() {
  1629. gaindimensitycurweek_ = 0;
  1630. clear_has_gaindimensitycurweek();
  1631. }
  1632. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_info_result::gaindimensitycurweek() const {
  1633. return gaindimensitycurweek_;
  1634. }
  1635. inline void packetl2c_get_dragon_palace_info_result::set_gaindimensitycurweek(::google::protobuf::int32 value) {
  1636. set_has_gaindimensitycurweek();
  1637. gaindimensitycurweek_ = value;
  1638. }
  1639. // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  1640. inline int packetl2c_get_dragon_palace_info_result::selffunbufflist_size() const {
  1641. return selffunbufflist_.size();
  1642. }
  1643. inline void packetl2c_get_dragon_palace_info_result::clear_selffunbufflist() {
  1644. selffunbufflist_.Clear();
  1645. }
  1646. inline const ::fish_protocols::FunBuff& packetl2c_get_dragon_palace_info_result::selffunbufflist(int index) const {
  1647. return selffunbufflist_.Get(index);
  1648. }
  1649. inline ::fish_protocols::FunBuff* packetl2c_get_dragon_palace_info_result::mutable_selffunbufflist(int index) {
  1650. return selffunbufflist_.Mutable(index);
  1651. }
  1652. inline ::fish_protocols::FunBuff* packetl2c_get_dragon_palace_info_result::add_selffunbufflist() {
  1653. return selffunbufflist_.Add();
  1654. }
  1655. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::FunBuff >&
  1656. packetl2c_get_dragon_palace_info_result::selffunbufflist() const {
  1657. return selffunbufflist_;
  1658. }
  1659. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::FunBuff >*
  1660. packetl2c_get_dragon_palace_info_result::mutable_selffunbufflist() {
  1661. return &selffunbufflist_;
  1662. }
  1663. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  1664. inline int packetl2c_get_dragon_palace_info_result::priceinfolist_size() const {
  1665. return priceinfolist_.size();
  1666. }
  1667. inline void packetl2c_get_dragon_palace_info_result::clear_priceinfolist() {
  1668. priceinfolist_.Clear();
  1669. }
  1670. inline const ::fish_protocols::ExchangePriceInfo& packetl2c_get_dragon_palace_info_result::priceinfolist(int index) const {
  1671. return priceinfolist_.Get(index);
  1672. }
  1673. inline ::fish_protocols::ExchangePriceInfo* packetl2c_get_dragon_palace_info_result::mutable_priceinfolist(int index) {
  1674. return priceinfolist_.Mutable(index);
  1675. }
  1676. inline ::fish_protocols::ExchangePriceInfo* packetl2c_get_dragon_palace_info_result::add_priceinfolist() {
  1677. return priceinfolist_.Add();
  1678. }
  1679. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >&
  1680. packetl2c_get_dragon_palace_info_result::priceinfolist() const {
  1681. return priceinfolist_;
  1682. }
  1683. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >*
  1684. packetl2c_get_dragon_palace_info_result::mutable_priceinfolist() {
  1685. return &priceinfolist_;
  1686. }
  1687. // optional int32 exchangeAddCount = 10;
  1688. inline bool packetl2c_get_dragon_palace_info_result::has_exchangeaddcount() const {
  1689. return (_has_bits_[0] & 0x00000200u) != 0;
  1690. }
  1691. inline void packetl2c_get_dragon_palace_info_result::set_has_exchangeaddcount() {
  1692. _has_bits_[0] |= 0x00000200u;
  1693. }
  1694. inline void packetl2c_get_dragon_palace_info_result::clear_has_exchangeaddcount() {
  1695. _has_bits_[0] &= ~0x00000200u;
  1696. }
  1697. inline void packetl2c_get_dragon_palace_info_result::clear_exchangeaddcount() {
  1698. exchangeaddcount_ = 0;
  1699. clear_has_exchangeaddcount();
  1700. }
  1701. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_info_result::exchangeaddcount() const {
  1702. return exchangeaddcount_;
  1703. }
  1704. inline void packetl2c_get_dragon_palace_info_result::set_exchangeaddcount(::google::protobuf::int32 value) {
  1705. set_has_exchangeaddcount();
  1706. exchangeaddcount_ = value;
  1707. }
  1708. // optional int32 dailyDimensity = 11;
  1709. inline bool packetl2c_get_dragon_palace_info_result::has_dailydimensity() const {
  1710. return (_has_bits_[0] & 0x00000400u) != 0;
  1711. }
  1712. inline void packetl2c_get_dragon_palace_info_result::set_has_dailydimensity() {
  1713. _has_bits_[0] |= 0x00000400u;
  1714. }
  1715. inline void packetl2c_get_dragon_palace_info_result::clear_has_dailydimensity() {
  1716. _has_bits_[0] &= ~0x00000400u;
  1717. }
  1718. inline void packetl2c_get_dragon_palace_info_result::clear_dailydimensity() {
  1719. dailydimensity_ = 0;
  1720. clear_has_dailydimensity();
  1721. }
  1722. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_info_result::dailydimensity() const {
  1723. return dailydimensity_;
  1724. }
  1725. inline void packetl2c_get_dragon_palace_info_result::set_dailydimensity(::google::protobuf::int32 value) {
  1726. set_has_dailydimensity();
  1727. dailydimensity_ = value;
  1728. }
  1729. // repeated bool dragonSlayerCheck = 12;
  1730. inline int packetl2c_get_dragon_palace_info_result::dragonslayercheck_size() const {
  1731. return dragonslayercheck_.size();
  1732. }
  1733. inline void packetl2c_get_dragon_palace_info_result::clear_dragonslayercheck() {
  1734. dragonslayercheck_.Clear();
  1735. }
  1736. inline bool packetl2c_get_dragon_palace_info_result::dragonslayercheck(int index) const {
  1737. return dragonslayercheck_.Get(index);
  1738. }
  1739. inline void packetl2c_get_dragon_palace_info_result::set_dragonslayercheck(int index, bool value) {
  1740. dragonslayercheck_.Set(index, value);
  1741. }
  1742. inline void packetl2c_get_dragon_palace_info_result::add_dragonslayercheck(bool value) {
  1743. dragonslayercheck_.Add(value);
  1744. }
  1745. inline const ::google::protobuf::RepeatedField< bool >&
  1746. packetl2c_get_dragon_palace_info_result::dragonslayercheck() const {
  1747. return dragonslayercheck_;
  1748. }
  1749. inline ::google::protobuf::RepeatedField< bool >*
  1750. packetl2c_get_dragon_palace_info_result::mutable_dragonslayercheck() {
  1751. return &dragonslayercheck_;
  1752. }
  1753. // -------------------------------------------------------------------
  1754. // packetc2l_get_dragon_palace_rank
  1755. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  1756. inline bool packetc2l_get_dragon_palace_rank::has_packet_id() const {
  1757. return (_has_bits_[0] & 0x00000001u) != 0;
  1758. }
  1759. inline void packetc2l_get_dragon_palace_rank::set_has_packet_id() {
  1760. _has_bits_[0] |= 0x00000001u;
  1761. }
  1762. inline void packetc2l_get_dragon_palace_rank::clear_has_packet_id() {
  1763. _has_bits_[0] &= ~0x00000001u;
  1764. }
  1765. inline void packetc2l_get_dragon_palace_rank::clear_packet_id() {
  1766. packet_id_ = 10149;
  1767. clear_has_packet_id();
  1768. }
  1769. inline ::fish_protocols::e_server_msg_type packetc2l_get_dragon_palace_rank::packet_id() const {
  1770. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1771. }
  1772. inline void packetc2l_get_dragon_palace_rank::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1773. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1774. set_has_packet_id();
  1775. packet_id_ = value;
  1776. }
  1777. // optional int32 rankType = 2;
  1778. inline bool packetc2l_get_dragon_palace_rank::has_ranktype() const {
  1779. return (_has_bits_[0] & 0x00000002u) != 0;
  1780. }
  1781. inline void packetc2l_get_dragon_palace_rank::set_has_ranktype() {
  1782. _has_bits_[0] |= 0x00000002u;
  1783. }
  1784. inline void packetc2l_get_dragon_palace_rank::clear_has_ranktype() {
  1785. _has_bits_[0] &= ~0x00000002u;
  1786. }
  1787. inline void packetc2l_get_dragon_palace_rank::clear_ranktype() {
  1788. ranktype_ = 0;
  1789. clear_has_ranktype();
  1790. }
  1791. inline ::google::protobuf::int32 packetc2l_get_dragon_palace_rank::ranktype() const {
  1792. return ranktype_;
  1793. }
  1794. inline void packetc2l_get_dragon_palace_rank::set_ranktype(::google::protobuf::int32 value) {
  1795. set_has_ranktype();
  1796. ranktype_ = value;
  1797. }
  1798. // -------------------------------------------------------------------
  1799. // packetl2c_get_dragon_palace_rank_result
  1800. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  1801. inline bool packetl2c_get_dragon_palace_rank_result::has_packet_id() const {
  1802. return (_has_bits_[0] & 0x00000001u) != 0;
  1803. }
  1804. inline void packetl2c_get_dragon_palace_rank_result::set_has_packet_id() {
  1805. _has_bits_[0] |= 0x00000001u;
  1806. }
  1807. inline void packetl2c_get_dragon_palace_rank_result::clear_has_packet_id() {
  1808. _has_bits_[0] &= ~0x00000001u;
  1809. }
  1810. inline void packetl2c_get_dragon_palace_rank_result::clear_packet_id() {
  1811. packet_id_ = 16138;
  1812. clear_has_packet_id();
  1813. }
  1814. inline ::fish_protocols::e_server_msg_type packetl2c_get_dragon_palace_rank_result::packet_id() const {
  1815. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1816. }
  1817. inline void packetl2c_get_dragon_palace_rank_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1818. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1819. set_has_packet_id();
  1820. packet_id_ = value;
  1821. }
  1822. // optional int32 rankType = 2;
  1823. inline bool packetl2c_get_dragon_palace_rank_result::has_ranktype() const {
  1824. return (_has_bits_[0] & 0x00000002u) != 0;
  1825. }
  1826. inline void packetl2c_get_dragon_palace_rank_result::set_has_ranktype() {
  1827. _has_bits_[0] |= 0x00000002u;
  1828. }
  1829. inline void packetl2c_get_dragon_palace_rank_result::clear_has_ranktype() {
  1830. _has_bits_[0] &= ~0x00000002u;
  1831. }
  1832. inline void packetl2c_get_dragon_palace_rank_result::clear_ranktype() {
  1833. ranktype_ = 0;
  1834. clear_has_ranktype();
  1835. }
  1836. inline ::google::protobuf::int32 packetl2c_get_dragon_palace_rank_result::ranktype() const {
  1837. return ranktype_;
  1838. }
  1839. inline void packetl2c_get_dragon_palace_rank_result::set_ranktype(::google::protobuf::int32 value) {
  1840. set_has_ranktype();
  1841. ranktype_ = value;
  1842. }
  1843. // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  1844. inline int packetl2c_get_dragon_palace_rank_result::ranklist_size() const {
  1845. return ranklist_.size();
  1846. }
  1847. inline void packetl2c_get_dragon_palace_rank_result::clear_ranklist() {
  1848. ranklist_.Clear();
  1849. }
  1850. inline const ::fish_protocols::DragonPalaceRankInfo& packetl2c_get_dragon_palace_rank_result::ranklist(int index) const {
  1851. return ranklist_.Get(index);
  1852. }
  1853. inline ::fish_protocols::DragonPalaceRankInfo* packetl2c_get_dragon_palace_rank_result::mutable_ranklist(int index) {
  1854. return ranklist_.Mutable(index);
  1855. }
  1856. inline ::fish_protocols::DragonPalaceRankInfo* packetl2c_get_dragon_palace_rank_result::add_ranklist() {
  1857. return ranklist_.Add();
  1858. }
  1859. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >&
  1860. packetl2c_get_dragon_palace_rank_result::ranklist() const {
  1861. return ranklist_;
  1862. }
  1863. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::DragonPalaceRankInfo >*
  1864. packetl2c_get_dragon_palace_rank_result::mutable_ranklist() {
  1865. return &ranklist_;
  1866. }
  1867. // -------------------------------------------------------------------
  1868. // packetc2l_dragon_palace_exchange
  1869. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  1870. inline bool packetc2l_dragon_palace_exchange::has_packet_id() const {
  1871. return (_has_bits_[0] & 0x00000001u) != 0;
  1872. }
  1873. inline void packetc2l_dragon_palace_exchange::set_has_packet_id() {
  1874. _has_bits_[0] |= 0x00000001u;
  1875. }
  1876. inline void packetc2l_dragon_palace_exchange::clear_has_packet_id() {
  1877. _has_bits_[0] &= ~0x00000001u;
  1878. }
  1879. inline void packetc2l_dragon_palace_exchange::clear_packet_id() {
  1880. packet_id_ = 10150;
  1881. clear_has_packet_id();
  1882. }
  1883. inline ::fish_protocols::e_server_msg_type packetc2l_dragon_palace_exchange::packet_id() const {
  1884. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1885. }
  1886. inline void packetc2l_dragon_palace_exchange::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1887. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1888. set_has_packet_id();
  1889. packet_id_ = value;
  1890. }
  1891. // optional int32 exchangeId = 2;
  1892. inline bool packetc2l_dragon_palace_exchange::has_exchangeid() const {
  1893. return (_has_bits_[0] & 0x00000002u) != 0;
  1894. }
  1895. inline void packetc2l_dragon_palace_exchange::set_has_exchangeid() {
  1896. _has_bits_[0] |= 0x00000002u;
  1897. }
  1898. inline void packetc2l_dragon_palace_exchange::clear_has_exchangeid() {
  1899. _has_bits_[0] &= ~0x00000002u;
  1900. }
  1901. inline void packetc2l_dragon_palace_exchange::clear_exchangeid() {
  1902. exchangeid_ = 0;
  1903. clear_has_exchangeid();
  1904. }
  1905. inline ::google::protobuf::int32 packetc2l_dragon_palace_exchange::exchangeid() const {
  1906. return exchangeid_;
  1907. }
  1908. inline void packetc2l_dragon_palace_exchange::set_exchangeid(::google::protobuf::int32 value) {
  1909. set_has_exchangeid();
  1910. exchangeid_ = value;
  1911. }
  1912. // optional int32 exchangeCount = 3;
  1913. inline bool packetc2l_dragon_palace_exchange::has_exchangecount() const {
  1914. return (_has_bits_[0] & 0x00000004u) != 0;
  1915. }
  1916. inline void packetc2l_dragon_palace_exchange::set_has_exchangecount() {
  1917. _has_bits_[0] |= 0x00000004u;
  1918. }
  1919. inline void packetc2l_dragon_palace_exchange::clear_has_exchangecount() {
  1920. _has_bits_[0] &= ~0x00000004u;
  1921. }
  1922. inline void packetc2l_dragon_palace_exchange::clear_exchangecount() {
  1923. exchangecount_ = 0;
  1924. clear_has_exchangecount();
  1925. }
  1926. inline ::google::protobuf::int32 packetc2l_dragon_palace_exchange::exchangecount() const {
  1927. return exchangecount_;
  1928. }
  1929. inline void packetc2l_dragon_palace_exchange::set_exchangecount(::google::protobuf::int32 value) {
  1930. set_has_exchangecount();
  1931. exchangecount_ = value;
  1932. }
  1933. // -------------------------------------------------------------------
  1934. // packetl2c_dragon_palace_exchange_result
  1935. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  1936. inline bool packetl2c_dragon_palace_exchange_result::has_packet_id() const {
  1937. return (_has_bits_[0] & 0x00000001u) != 0;
  1938. }
  1939. inline void packetl2c_dragon_palace_exchange_result::set_has_packet_id() {
  1940. _has_bits_[0] |= 0x00000001u;
  1941. }
  1942. inline void packetl2c_dragon_palace_exchange_result::clear_has_packet_id() {
  1943. _has_bits_[0] &= ~0x00000001u;
  1944. }
  1945. inline void packetl2c_dragon_palace_exchange_result::clear_packet_id() {
  1946. packet_id_ = 16139;
  1947. clear_has_packet_id();
  1948. }
  1949. inline ::fish_protocols::e_server_msg_type packetl2c_dragon_palace_exchange_result::packet_id() const {
  1950. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1951. }
  1952. inline void packetl2c_dragon_palace_exchange_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1953. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1954. set_has_packet_id();
  1955. packet_id_ = value;
  1956. }
  1957. // optional int32 result = 2;
  1958. inline bool packetl2c_dragon_palace_exchange_result::has_result() const {
  1959. return (_has_bits_[0] & 0x00000002u) != 0;
  1960. }
  1961. inline void packetl2c_dragon_palace_exchange_result::set_has_result() {
  1962. _has_bits_[0] |= 0x00000002u;
  1963. }
  1964. inline void packetl2c_dragon_palace_exchange_result::clear_has_result() {
  1965. _has_bits_[0] &= ~0x00000002u;
  1966. }
  1967. inline void packetl2c_dragon_palace_exchange_result::clear_result() {
  1968. result_ = 0;
  1969. clear_has_result();
  1970. }
  1971. inline ::google::protobuf::int32 packetl2c_dragon_palace_exchange_result::result() const {
  1972. return result_;
  1973. }
  1974. inline void packetl2c_dragon_palace_exchange_result::set_result(::google::protobuf::int32 value) {
  1975. set_has_result();
  1976. result_ = value;
  1977. }
  1978. // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  1979. inline int packetl2c_dragon_palace_exchange_result::exchangeitems_size() const {
  1980. return exchangeitems_.size();
  1981. }
  1982. inline void packetl2c_dragon_palace_exchange_result::clear_exchangeitems() {
  1983. exchangeitems_.Clear();
  1984. }
  1985. inline const ::fish_protocols::ExchangeItemInfo& packetl2c_dragon_palace_exchange_result::exchangeitems(int index) const {
  1986. return exchangeitems_.Get(index);
  1987. }
  1988. inline ::fish_protocols::ExchangeItemInfo* packetl2c_dragon_palace_exchange_result::mutable_exchangeitems(int index) {
  1989. return exchangeitems_.Mutable(index);
  1990. }
  1991. inline ::fish_protocols::ExchangeItemInfo* packetl2c_dragon_palace_exchange_result::add_exchangeitems() {
  1992. return exchangeitems_.Add();
  1993. }
  1994. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >&
  1995. packetl2c_dragon_palace_exchange_result::exchangeitems() const {
  1996. return exchangeitems_;
  1997. }
  1998. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >*
  1999. packetl2c_dragon_palace_exchange_result::mutable_exchangeitems() {
  2000. return &exchangeitems_;
  2001. }
  2002. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  2003. inline int packetl2c_dragon_palace_exchange_result::priceinfolist_size() const {
  2004. return priceinfolist_.size();
  2005. }
  2006. inline void packetl2c_dragon_palace_exchange_result::clear_priceinfolist() {
  2007. priceinfolist_.Clear();
  2008. }
  2009. inline const ::fish_protocols::ExchangePriceInfo& packetl2c_dragon_palace_exchange_result::priceinfolist(int index) const {
  2010. return priceinfolist_.Get(index);
  2011. }
  2012. inline ::fish_protocols::ExchangePriceInfo* packetl2c_dragon_palace_exchange_result::mutable_priceinfolist(int index) {
  2013. return priceinfolist_.Mutable(index);
  2014. }
  2015. inline ::fish_protocols::ExchangePriceInfo* packetl2c_dragon_palace_exchange_result::add_priceinfolist() {
  2016. return priceinfolist_.Add();
  2017. }
  2018. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >&
  2019. packetl2c_dragon_palace_exchange_result::priceinfolist() const {
  2020. return priceinfolist_;
  2021. }
  2022. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangePriceInfo >*
  2023. packetl2c_dragon_palace_exchange_result::mutable_priceinfolist() {
  2024. return &priceinfolist_;
  2025. }
  2026. // optional int32 nextPrice = 5;
  2027. inline bool packetl2c_dragon_palace_exchange_result::has_nextprice() const {
  2028. return (_has_bits_[0] & 0x00000010u) != 0;
  2029. }
  2030. inline void packetl2c_dragon_palace_exchange_result::set_has_nextprice() {
  2031. _has_bits_[0] |= 0x00000010u;
  2032. }
  2033. inline void packetl2c_dragon_palace_exchange_result::clear_has_nextprice() {
  2034. _has_bits_[0] &= ~0x00000010u;
  2035. }
  2036. inline void packetl2c_dragon_palace_exchange_result::clear_nextprice() {
  2037. nextprice_ = 0;
  2038. clear_has_nextprice();
  2039. }
  2040. inline ::google::protobuf::int32 packetl2c_dragon_palace_exchange_result::nextprice() const {
  2041. return nextprice_;
  2042. }
  2043. inline void packetl2c_dragon_palace_exchange_result::set_nextprice(::google::protobuf::int32 value) {
  2044. set_has_nextprice();
  2045. nextprice_ = value;
  2046. }
  2047. // -------------------------------------------------------------------
  2048. // packetc2l_dragon_add_exchange_count
  2049. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  2050. inline bool packetc2l_dragon_add_exchange_count::has_packet_id() const {
  2051. return (_has_bits_[0] & 0x00000001u) != 0;
  2052. }
  2053. inline void packetc2l_dragon_add_exchange_count::set_has_packet_id() {
  2054. _has_bits_[0] |= 0x00000001u;
  2055. }
  2056. inline void packetc2l_dragon_add_exchange_count::clear_has_packet_id() {
  2057. _has_bits_[0] &= ~0x00000001u;
  2058. }
  2059. inline void packetc2l_dragon_add_exchange_count::clear_packet_id() {
  2060. packet_id_ = 10151;
  2061. clear_has_packet_id();
  2062. }
  2063. inline ::fish_protocols::e_server_msg_type packetc2l_dragon_add_exchange_count::packet_id() const {
  2064. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2065. }
  2066. inline void packetc2l_dragon_add_exchange_count::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2067. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2068. set_has_packet_id();
  2069. packet_id_ = value;
  2070. }
  2071. // optional int32 addCount = 2;
  2072. inline bool packetc2l_dragon_add_exchange_count::has_addcount() const {
  2073. return (_has_bits_[0] & 0x00000002u) != 0;
  2074. }
  2075. inline void packetc2l_dragon_add_exchange_count::set_has_addcount() {
  2076. _has_bits_[0] |= 0x00000002u;
  2077. }
  2078. inline void packetc2l_dragon_add_exchange_count::clear_has_addcount() {
  2079. _has_bits_[0] &= ~0x00000002u;
  2080. }
  2081. inline void packetc2l_dragon_add_exchange_count::clear_addcount() {
  2082. addcount_ = 0;
  2083. clear_has_addcount();
  2084. }
  2085. inline ::google::protobuf::int32 packetc2l_dragon_add_exchange_count::addcount() const {
  2086. return addcount_;
  2087. }
  2088. inline void packetc2l_dragon_add_exchange_count::set_addcount(::google::protobuf::int32 value) {
  2089. set_has_addcount();
  2090. addcount_ = value;
  2091. }
  2092. // -------------------------------------------------------------------
  2093. // packetl2c_dragon_add_exchange_count_result
  2094. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  2095. inline bool packetl2c_dragon_add_exchange_count_result::has_packet_id() const {
  2096. return (_has_bits_[0] & 0x00000001u) != 0;
  2097. }
  2098. inline void packetl2c_dragon_add_exchange_count_result::set_has_packet_id() {
  2099. _has_bits_[0] |= 0x00000001u;
  2100. }
  2101. inline void packetl2c_dragon_add_exchange_count_result::clear_has_packet_id() {
  2102. _has_bits_[0] &= ~0x00000001u;
  2103. }
  2104. inline void packetl2c_dragon_add_exchange_count_result::clear_packet_id() {
  2105. packet_id_ = 16140;
  2106. clear_has_packet_id();
  2107. }
  2108. inline ::fish_protocols::e_server_msg_type packetl2c_dragon_add_exchange_count_result::packet_id() const {
  2109. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2110. }
  2111. inline void packetl2c_dragon_add_exchange_count_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2112. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2113. set_has_packet_id();
  2114. packet_id_ = value;
  2115. }
  2116. // optional int32 result = 2;
  2117. inline bool packetl2c_dragon_add_exchange_count_result::has_result() const {
  2118. return (_has_bits_[0] & 0x00000002u) != 0;
  2119. }
  2120. inline void packetl2c_dragon_add_exchange_count_result::set_has_result() {
  2121. _has_bits_[0] |= 0x00000002u;
  2122. }
  2123. inline void packetl2c_dragon_add_exchange_count_result::clear_has_result() {
  2124. _has_bits_[0] &= ~0x00000002u;
  2125. }
  2126. inline void packetl2c_dragon_add_exchange_count_result::clear_result() {
  2127. result_ = 0;
  2128. clear_has_result();
  2129. }
  2130. inline ::google::protobuf::int32 packetl2c_dragon_add_exchange_count_result::result() const {
  2131. return result_;
  2132. }
  2133. inline void packetl2c_dragon_add_exchange_count_result::set_result(::google::protobuf::int32 value) {
  2134. set_has_result();
  2135. result_ = value;
  2136. }
  2137. // optional int32 addCount = 3;
  2138. inline bool packetl2c_dragon_add_exchange_count_result::has_addcount() const {
  2139. return (_has_bits_[0] & 0x00000004u) != 0;
  2140. }
  2141. inline void packetl2c_dragon_add_exchange_count_result::set_has_addcount() {
  2142. _has_bits_[0] |= 0x00000004u;
  2143. }
  2144. inline void packetl2c_dragon_add_exchange_count_result::clear_has_addcount() {
  2145. _has_bits_[0] &= ~0x00000004u;
  2146. }
  2147. inline void packetl2c_dragon_add_exchange_count_result::clear_addcount() {
  2148. addcount_ = 0;
  2149. clear_has_addcount();
  2150. }
  2151. inline ::google::protobuf::int32 packetl2c_dragon_add_exchange_count_result::addcount() const {
  2152. return addcount_;
  2153. }
  2154. inline void packetl2c_dragon_add_exchange_count_result::set_addcount(::google::protobuf::int32 value) {
  2155. set_has_addcount();
  2156. addcount_ = value;
  2157. }
  2158. // -------------------------------------------------------------------
  2159. // packetc2l_daily_dimensity_exchange
  2160. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  2161. inline bool packetc2l_daily_dimensity_exchange::has_packet_id() const {
  2162. return (_has_bits_[0] & 0x00000001u) != 0;
  2163. }
  2164. inline void packetc2l_daily_dimensity_exchange::set_has_packet_id() {
  2165. _has_bits_[0] |= 0x00000001u;
  2166. }
  2167. inline void packetc2l_daily_dimensity_exchange::clear_has_packet_id() {
  2168. _has_bits_[0] &= ~0x00000001u;
  2169. }
  2170. inline void packetc2l_daily_dimensity_exchange::clear_packet_id() {
  2171. packet_id_ = 10152;
  2172. clear_has_packet_id();
  2173. }
  2174. inline ::fish_protocols::e_server_msg_type packetc2l_daily_dimensity_exchange::packet_id() const {
  2175. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2176. }
  2177. inline void packetc2l_daily_dimensity_exchange::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2178. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2179. set_has_packet_id();
  2180. packet_id_ = value;
  2181. }
  2182. // -------------------------------------------------------------------
  2183. // packetl2c_daily_dimensity_exchange_result
  2184. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  2185. inline bool packetl2c_daily_dimensity_exchange_result::has_packet_id() const {
  2186. return (_has_bits_[0] & 0x00000001u) != 0;
  2187. }
  2188. inline void packetl2c_daily_dimensity_exchange_result::set_has_packet_id() {
  2189. _has_bits_[0] |= 0x00000001u;
  2190. }
  2191. inline void packetl2c_daily_dimensity_exchange_result::clear_has_packet_id() {
  2192. _has_bits_[0] &= ~0x00000001u;
  2193. }
  2194. inline void packetl2c_daily_dimensity_exchange_result::clear_packet_id() {
  2195. packet_id_ = 16141;
  2196. clear_has_packet_id();
  2197. }
  2198. inline ::fish_protocols::e_server_msg_type packetl2c_daily_dimensity_exchange_result::packet_id() const {
  2199. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2200. }
  2201. inline void packetl2c_daily_dimensity_exchange_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2202. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2203. set_has_packet_id();
  2204. packet_id_ = value;
  2205. }
  2206. // optional int32 result = 2;
  2207. inline bool packetl2c_daily_dimensity_exchange_result::has_result() const {
  2208. return (_has_bits_[0] & 0x00000002u) != 0;
  2209. }
  2210. inline void packetl2c_daily_dimensity_exchange_result::set_has_result() {
  2211. _has_bits_[0] |= 0x00000002u;
  2212. }
  2213. inline void packetl2c_daily_dimensity_exchange_result::clear_has_result() {
  2214. _has_bits_[0] &= ~0x00000002u;
  2215. }
  2216. inline void packetl2c_daily_dimensity_exchange_result::clear_result() {
  2217. result_ = 0;
  2218. clear_has_result();
  2219. }
  2220. inline ::google::protobuf::int32 packetl2c_daily_dimensity_exchange_result::result() const {
  2221. return result_;
  2222. }
  2223. inline void packetl2c_daily_dimensity_exchange_result::set_result(::google::protobuf::int32 value) {
  2224. set_has_result();
  2225. result_ = value;
  2226. }
  2227. // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  2228. inline int packetl2c_daily_dimensity_exchange_result::exchangeinfo_size() const {
  2229. return exchangeinfo_.size();
  2230. }
  2231. inline void packetl2c_daily_dimensity_exchange_result::clear_exchangeinfo() {
  2232. exchangeinfo_.Clear();
  2233. }
  2234. inline const ::fish_protocols::ExchangeItemInfo& packetl2c_daily_dimensity_exchange_result::exchangeinfo(int index) const {
  2235. return exchangeinfo_.Get(index);
  2236. }
  2237. inline ::fish_protocols::ExchangeItemInfo* packetl2c_daily_dimensity_exchange_result::mutable_exchangeinfo(int index) {
  2238. return exchangeinfo_.Mutable(index);
  2239. }
  2240. inline ::fish_protocols::ExchangeItemInfo* packetl2c_daily_dimensity_exchange_result::add_exchangeinfo() {
  2241. return exchangeinfo_.Add();
  2242. }
  2243. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >&
  2244. packetl2c_daily_dimensity_exchange_result::exchangeinfo() const {
  2245. return exchangeinfo_;
  2246. }
  2247. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ExchangeItemInfo >*
  2248. packetl2c_daily_dimensity_exchange_result::mutable_exchangeinfo() {
  2249. return &exchangeinfo_;
  2250. }
  2251. // @@protoc_insertion_point(namespace_scope)
  2252. } // namespace fish_protocols
  2253. #ifndef SWIG
  2254. namespace google {
  2255. namespace protobuf {
  2256. } // namespace google
  2257. } // namespace protobuf
  2258. #endif // SWIG
  2259. // @@protoc_insertion_point(global_scope)
  2260. #endif // PROTOBUF_fish_5fdragon_5fpalace_2eproto__INCLUDED