fish_bombfairyland.pb.h 79 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_bombfairyland.proto
  3. #ifndef PROTOBUF_fish_5fbombfairyland_2eproto__INCLUDED
  4. #define PROTOBUF_fish_5fbombfairyland_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 "fish_type_def.pb.h"
  24. #include "msg_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_5fbombfairyland_2eproto();
  29. void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  30. void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  31. class packetc2l_enter_southsea_treasurehunt;
  32. class packetl2c_enter_southsea_treasurehunt_result;
  33. class packetc2l_southsea_treasurehunt_get_info;
  34. class STRoomstate;
  35. class packetl2c_southsea_treasurehunt_get_info_result;
  36. class packetc2l_southsea_treasurehunt_enter;
  37. class packetl2c_southsea_treasurehunt_enter_result;
  38. class packetc2l_southsea_treasurehunt_lottery;
  39. class packetl2c_southsea_treasurehunt_lottery_result;
  40. class packetc2l_get_southsea_treasurehunt_notice;
  41. class MTreasureHuntNoticeInfo;
  42. class packetl2c_get_southsea_treasurehunt_notice_result;
  43. // ===================================================================
  44. class packetc2l_enter_southsea_treasurehunt : public ::google::protobuf::Message {
  45. public:
  46. packetc2l_enter_southsea_treasurehunt();
  47. virtual ~packetc2l_enter_southsea_treasurehunt();
  48. packetc2l_enter_southsea_treasurehunt(const packetc2l_enter_southsea_treasurehunt& from);
  49. inline packetc2l_enter_southsea_treasurehunt& operator=(const packetc2l_enter_southsea_treasurehunt& from) {
  50. CopyFrom(from);
  51. return *this;
  52. }
  53. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  54. return _unknown_fields_;
  55. }
  56. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  57. return &_unknown_fields_;
  58. }
  59. static const ::google::protobuf::Descriptor* descriptor();
  60. static const packetc2l_enter_southsea_treasurehunt& default_instance();
  61. void Swap(packetc2l_enter_southsea_treasurehunt* other);
  62. // implements Message ----------------------------------------------
  63. packetc2l_enter_southsea_treasurehunt* New() const;
  64. void CopyFrom(const ::google::protobuf::Message& from);
  65. void MergeFrom(const ::google::protobuf::Message& from);
  66. void CopyFrom(const packetc2l_enter_southsea_treasurehunt& from);
  67. void MergeFrom(const packetc2l_enter_southsea_treasurehunt& from);
  68. void Clear();
  69. bool IsInitialized() const;
  70. int ByteSize() const;
  71. bool MergePartialFromCodedStream(
  72. ::google::protobuf::io::CodedInputStream* input);
  73. void SerializeWithCachedSizes(
  74. ::google::protobuf::io::CodedOutputStream* output) const;
  75. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  76. int GetCachedSize() const { return _cached_size_; }
  77. private:
  78. void SharedCtor();
  79. void SharedDtor();
  80. void SetCachedSize(int size) const;
  81. public:
  82. ::google::protobuf::Metadata GetMetadata() const;
  83. // nested types ----------------------------------------------------
  84. // accessors -------------------------------------------------------
  85. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
  86. inline bool has_packet_id() const;
  87. inline void clear_packet_id();
  88. static const int kPacketIdFieldNumber = 1;
  89. inline ::fish_protocols::e_server_msg_type packet_id() const;
  90. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  91. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_enter_southsea_treasurehunt)
  92. private:
  93. inline void set_has_packet_id();
  94. inline void clear_has_packet_id();
  95. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  96. int packet_id_;
  97. mutable int _cached_size_;
  98. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  99. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  100. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  101. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  102. void InitAsDefaultInstance();
  103. static packetc2l_enter_southsea_treasurehunt* default_instance_;
  104. };
  105. // -------------------------------------------------------------------
  106. class packetl2c_enter_southsea_treasurehunt_result : public ::google::protobuf::Message {
  107. public:
  108. packetl2c_enter_southsea_treasurehunt_result();
  109. virtual ~packetl2c_enter_southsea_treasurehunt_result();
  110. packetl2c_enter_southsea_treasurehunt_result(const packetl2c_enter_southsea_treasurehunt_result& from);
  111. inline packetl2c_enter_southsea_treasurehunt_result& operator=(const packetl2c_enter_southsea_treasurehunt_result& from) {
  112. CopyFrom(from);
  113. return *this;
  114. }
  115. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  116. return _unknown_fields_;
  117. }
  118. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  119. return &_unknown_fields_;
  120. }
  121. static const ::google::protobuf::Descriptor* descriptor();
  122. static const packetl2c_enter_southsea_treasurehunt_result& default_instance();
  123. void Swap(packetl2c_enter_southsea_treasurehunt_result* other);
  124. // implements Message ----------------------------------------------
  125. packetl2c_enter_southsea_treasurehunt_result* New() const;
  126. void CopyFrom(const ::google::protobuf::Message& from);
  127. void MergeFrom(const ::google::protobuf::Message& from);
  128. void CopyFrom(const packetl2c_enter_southsea_treasurehunt_result& from);
  129. void MergeFrom(const packetl2c_enter_southsea_treasurehunt_result& from);
  130. void Clear();
  131. bool IsInitialized() const;
  132. int ByteSize() const;
  133. bool MergePartialFromCodedStream(
  134. ::google::protobuf::io::CodedInputStream* input);
  135. void SerializeWithCachedSizes(
  136. ::google::protobuf::io::CodedOutputStream* output) const;
  137. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  138. int GetCachedSize() const { return _cached_size_; }
  139. private:
  140. void SharedCtor();
  141. void SharedDtor();
  142. void SetCachedSize(int size) const;
  143. public:
  144. ::google::protobuf::Metadata GetMetadata() const;
  145. // nested types ----------------------------------------------------
  146. // accessors -------------------------------------------------------
  147. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
  148. inline bool has_packet_id() const;
  149. inline void clear_packet_id();
  150. static const int kPacketIdFieldNumber = 1;
  151. inline ::fish_protocols::e_server_msg_type packet_id() const;
  152. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  153. // optional int32 sendCopperCount = 2;
  154. inline bool has_sendcoppercount() const;
  155. inline void clear_sendcoppercount();
  156. static const int kSendCopperCountFieldNumber = 2;
  157. inline ::google::protobuf::int32 sendcoppercount() const;
  158. inline void set_sendcoppercount(::google::protobuf::int32 value);
  159. // optional int32 result = 3;
  160. inline bool has_result() const;
  161. inline void clear_result();
  162. static const int kResultFieldNumber = 3;
  163. inline ::google::protobuf::int32 result() const;
  164. inline void set_result(::google::protobuf::int32 value);
  165. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_enter_southsea_treasurehunt_result)
  166. private:
  167. inline void set_has_packet_id();
  168. inline void clear_has_packet_id();
  169. inline void set_has_sendcoppercount();
  170. inline void clear_has_sendcoppercount();
  171. inline void set_has_result();
  172. inline void clear_has_result();
  173. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  174. int packet_id_;
  175. ::google::protobuf::int32 sendcoppercount_;
  176. ::google::protobuf::int32 result_;
  177. mutable int _cached_size_;
  178. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  179. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  180. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  181. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  182. void InitAsDefaultInstance();
  183. static packetl2c_enter_southsea_treasurehunt_result* default_instance_;
  184. };
  185. // -------------------------------------------------------------------
  186. class packetc2l_southsea_treasurehunt_get_info : public ::google::protobuf::Message {
  187. public:
  188. packetc2l_southsea_treasurehunt_get_info();
  189. virtual ~packetc2l_southsea_treasurehunt_get_info();
  190. packetc2l_southsea_treasurehunt_get_info(const packetc2l_southsea_treasurehunt_get_info& from);
  191. inline packetc2l_southsea_treasurehunt_get_info& operator=(const packetc2l_southsea_treasurehunt_get_info& from) {
  192. CopyFrom(from);
  193. return *this;
  194. }
  195. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  196. return _unknown_fields_;
  197. }
  198. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  199. return &_unknown_fields_;
  200. }
  201. static const ::google::protobuf::Descriptor* descriptor();
  202. static const packetc2l_southsea_treasurehunt_get_info& default_instance();
  203. void Swap(packetc2l_southsea_treasurehunt_get_info* other);
  204. // implements Message ----------------------------------------------
  205. packetc2l_southsea_treasurehunt_get_info* New() const;
  206. void CopyFrom(const ::google::protobuf::Message& from);
  207. void MergeFrom(const ::google::protobuf::Message& from);
  208. void CopyFrom(const packetc2l_southsea_treasurehunt_get_info& from);
  209. void MergeFrom(const packetc2l_southsea_treasurehunt_get_info& from);
  210. void Clear();
  211. bool IsInitialized() const;
  212. int ByteSize() const;
  213. bool MergePartialFromCodedStream(
  214. ::google::protobuf::io::CodedInputStream* input);
  215. void SerializeWithCachedSizes(
  216. ::google::protobuf::io::CodedOutputStream* output) const;
  217. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  218. int GetCachedSize() const { return _cached_size_; }
  219. private:
  220. void SharedCtor();
  221. void SharedDtor();
  222. void SetCachedSize(int size) const;
  223. public:
  224. ::google::protobuf::Metadata GetMetadata() const;
  225. // nested types ----------------------------------------------------
  226. // accessors -------------------------------------------------------
  227. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
  228. inline bool has_packet_id() const;
  229. inline void clear_packet_id();
  230. static const int kPacketIdFieldNumber = 1;
  231. inline ::fish_protocols::e_server_msg_type packet_id() const;
  232. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  233. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_southsea_treasurehunt_get_info)
  234. private:
  235. inline void set_has_packet_id();
  236. inline void clear_has_packet_id();
  237. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  238. int packet_id_;
  239. mutable int _cached_size_;
  240. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  241. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  242. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  243. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  244. void InitAsDefaultInstance();
  245. static packetc2l_southsea_treasurehunt_get_info* default_instance_;
  246. };
  247. // -------------------------------------------------------------------
  248. class STRoomstate : public ::google::protobuf::Message {
  249. public:
  250. STRoomstate();
  251. virtual ~STRoomstate();
  252. STRoomstate(const STRoomstate& from);
  253. inline STRoomstate& operator=(const STRoomstate& from) {
  254. CopyFrom(from);
  255. return *this;
  256. }
  257. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  258. return _unknown_fields_;
  259. }
  260. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  261. return &_unknown_fields_;
  262. }
  263. static const ::google::protobuf::Descriptor* descriptor();
  264. static const STRoomstate& default_instance();
  265. void Swap(STRoomstate* other);
  266. // implements Message ----------------------------------------------
  267. STRoomstate* New() const;
  268. void CopyFrom(const ::google::protobuf::Message& from);
  269. void MergeFrom(const ::google::protobuf::Message& from);
  270. void CopyFrom(const STRoomstate& from);
  271. void MergeFrom(const STRoomstate& from);
  272. void Clear();
  273. bool IsInitialized() const;
  274. int ByteSize() const;
  275. bool MergePartialFromCodedStream(
  276. ::google::protobuf::io::CodedInputStream* input);
  277. void SerializeWithCachedSizes(
  278. ::google::protobuf::io::CodedOutputStream* output) const;
  279. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  280. int GetCachedSize() const { return _cached_size_; }
  281. private:
  282. void SharedCtor();
  283. void SharedDtor();
  284. void SetCachedSize(int size) const;
  285. public:
  286. ::google::protobuf::Metadata GetMetadata() const;
  287. // nested types ----------------------------------------------------
  288. // accessors -------------------------------------------------------
  289. // optional int32 roomId = 1;
  290. inline bool has_roomid() const;
  291. inline void clear_roomid();
  292. static const int kRoomIdFieldNumber = 1;
  293. inline ::google::protobuf::int32 roomid() const;
  294. inline void set_roomid(::google::protobuf::int32 value);
  295. // optional int32 state = 2;
  296. inline bool has_state() const;
  297. inline void clear_state();
  298. static const int kStateFieldNumber = 2;
  299. inline ::google::protobuf::int32 state() const;
  300. inline void set_state(::google::protobuf::int32 value);
  301. // @@protoc_insertion_point(class_scope:fish_protocols.STRoomstate)
  302. private:
  303. inline void set_has_roomid();
  304. inline void clear_has_roomid();
  305. inline void set_has_state();
  306. inline void clear_has_state();
  307. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  308. ::google::protobuf::int32 roomid_;
  309. ::google::protobuf::int32 state_;
  310. mutable int _cached_size_;
  311. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  312. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  313. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  314. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  315. void InitAsDefaultInstance();
  316. static STRoomstate* default_instance_;
  317. };
  318. // -------------------------------------------------------------------
  319. class packetl2c_southsea_treasurehunt_get_info_result : public ::google::protobuf::Message {
  320. public:
  321. packetl2c_southsea_treasurehunt_get_info_result();
  322. virtual ~packetl2c_southsea_treasurehunt_get_info_result();
  323. packetl2c_southsea_treasurehunt_get_info_result(const packetl2c_southsea_treasurehunt_get_info_result& from);
  324. inline packetl2c_southsea_treasurehunt_get_info_result& operator=(const packetl2c_southsea_treasurehunt_get_info_result& from) {
  325. CopyFrom(from);
  326. return *this;
  327. }
  328. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  329. return _unknown_fields_;
  330. }
  331. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  332. return &_unknown_fields_;
  333. }
  334. static const ::google::protobuf::Descriptor* descriptor();
  335. static const packetl2c_southsea_treasurehunt_get_info_result& default_instance();
  336. void Swap(packetl2c_southsea_treasurehunt_get_info_result* other);
  337. // implements Message ----------------------------------------------
  338. packetl2c_southsea_treasurehunt_get_info_result* New() const;
  339. void CopyFrom(const ::google::protobuf::Message& from);
  340. void MergeFrom(const ::google::protobuf::Message& from);
  341. void CopyFrom(const packetl2c_southsea_treasurehunt_get_info_result& from);
  342. void MergeFrom(const packetl2c_southsea_treasurehunt_get_info_result& from);
  343. void Clear();
  344. bool IsInitialized() const;
  345. int ByteSize() const;
  346. bool MergePartialFromCodedStream(
  347. ::google::protobuf::io::CodedInputStream* input);
  348. void SerializeWithCachedSizes(
  349. ::google::protobuf::io::CodedOutputStream* output) const;
  350. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  351. int GetCachedSize() const { return _cached_size_; }
  352. private:
  353. void SharedCtor();
  354. void SharedDtor();
  355. void SetCachedSize(int size) const;
  356. public:
  357. ::google::protobuf::Metadata GetMetadata() const;
  358. // nested types ----------------------------------------------------
  359. // accessors -------------------------------------------------------
  360. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
  361. inline bool has_packet_id() const;
  362. inline void clear_packet_id();
  363. static const int kPacketIdFieldNumber = 1;
  364. inline ::fish_protocols::e_server_msg_type packet_id() const;
  365. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  366. // repeated .fish_protocols.STRoomstate roomList = 2;
  367. inline int roomlist_size() const;
  368. inline void clear_roomlist();
  369. static const int kRoomListFieldNumber = 2;
  370. inline const ::fish_protocols::STRoomstate& roomlist(int index) const;
  371. inline ::fish_protocols::STRoomstate* mutable_roomlist(int index);
  372. inline ::fish_protocols::STRoomstate* add_roomlist();
  373. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >&
  374. roomlist() const;
  375. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >*
  376. mutable_roomlist();
  377. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_southsea_treasurehunt_get_info_result)
  378. private:
  379. inline void set_has_packet_id();
  380. inline void clear_has_packet_id();
  381. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  382. ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate > roomlist_;
  383. int packet_id_;
  384. mutable int _cached_size_;
  385. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  386. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  387. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  388. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  389. void InitAsDefaultInstance();
  390. static packetl2c_southsea_treasurehunt_get_info_result* default_instance_;
  391. };
  392. // -------------------------------------------------------------------
  393. class packetc2l_southsea_treasurehunt_enter : public ::google::protobuf::Message {
  394. public:
  395. packetc2l_southsea_treasurehunt_enter();
  396. virtual ~packetc2l_southsea_treasurehunt_enter();
  397. packetc2l_southsea_treasurehunt_enter(const packetc2l_southsea_treasurehunt_enter& from);
  398. inline packetc2l_southsea_treasurehunt_enter& operator=(const packetc2l_southsea_treasurehunt_enter& from) {
  399. CopyFrom(from);
  400. return *this;
  401. }
  402. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  403. return _unknown_fields_;
  404. }
  405. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  406. return &_unknown_fields_;
  407. }
  408. static const ::google::protobuf::Descriptor* descriptor();
  409. static const packetc2l_southsea_treasurehunt_enter& default_instance();
  410. void Swap(packetc2l_southsea_treasurehunt_enter* other);
  411. // implements Message ----------------------------------------------
  412. packetc2l_southsea_treasurehunt_enter* New() const;
  413. void CopyFrom(const ::google::protobuf::Message& from);
  414. void MergeFrom(const ::google::protobuf::Message& from);
  415. void CopyFrom(const packetc2l_southsea_treasurehunt_enter& from);
  416. void MergeFrom(const packetc2l_southsea_treasurehunt_enter& from);
  417. void Clear();
  418. bool IsInitialized() const;
  419. int ByteSize() const;
  420. bool MergePartialFromCodedStream(
  421. ::google::protobuf::io::CodedInputStream* input);
  422. void SerializeWithCachedSizes(
  423. ::google::protobuf::io::CodedOutputStream* output) const;
  424. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  425. int GetCachedSize() const { return _cached_size_; }
  426. private:
  427. void SharedCtor();
  428. void SharedDtor();
  429. void SetCachedSize(int size) const;
  430. public:
  431. ::google::protobuf::Metadata GetMetadata() const;
  432. // nested types ----------------------------------------------------
  433. // accessors -------------------------------------------------------
  434. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
  435. inline bool has_packet_id() const;
  436. inline void clear_packet_id();
  437. static const int kPacketIdFieldNumber = 1;
  438. inline ::fish_protocols::e_server_msg_type packet_id() const;
  439. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  440. // optional int32 roomId = 2;
  441. inline bool has_roomid() const;
  442. inline void clear_roomid();
  443. static const int kRoomIdFieldNumber = 2;
  444. inline ::google::protobuf::int32 roomid() const;
  445. inline void set_roomid(::google::protobuf::int32 value);
  446. // optional int32 enterWay = 3;
  447. inline bool has_enterway() const;
  448. inline void clear_enterway();
  449. static const int kEnterWayFieldNumber = 3;
  450. inline ::google::protobuf::int32 enterway() const;
  451. inline void set_enterway(::google::protobuf::int32 value);
  452. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_southsea_treasurehunt_enter)
  453. private:
  454. inline void set_has_packet_id();
  455. inline void clear_has_packet_id();
  456. inline void set_has_roomid();
  457. inline void clear_has_roomid();
  458. inline void set_has_enterway();
  459. inline void clear_has_enterway();
  460. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  461. int packet_id_;
  462. ::google::protobuf::int32 roomid_;
  463. ::google::protobuf::int32 enterway_;
  464. mutable int _cached_size_;
  465. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  466. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  467. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  468. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  469. void InitAsDefaultInstance();
  470. static packetc2l_southsea_treasurehunt_enter* default_instance_;
  471. };
  472. // -------------------------------------------------------------------
  473. class packetl2c_southsea_treasurehunt_enter_result : public ::google::protobuf::Message {
  474. public:
  475. packetl2c_southsea_treasurehunt_enter_result();
  476. virtual ~packetl2c_southsea_treasurehunt_enter_result();
  477. packetl2c_southsea_treasurehunt_enter_result(const packetl2c_southsea_treasurehunt_enter_result& from);
  478. inline packetl2c_southsea_treasurehunt_enter_result& operator=(const packetl2c_southsea_treasurehunt_enter_result& from) {
  479. CopyFrom(from);
  480. return *this;
  481. }
  482. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  483. return _unknown_fields_;
  484. }
  485. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  486. return &_unknown_fields_;
  487. }
  488. static const ::google::protobuf::Descriptor* descriptor();
  489. static const packetl2c_southsea_treasurehunt_enter_result& default_instance();
  490. void Swap(packetl2c_southsea_treasurehunt_enter_result* other);
  491. // implements Message ----------------------------------------------
  492. packetl2c_southsea_treasurehunt_enter_result* New() const;
  493. void CopyFrom(const ::google::protobuf::Message& from);
  494. void MergeFrom(const ::google::protobuf::Message& from);
  495. void CopyFrom(const packetl2c_southsea_treasurehunt_enter_result& from);
  496. void MergeFrom(const packetl2c_southsea_treasurehunt_enter_result& from);
  497. void Clear();
  498. bool IsInitialized() const;
  499. int ByteSize() const;
  500. bool MergePartialFromCodedStream(
  501. ::google::protobuf::io::CodedInputStream* input);
  502. void SerializeWithCachedSizes(
  503. ::google::protobuf::io::CodedOutputStream* output) const;
  504. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  505. int GetCachedSize() const { return _cached_size_; }
  506. private:
  507. void SharedCtor();
  508. void SharedDtor();
  509. void SetCachedSize(int size) const;
  510. public:
  511. ::google::protobuf::Metadata GetMetadata() const;
  512. // nested types ----------------------------------------------------
  513. // accessors -------------------------------------------------------
  514. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
  515. inline bool has_packet_id() const;
  516. inline void clear_packet_id();
  517. static const int kPacketIdFieldNumber = 1;
  518. inline ::fish_protocols::e_server_msg_type packet_id() const;
  519. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  520. // optional int32 result = 2;
  521. inline bool has_result() const;
  522. inline void clear_result();
  523. static const int kResultFieldNumber = 2;
  524. inline ::google::protobuf::int32 result() const;
  525. inline void set_result(::google::protobuf::int32 value);
  526. // optional int32 roomId = 3;
  527. inline bool has_roomid() const;
  528. inline void clear_roomid();
  529. static const int kRoomIdFieldNumber = 3;
  530. inline ::google::protobuf::int32 roomid() const;
  531. inline void set_roomid(::google::protobuf::int32 value);
  532. // optional int32 enterWay = 4;
  533. inline bool has_enterway() const;
  534. inline void clear_enterway();
  535. static const int kEnterWayFieldNumber = 4;
  536. inline ::google::protobuf::int32 enterway() const;
  537. inline void set_enterway(::google::protobuf::int32 value);
  538. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_southsea_treasurehunt_enter_result)
  539. private:
  540. inline void set_has_packet_id();
  541. inline void clear_has_packet_id();
  542. inline void set_has_result();
  543. inline void clear_has_result();
  544. inline void set_has_roomid();
  545. inline void clear_has_roomid();
  546. inline void set_has_enterway();
  547. inline void clear_has_enterway();
  548. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  549. int packet_id_;
  550. ::google::protobuf::int32 result_;
  551. ::google::protobuf::int32 roomid_;
  552. ::google::protobuf::int32 enterway_;
  553. mutable int _cached_size_;
  554. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  555. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  556. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  557. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  558. void InitAsDefaultInstance();
  559. static packetl2c_southsea_treasurehunt_enter_result* default_instance_;
  560. };
  561. // -------------------------------------------------------------------
  562. class packetc2l_southsea_treasurehunt_lottery : public ::google::protobuf::Message {
  563. public:
  564. packetc2l_southsea_treasurehunt_lottery();
  565. virtual ~packetc2l_southsea_treasurehunt_lottery();
  566. packetc2l_southsea_treasurehunt_lottery(const packetc2l_southsea_treasurehunt_lottery& from);
  567. inline packetc2l_southsea_treasurehunt_lottery& operator=(const packetc2l_southsea_treasurehunt_lottery& from) {
  568. CopyFrom(from);
  569. return *this;
  570. }
  571. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  572. return _unknown_fields_;
  573. }
  574. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  575. return &_unknown_fields_;
  576. }
  577. static const ::google::protobuf::Descriptor* descriptor();
  578. static const packetc2l_southsea_treasurehunt_lottery& default_instance();
  579. void Swap(packetc2l_southsea_treasurehunt_lottery* other);
  580. // implements Message ----------------------------------------------
  581. packetc2l_southsea_treasurehunt_lottery* New() const;
  582. void CopyFrom(const ::google::protobuf::Message& from);
  583. void MergeFrom(const ::google::protobuf::Message& from);
  584. void CopyFrom(const packetc2l_southsea_treasurehunt_lottery& from);
  585. void MergeFrom(const packetc2l_southsea_treasurehunt_lottery& from);
  586. void Clear();
  587. bool IsInitialized() const;
  588. int ByteSize() const;
  589. bool MergePartialFromCodedStream(
  590. ::google::protobuf::io::CodedInputStream* input);
  591. void SerializeWithCachedSizes(
  592. ::google::protobuf::io::CodedOutputStream* output) const;
  593. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  594. int GetCachedSize() const { return _cached_size_; }
  595. private:
  596. void SharedCtor();
  597. void SharedDtor();
  598. void SetCachedSize(int size) const;
  599. public:
  600. ::google::protobuf::Metadata GetMetadata() const;
  601. // nested types ----------------------------------------------------
  602. // accessors -------------------------------------------------------
  603. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
  604. inline bool has_packet_id() const;
  605. inline void clear_packet_id();
  606. static const int kPacketIdFieldNumber = 1;
  607. inline ::fish_protocols::e_server_msg_type packet_id() const;
  608. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  609. // optional int32 roomId = 2;
  610. inline bool has_roomid() const;
  611. inline void clear_roomid();
  612. static const int kRoomIdFieldNumber = 2;
  613. inline ::google::protobuf::int32 roomid() const;
  614. inline void set_roomid(::google::protobuf::int32 value);
  615. // optional int32 enterWay = 3;
  616. inline bool has_enterway() const;
  617. inline void clear_enterway();
  618. static const int kEnterWayFieldNumber = 3;
  619. inline ::google::protobuf::int32 enterway() const;
  620. inline void set_enterway(::google::protobuf::int32 value);
  621. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_southsea_treasurehunt_lottery)
  622. private:
  623. inline void set_has_packet_id();
  624. inline void clear_has_packet_id();
  625. inline void set_has_roomid();
  626. inline void clear_has_roomid();
  627. inline void set_has_enterway();
  628. inline void clear_has_enterway();
  629. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  630. int packet_id_;
  631. ::google::protobuf::int32 roomid_;
  632. ::google::protobuf::int32 enterway_;
  633. mutable int _cached_size_;
  634. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  635. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  636. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  637. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  638. void InitAsDefaultInstance();
  639. static packetc2l_southsea_treasurehunt_lottery* default_instance_;
  640. };
  641. // -------------------------------------------------------------------
  642. class packetl2c_southsea_treasurehunt_lottery_result : public ::google::protobuf::Message {
  643. public:
  644. packetl2c_southsea_treasurehunt_lottery_result();
  645. virtual ~packetl2c_southsea_treasurehunt_lottery_result();
  646. packetl2c_southsea_treasurehunt_lottery_result(const packetl2c_southsea_treasurehunt_lottery_result& from);
  647. inline packetl2c_southsea_treasurehunt_lottery_result& operator=(const packetl2c_southsea_treasurehunt_lottery_result& from) {
  648. CopyFrom(from);
  649. return *this;
  650. }
  651. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  652. return _unknown_fields_;
  653. }
  654. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  655. return &_unknown_fields_;
  656. }
  657. static const ::google::protobuf::Descriptor* descriptor();
  658. static const packetl2c_southsea_treasurehunt_lottery_result& default_instance();
  659. void Swap(packetl2c_southsea_treasurehunt_lottery_result* other);
  660. // implements Message ----------------------------------------------
  661. packetl2c_southsea_treasurehunt_lottery_result* New() const;
  662. void CopyFrom(const ::google::protobuf::Message& from);
  663. void MergeFrom(const ::google::protobuf::Message& from);
  664. void CopyFrom(const packetl2c_southsea_treasurehunt_lottery_result& from);
  665. void MergeFrom(const packetl2c_southsea_treasurehunt_lottery_result& from);
  666. void Clear();
  667. bool IsInitialized() const;
  668. int ByteSize() const;
  669. bool MergePartialFromCodedStream(
  670. ::google::protobuf::io::CodedInputStream* input);
  671. void SerializeWithCachedSizes(
  672. ::google::protobuf::io::CodedOutputStream* output) const;
  673. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  674. int GetCachedSize() const { return _cached_size_; }
  675. private:
  676. void SharedCtor();
  677. void SharedDtor();
  678. void SetCachedSize(int size) const;
  679. public:
  680. ::google::protobuf::Metadata GetMetadata() const;
  681. // nested types ----------------------------------------------------
  682. // accessors -------------------------------------------------------
  683. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
  684. inline bool has_packet_id() const;
  685. inline void clear_packet_id();
  686. static const int kPacketIdFieldNumber = 1;
  687. inline ::fish_protocols::e_server_msg_type packet_id() const;
  688. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  689. // optional int32 result = 2;
  690. inline bool has_result() const;
  691. inline void clear_result();
  692. static const int kResultFieldNumber = 2;
  693. inline ::google::protobuf::int32 result() const;
  694. inline void set_result(::google::protobuf::int32 value);
  695. // optional int32 roomId = 3;
  696. inline bool has_roomid() const;
  697. inline void clear_roomid();
  698. static const int kRoomIdFieldNumber = 3;
  699. inline ::google::protobuf::int32 roomid() const;
  700. inline void set_roomid(::google::protobuf::int32 value);
  701. // optional int32 enterWay = 4;
  702. inline bool has_enterway() const;
  703. inline void clear_enterway();
  704. static const int kEnterWayFieldNumber = 4;
  705. inline ::google::protobuf::int32 enterway() const;
  706. inline void set_enterway(::google::protobuf::int32 value);
  707. // optional int32 rewardId = 5;
  708. inline bool has_rewardid() const;
  709. inline void clear_rewardid();
  710. static const int kRewardIdFieldNumber = 5;
  711. inline ::google::protobuf::int32 rewardid() const;
  712. inline void set_rewardid(::google::protobuf::int32 value);
  713. // repeated .fish_protocols.msg_item rewardList = 6;
  714. inline int rewardlist_size() const;
  715. inline void clear_rewardlist();
  716. static const int kRewardListFieldNumber = 6;
  717. inline const ::fish_protocols::msg_item& rewardlist(int index) const;
  718. inline ::fish_protocols::msg_item* mutable_rewardlist(int index);
  719. inline ::fish_protocols::msg_item* add_rewardlist();
  720. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  721. rewardlist() const;
  722. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  723. mutable_rewardlist();
  724. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_southsea_treasurehunt_lottery_result)
  725. private:
  726. inline void set_has_packet_id();
  727. inline void clear_has_packet_id();
  728. inline void set_has_result();
  729. inline void clear_has_result();
  730. inline void set_has_roomid();
  731. inline void clear_has_roomid();
  732. inline void set_has_enterway();
  733. inline void clear_has_enterway();
  734. inline void set_has_rewardid();
  735. inline void clear_has_rewardid();
  736. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  737. int packet_id_;
  738. ::google::protobuf::int32 result_;
  739. ::google::protobuf::int32 roomid_;
  740. ::google::protobuf::int32 enterway_;
  741. ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item > rewardlist_;
  742. ::google::protobuf::int32 rewardid_;
  743. mutable int _cached_size_;
  744. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  745. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  746. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  747. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  748. void InitAsDefaultInstance();
  749. static packetl2c_southsea_treasurehunt_lottery_result* default_instance_;
  750. };
  751. // -------------------------------------------------------------------
  752. class packetc2l_get_southsea_treasurehunt_notice : public ::google::protobuf::Message {
  753. public:
  754. packetc2l_get_southsea_treasurehunt_notice();
  755. virtual ~packetc2l_get_southsea_treasurehunt_notice();
  756. packetc2l_get_southsea_treasurehunt_notice(const packetc2l_get_southsea_treasurehunt_notice& from);
  757. inline packetc2l_get_southsea_treasurehunt_notice& operator=(const packetc2l_get_southsea_treasurehunt_notice& from) {
  758. CopyFrom(from);
  759. return *this;
  760. }
  761. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  762. return _unknown_fields_;
  763. }
  764. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  765. return &_unknown_fields_;
  766. }
  767. static const ::google::protobuf::Descriptor* descriptor();
  768. static const packetc2l_get_southsea_treasurehunt_notice& default_instance();
  769. void Swap(packetc2l_get_southsea_treasurehunt_notice* other);
  770. // implements Message ----------------------------------------------
  771. packetc2l_get_southsea_treasurehunt_notice* New() const;
  772. void CopyFrom(const ::google::protobuf::Message& from);
  773. void MergeFrom(const ::google::protobuf::Message& from);
  774. void CopyFrom(const packetc2l_get_southsea_treasurehunt_notice& from);
  775. void MergeFrom(const packetc2l_get_southsea_treasurehunt_notice& from);
  776. void Clear();
  777. bool IsInitialized() const;
  778. int ByteSize() const;
  779. bool MergePartialFromCodedStream(
  780. ::google::protobuf::io::CodedInputStream* input);
  781. void SerializeWithCachedSizes(
  782. ::google::protobuf::io::CodedOutputStream* output) const;
  783. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  784. int GetCachedSize() const { return _cached_size_; }
  785. private:
  786. void SharedCtor();
  787. void SharedDtor();
  788. void SetCachedSize(int size) const;
  789. public:
  790. ::google::protobuf::Metadata GetMetadata() const;
  791. // nested types ----------------------------------------------------
  792. // accessors -------------------------------------------------------
  793. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
  794. inline bool has_packet_id() const;
  795. inline void clear_packet_id();
  796. static const int kPacketIdFieldNumber = 1;
  797. inline ::fish_protocols::e_server_msg_type packet_id() const;
  798. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  799. // optional int32 lastId = 2;
  800. inline bool has_lastid() const;
  801. inline void clear_lastid();
  802. static const int kLastIdFieldNumber = 2;
  803. inline ::google::protobuf::int32 lastid() const;
  804. inline void set_lastid(::google::protobuf::int32 value);
  805. // optional int32 roomId = 3;
  806. inline bool has_roomid() const;
  807. inline void clear_roomid();
  808. static const int kRoomIdFieldNumber = 3;
  809. inline ::google::protobuf::int32 roomid() const;
  810. inline void set_roomid(::google::protobuf::int32 value);
  811. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_southsea_treasurehunt_notice)
  812. private:
  813. inline void set_has_packet_id();
  814. inline void clear_has_packet_id();
  815. inline void set_has_lastid();
  816. inline void clear_has_lastid();
  817. inline void set_has_roomid();
  818. inline void clear_has_roomid();
  819. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  820. int packet_id_;
  821. ::google::protobuf::int32 lastid_;
  822. ::google::protobuf::int32 roomid_;
  823. mutable int _cached_size_;
  824. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  825. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  826. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  827. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  828. void InitAsDefaultInstance();
  829. static packetc2l_get_southsea_treasurehunt_notice* default_instance_;
  830. };
  831. // -------------------------------------------------------------------
  832. class MTreasureHuntNoticeInfo : public ::google::protobuf::Message {
  833. public:
  834. MTreasureHuntNoticeInfo();
  835. virtual ~MTreasureHuntNoticeInfo();
  836. MTreasureHuntNoticeInfo(const MTreasureHuntNoticeInfo& from);
  837. inline MTreasureHuntNoticeInfo& operator=(const MTreasureHuntNoticeInfo& from) {
  838. CopyFrom(from);
  839. return *this;
  840. }
  841. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  842. return _unknown_fields_;
  843. }
  844. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  845. return &_unknown_fields_;
  846. }
  847. static const ::google::protobuf::Descriptor* descriptor();
  848. static const MTreasureHuntNoticeInfo& default_instance();
  849. void Swap(MTreasureHuntNoticeInfo* other);
  850. // implements Message ----------------------------------------------
  851. MTreasureHuntNoticeInfo* New() const;
  852. void CopyFrom(const ::google::protobuf::Message& from);
  853. void MergeFrom(const ::google::protobuf::Message& from);
  854. void CopyFrom(const MTreasureHuntNoticeInfo& from);
  855. void MergeFrom(const MTreasureHuntNoticeInfo& from);
  856. void Clear();
  857. bool IsInitialized() const;
  858. int ByteSize() const;
  859. bool MergePartialFromCodedStream(
  860. ::google::protobuf::io::CodedInputStream* input);
  861. void SerializeWithCachedSizes(
  862. ::google::protobuf::io::CodedOutputStream* output) const;
  863. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  864. int GetCachedSize() const { return _cached_size_; }
  865. private:
  866. void SharedCtor();
  867. void SharedDtor();
  868. void SetCachedSize(int size) const;
  869. public:
  870. ::google::protobuf::Metadata GetMetadata() const;
  871. // nested types ----------------------------------------------------
  872. // accessors -------------------------------------------------------
  873. // optional string nickName = 1;
  874. inline bool has_nickname() const;
  875. inline void clear_nickname();
  876. static const int kNickNameFieldNumber = 1;
  877. inline const ::std::string& nickname() const;
  878. inline void set_nickname(const ::std::string& value);
  879. inline void set_nickname(const char* value);
  880. inline void set_nickname(const char* value, size_t size);
  881. inline ::std::string* mutable_nickname();
  882. inline ::std::string* release_nickname();
  883. inline void set_allocated_nickname(::std::string* nickname);
  884. // optional int32 itemId = 2;
  885. inline bool has_itemid() const;
  886. inline void clear_itemid();
  887. static const int kItemIdFieldNumber = 2;
  888. inline ::google::protobuf::int32 itemid() const;
  889. inline void set_itemid(::google::protobuf::int32 value);
  890. // optional int32 count = 3;
  891. inline bool has_count() const;
  892. inline void clear_count();
  893. static const int kCountFieldNumber = 3;
  894. inline ::google::protobuf::int32 count() const;
  895. inline void set_count(::google::protobuf::int32 value);
  896. // @@protoc_insertion_point(class_scope:fish_protocols.MTreasureHuntNoticeInfo)
  897. private:
  898. inline void set_has_nickname();
  899. inline void clear_has_nickname();
  900. inline void set_has_itemid();
  901. inline void clear_has_itemid();
  902. inline void set_has_count();
  903. inline void clear_has_count();
  904. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  905. ::std::string* nickname_;
  906. ::google::protobuf::int32 itemid_;
  907. ::google::protobuf::int32 count_;
  908. mutable int _cached_size_;
  909. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  910. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  911. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  912. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  913. void InitAsDefaultInstance();
  914. static MTreasureHuntNoticeInfo* default_instance_;
  915. };
  916. // -------------------------------------------------------------------
  917. class packetl2c_get_southsea_treasurehunt_notice_result : public ::google::protobuf::Message {
  918. public:
  919. packetl2c_get_southsea_treasurehunt_notice_result();
  920. virtual ~packetl2c_get_southsea_treasurehunt_notice_result();
  921. packetl2c_get_southsea_treasurehunt_notice_result(const packetl2c_get_southsea_treasurehunt_notice_result& from);
  922. inline packetl2c_get_southsea_treasurehunt_notice_result& operator=(const packetl2c_get_southsea_treasurehunt_notice_result& from) {
  923. CopyFrom(from);
  924. return *this;
  925. }
  926. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  927. return _unknown_fields_;
  928. }
  929. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  930. return &_unknown_fields_;
  931. }
  932. static const ::google::protobuf::Descriptor* descriptor();
  933. static const packetl2c_get_southsea_treasurehunt_notice_result& default_instance();
  934. void Swap(packetl2c_get_southsea_treasurehunt_notice_result* other);
  935. // implements Message ----------------------------------------------
  936. packetl2c_get_southsea_treasurehunt_notice_result* New() const;
  937. void CopyFrom(const ::google::protobuf::Message& from);
  938. void MergeFrom(const ::google::protobuf::Message& from);
  939. void CopyFrom(const packetl2c_get_southsea_treasurehunt_notice_result& from);
  940. void MergeFrom(const packetl2c_get_southsea_treasurehunt_notice_result& from);
  941. void Clear();
  942. bool IsInitialized() const;
  943. int ByteSize() const;
  944. bool MergePartialFromCodedStream(
  945. ::google::protobuf::io::CodedInputStream* input);
  946. void SerializeWithCachedSizes(
  947. ::google::protobuf::io::CodedOutputStream* output) const;
  948. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  949. int GetCachedSize() const { return _cached_size_; }
  950. private:
  951. void SharedCtor();
  952. void SharedDtor();
  953. void SetCachedSize(int size) const;
  954. public:
  955. ::google::protobuf::Metadata GetMetadata() const;
  956. // nested types ----------------------------------------------------
  957. // accessors -------------------------------------------------------
  958. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
  959. inline bool has_packet_id() const;
  960. inline void clear_packet_id();
  961. static const int kPacketIdFieldNumber = 1;
  962. inline ::fish_protocols::e_server_msg_type packet_id() const;
  963. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  964. // optional int32 lastId = 2;
  965. inline bool has_lastid() const;
  966. inline void clear_lastid();
  967. static const int kLastIdFieldNumber = 2;
  968. inline ::google::protobuf::int32 lastid() const;
  969. inline void set_lastid(::google::protobuf::int32 value);
  970. // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3;
  971. inline int noticelist_size() const;
  972. inline void clear_noticelist();
  973. static const int kNoticeListFieldNumber = 3;
  974. inline const ::fish_protocols::MTreasureHuntNoticeInfo& noticelist(int index) const;
  975. inline ::fish_protocols::MTreasureHuntNoticeInfo* mutable_noticelist(int index);
  976. inline ::fish_protocols::MTreasureHuntNoticeInfo* add_noticelist();
  977. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >&
  978. noticelist() const;
  979. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >*
  980. mutable_noticelist();
  981. // optional int32 roomId = 4;
  982. inline bool has_roomid() const;
  983. inline void clear_roomid();
  984. static const int kRoomIdFieldNumber = 4;
  985. inline ::google::protobuf::int32 roomid() const;
  986. inline void set_roomid(::google::protobuf::int32 value);
  987. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_southsea_treasurehunt_notice_result)
  988. private:
  989. inline void set_has_packet_id();
  990. inline void clear_has_packet_id();
  991. inline void set_has_lastid();
  992. inline void clear_has_lastid();
  993. inline void set_has_roomid();
  994. inline void clear_has_roomid();
  995. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  996. int packet_id_;
  997. ::google::protobuf::int32 lastid_;
  998. ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo > noticelist_;
  999. ::google::protobuf::int32 roomid_;
  1000. mutable int _cached_size_;
  1001. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  1002. friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto();
  1003. friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto();
  1004. friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto();
  1005. void InitAsDefaultInstance();
  1006. static packetl2c_get_southsea_treasurehunt_notice_result* default_instance_;
  1007. };
  1008. // ===================================================================
  1009. // ===================================================================
  1010. // packetc2l_enter_southsea_treasurehunt
  1011. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
  1012. inline bool packetc2l_enter_southsea_treasurehunt::has_packet_id() const {
  1013. return (_has_bits_[0] & 0x00000001u) != 0;
  1014. }
  1015. inline void packetc2l_enter_southsea_treasurehunt::set_has_packet_id() {
  1016. _has_bits_[0] |= 0x00000001u;
  1017. }
  1018. inline void packetc2l_enter_southsea_treasurehunt::clear_has_packet_id() {
  1019. _has_bits_[0] &= ~0x00000001u;
  1020. }
  1021. inline void packetc2l_enter_southsea_treasurehunt::clear_packet_id() {
  1022. packet_id_ = 10176;
  1023. clear_has_packet_id();
  1024. }
  1025. inline ::fish_protocols::e_server_msg_type packetc2l_enter_southsea_treasurehunt::packet_id() const {
  1026. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1027. }
  1028. inline void packetc2l_enter_southsea_treasurehunt::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1029. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1030. set_has_packet_id();
  1031. packet_id_ = value;
  1032. }
  1033. // -------------------------------------------------------------------
  1034. // packetl2c_enter_southsea_treasurehunt_result
  1035. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
  1036. inline bool packetl2c_enter_southsea_treasurehunt_result::has_packet_id() const {
  1037. return (_has_bits_[0] & 0x00000001u) != 0;
  1038. }
  1039. inline void packetl2c_enter_southsea_treasurehunt_result::set_has_packet_id() {
  1040. _has_bits_[0] |= 0x00000001u;
  1041. }
  1042. inline void packetl2c_enter_southsea_treasurehunt_result::clear_has_packet_id() {
  1043. _has_bits_[0] &= ~0x00000001u;
  1044. }
  1045. inline void packetl2c_enter_southsea_treasurehunt_result::clear_packet_id() {
  1046. packet_id_ = 16169;
  1047. clear_has_packet_id();
  1048. }
  1049. inline ::fish_protocols::e_server_msg_type packetl2c_enter_southsea_treasurehunt_result::packet_id() const {
  1050. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1051. }
  1052. inline void packetl2c_enter_southsea_treasurehunt_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1053. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1054. set_has_packet_id();
  1055. packet_id_ = value;
  1056. }
  1057. // optional int32 sendCopperCount = 2;
  1058. inline bool packetl2c_enter_southsea_treasurehunt_result::has_sendcoppercount() const {
  1059. return (_has_bits_[0] & 0x00000002u) != 0;
  1060. }
  1061. inline void packetl2c_enter_southsea_treasurehunt_result::set_has_sendcoppercount() {
  1062. _has_bits_[0] |= 0x00000002u;
  1063. }
  1064. inline void packetl2c_enter_southsea_treasurehunt_result::clear_has_sendcoppercount() {
  1065. _has_bits_[0] &= ~0x00000002u;
  1066. }
  1067. inline void packetl2c_enter_southsea_treasurehunt_result::clear_sendcoppercount() {
  1068. sendcoppercount_ = 0;
  1069. clear_has_sendcoppercount();
  1070. }
  1071. inline ::google::protobuf::int32 packetl2c_enter_southsea_treasurehunt_result::sendcoppercount() const {
  1072. return sendcoppercount_;
  1073. }
  1074. inline void packetl2c_enter_southsea_treasurehunt_result::set_sendcoppercount(::google::protobuf::int32 value) {
  1075. set_has_sendcoppercount();
  1076. sendcoppercount_ = value;
  1077. }
  1078. // optional int32 result = 3;
  1079. inline bool packetl2c_enter_southsea_treasurehunt_result::has_result() const {
  1080. return (_has_bits_[0] & 0x00000004u) != 0;
  1081. }
  1082. inline void packetl2c_enter_southsea_treasurehunt_result::set_has_result() {
  1083. _has_bits_[0] |= 0x00000004u;
  1084. }
  1085. inline void packetl2c_enter_southsea_treasurehunt_result::clear_has_result() {
  1086. _has_bits_[0] &= ~0x00000004u;
  1087. }
  1088. inline void packetl2c_enter_southsea_treasurehunt_result::clear_result() {
  1089. result_ = 0;
  1090. clear_has_result();
  1091. }
  1092. inline ::google::protobuf::int32 packetl2c_enter_southsea_treasurehunt_result::result() const {
  1093. return result_;
  1094. }
  1095. inline void packetl2c_enter_southsea_treasurehunt_result::set_result(::google::protobuf::int32 value) {
  1096. set_has_result();
  1097. result_ = value;
  1098. }
  1099. // -------------------------------------------------------------------
  1100. // packetc2l_southsea_treasurehunt_get_info
  1101. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
  1102. inline bool packetc2l_southsea_treasurehunt_get_info::has_packet_id() const {
  1103. return (_has_bits_[0] & 0x00000001u) != 0;
  1104. }
  1105. inline void packetc2l_southsea_treasurehunt_get_info::set_has_packet_id() {
  1106. _has_bits_[0] |= 0x00000001u;
  1107. }
  1108. inline void packetc2l_southsea_treasurehunt_get_info::clear_has_packet_id() {
  1109. _has_bits_[0] &= ~0x00000001u;
  1110. }
  1111. inline void packetc2l_southsea_treasurehunt_get_info::clear_packet_id() {
  1112. packet_id_ = 10173;
  1113. clear_has_packet_id();
  1114. }
  1115. inline ::fish_protocols::e_server_msg_type packetc2l_southsea_treasurehunt_get_info::packet_id() const {
  1116. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1117. }
  1118. inline void packetc2l_southsea_treasurehunt_get_info::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1119. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1120. set_has_packet_id();
  1121. packet_id_ = value;
  1122. }
  1123. // -------------------------------------------------------------------
  1124. // STRoomstate
  1125. // optional int32 roomId = 1;
  1126. inline bool STRoomstate::has_roomid() const {
  1127. return (_has_bits_[0] & 0x00000001u) != 0;
  1128. }
  1129. inline void STRoomstate::set_has_roomid() {
  1130. _has_bits_[0] |= 0x00000001u;
  1131. }
  1132. inline void STRoomstate::clear_has_roomid() {
  1133. _has_bits_[0] &= ~0x00000001u;
  1134. }
  1135. inline void STRoomstate::clear_roomid() {
  1136. roomid_ = 0;
  1137. clear_has_roomid();
  1138. }
  1139. inline ::google::protobuf::int32 STRoomstate::roomid() const {
  1140. return roomid_;
  1141. }
  1142. inline void STRoomstate::set_roomid(::google::protobuf::int32 value) {
  1143. set_has_roomid();
  1144. roomid_ = value;
  1145. }
  1146. // optional int32 state = 2;
  1147. inline bool STRoomstate::has_state() const {
  1148. return (_has_bits_[0] & 0x00000002u) != 0;
  1149. }
  1150. inline void STRoomstate::set_has_state() {
  1151. _has_bits_[0] |= 0x00000002u;
  1152. }
  1153. inline void STRoomstate::clear_has_state() {
  1154. _has_bits_[0] &= ~0x00000002u;
  1155. }
  1156. inline void STRoomstate::clear_state() {
  1157. state_ = 0;
  1158. clear_has_state();
  1159. }
  1160. inline ::google::protobuf::int32 STRoomstate::state() const {
  1161. return state_;
  1162. }
  1163. inline void STRoomstate::set_state(::google::protobuf::int32 value) {
  1164. set_has_state();
  1165. state_ = value;
  1166. }
  1167. // -------------------------------------------------------------------
  1168. // packetl2c_southsea_treasurehunt_get_info_result
  1169. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
  1170. inline bool packetl2c_southsea_treasurehunt_get_info_result::has_packet_id() const {
  1171. return (_has_bits_[0] & 0x00000001u) != 0;
  1172. }
  1173. inline void packetl2c_southsea_treasurehunt_get_info_result::set_has_packet_id() {
  1174. _has_bits_[0] |= 0x00000001u;
  1175. }
  1176. inline void packetl2c_southsea_treasurehunt_get_info_result::clear_has_packet_id() {
  1177. _has_bits_[0] &= ~0x00000001u;
  1178. }
  1179. inline void packetl2c_southsea_treasurehunt_get_info_result::clear_packet_id() {
  1180. packet_id_ = 16166;
  1181. clear_has_packet_id();
  1182. }
  1183. inline ::fish_protocols::e_server_msg_type packetl2c_southsea_treasurehunt_get_info_result::packet_id() const {
  1184. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1185. }
  1186. inline void packetl2c_southsea_treasurehunt_get_info_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1187. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1188. set_has_packet_id();
  1189. packet_id_ = value;
  1190. }
  1191. // repeated .fish_protocols.STRoomstate roomList = 2;
  1192. inline int packetl2c_southsea_treasurehunt_get_info_result::roomlist_size() const {
  1193. return roomlist_.size();
  1194. }
  1195. inline void packetl2c_southsea_treasurehunt_get_info_result::clear_roomlist() {
  1196. roomlist_.Clear();
  1197. }
  1198. inline const ::fish_protocols::STRoomstate& packetl2c_southsea_treasurehunt_get_info_result::roomlist(int index) const {
  1199. return roomlist_.Get(index);
  1200. }
  1201. inline ::fish_protocols::STRoomstate* packetl2c_southsea_treasurehunt_get_info_result::mutable_roomlist(int index) {
  1202. return roomlist_.Mutable(index);
  1203. }
  1204. inline ::fish_protocols::STRoomstate* packetl2c_southsea_treasurehunt_get_info_result::add_roomlist() {
  1205. return roomlist_.Add();
  1206. }
  1207. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >&
  1208. packetl2c_southsea_treasurehunt_get_info_result::roomlist() const {
  1209. return roomlist_;
  1210. }
  1211. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >*
  1212. packetl2c_southsea_treasurehunt_get_info_result::mutable_roomlist() {
  1213. return &roomlist_;
  1214. }
  1215. // -------------------------------------------------------------------
  1216. // packetc2l_southsea_treasurehunt_enter
  1217. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
  1218. inline bool packetc2l_southsea_treasurehunt_enter::has_packet_id() const {
  1219. return (_has_bits_[0] & 0x00000001u) != 0;
  1220. }
  1221. inline void packetc2l_southsea_treasurehunt_enter::set_has_packet_id() {
  1222. _has_bits_[0] |= 0x00000001u;
  1223. }
  1224. inline void packetc2l_southsea_treasurehunt_enter::clear_has_packet_id() {
  1225. _has_bits_[0] &= ~0x00000001u;
  1226. }
  1227. inline void packetc2l_southsea_treasurehunt_enter::clear_packet_id() {
  1228. packet_id_ = 10174;
  1229. clear_has_packet_id();
  1230. }
  1231. inline ::fish_protocols::e_server_msg_type packetc2l_southsea_treasurehunt_enter::packet_id() const {
  1232. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1233. }
  1234. inline void packetc2l_southsea_treasurehunt_enter::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1235. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1236. set_has_packet_id();
  1237. packet_id_ = value;
  1238. }
  1239. // optional int32 roomId = 2;
  1240. inline bool packetc2l_southsea_treasurehunt_enter::has_roomid() const {
  1241. return (_has_bits_[0] & 0x00000002u) != 0;
  1242. }
  1243. inline void packetc2l_southsea_treasurehunt_enter::set_has_roomid() {
  1244. _has_bits_[0] |= 0x00000002u;
  1245. }
  1246. inline void packetc2l_southsea_treasurehunt_enter::clear_has_roomid() {
  1247. _has_bits_[0] &= ~0x00000002u;
  1248. }
  1249. inline void packetc2l_southsea_treasurehunt_enter::clear_roomid() {
  1250. roomid_ = 0;
  1251. clear_has_roomid();
  1252. }
  1253. inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_enter::roomid() const {
  1254. return roomid_;
  1255. }
  1256. inline void packetc2l_southsea_treasurehunt_enter::set_roomid(::google::protobuf::int32 value) {
  1257. set_has_roomid();
  1258. roomid_ = value;
  1259. }
  1260. // optional int32 enterWay = 3;
  1261. inline bool packetc2l_southsea_treasurehunt_enter::has_enterway() const {
  1262. return (_has_bits_[0] & 0x00000004u) != 0;
  1263. }
  1264. inline void packetc2l_southsea_treasurehunt_enter::set_has_enterway() {
  1265. _has_bits_[0] |= 0x00000004u;
  1266. }
  1267. inline void packetc2l_southsea_treasurehunt_enter::clear_has_enterway() {
  1268. _has_bits_[0] &= ~0x00000004u;
  1269. }
  1270. inline void packetc2l_southsea_treasurehunt_enter::clear_enterway() {
  1271. enterway_ = 0;
  1272. clear_has_enterway();
  1273. }
  1274. inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_enter::enterway() const {
  1275. return enterway_;
  1276. }
  1277. inline void packetc2l_southsea_treasurehunt_enter::set_enterway(::google::protobuf::int32 value) {
  1278. set_has_enterway();
  1279. enterway_ = value;
  1280. }
  1281. // -------------------------------------------------------------------
  1282. // packetl2c_southsea_treasurehunt_enter_result
  1283. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
  1284. inline bool packetl2c_southsea_treasurehunt_enter_result::has_packet_id() const {
  1285. return (_has_bits_[0] & 0x00000001u) != 0;
  1286. }
  1287. inline void packetl2c_southsea_treasurehunt_enter_result::set_has_packet_id() {
  1288. _has_bits_[0] |= 0x00000001u;
  1289. }
  1290. inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_packet_id() {
  1291. _has_bits_[0] &= ~0x00000001u;
  1292. }
  1293. inline void packetl2c_southsea_treasurehunt_enter_result::clear_packet_id() {
  1294. packet_id_ = 16167;
  1295. clear_has_packet_id();
  1296. }
  1297. inline ::fish_protocols::e_server_msg_type packetl2c_southsea_treasurehunt_enter_result::packet_id() const {
  1298. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1299. }
  1300. inline void packetl2c_southsea_treasurehunt_enter_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1301. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1302. set_has_packet_id();
  1303. packet_id_ = value;
  1304. }
  1305. // optional int32 result = 2;
  1306. inline bool packetl2c_southsea_treasurehunt_enter_result::has_result() const {
  1307. return (_has_bits_[0] & 0x00000002u) != 0;
  1308. }
  1309. inline void packetl2c_southsea_treasurehunt_enter_result::set_has_result() {
  1310. _has_bits_[0] |= 0x00000002u;
  1311. }
  1312. inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_result() {
  1313. _has_bits_[0] &= ~0x00000002u;
  1314. }
  1315. inline void packetl2c_southsea_treasurehunt_enter_result::clear_result() {
  1316. result_ = 0;
  1317. clear_has_result();
  1318. }
  1319. inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_enter_result::result() const {
  1320. return result_;
  1321. }
  1322. inline void packetl2c_southsea_treasurehunt_enter_result::set_result(::google::protobuf::int32 value) {
  1323. set_has_result();
  1324. result_ = value;
  1325. }
  1326. // optional int32 roomId = 3;
  1327. inline bool packetl2c_southsea_treasurehunt_enter_result::has_roomid() const {
  1328. return (_has_bits_[0] & 0x00000004u) != 0;
  1329. }
  1330. inline void packetl2c_southsea_treasurehunt_enter_result::set_has_roomid() {
  1331. _has_bits_[0] |= 0x00000004u;
  1332. }
  1333. inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_roomid() {
  1334. _has_bits_[0] &= ~0x00000004u;
  1335. }
  1336. inline void packetl2c_southsea_treasurehunt_enter_result::clear_roomid() {
  1337. roomid_ = 0;
  1338. clear_has_roomid();
  1339. }
  1340. inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_enter_result::roomid() const {
  1341. return roomid_;
  1342. }
  1343. inline void packetl2c_southsea_treasurehunt_enter_result::set_roomid(::google::protobuf::int32 value) {
  1344. set_has_roomid();
  1345. roomid_ = value;
  1346. }
  1347. // optional int32 enterWay = 4;
  1348. inline bool packetl2c_southsea_treasurehunt_enter_result::has_enterway() const {
  1349. return (_has_bits_[0] & 0x00000008u) != 0;
  1350. }
  1351. inline void packetl2c_southsea_treasurehunt_enter_result::set_has_enterway() {
  1352. _has_bits_[0] |= 0x00000008u;
  1353. }
  1354. inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_enterway() {
  1355. _has_bits_[0] &= ~0x00000008u;
  1356. }
  1357. inline void packetl2c_southsea_treasurehunt_enter_result::clear_enterway() {
  1358. enterway_ = 0;
  1359. clear_has_enterway();
  1360. }
  1361. inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_enter_result::enterway() const {
  1362. return enterway_;
  1363. }
  1364. inline void packetl2c_southsea_treasurehunt_enter_result::set_enterway(::google::protobuf::int32 value) {
  1365. set_has_enterway();
  1366. enterway_ = value;
  1367. }
  1368. // -------------------------------------------------------------------
  1369. // packetc2l_southsea_treasurehunt_lottery
  1370. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
  1371. inline bool packetc2l_southsea_treasurehunt_lottery::has_packet_id() const {
  1372. return (_has_bits_[0] & 0x00000001u) != 0;
  1373. }
  1374. inline void packetc2l_southsea_treasurehunt_lottery::set_has_packet_id() {
  1375. _has_bits_[0] |= 0x00000001u;
  1376. }
  1377. inline void packetc2l_southsea_treasurehunt_lottery::clear_has_packet_id() {
  1378. _has_bits_[0] &= ~0x00000001u;
  1379. }
  1380. inline void packetc2l_southsea_treasurehunt_lottery::clear_packet_id() {
  1381. packet_id_ = 10172;
  1382. clear_has_packet_id();
  1383. }
  1384. inline ::fish_protocols::e_server_msg_type packetc2l_southsea_treasurehunt_lottery::packet_id() const {
  1385. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1386. }
  1387. inline void packetc2l_southsea_treasurehunt_lottery::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1388. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1389. set_has_packet_id();
  1390. packet_id_ = value;
  1391. }
  1392. // optional int32 roomId = 2;
  1393. inline bool packetc2l_southsea_treasurehunt_lottery::has_roomid() const {
  1394. return (_has_bits_[0] & 0x00000002u) != 0;
  1395. }
  1396. inline void packetc2l_southsea_treasurehunt_lottery::set_has_roomid() {
  1397. _has_bits_[0] |= 0x00000002u;
  1398. }
  1399. inline void packetc2l_southsea_treasurehunt_lottery::clear_has_roomid() {
  1400. _has_bits_[0] &= ~0x00000002u;
  1401. }
  1402. inline void packetc2l_southsea_treasurehunt_lottery::clear_roomid() {
  1403. roomid_ = 0;
  1404. clear_has_roomid();
  1405. }
  1406. inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_lottery::roomid() const {
  1407. return roomid_;
  1408. }
  1409. inline void packetc2l_southsea_treasurehunt_lottery::set_roomid(::google::protobuf::int32 value) {
  1410. set_has_roomid();
  1411. roomid_ = value;
  1412. }
  1413. // optional int32 enterWay = 3;
  1414. inline bool packetc2l_southsea_treasurehunt_lottery::has_enterway() const {
  1415. return (_has_bits_[0] & 0x00000004u) != 0;
  1416. }
  1417. inline void packetc2l_southsea_treasurehunt_lottery::set_has_enterway() {
  1418. _has_bits_[0] |= 0x00000004u;
  1419. }
  1420. inline void packetc2l_southsea_treasurehunt_lottery::clear_has_enterway() {
  1421. _has_bits_[0] &= ~0x00000004u;
  1422. }
  1423. inline void packetc2l_southsea_treasurehunt_lottery::clear_enterway() {
  1424. enterway_ = 0;
  1425. clear_has_enterway();
  1426. }
  1427. inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_lottery::enterway() const {
  1428. return enterway_;
  1429. }
  1430. inline void packetc2l_southsea_treasurehunt_lottery::set_enterway(::google::protobuf::int32 value) {
  1431. set_has_enterway();
  1432. enterway_ = value;
  1433. }
  1434. // -------------------------------------------------------------------
  1435. // packetl2c_southsea_treasurehunt_lottery_result
  1436. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
  1437. inline bool packetl2c_southsea_treasurehunt_lottery_result::has_packet_id() const {
  1438. return (_has_bits_[0] & 0x00000001u) != 0;
  1439. }
  1440. inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_packet_id() {
  1441. _has_bits_[0] |= 0x00000001u;
  1442. }
  1443. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_packet_id() {
  1444. _has_bits_[0] &= ~0x00000001u;
  1445. }
  1446. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_packet_id() {
  1447. packet_id_ = 16165;
  1448. clear_has_packet_id();
  1449. }
  1450. inline ::fish_protocols::e_server_msg_type packetl2c_southsea_treasurehunt_lottery_result::packet_id() const {
  1451. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1452. }
  1453. inline void packetl2c_southsea_treasurehunt_lottery_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1454. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1455. set_has_packet_id();
  1456. packet_id_ = value;
  1457. }
  1458. // optional int32 result = 2;
  1459. inline bool packetl2c_southsea_treasurehunt_lottery_result::has_result() const {
  1460. return (_has_bits_[0] & 0x00000002u) != 0;
  1461. }
  1462. inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_result() {
  1463. _has_bits_[0] |= 0x00000002u;
  1464. }
  1465. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_result() {
  1466. _has_bits_[0] &= ~0x00000002u;
  1467. }
  1468. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_result() {
  1469. result_ = 0;
  1470. clear_has_result();
  1471. }
  1472. inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::result() const {
  1473. return result_;
  1474. }
  1475. inline void packetl2c_southsea_treasurehunt_lottery_result::set_result(::google::protobuf::int32 value) {
  1476. set_has_result();
  1477. result_ = value;
  1478. }
  1479. // optional int32 roomId = 3;
  1480. inline bool packetl2c_southsea_treasurehunt_lottery_result::has_roomid() const {
  1481. return (_has_bits_[0] & 0x00000004u) != 0;
  1482. }
  1483. inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_roomid() {
  1484. _has_bits_[0] |= 0x00000004u;
  1485. }
  1486. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_roomid() {
  1487. _has_bits_[0] &= ~0x00000004u;
  1488. }
  1489. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_roomid() {
  1490. roomid_ = 0;
  1491. clear_has_roomid();
  1492. }
  1493. inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::roomid() const {
  1494. return roomid_;
  1495. }
  1496. inline void packetl2c_southsea_treasurehunt_lottery_result::set_roomid(::google::protobuf::int32 value) {
  1497. set_has_roomid();
  1498. roomid_ = value;
  1499. }
  1500. // optional int32 enterWay = 4;
  1501. inline bool packetl2c_southsea_treasurehunt_lottery_result::has_enterway() const {
  1502. return (_has_bits_[0] & 0x00000008u) != 0;
  1503. }
  1504. inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_enterway() {
  1505. _has_bits_[0] |= 0x00000008u;
  1506. }
  1507. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_enterway() {
  1508. _has_bits_[0] &= ~0x00000008u;
  1509. }
  1510. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_enterway() {
  1511. enterway_ = 0;
  1512. clear_has_enterway();
  1513. }
  1514. inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::enterway() const {
  1515. return enterway_;
  1516. }
  1517. inline void packetl2c_southsea_treasurehunt_lottery_result::set_enterway(::google::protobuf::int32 value) {
  1518. set_has_enterway();
  1519. enterway_ = value;
  1520. }
  1521. // optional int32 rewardId = 5;
  1522. inline bool packetl2c_southsea_treasurehunt_lottery_result::has_rewardid() const {
  1523. return (_has_bits_[0] & 0x00000010u) != 0;
  1524. }
  1525. inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_rewardid() {
  1526. _has_bits_[0] |= 0x00000010u;
  1527. }
  1528. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_rewardid() {
  1529. _has_bits_[0] &= ~0x00000010u;
  1530. }
  1531. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_rewardid() {
  1532. rewardid_ = 0;
  1533. clear_has_rewardid();
  1534. }
  1535. inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::rewardid() const {
  1536. return rewardid_;
  1537. }
  1538. inline void packetl2c_southsea_treasurehunt_lottery_result::set_rewardid(::google::protobuf::int32 value) {
  1539. set_has_rewardid();
  1540. rewardid_ = value;
  1541. }
  1542. // repeated .fish_protocols.msg_item rewardList = 6;
  1543. inline int packetl2c_southsea_treasurehunt_lottery_result::rewardlist_size() const {
  1544. return rewardlist_.size();
  1545. }
  1546. inline void packetl2c_southsea_treasurehunt_lottery_result::clear_rewardlist() {
  1547. rewardlist_.Clear();
  1548. }
  1549. inline const ::fish_protocols::msg_item& packetl2c_southsea_treasurehunt_lottery_result::rewardlist(int index) const {
  1550. return rewardlist_.Get(index);
  1551. }
  1552. inline ::fish_protocols::msg_item* packetl2c_southsea_treasurehunt_lottery_result::mutable_rewardlist(int index) {
  1553. return rewardlist_.Mutable(index);
  1554. }
  1555. inline ::fish_protocols::msg_item* packetl2c_southsea_treasurehunt_lottery_result::add_rewardlist() {
  1556. return rewardlist_.Add();
  1557. }
  1558. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  1559. packetl2c_southsea_treasurehunt_lottery_result::rewardlist() const {
  1560. return rewardlist_;
  1561. }
  1562. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  1563. packetl2c_southsea_treasurehunt_lottery_result::mutable_rewardlist() {
  1564. return &rewardlist_;
  1565. }
  1566. // -------------------------------------------------------------------
  1567. // packetc2l_get_southsea_treasurehunt_notice
  1568. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
  1569. inline bool packetc2l_get_southsea_treasurehunt_notice::has_packet_id() const {
  1570. return (_has_bits_[0] & 0x00000001u) != 0;
  1571. }
  1572. inline void packetc2l_get_southsea_treasurehunt_notice::set_has_packet_id() {
  1573. _has_bits_[0] |= 0x00000001u;
  1574. }
  1575. inline void packetc2l_get_southsea_treasurehunt_notice::clear_has_packet_id() {
  1576. _has_bits_[0] &= ~0x00000001u;
  1577. }
  1578. inline void packetc2l_get_southsea_treasurehunt_notice::clear_packet_id() {
  1579. packet_id_ = 10175;
  1580. clear_has_packet_id();
  1581. }
  1582. inline ::fish_protocols::e_server_msg_type packetc2l_get_southsea_treasurehunt_notice::packet_id() const {
  1583. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1584. }
  1585. inline void packetc2l_get_southsea_treasurehunt_notice::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1586. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1587. set_has_packet_id();
  1588. packet_id_ = value;
  1589. }
  1590. // optional int32 lastId = 2;
  1591. inline bool packetc2l_get_southsea_treasurehunt_notice::has_lastid() const {
  1592. return (_has_bits_[0] & 0x00000002u) != 0;
  1593. }
  1594. inline void packetc2l_get_southsea_treasurehunt_notice::set_has_lastid() {
  1595. _has_bits_[0] |= 0x00000002u;
  1596. }
  1597. inline void packetc2l_get_southsea_treasurehunt_notice::clear_has_lastid() {
  1598. _has_bits_[0] &= ~0x00000002u;
  1599. }
  1600. inline void packetc2l_get_southsea_treasurehunt_notice::clear_lastid() {
  1601. lastid_ = 0;
  1602. clear_has_lastid();
  1603. }
  1604. inline ::google::protobuf::int32 packetc2l_get_southsea_treasurehunt_notice::lastid() const {
  1605. return lastid_;
  1606. }
  1607. inline void packetc2l_get_southsea_treasurehunt_notice::set_lastid(::google::protobuf::int32 value) {
  1608. set_has_lastid();
  1609. lastid_ = value;
  1610. }
  1611. // optional int32 roomId = 3;
  1612. inline bool packetc2l_get_southsea_treasurehunt_notice::has_roomid() const {
  1613. return (_has_bits_[0] & 0x00000004u) != 0;
  1614. }
  1615. inline void packetc2l_get_southsea_treasurehunt_notice::set_has_roomid() {
  1616. _has_bits_[0] |= 0x00000004u;
  1617. }
  1618. inline void packetc2l_get_southsea_treasurehunt_notice::clear_has_roomid() {
  1619. _has_bits_[0] &= ~0x00000004u;
  1620. }
  1621. inline void packetc2l_get_southsea_treasurehunt_notice::clear_roomid() {
  1622. roomid_ = 0;
  1623. clear_has_roomid();
  1624. }
  1625. inline ::google::protobuf::int32 packetc2l_get_southsea_treasurehunt_notice::roomid() const {
  1626. return roomid_;
  1627. }
  1628. inline void packetc2l_get_southsea_treasurehunt_notice::set_roomid(::google::protobuf::int32 value) {
  1629. set_has_roomid();
  1630. roomid_ = value;
  1631. }
  1632. // -------------------------------------------------------------------
  1633. // MTreasureHuntNoticeInfo
  1634. // optional string nickName = 1;
  1635. inline bool MTreasureHuntNoticeInfo::has_nickname() const {
  1636. return (_has_bits_[0] & 0x00000001u) != 0;
  1637. }
  1638. inline void MTreasureHuntNoticeInfo::set_has_nickname() {
  1639. _has_bits_[0] |= 0x00000001u;
  1640. }
  1641. inline void MTreasureHuntNoticeInfo::clear_has_nickname() {
  1642. _has_bits_[0] &= ~0x00000001u;
  1643. }
  1644. inline void MTreasureHuntNoticeInfo::clear_nickname() {
  1645. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1646. nickname_->clear();
  1647. }
  1648. clear_has_nickname();
  1649. }
  1650. inline const ::std::string& MTreasureHuntNoticeInfo::nickname() const {
  1651. return *nickname_;
  1652. }
  1653. inline void MTreasureHuntNoticeInfo::set_nickname(const ::std::string& value) {
  1654. set_has_nickname();
  1655. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1656. nickname_ = new ::std::string;
  1657. }
  1658. nickname_->assign(value);
  1659. }
  1660. inline void MTreasureHuntNoticeInfo::set_nickname(const char* value) {
  1661. set_has_nickname();
  1662. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1663. nickname_ = new ::std::string;
  1664. }
  1665. nickname_->assign(value);
  1666. }
  1667. inline void MTreasureHuntNoticeInfo::set_nickname(const char* value, size_t size) {
  1668. set_has_nickname();
  1669. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1670. nickname_ = new ::std::string;
  1671. }
  1672. nickname_->assign(reinterpret_cast<const char*>(value), size);
  1673. }
  1674. inline ::std::string* MTreasureHuntNoticeInfo::mutable_nickname() {
  1675. set_has_nickname();
  1676. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1677. nickname_ = new ::std::string;
  1678. }
  1679. return nickname_;
  1680. }
  1681. inline ::std::string* MTreasureHuntNoticeInfo::release_nickname() {
  1682. clear_has_nickname();
  1683. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1684. return NULL;
  1685. } else {
  1686. ::std::string* temp = nickname_;
  1687. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1688. return temp;
  1689. }
  1690. }
  1691. inline void MTreasureHuntNoticeInfo::set_allocated_nickname(::std::string* nickname) {
  1692. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1693. delete nickname_;
  1694. }
  1695. if (nickname) {
  1696. set_has_nickname();
  1697. nickname_ = nickname;
  1698. } else {
  1699. clear_has_nickname();
  1700. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1701. }
  1702. }
  1703. // optional int32 itemId = 2;
  1704. inline bool MTreasureHuntNoticeInfo::has_itemid() const {
  1705. return (_has_bits_[0] & 0x00000002u) != 0;
  1706. }
  1707. inline void MTreasureHuntNoticeInfo::set_has_itemid() {
  1708. _has_bits_[0] |= 0x00000002u;
  1709. }
  1710. inline void MTreasureHuntNoticeInfo::clear_has_itemid() {
  1711. _has_bits_[0] &= ~0x00000002u;
  1712. }
  1713. inline void MTreasureHuntNoticeInfo::clear_itemid() {
  1714. itemid_ = 0;
  1715. clear_has_itemid();
  1716. }
  1717. inline ::google::protobuf::int32 MTreasureHuntNoticeInfo::itemid() const {
  1718. return itemid_;
  1719. }
  1720. inline void MTreasureHuntNoticeInfo::set_itemid(::google::protobuf::int32 value) {
  1721. set_has_itemid();
  1722. itemid_ = value;
  1723. }
  1724. // optional int32 count = 3;
  1725. inline bool MTreasureHuntNoticeInfo::has_count() const {
  1726. return (_has_bits_[0] & 0x00000004u) != 0;
  1727. }
  1728. inline void MTreasureHuntNoticeInfo::set_has_count() {
  1729. _has_bits_[0] |= 0x00000004u;
  1730. }
  1731. inline void MTreasureHuntNoticeInfo::clear_has_count() {
  1732. _has_bits_[0] &= ~0x00000004u;
  1733. }
  1734. inline void MTreasureHuntNoticeInfo::clear_count() {
  1735. count_ = 0;
  1736. clear_has_count();
  1737. }
  1738. inline ::google::protobuf::int32 MTreasureHuntNoticeInfo::count() const {
  1739. return count_;
  1740. }
  1741. inline void MTreasureHuntNoticeInfo::set_count(::google::protobuf::int32 value) {
  1742. set_has_count();
  1743. count_ = value;
  1744. }
  1745. // -------------------------------------------------------------------
  1746. // packetl2c_get_southsea_treasurehunt_notice_result
  1747. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
  1748. inline bool packetl2c_get_southsea_treasurehunt_notice_result::has_packet_id() const {
  1749. return (_has_bits_[0] & 0x00000001u) != 0;
  1750. }
  1751. inline void packetl2c_get_southsea_treasurehunt_notice_result::set_has_packet_id() {
  1752. _has_bits_[0] |= 0x00000001u;
  1753. }
  1754. inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_has_packet_id() {
  1755. _has_bits_[0] &= ~0x00000001u;
  1756. }
  1757. inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_packet_id() {
  1758. packet_id_ = 16168;
  1759. clear_has_packet_id();
  1760. }
  1761. inline ::fish_protocols::e_server_msg_type packetl2c_get_southsea_treasurehunt_notice_result::packet_id() const {
  1762. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1763. }
  1764. inline void packetl2c_get_southsea_treasurehunt_notice_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1765. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1766. set_has_packet_id();
  1767. packet_id_ = value;
  1768. }
  1769. // optional int32 lastId = 2;
  1770. inline bool packetl2c_get_southsea_treasurehunt_notice_result::has_lastid() const {
  1771. return (_has_bits_[0] & 0x00000002u) != 0;
  1772. }
  1773. inline void packetl2c_get_southsea_treasurehunt_notice_result::set_has_lastid() {
  1774. _has_bits_[0] |= 0x00000002u;
  1775. }
  1776. inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_has_lastid() {
  1777. _has_bits_[0] &= ~0x00000002u;
  1778. }
  1779. inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_lastid() {
  1780. lastid_ = 0;
  1781. clear_has_lastid();
  1782. }
  1783. inline ::google::protobuf::int32 packetl2c_get_southsea_treasurehunt_notice_result::lastid() const {
  1784. return lastid_;
  1785. }
  1786. inline void packetl2c_get_southsea_treasurehunt_notice_result::set_lastid(::google::protobuf::int32 value) {
  1787. set_has_lastid();
  1788. lastid_ = value;
  1789. }
  1790. // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3;
  1791. inline int packetl2c_get_southsea_treasurehunt_notice_result::noticelist_size() const {
  1792. return noticelist_.size();
  1793. }
  1794. inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_noticelist() {
  1795. noticelist_.Clear();
  1796. }
  1797. inline const ::fish_protocols::MTreasureHuntNoticeInfo& packetl2c_get_southsea_treasurehunt_notice_result::noticelist(int index) const {
  1798. return noticelist_.Get(index);
  1799. }
  1800. inline ::fish_protocols::MTreasureHuntNoticeInfo* packetl2c_get_southsea_treasurehunt_notice_result::mutable_noticelist(int index) {
  1801. return noticelist_.Mutable(index);
  1802. }
  1803. inline ::fish_protocols::MTreasureHuntNoticeInfo* packetl2c_get_southsea_treasurehunt_notice_result::add_noticelist() {
  1804. return noticelist_.Add();
  1805. }
  1806. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >&
  1807. packetl2c_get_southsea_treasurehunt_notice_result::noticelist() const {
  1808. return noticelist_;
  1809. }
  1810. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >*
  1811. packetl2c_get_southsea_treasurehunt_notice_result::mutable_noticelist() {
  1812. return &noticelist_;
  1813. }
  1814. // optional int32 roomId = 4;
  1815. inline bool packetl2c_get_southsea_treasurehunt_notice_result::has_roomid() const {
  1816. return (_has_bits_[0] & 0x00000008u) != 0;
  1817. }
  1818. inline void packetl2c_get_southsea_treasurehunt_notice_result::set_has_roomid() {
  1819. _has_bits_[0] |= 0x00000008u;
  1820. }
  1821. inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_has_roomid() {
  1822. _has_bits_[0] &= ~0x00000008u;
  1823. }
  1824. inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_roomid() {
  1825. roomid_ = 0;
  1826. clear_has_roomid();
  1827. }
  1828. inline ::google::protobuf::int32 packetl2c_get_southsea_treasurehunt_notice_result::roomid() const {
  1829. return roomid_;
  1830. }
  1831. inline void packetl2c_get_southsea_treasurehunt_notice_result::set_roomid(::google::protobuf::int32 value) {
  1832. set_has_roomid();
  1833. roomid_ = value;
  1834. }
  1835. // @@protoc_insertion_point(namespace_scope)
  1836. } // namespace fish_protocols
  1837. #ifndef SWIG
  1838. namespace google {
  1839. namespace protobuf {
  1840. } // namespace google
  1841. } // namespace protobuf
  1842. #endif // SWIG
  1843. // @@protoc_insertion_point(global_scope)
  1844. #endif // PROTOBUF_fish_5fbombfairyland_2eproto__INCLUDED