fish_monkey_palace.pb.h 113 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_monkey_palace.proto
  3. #ifndef PROTOBUF_fish_5fmonkey_5fpalace_2eproto__INCLUDED
  4. #define PROTOBUF_fish_5fmonkey_5fpalace_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/message.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. #include <google/protobuf/unknown_field_set.h>
  22. #include "fish_def.pb.h"
  23. #include "msg_type_def.pb.h"
  24. #include "fish_type_def.pb.h"
  25. #include "fish_protocol.pb.h"
  26. // @@protoc_insertion_point(includes)
  27. namespace fish_protocols {
  28. // Internal implementation detail -- do not call these.
  29. void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  30. void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  31. void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  32. class killMonkeyHistory;
  33. class MonkeyRankInfo;
  34. class packetc2l_get_monkey_rank;
  35. class packetl2c_get_monkey_rank_result;
  36. class packetc2l_get_monkey_info;
  37. class packetl2c_get_monkey_info_result;
  38. class packetl2c_bc_table_kill_monkey;
  39. class packetl2c_bc_table_kill_monkey_fish;
  40. class packetc2l_get_kill_monkey_history;
  41. class packetl2c_get_kill_monkey_history_result;
  42. class packetc2l_call_monkey;
  43. class packetl2c_call_monkey_result;
  44. class packetc2l_monkey_exchange;
  45. class packetl2c_monkey_exchange_result;
  46. // ===================================================================
  47. class killMonkeyHistory : public ::google::protobuf::Message {
  48. public:
  49. killMonkeyHistory();
  50. virtual ~killMonkeyHistory();
  51. killMonkeyHistory(const killMonkeyHistory& from);
  52. inline killMonkeyHistory& operator=(const killMonkeyHistory& from) {
  53. CopyFrom(from);
  54. return *this;
  55. }
  56. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  57. return _unknown_fields_;
  58. }
  59. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  60. return &_unknown_fields_;
  61. }
  62. static const ::google::protobuf::Descriptor* descriptor();
  63. static const killMonkeyHistory& default_instance();
  64. void Swap(killMonkeyHistory* other);
  65. // implements Message ----------------------------------------------
  66. killMonkeyHistory* New() const;
  67. void CopyFrom(const ::google::protobuf::Message& from);
  68. void MergeFrom(const ::google::protobuf::Message& from);
  69. void CopyFrom(const killMonkeyHistory& from);
  70. void MergeFrom(const killMonkeyHistory& from);
  71. void Clear();
  72. bool IsInitialized() const;
  73. int ByteSize() const;
  74. bool MergePartialFromCodedStream(
  75. ::google::protobuf::io::CodedInputStream* input);
  76. void SerializeWithCachedSizes(
  77. ::google::protobuf::io::CodedOutputStream* output) const;
  78. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  79. int GetCachedSize() const { return _cached_size_; }
  80. private:
  81. void SharedCtor();
  82. void SharedDtor();
  83. void SetCachedSize(int size) const;
  84. public:
  85. ::google::protobuf::Metadata GetMetadata() const;
  86. // nested types ----------------------------------------------------
  87. // accessors -------------------------------------------------------
  88. // optional string nickName = 1;
  89. inline bool has_nickname() const;
  90. inline void clear_nickname();
  91. static const int kNickNameFieldNumber = 1;
  92. inline const ::std::string& nickname() const;
  93. inline void set_nickname(const ::std::string& value);
  94. inline void set_nickname(const char* value);
  95. inline void set_nickname(const char* value, size_t size);
  96. inline ::std::string* mutable_nickname();
  97. inline ::std::string* release_nickname();
  98. inline void set_allocated_nickname(::std::string* nickname);
  99. // optional string fishName = 2;
  100. inline bool has_fishname() const;
  101. inline void clear_fishname();
  102. static const int kFishNameFieldNumber = 2;
  103. inline const ::std::string& fishname() const;
  104. inline void set_fishname(const ::std::string& value);
  105. inline void set_fishname(const char* value);
  106. inline void set_fishname(const char* value, size_t size);
  107. inline ::std::string* mutable_fishname();
  108. inline ::std::string* release_fishname();
  109. inline void set_allocated_fishname(::std::string* fishname);
  110. // optional int32 mult = 3;
  111. inline bool has_mult() const;
  112. inline void clear_mult();
  113. static const int kMultFieldNumber = 3;
  114. inline ::google::protobuf::int32 mult() const;
  115. inline void set_mult(::google::protobuf::int32 value);
  116. // optional int64 gold = 4;
  117. inline bool has_gold() const;
  118. inline void clear_gold();
  119. static const int kGoldFieldNumber = 4;
  120. inline ::google::protobuf::int64 gold() const;
  121. inline void set_gold(::google::protobuf::int64 value);
  122. // repeated .fish_protocols.ItemInfo items = 5;
  123. inline int items_size() const;
  124. inline void clear_items();
  125. static const int kItemsFieldNumber = 5;
  126. inline const ::fish_protocols::ItemInfo& items(int index) const;
  127. inline ::fish_protocols::ItemInfo* mutable_items(int index);
  128. inline ::fish_protocols::ItemInfo* add_items();
  129. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >&
  130. items() const;
  131. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >*
  132. mutable_items();
  133. // @@protoc_insertion_point(class_scope:fish_protocols.killMonkeyHistory)
  134. private:
  135. inline void set_has_nickname();
  136. inline void clear_has_nickname();
  137. inline void set_has_fishname();
  138. inline void clear_has_fishname();
  139. inline void set_has_mult();
  140. inline void clear_has_mult();
  141. inline void set_has_gold();
  142. inline void clear_has_gold();
  143. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  144. ::std::string* nickname_;
  145. ::std::string* fishname_;
  146. ::google::protobuf::int64 gold_;
  147. ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo > items_;
  148. ::google::protobuf::int32 mult_;
  149. mutable int _cached_size_;
  150. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  151. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  152. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  153. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  154. void InitAsDefaultInstance();
  155. static killMonkeyHistory* default_instance_;
  156. };
  157. // -------------------------------------------------------------------
  158. class MonkeyRankInfo : public ::google::protobuf::Message {
  159. public:
  160. MonkeyRankInfo();
  161. virtual ~MonkeyRankInfo();
  162. MonkeyRankInfo(const MonkeyRankInfo& from);
  163. inline MonkeyRankInfo& operator=(const MonkeyRankInfo& from) {
  164. CopyFrom(from);
  165. return *this;
  166. }
  167. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  168. return _unknown_fields_;
  169. }
  170. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  171. return &_unknown_fields_;
  172. }
  173. static const ::google::protobuf::Descriptor* descriptor();
  174. static const MonkeyRankInfo& default_instance();
  175. void Swap(MonkeyRankInfo* other);
  176. // implements Message ----------------------------------------------
  177. MonkeyRankInfo* New() const;
  178. void CopyFrom(const ::google::protobuf::Message& from);
  179. void MergeFrom(const ::google::protobuf::Message& from);
  180. void CopyFrom(const MonkeyRankInfo& from);
  181. void MergeFrom(const MonkeyRankInfo& from);
  182. void Clear();
  183. bool IsInitialized() const;
  184. int ByteSize() const;
  185. bool MergePartialFromCodedStream(
  186. ::google::protobuf::io::CodedInputStream* input);
  187. void SerializeWithCachedSizes(
  188. ::google::protobuf::io::CodedOutputStream* output) const;
  189. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  190. int GetCachedSize() const { return _cached_size_; }
  191. private:
  192. void SharedCtor();
  193. void SharedDtor();
  194. void SetCachedSize(int size) const;
  195. public:
  196. ::google::protobuf::Metadata GetMetadata() const;
  197. // nested types ----------------------------------------------------
  198. // accessors -------------------------------------------------------
  199. // optional int32 playerId = 1;
  200. inline bool has_playerid() const;
  201. inline void clear_playerid();
  202. static const int kPlayerIdFieldNumber = 1;
  203. inline ::google::protobuf::int32 playerid() const;
  204. inline void set_playerid(::google::protobuf::int32 value);
  205. // optional string nickName = 2;
  206. inline bool has_nickname() const;
  207. inline void clear_nickname();
  208. static const int kNickNameFieldNumber = 2;
  209. inline const ::std::string& nickname() const;
  210. inline void set_nickname(const ::std::string& value);
  211. inline void set_nickname(const char* value);
  212. inline void set_nickname(const char* value, size_t size);
  213. inline ::std::string* mutable_nickname();
  214. inline ::std::string* release_nickname();
  215. inline void set_allocated_nickname(::std::string* nickname);
  216. // optional int32 headid = 3;
  217. inline bool has_headid() const;
  218. inline void clear_headid();
  219. static const int kHeadidFieldNumber = 3;
  220. inline ::google::protobuf::int32 headid() const;
  221. inline void set_headid(::google::protobuf::int32 value);
  222. // optional int32 frameid = 4;
  223. inline bool has_frameid() const;
  224. inline void clear_frameid();
  225. static const int kFrameidFieldNumber = 4;
  226. inline ::google::protobuf::int32 frameid() const;
  227. inline void set_frameid(::google::protobuf::int32 value);
  228. // optional int32 fishScore = 5;
  229. inline bool has_fishscore() const;
  230. inline void clear_fishscore();
  231. static const int kFishScoreFieldNumber = 5;
  232. inline ::google::protobuf::int32 fishscore() const;
  233. inline void set_fishscore(::google::protobuf::int32 value);
  234. // optional int32 monkeyScore = 6;
  235. inline bool has_monkeyscore() const;
  236. inline void clear_monkeyscore();
  237. static const int kMonkeyScoreFieldNumber = 6;
  238. inline ::google::protobuf::int32 monkeyscore() const;
  239. inline void set_monkeyscore(::google::protobuf::int32 value);
  240. // optional int32 rank = 7;
  241. inline bool has_rank() const;
  242. inline void clear_rank();
  243. static const int kRankFieldNumber = 7;
  244. inline ::google::protobuf::int32 rank() const;
  245. inline void set_rank(::google::protobuf::int32 value);
  246. // @@protoc_insertion_point(class_scope:fish_protocols.MonkeyRankInfo)
  247. private:
  248. inline void set_has_playerid();
  249. inline void clear_has_playerid();
  250. inline void set_has_nickname();
  251. inline void clear_has_nickname();
  252. inline void set_has_headid();
  253. inline void clear_has_headid();
  254. inline void set_has_frameid();
  255. inline void clear_has_frameid();
  256. inline void set_has_fishscore();
  257. inline void clear_has_fishscore();
  258. inline void set_has_monkeyscore();
  259. inline void clear_has_monkeyscore();
  260. inline void set_has_rank();
  261. inline void clear_has_rank();
  262. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  263. ::std::string* nickname_;
  264. ::google::protobuf::int32 playerid_;
  265. ::google::protobuf::int32 headid_;
  266. ::google::protobuf::int32 frameid_;
  267. ::google::protobuf::int32 fishscore_;
  268. ::google::protobuf::int32 monkeyscore_;
  269. ::google::protobuf::int32 rank_;
  270. mutable int _cached_size_;
  271. ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
  272. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  273. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  274. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  275. void InitAsDefaultInstance();
  276. static MonkeyRankInfo* default_instance_;
  277. };
  278. // -------------------------------------------------------------------
  279. class packetc2l_get_monkey_rank : public ::google::protobuf::Message {
  280. public:
  281. packetc2l_get_monkey_rank();
  282. virtual ~packetc2l_get_monkey_rank();
  283. packetc2l_get_monkey_rank(const packetc2l_get_monkey_rank& from);
  284. inline packetc2l_get_monkey_rank& operator=(const packetc2l_get_monkey_rank& from) {
  285. CopyFrom(from);
  286. return *this;
  287. }
  288. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  289. return _unknown_fields_;
  290. }
  291. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  292. return &_unknown_fields_;
  293. }
  294. static const ::google::protobuf::Descriptor* descriptor();
  295. static const packetc2l_get_monkey_rank& default_instance();
  296. void Swap(packetc2l_get_monkey_rank* other);
  297. // implements Message ----------------------------------------------
  298. packetc2l_get_monkey_rank* New() const;
  299. void CopyFrom(const ::google::protobuf::Message& from);
  300. void MergeFrom(const ::google::protobuf::Message& from);
  301. void CopyFrom(const packetc2l_get_monkey_rank& from);
  302. void MergeFrom(const packetc2l_get_monkey_rank& from);
  303. void Clear();
  304. bool IsInitialized() const;
  305. int ByteSize() const;
  306. bool MergePartialFromCodedStream(
  307. ::google::protobuf::io::CodedInputStream* input);
  308. void SerializeWithCachedSizes(
  309. ::google::protobuf::io::CodedOutputStream* output) const;
  310. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  311. int GetCachedSize() const { return _cached_size_; }
  312. private:
  313. void SharedCtor();
  314. void SharedDtor();
  315. void SetCachedSize(int size) const;
  316. public:
  317. ::google::protobuf::Metadata GetMetadata() const;
  318. // nested types ----------------------------------------------------
  319. // accessors -------------------------------------------------------
  320. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_monkey_rank];
  321. inline bool has_packet_id() const;
  322. inline void clear_packet_id();
  323. static const int kPacketIdFieldNumber = 1;
  324. inline ::fish_protocols::e_server_msg_type packet_id() const;
  325. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  326. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_monkey_rank)
  327. private:
  328. inline void set_has_packet_id();
  329. inline void clear_has_packet_id();
  330. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  331. int packet_id_;
  332. mutable int _cached_size_;
  333. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  334. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  335. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  336. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  337. void InitAsDefaultInstance();
  338. static packetc2l_get_monkey_rank* default_instance_;
  339. };
  340. // -------------------------------------------------------------------
  341. class packetl2c_get_monkey_rank_result : public ::google::protobuf::Message {
  342. public:
  343. packetl2c_get_monkey_rank_result();
  344. virtual ~packetl2c_get_monkey_rank_result();
  345. packetl2c_get_monkey_rank_result(const packetl2c_get_monkey_rank_result& from);
  346. inline packetl2c_get_monkey_rank_result& operator=(const packetl2c_get_monkey_rank_result& from) {
  347. CopyFrom(from);
  348. return *this;
  349. }
  350. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  351. return _unknown_fields_;
  352. }
  353. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  354. return &_unknown_fields_;
  355. }
  356. static const ::google::protobuf::Descriptor* descriptor();
  357. static const packetl2c_get_monkey_rank_result& default_instance();
  358. void Swap(packetl2c_get_monkey_rank_result* other);
  359. // implements Message ----------------------------------------------
  360. packetl2c_get_monkey_rank_result* New() const;
  361. void CopyFrom(const ::google::protobuf::Message& from);
  362. void MergeFrom(const ::google::protobuf::Message& from);
  363. void CopyFrom(const packetl2c_get_monkey_rank_result& from);
  364. void MergeFrom(const packetl2c_get_monkey_rank_result& from);
  365. void Clear();
  366. bool IsInitialized() const;
  367. int ByteSize() const;
  368. bool MergePartialFromCodedStream(
  369. ::google::protobuf::io::CodedInputStream* input);
  370. void SerializeWithCachedSizes(
  371. ::google::protobuf::io::CodedOutputStream* output) const;
  372. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  373. int GetCachedSize() const { return _cached_size_; }
  374. private:
  375. void SharedCtor();
  376. void SharedDtor();
  377. void SetCachedSize(int size) const;
  378. public:
  379. ::google::protobuf::Metadata GetMetadata() const;
  380. // nested types ----------------------------------------------------
  381. // accessors -------------------------------------------------------
  382. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_monkey_rank_result];
  383. inline bool has_packet_id() const;
  384. inline void clear_packet_id();
  385. static const int kPacketIdFieldNumber = 1;
  386. inline ::fish_protocols::e_server_msg_type packet_id() const;
  387. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  388. // optional .fish_protocols.MonkeyRankInfo myDailyRank = 2;
  389. inline bool has_mydailyrank() const;
  390. inline void clear_mydailyrank();
  391. static const int kMyDailyRankFieldNumber = 2;
  392. inline const ::fish_protocols::MonkeyRankInfo& mydailyrank() const;
  393. inline ::fish_protocols::MonkeyRankInfo* mutable_mydailyrank();
  394. inline ::fish_protocols::MonkeyRankInfo* release_mydailyrank();
  395. inline void set_allocated_mydailyrank(::fish_protocols::MonkeyRankInfo* mydailyrank);
  396. // optional .fish_protocols.MonkeyRankInfo myWeeklyRank = 3;
  397. inline bool has_myweeklyrank() const;
  398. inline void clear_myweeklyrank();
  399. static const int kMyWeeklyRankFieldNumber = 3;
  400. inline const ::fish_protocols::MonkeyRankInfo& myweeklyrank() const;
  401. inline ::fish_protocols::MonkeyRankInfo* mutable_myweeklyrank();
  402. inline ::fish_protocols::MonkeyRankInfo* release_myweeklyrank();
  403. inline void set_allocated_myweeklyrank(::fish_protocols::MonkeyRankInfo* myweeklyrank);
  404. // repeated .fish_protocols.MonkeyRankInfo dayRankList = 4;
  405. inline int dayranklist_size() const;
  406. inline void clear_dayranklist();
  407. static const int kDayRankListFieldNumber = 4;
  408. inline const ::fish_protocols::MonkeyRankInfo& dayranklist(int index) const;
  409. inline ::fish_protocols::MonkeyRankInfo* mutable_dayranklist(int index);
  410. inline ::fish_protocols::MonkeyRankInfo* add_dayranklist();
  411. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >&
  412. dayranklist() const;
  413. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >*
  414. mutable_dayranklist();
  415. // repeated .fish_protocols.MonkeyRankInfo weekRankList = 5;
  416. inline int weekranklist_size() const;
  417. inline void clear_weekranklist();
  418. static const int kWeekRankListFieldNumber = 5;
  419. inline const ::fish_protocols::MonkeyRankInfo& weekranklist(int index) const;
  420. inline ::fish_protocols::MonkeyRankInfo* mutable_weekranklist(int index);
  421. inline ::fish_protocols::MonkeyRankInfo* add_weekranklist();
  422. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >&
  423. weekranklist() const;
  424. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >*
  425. mutable_weekranklist();
  426. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_monkey_rank_result)
  427. private:
  428. inline void set_has_packet_id();
  429. inline void clear_has_packet_id();
  430. inline void set_has_mydailyrank();
  431. inline void clear_has_mydailyrank();
  432. inline void set_has_myweeklyrank();
  433. inline void clear_has_myweeklyrank();
  434. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  435. ::fish_protocols::MonkeyRankInfo* mydailyrank_;
  436. ::fish_protocols::MonkeyRankInfo* myweeklyrank_;
  437. ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo > dayranklist_;
  438. ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo > weekranklist_;
  439. int packet_id_;
  440. mutable int _cached_size_;
  441. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  442. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  443. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  444. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  445. void InitAsDefaultInstance();
  446. static packetl2c_get_monkey_rank_result* default_instance_;
  447. };
  448. // -------------------------------------------------------------------
  449. class packetc2l_get_monkey_info : public ::google::protobuf::Message {
  450. public:
  451. packetc2l_get_monkey_info();
  452. virtual ~packetc2l_get_monkey_info();
  453. packetc2l_get_monkey_info(const packetc2l_get_monkey_info& from);
  454. inline packetc2l_get_monkey_info& operator=(const packetc2l_get_monkey_info& from) {
  455. CopyFrom(from);
  456. return *this;
  457. }
  458. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  459. return _unknown_fields_;
  460. }
  461. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  462. return &_unknown_fields_;
  463. }
  464. static const ::google::protobuf::Descriptor* descriptor();
  465. static const packetc2l_get_monkey_info& default_instance();
  466. void Swap(packetc2l_get_monkey_info* other);
  467. // implements Message ----------------------------------------------
  468. packetc2l_get_monkey_info* New() const;
  469. void CopyFrom(const ::google::protobuf::Message& from);
  470. void MergeFrom(const ::google::protobuf::Message& from);
  471. void CopyFrom(const packetc2l_get_monkey_info& from);
  472. void MergeFrom(const packetc2l_get_monkey_info& from);
  473. void Clear();
  474. bool IsInitialized() const;
  475. int ByteSize() const;
  476. bool MergePartialFromCodedStream(
  477. ::google::protobuf::io::CodedInputStream* input);
  478. void SerializeWithCachedSizes(
  479. ::google::protobuf::io::CodedOutputStream* output) const;
  480. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  481. int GetCachedSize() const { return _cached_size_; }
  482. private:
  483. void SharedCtor();
  484. void SharedDtor();
  485. void SetCachedSize(int size) const;
  486. public:
  487. ::google::protobuf::Metadata GetMetadata() const;
  488. // nested types ----------------------------------------------------
  489. // accessors -------------------------------------------------------
  490. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_monkey_info];
  491. inline bool has_packet_id() const;
  492. inline void clear_packet_id();
  493. static const int kPacketIdFieldNumber = 1;
  494. inline ::fish_protocols::e_server_msg_type packet_id() const;
  495. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  496. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_monkey_info)
  497. private:
  498. inline void set_has_packet_id();
  499. inline void clear_has_packet_id();
  500. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  501. int packet_id_;
  502. mutable int _cached_size_;
  503. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  504. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  505. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  506. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  507. void InitAsDefaultInstance();
  508. static packetc2l_get_monkey_info* default_instance_;
  509. };
  510. // -------------------------------------------------------------------
  511. class packetl2c_get_monkey_info_result : public ::google::protobuf::Message {
  512. public:
  513. packetl2c_get_monkey_info_result();
  514. virtual ~packetl2c_get_monkey_info_result();
  515. packetl2c_get_monkey_info_result(const packetl2c_get_monkey_info_result& from);
  516. inline packetl2c_get_monkey_info_result& operator=(const packetl2c_get_monkey_info_result& from) {
  517. CopyFrom(from);
  518. return *this;
  519. }
  520. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  521. return _unknown_fields_;
  522. }
  523. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  524. return &_unknown_fields_;
  525. }
  526. static const ::google::protobuf::Descriptor* descriptor();
  527. static const packetl2c_get_monkey_info_result& default_instance();
  528. void Swap(packetl2c_get_monkey_info_result* other);
  529. // implements Message ----------------------------------------------
  530. packetl2c_get_monkey_info_result* New() const;
  531. void CopyFrom(const ::google::protobuf::Message& from);
  532. void MergeFrom(const ::google::protobuf::Message& from);
  533. void CopyFrom(const packetl2c_get_monkey_info_result& from);
  534. void MergeFrom(const packetl2c_get_monkey_info_result& from);
  535. void Clear();
  536. bool IsInitialized() const;
  537. int ByteSize() const;
  538. bool MergePartialFromCodedStream(
  539. ::google::protobuf::io::CodedInputStream* input);
  540. void SerializeWithCachedSizes(
  541. ::google::protobuf::io::CodedOutputStream* output) const;
  542. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  543. int GetCachedSize() const { return _cached_size_; }
  544. private:
  545. void SharedCtor();
  546. void SharedDtor();
  547. void SetCachedSize(int size) const;
  548. public:
  549. ::google::protobuf::Metadata GetMetadata() const;
  550. // nested types ----------------------------------------------------
  551. // accessors -------------------------------------------------------
  552. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_monkey_info_result];
  553. inline bool has_packet_id() const;
  554. inline void clear_packet_id();
  555. static const int kPacketIdFieldNumber = 1;
  556. inline ::fish_protocols::e_server_msg_type packet_id() const;
  557. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  558. // optional int32 result = 2;
  559. inline bool has_result() const;
  560. inline void clear_result();
  561. static const int kResultFieldNumber = 2;
  562. inline ::google::protobuf::int32 result() const;
  563. inline void set_result(::google::protobuf::int32 value);
  564. // optional int32 bossCountDown = 3;
  565. inline bool has_bosscountdown() const;
  566. inline void clear_bosscountdown();
  567. static const int kBossCountDownFieldNumber = 3;
  568. inline ::google::protobuf::int32 bosscountdown() const;
  569. inline void set_bosscountdown(::google::protobuf::int32 value);
  570. // optional int64 jackpot = 4;
  571. inline bool has_jackpot() const;
  572. inline void clear_jackpot();
  573. static const int kJackpotFieldNumber = 4;
  574. inline ::google::protobuf::int64 jackpot() const;
  575. inline void set_jackpot(::google::protobuf::int64 value);
  576. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_monkey_info_result)
  577. private:
  578. inline void set_has_packet_id();
  579. inline void clear_has_packet_id();
  580. inline void set_has_result();
  581. inline void clear_has_result();
  582. inline void set_has_bosscountdown();
  583. inline void clear_has_bosscountdown();
  584. inline void set_has_jackpot();
  585. inline void clear_has_jackpot();
  586. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  587. int packet_id_;
  588. ::google::protobuf::int32 result_;
  589. ::google::protobuf::int64 jackpot_;
  590. ::google::protobuf::int32 bosscountdown_;
  591. mutable int _cached_size_;
  592. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  593. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  594. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  595. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  596. void InitAsDefaultInstance();
  597. static packetl2c_get_monkey_info_result* default_instance_;
  598. };
  599. // -------------------------------------------------------------------
  600. class packetl2c_bc_table_kill_monkey : public ::google::protobuf::Message {
  601. public:
  602. packetl2c_bc_table_kill_monkey();
  603. virtual ~packetl2c_bc_table_kill_monkey();
  604. packetl2c_bc_table_kill_monkey(const packetl2c_bc_table_kill_monkey& from);
  605. inline packetl2c_bc_table_kill_monkey& operator=(const packetl2c_bc_table_kill_monkey& from) {
  606. CopyFrom(from);
  607. return *this;
  608. }
  609. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  610. return _unknown_fields_;
  611. }
  612. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  613. return &_unknown_fields_;
  614. }
  615. static const ::google::protobuf::Descriptor* descriptor();
  616. static const packetl2c_bc_table_kill_monkey& default_instance();
  617. void Swap(packetl2c_bc_table_kill_monkey* other);
  618. // implements Message ----------------------------------------------
  619. packetl2c_bc_table_kill_monkey* New() const;
  620. void CopyFrom(const ::google::protobuf::Message& from);
  621. void MergeFrom(const ::google::protobuf::Message& from);
  622. void CopyFrom(const packetl2c_bc_table_kill_monkey& from);
  623. void MergeFrom(const packetl2c_bc_table_kill_monkey& from);
  624. void Clear();
  625. bool IsInitialized() const;
  626. int ByteSize() const;
  627. bool MergePartialFromCodedStream(
  628. ::google::protobuf::io::CodedInputStream* input);
  629. void SerializeWithCachedSizes(
  630. ::google::protobuf::io::CodedOutputStream* output) const;
  631. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  632. int GetCachedSize() const { return _cached_size_; }
  633. private:
  634. void SharedCtor();
  635. void SharedDtor();
  636. void SetCachedSize(int size) const;
  637. public:
  638. ::google::protobuf::Metadata GetMetadata() const;
  639. // nested types ----------------------------------------------------
  640. // accessors -------------------------------------------------------
  641. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_monkey];
  642. inline bool has_packet_id() const;
  643. inline void clear_packet_id();
  644. static const int kPacketIdFieldNumber = 1;
  645. inline ::fish_protocols::e_server_msg_type packet_id() const;
  646. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  647. // optional int32 playerId = 2;
  648. inline bool has_playerid() const;
  649. inline void clear_playerid();
  650. static const int kPlayerIdFieldNumber = 2;
  651. inline ::google::protobuf::int32 playerid() const;
  652. inline void set_playerid(::google::protobuf::int32 value);
  653. // optional int32 fishRate = 3;
  654. inline bool has_fishrate() const;
  655. inline void clear_fishrate();
  656. static const int kFishRateFieldNumber = 3;
  657. inline ::google::protobuf::int32 fishrate() const;
  658. inline void set_fishrate(::google::protobuf::int32 value);
  659. // optional int32 bulletRate = 4;
  660. inline bool has_bulletrate() const;
  661. inline void clear_bulletrate();
  662. static const int kBulletRateFieldNumber = 4;
  663. inline ::google::protobuf::int32 bulletrate() const;
  664. inline void set_bulletrate(::google::protobuf::int32 value);
  665. // optional int64 dropGold = 5;
  666. inline bool has_dropgold() const;
  667. inline void clear_dropgold();
  668. static const int kDropGoldFieldNumber = 5;
  669. inline ::google::protobuf::int64 dropgold() const;
  670. inline void set_dropgold(::google::protobuf::int64 value);
  671. // optional int32 rewardIndex = 6;
  672. inline bool has_rewardindex() const;
  673. inline void clear_rewardindex();
  674. static const int kRewardIndexFieldNumber = 6;
  675. inline ::google::protobuf::int32 rewardindex() const;
  676. inline void set_rewardindex(::google::protobuf::int32 value);
  677. // optional int64 gainjackpot = 7;
  678. inline bool has_gainjackpot() const;
  679. inline void clear_gainjackpot();
  680. static const int kGainjackpotFieldNumber = 7;
  681. inline ::google::protobuf::int64 gainjackpot() const;
  682. inline void set_gainjackpot(::google::protobuf::int64 value);
  683. // repeated .fish_protocols.msg_item gainItems = 8;
  684. inline int gainitems_size() const;
  685. inline void clear_gainitems();
  686. static const int kGainItemsFieldNumber = 8;
  687. inline const ::fish_protocols::msg_item& gainitems(int index) const;
  688. inline ::fish_protocols::msg_item* mutable_gainitems(int index);
  689. inline ::fish_protocols::msg_item* add_gainitems();
  690. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  691. gainitems() const;
  692. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  693. mutable_gainitems();
  694. // repeated int32 graphArr = 9;
  695. inline int grapharr_size() const;
  696. inline void clear_grapharr();
  697. static const int kGraphArrFieldNumber = 9;
  698. inline ::google::protobuf::int32 grapharr(int index) const;
  699. inline void set_grapharr(int index, ::google::protobuf::int32 value);
  700. inline void add_grapharr(::google::protobuf::int32 value);
  701. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  702. grapharr() const;
  703. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  704. mutable_grapharr();
  705. // optional int32 point = 10;
  706. inline bool has_point() const;
  707. inline void clear_point();
  708. static const int kPointFieldNumber = 10;
  709. inline ::google::protobuf::int32 point() const;
  710. inline void set_point(::google::protobuf::int32 value);
  711. // optional int32 addPoint = 11;
  712. inline bool has_addpoint() const;
  713. inline void clear_addpoint();
  714. static const int kAddPointFieldNumber = 11;
  715. inline ::google::protobuf::int32 addpoint() const;
  716. inline void set_addpoint(::google::protobuf::int32 value);
  717. // optional int64 jackpot = 12;
  718. inline bool has_jackpot() const;
  719. inline void clear_jackpot();
  720. static const int kJackpotFieldNumber = 12;
  721. inline ::google::protobuf::int64 jackpot() const;
  722. inline void set_jackpot(::google::protobuf::int64 value);
  723. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_bc_table_kill_monkey)
  724. private:
  725. inline void set_has_packet_id();
  726. inline void clear_has_packet_id();
  727. inline void set_has_playerid();
  728. inline void clear_has_playerid();
  729. inline void set_has_fishrate();
  730. inline void clear_has_fishrate();
  731. inline void set_has_bulletrate();
  732. inline void clear_has_bulletrate();
  733. inline void set_has_dropgold();
  734. inline void clear_has_dropgold();
  735. inline void set_has_rewardindex();
  736. inline void clear_has_rewardindex();
  737. inline void set_has_gainjackpot();
  738. inline void clear_has_gainjackpot();
  739. inline void set_has_point();
  740. inline void clear_has_point();
  741. inline void set_has_addpoint();
  742. inline void clear_has_addpoint();
  743. inline void set_has_jackpot();
  744. inline void clear_has_jackpot();
  745. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  746. int packet_id_;
  747. ::google::protobuf::int32 playerid_;
  748. ::google::protobuf::int32 fishrate_;
  749. ::google::protobuf::int32 bulletrate_;
  750. ::google::protobuf::int64 dropgold_;
  751. ::google::protobuf::int64 gainjackpot_;
  752. ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item > gainitems_;
  753. ::google::protobuf::int32 rewardindex_;
  754. ::google::protobuf::int32 point_;
  755. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > grapharr_;
  756. ::google::protobuf::int64 jackpot_;
  757. ::google::protobuf::int32 addpoint_;
  758. mutable int _cached_size_;
  759. ::google::protobuf::uint32 _has_bits_[(12 + 31) / 32];
  760. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  761. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  762. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  763. void InitAsDefaultInstance();
  764. static packetl2c_bc_table_kill_monkey* default_instance_;
  765. };
  766. // -------------------------------------------------------------------
  767. class packetl2c_bc_table_kill_monkey_fish : public ::google::protobuf::Message {
  768. public:
  769. packetl2c_bc_table_kill_monkey_fish();
  770. virtual ~packetl2c_bc_table_kill_monkey_fish();
  771. packetl2c_bc_table_kill_monkey_fish(const packetl2c_bc_table_kill_monkey_fish& from);
  772. inline packetl2c_bc_table_kill_monkey_fish& operator=(const packetl2c_bc_table_kill_monkey_fish& from) {
  773. CopyFrom(from);
  774. return *this;
  775. }
  776. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  777. return _unknown_fields_;
  778. }
  779. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  780. return &_unknown_fields_;
  781. }
  782. static const ::google::protobuf::Descriptor* descriptor();
  783. static const packetl2c_bc_table_kill_monkey_fish& default_instance();
  784. void Swap(packetl2c_bc_table_kill_monkey_fish* other);
  785. // implements Message ----------------------------------------------
  786. packetl2c_bc_table_kill_monkey_fish* New() const;
  787. void CopyFrom(const ::google::protobuf::Message& from);
  788. void MergeFrom(const ::google::protobuf::Message& from);
  789. void CopyFrom(const packetl2c_bc_table_kill_monkey_fish& from);
  790. void MergeFrom(const packetl2c_bc_table_kill_monkey_fish& from);
  791. void Clear();
  792. bool IsInitialized() const;
  793. int ByteSize() const;
  794. bool MergePartialFromCodedStream(
  795. ::google::protobuf::io::CodedInputStream* input);
  796. void SerializeWithCachedSizes(
  797. ::google::protobuf::io::CodedOutputStream* output) const;
  798. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  799. int GetCachedSize() const { return _cached_size_; }
  800. private:
  801. void SharedCtor();
  802. void SharedDtor();
  803. void SetCachedSize(int size) const;
  804. public:
  805. ::google::protobuf::Metadata GetMetadata() const;
  806. // nested types ----------------------------------------------------
  807. // accessors -------------------------------------------------------
  808. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_monkey_fish];
  809. inline bool has_packet_id() const;
  810. inline void clear_packet_id();
  811. static const int kPacketIdFieldNumber = 1;
  812. inline ::fish_protocols::e_server_msg_type packet_id() const;
  813. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  814. // optional int32 playerId = 2;
  815. inline bool has_playerid() const;
  816. inline void clear_playerid();
  817. static const int kPlayerIdFieldNumber = 2;
  818. inline ::google::protobuf::int32 playerid() const;
  819. inline void set_playerid(::google::protobuf::int32 value);
  820. // optional int32 fishId = 3;
  821. inline bool has_fishid() const;
  822. inline void clear_fishid();
  823. static const int kFishIdFieldNumber = 3;
  824. inline ::google::protobuf::int32 fishid() const;
  825. inline void set_fishid(::google::protobuf::int32 value);
  826. // repeated int32 slotArr = 4;
  827. inline int slotarr_size() const;
  828. inline void clear_slotarr();
  829. static const int kSlotArrFieldNumber = 4;
  830. inline ::google::protobuf::int32 slotarr(int index) const;
  831. inline void set_slotarr(int index, ::google::protobuf::int32 value);
  832. inline void add_slotarr(::google::protobuf::int32 value);
  833. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  834. slotarr() const;
  835. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  836. mutable_slotarr();
  837. // optional int64 dropGold = 5;
  838. inline bool has_dropgold() const;
  839. inline void clear_dropgold();
  840. static const int kDropGoldFieldNumber = 5;
  841. inline ::google::protobuf::int64 dropgold() const;
  842. inline void set_dropgold(::google::protobuf::int64 value);
  843. // optional int64 gainjackpot = 6;
  844. inline bool has_gainjackpot() const;
  845. inline void clear_gainjackpot();
  846. static const int kGainjackpotFieldNumber = 6;
  847. inline ::google::protobuf::int64 gainjackpot() const;
  848. inline void set_gainjackpot(::google::protobuf::int64 value);
  849. // optional int32 point = 7;
  850. inline bool has_point() const;
  851. inline void clear_point();
  852. static const int kPointFieldNumber = 7;
  853. inline ::google::protobuf::int32 point() const;
  854. inline void set_point(::google::protobuf::int32 value);
  855. // optional int32 addPoint = 8;
  856. inline bool has_addpoint() const;
  857. inline void clear_addpoint();
  858. static const int kAddPointFieldNumber = 8;
  859. inline ::google::protobuf::int32 addpoint() const;
  860. inline void set_addpoint(::google::protobuf::int32 value);
  861. // optional int64 jackpot = 9;
  862. inline bool has_jackpot() const;
  863. inline void clear_jackpot();
  864. static const int kJackpotFieldNumber = 9;
  865. inline ::google::protobuf::int64 jackpot() const;
  866. inline void set_jackpot(::google::protobuf::int64 value);
  867. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_bc_table_kill_monkey_fish)
  868. private:
  869. inline void set_has_packet_id();
  870. inline void clear_has_packet_id();
  871. inline void set_has_playerid();
  872. inline void clear_has_playerid();
  873. inline void set_has_fishid();
  874. inline void clear_has_fishid();
  875. inline void set_has_dropgold();
  876. inline void clear_has_dropgold();
  877. inline void set_has_gainjackpot();
  878. inline void clear_has_gainjackpot();
  879. inline void set_has_point();
  880. inline void clear_has_point();
  881. inline void set_has_addpoint();
  882. inline void clear_has_addpoint();
  883. inline void set_has_jackpot();
  884. inline void clear_has_jackpot();
  885. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  886. int packet_id_;
  887. ::google::protobuf::int32 playerid_;
  888. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > slotarr_;
  889. ::google::protobuf::int64 dropgold_;
  890. ::google::protobuf::int32 fishid_;
  891. ::google::protobuf::int32 point_;
  892. ::google::protobuf::int64 gainjackpot_;
  893. ::google::protobuf::int64 jackpot_;
  894. ::google::protobuf::int32 addpoint_;
  895. mutable int _cached_size_;
  896. ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
  897. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  898. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  899. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  900. void InitAsDefaultInstance();
  901. static packetl2c_bc_table_kill_monkey_fish* default_instance_;
  902. };
  903. // -------------------------------------------------------------------
  904. class packetc2l_get_kill_monkey_history : public ::google::protobuf::Message {
  905. public:
  906. packetc2l_get_kill_monkey_history();
  907. virtual ~packetc2l_get_kill_monkey_history();
  908. packetc2l_get_kill_monkey_history(const packetc2l_get_kill_monkey_history& from);
  909. inline packetc2l_get_kill_monkey_history& operator=(const packetc2l_get_kill_monkey_history& from) {
  910. CopyFrom(from);
  911. return *this;
  912. }
  913. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  914. return _unknown_fields_;
  915. }
  916. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  917. return &_unknown_fields_;
  918. }
  919. static const ::google::protobuf::Descriptor* descriptor();
  920. static const packetc2l_get_kill_monkey_history& default_instance();
  921. void Swap(packetc2l_get_kill_monkey_history* other);
  922. // implements Message ----------------------------------------------
  923. packetc2l_get_kill_monkey_history* New() const;
  924. void CopyFrom(const ::google::protobuf::Message& from);
  925. void MergeFrom(const ::google::protobuf::Message& from);
  926. void CopyFrom(const packetc2l_get_kill_monkey_history& from);
  927. void MergeFrom(const packetc2l_get_kill_monkey_history& from);
  928. void Clear();
  929. bool IsInitialized() const;
  930. int ByteSize() const;
  931. bool MergePartialFromCodedStream(
  932. ::google::protobuf::io::CodedInputStream* input);
  933. void SerializeWithCachedSizes(
  934. ::google::protobuf::io::CodedOutputStream* output) const;
  935. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  936. int GetCachedSize() const { return _cached_size_; }
  937. private:
  938. void SharedCtor();
  939. void SharedDtor();
  940. void SetCachedSize(int size) const;
  941. public:
  942. ::google::protobuf::Metadata GetMetadata() const;
  943. // nested types ----------------------------------------------------
  944. // accessors -------------------------------------------------------
  945. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_kill_monkey_history];
  946. inline bool has_packet_id() const;
  947. inline void clear_packet_id();
  948. static const int kPacketIdFieldNumber = 1;
  949. inline ::fish_protocols::e_server_msg_type packet_id() const;
  950. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  951. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_kill_monkey_history)
  952. private:
  953. inline void set_has_packet_id();
  954. inline void clear_has_packet_id();
  955. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  956. int packet_id_;
  957. mutable int _cached_size_;
  958. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  959. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  960. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  961. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  962. void InitAsDefaultInstance();
  963. static packetc2l_get_kill_monkey_history* default_instance_;
  964. };
  965. // -------------------------------------------------------------------
  966. class packetl2c_get_kill_monkey_history_result : public ::google::protobuf::Message {
  967. public:
  968. packetl2c_get_kill_monkey_history_result();
  969. virtual ~packetl2c_get_kill_monkey_history_result();
  970. packetl2c_get_kill_monkey_history_result(const packetl2c_get_kill_monkey_history_result& from);
  971. inline packetl2c_get_kill_monkey_history_result& operator=(const packetl2c_get_kill_monkey_history_result& from) {
  972. CopyFrom(from);
  973. return *this;
  974. }
  975. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  976. return _unknown_fields_;
  977. }
  978. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  979. return &_unknown_fields_;
  980. }
  981. static const ::google::protobuf::Descriptor* descriptor();
  982. static const packetl2c_get_kill_monkey_history_result& default_instance();
  983. void Swap(packetl2c_get_kill_monkey_history_result* other);
  984. // implements Message ----------------------------------------------
  985. packetl2c_get_kill_monkey_history_result* New() const;
  986. void CopyFrom(const ::google::protobuf::Message& from);
  987. void MergeFrom(const ::google::protobuf::Message& from);
  988. void CopyFrom(const packetl2c_get_kill_monkey_history_result& from);
  989. void MergeFrom(const packetl2c_get_kill_monkey_history_result& from);
  990. void Clear();
  991. bool IsInitialized() const;
  992. int ByteSize() const;
  993. bool MergePartialFromCodedStream(
  994. ::google::protobuf::io::CodedInputStream* input);
  995. void SerializeWithCachedSizes(
  996. ::google::protobuf::io::CodedOutputStream* output) const;
  997. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  998. int GetCachedSize() const { return _cached_size_; }
  999. private:
  1000. void SharedCtor();
  1001. void SharedDtor();
  1002. void SetCachedSize(int size) const;
  1003. public:
  1004. ::google::protobuf::Metadata GetMetadata() const;
  1005. // nested types ----------------------------------------------------
  1006. // accessors -------------------------------------------------------
  1007. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_kill_monkey_history_result];
  1008. inline bool has_packet_id() const;
  1009. inline void clear_packet_id();
  1010. static const int kPacketIdFieldNumber = 1;
  1011. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1012. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1013. // optional int64 jackpot = 2;
  1014. inline bool has_jackpot() const;
  1015. inline void clear_jackpot();
  1016. static const int kJackpotFieldNumber = 2;
  1017. inline ::google::protobuf::int64 jackpot() const;
  1018. inline void set_jackpot(::google::protobuf::int64 value);
  1019. // repeated .fish_protocols.killMonkeyHistory historyList = 3;
  1020. inline int historylist_size() const;
  1021. inline void clear_historylist();
  1022. static const int kHistoryListFieldNumber = 3;
  1023. inline const ::fish_protocols::killMonkeyHistory& historylist(int index) const;
  1024. inline ::fish_protocols::killMonkeyHistory* mutable_historylist(int index);
  1025. inline ::fish_protocols::killMonkeyHistory* add_historylist();
  1026. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::killMonkeyHistory >&
  1027. historylist() const;
  1028. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::killMonkeyHistory >*
  1029. mutable_historylist();
  1030. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_kill_monkey_history_result)
  1031. private:
  1032. inline void set_has_packet_id();
  1033. inline void clear_has_packet_id();
  1034. inline void set_has_jackpot();
  1035. inline void clear_has_jackpot();
  1036. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1037. ::google::protobuf::int64 jackpot_;
  1038. ::google::protobuf::RepeatedPtrField< ::fish_protocols::killMonkeyHistory > historylist_;
  1039. int packet_id_;
  1040. mutable int _cached_size_;
  1041. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1042. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  1043. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  1044. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  1045. void InitAsDefaultInstance();
  1046. static packetl2c_get_kill_monkey_history_result* default_instance_;
  1047. };
  1048. // -------------------------------------------------------------------
  1049. class packetc2l_call_monkey : public ::google::protobuf::Message {
  1050. public:
  1051. packetc2l_call_monkey();
  1052. virtual ~packetc2l_call_monkey();
  1053. packetc2l_call_monkey(const packetc2l_call_monkey& from);
  1054. inline packetc2l_call_monkey& operator=(const packetc2l_call_monkey& from) {
  1055. CopyFrom(from);
  1056. return *this;
  1057. }
  1058. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1059. return _unknown_fields_;
  1060. }
  1061. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1062. return &_unknown_fields_;
  1063. }
  1064. static const ::google::protobuf::Descriptor* descriptor();
  1065. static const packetc2l_call_monkey& default_instance();
  1066. void Swap(packetc2l_call_monkey* other);
  1067. // implements Message ----------------------------------------------
  1068. packetc2l_call_monkey* New() const;
  1069. void CopyFrom(const ::google::protobuf::Message& from);
  1070. void MergeFrom(const ::google::protobuf::Message& from);
  1071. void CopyFrom(const packetc2l_call_monkey& from);
  1072. void MergeFrom(const packetc2l_call_monkey& from);
  1073. void Clear();
  1074. bool IsInitialized() const;
  1075. int ByteSize() const;
  1076. bool MergePartialFromCodedStream(
  1077. ::google::protobuf::io::CodedInputStream* input);
  1078. void SerializeWithCachedSizes(
  1079. ::google::protobuf::io::CodedOutputStream* output) const;
  1080. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1081. int GetCachedSize() const { return _cached_size_; }
  1082. private:
  1083. void SharedCtor();
  1084. void SharedDtor();
  1085. void SetCachedSize(int size) const;
  1086. public:
  1087. ::google::protobuf::Metadata GetMetadata() const;
  1088. // nested types ----------------------------------------------------
  1089. // accessors -------------------------------------------------------
  1090. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_call_monkey];
  1091. inline bool has_packet_id() const;
  1092. inline void clear_packet_id();
  1093. static const int kPacketIdFieldNumber = 1;
  1094. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1095. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1096. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_call_monkey)
  1097. private:
  1098. inline void set_has_packet_id();
  1099. inline void clear_has_packet_id();
  1100. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1101. int packet_id_;
  1102. mutable int _cached_size_;
  1103. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1104. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  1105. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  1106. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  1107. void InitAsDefaultInstance();
  1108. static packetc2l_call_monkey* default_instance_;
  1109. };
  1110. // -------------------------------------------------------------------
  1111. class packetl2c_call_monkey_result : public ::google::protobuf::Message {
  1112. public:
  1113. packetl2c_call_monkey_result();
  1114. virtual ~packetl2c_call_monkey_result();
  1115. packetl2c_call_monkey_result(const packetl2c_call_monkey_result& from);
  1116. inline packetl2c_call_monkey_result& operator=(const packetl2c_call_monkey_result& from) {
  1117. CopyFrom(from);
  1118. return *this;
  1119. }
  1120. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1121. return _unknown_fields_;
  1122. }
  1123. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1124. return &_unknown_fields_;
  1125. }
  1126. static const ::google::protobuf::Descriptor* descriptor();
  1127. static const packetl2c_call_monkey_result& default_instance();
  1128. void Swap(packetl2c_call_monkey_result* other);
  1129. // implements Message ----------------------------------------------
  1130. packetl2c_call_monkey_result* New() const;
  1131. void CopyFrom(const ::google::protobuf::Message& from);
  1132. void MergeFrom(const ::google::protobuf::Message& from);
  1133. void CopyFrom(const packetl2c_call_monkey_result& from);
  1134. void MergeFrom(const packetl2c_call_monkey_result& from);
  1135. void Clear();
  1136. bool IsInitialized() const;
  1137. int ByteSize() const;
  1138. bool MergePartialFromCodedStream(
  1139. ::google::protobuf::io::CodedInputStream* input);
  1140. void SerializeWithCachedSizes(
  1141. ::google::protobuf::io::CodedOutputStream* output) const;
  1142. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1143. int GetCachedSize() const { return _cached_size_; }
  1144. private:
  1145. void SharedCtor();
  1146. void SharedDtor();
  1147. void SetCachedSize(int size) const;
  1148. public:
  1149. ::google::protobuf::Metadata GetMetadata() const;
  1150. // nested types ----------------------------------------------------
  1151. // accessors -------------------------------------------------------
  1152. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_call_monkey_result];
  1153. inline bool has_packet_id() const;
  1154. inline void clear_packet_id();
  1155. static const int kPacketIdFieldNumber = 1;
  1156. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1157. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1158. // optional int32 result = 2;
  1159. inline bool has_result() const;
  1160. inline void clear_result();
  1161. static const int kResultFieldNumber = 2;
  1162. inline ::google::protobuf::int32 result() const;
  1163. inline void set_result(::google::protobuf::int32 value);
  1164. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_call_monkey_result)
  1165. private:
  1166. inline void set_has_packet_id();
  1167. inline void clear_has_packet_id();
  1168. inline void set_has_result();
  1169. inline void clear_has_result();
  1170. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1171. int packet_id_;
  1172. ::google::protobuf::int32 result_;
  1173. mutable int _cached_size_;
  1174. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1175. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  1176. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  1177. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  1178. void InitAsDefaultInstance();
  1179. static packetl2c_call_monkey_result* default_instance_;
  1180. };
  1181. // -------------------------------------------------------------------
  1182. class packetc2l_monkey_exchange : public ::google::protobuf::Message {
  1183. public:
  1184. packetc2l_monkey_exchange();
  1185. virtual ~packetc2l_monkey_exchange();
  1186. packetc2l_monkey_exchange(const packetc2l_monkey_exchange& from);
  1187. inline packetc2l_monkey_exchange& operator=(const packetc2l_monkey_exchange& from) {
  1188. CopyFrom(from);
  1189. return *this;
  1190. }
  1191. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1192. return _unknown_fields_;
  1193. }
  1194. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1195. return &_unknown_fields_;
  1196. }
  1197. static const ::google::protobuf::Descriptor* descriptor();
  1198. static const packetc2l_monkey_exchange& default_instance();
  1199. void Swap(packetc2l_monkey_exchange* other);
  1200. // implements Message ----------------------------------------------
  1201. packetc2l_monkey_exchange* New() const;
  1202. void CopyFrom(const ::google::protobuf::Message& from);
  1203. void MergeFrom(const ::google::protobuf::Message& from);
  1204. void CopyFrom(const packetc2l_monkey_exchange& from);
  1205. void MergeFrom(const packetc2l_monkey_exchange& from);
  1206. void Clear();
  1207. bool IsInitialized() const;
  1208. int ByteSize() const;
  1209. bool MergePartialFromCodedStream(
  1210. ::google::protobuf::io::CodedInputStream* input);
  1211. void SerializeWithCachedSizes(
  1212. ::google::protobuf::io::CodedOutputStream* output) const;
  1213. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1214. int GetCachedSize() const { return _cached_size_; }
  1215. private:
  1216. void SharedCtor();
  1217. void SharedDtor();
  1218. void SetCachedSize(int size) const;
  1219. public:
  1220. ::google::protobuf::Metadata GetMetadata() const;
  1221. // nested types ----------------------------------------------------
  1222. // accessors -------------------------------------------------------
  1223. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_monkey_exchange];
  1224. inline bool has_packet_id() const;
  1225. inline void clear_packet_id();
  1226. static const int kPacketIdFieldNumber = 1;
  1227. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1228. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1229. // optional bool exchangeAll = 2;
  1230. inline bool has_exchangeall() const;
  1231. inline void clear_exchangeall();
  1232. static const int kExchangeAllFieldNumber = 2;
  1233. inline bool exchangeall() const;
  1234. inline void set_exchangeall(bool value);
  1235. // optional int32 exchangeIndex = 3;
  1236. inline bool has_exchangeindex() const;
  1237. inline void clear_exchangeindex();
  1238. static const int kExchangeIndexFieldNumber = 3;
  1239. inline ::google::protobuf::int32 exchangeindex() const;
  1240. inline void set_exchangeindex(::google::protobuf::int32 value);
  1241. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_monkey_exchange)
  1242. private:
  1243. inline void set_has_packet_id();
  1244. inline void clear_has_packet_id();
  1245. inline void set_has_exchangeall();
  1246. inline void clear_has_exchangeall();
  1247. inline void set_has_exchangeindex();
  1248. inline void clear_has_exchangeindex();
  1249. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1250. int packet_id_;
  1251. bool exchangeall_;
  1252. ::google::protobuf::int32 exchangeindex_;
  1253. mutable int _cached_size_;
  1254. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1255. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  1256. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  1257. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  1258. void InitAsDefaultInstance();
  1259. static packetc2l_monkey_exchange* default_instance_;
  1260. };
  1261. // -------------------------------------------------------------------
  1262. class packetl2c_monkey_exchange_result : public ::google::protobuf::Message {
  1263. public:
  1264. packetl2c_monkey_exchange_result();
  1265. virtual ~packetl2c_monkey_exchange_result();
  1266. packetl2c_monkey_exchange_result(const packetl2c_monkey_exchange_result& from);
  1267. inline packetl2c_monkey_exchange_result& operator=(const packetl2c_monkey_exchange_result& from) {
  1268. CopyFrom(from);
  1269. return *this;
  1270. }
  1271. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1272. return _unknown_fields_;
  1273. }
  1274. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1275. return &_unknown_fields_;
  1276. }
  1277. static const ::google::protobuf::Descriptor* descriptor();
  1278. static const packetl2c_monkey_exchange_result& default_instance();
  1279. void Swap(packetl2c_monkey_exchange_result* other);
  1280. // implements Message ----------------------------------------------
  1281. packetl2c_monkey_exchange_result* New() const;
  1282. void CopyFrom(const ::google::protobuf::Message& from);
  1283. void MergeFrom(const ::google::protobuf::Message& from);
  1284. void CopyFrom(const packetl2c_monkey_exchange_result& from);
  1285. void MergeFrom(const packetl2c_monkey_exchange_result& from);
  1286. void Clear();
  1287. bool IsInitialized() const;
  1288. int ByteSize() const;
  1289. bool MergePartialFromCodedStream(
  1290. ::google::protobuf::io::CodedInputStream* input);
  1291. void SerializeWithCachedSizes(
  1292. ::google::protobuf::io::CodedOutputStream* output) const;
  1293. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1294. int GetCachedSize() const { return _cached_size_; }
  1295. private:
  1296. void SharedCtor();
  1297. void SharedDtor();
  1298. void SetCachedSize(int size) const;
  1299. public:
  1300. ::google::protobuf::Metadata GetMetadata() const;
  1301. // nested types ----------------------------------------------------
  1302. // accessors -------------------------------------------------------
  1303. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_monkey_exchange_result];
  1304. inline bool has_packet_id() const;
  1305. inline void clear_packet_id();
  1306. static const int kPacketIdFieldNumber = 1;
  1307. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1308. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1309. // optional int32 result = 2;
  1310. inline bool has_result() const;
  1311. inline void clear_result();
  1312. static const int kResultFieldNumber = 2;
  1313. inline ::google::protobuf::int32 result() const;
  1314. inline void set_result(::google::protobuf::int32 value);
  1315. // optional bool exchangeAll = 3;
  1316. inline bool has_exchangeall() const;
  1317. inline void clear_exchangeall();
  1318. static const int kExchangeAllFieldNumber = 3;
  1319. inline bool exchangeall() const;
  1320. inline void set_exchangeall(bool value);
  1321. // repeated int32 exchangeIndex = 4;
  1322. inline int exchangeindex_size() const;
  1323. inline void clear_exchangeindex();
  1324. static const int kExchangeIndexFieldNumber = 4;
  1325. inline ::google::protobuf::int32 exchangeindex(int index) const;
  1326. inline void set_exchangeindex(int index, ::google::protobuf::int32 value);
  1327. inline void add_exchangeindex(::google::protobuf::int32 value);
  1328. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1329. exchangeindex() const;
  1330. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1331. mutable_exchangeindex();
  1332. // repeated .fish_protocols.ItemInfo items = 5;
  1333. inline int items_size() const;
  1334. inline void clear_items();
  1335. static const int kItemsFieldNumber = 5;
  1336. inline const ::fish_protocols::ItemInfo& items(int index) const;
  1337. inline ::fish_protocols::ItemInfo* mutable_items(int index);
  1338. inline ::fish_protocols::ItemInfo* add_items();
  1339. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >&
  1340. items() const;
  1341. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >*
  1342. mutable_items();
  1343. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_monkey_exchange_result)
  1344. private:
  1345. inline void set_has_packet_id();
  1346. inline void clear_has_packet_id();
  1347. inline void set_has_result();
  1348. inline void clear_has_result();
  1349. inline void set_has_exchangeall();
  1350. inline void clear_has_exchangeall();
  1351. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1352. int packet_id_;
  1353. ::google::protobuf::int32 result_;
  1354. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > exchangeindex_;
  1355. ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo > items_;
  1356. bool exchangeall_;
  1357. mutable int _cached_size_;
  1358. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  1359. friend void protobuf_AddDesc_fish_5fmonkey_5fpalace_2eproto();
  1360. friend void protobuf_AssignDesc_fish_5fmonkey_5fpalace_2eproto();
  1361. friend void protobuf_ShutdownFile_fish_5fmonkey_5fpalace_2eproto();
  1362. void InitAsDefaultInstance();
  1363. static packetl2c_monkey_exchange_result* default_instance_;
  1364. };
  1365. // ===================================================================
  1366. // ===================================================================
  1367. // killMonkeyHistory
  1368. // optional string nickName = 1;
  1369. inline bool killMonkeyHistory::has_nickname() const {
  1370. return (_has_bits_[0] & 0x00000001u) != 0;
  1371. }
  1372. inline void killMonkeyHistory::set_has_nickname() {
  1373. _has_bits_[0] |= 0x00000001u;
  1374. }
  1375. inline void killMonkeyHistory::clear_has_nickname() {
  1376. _has_bits_[0] &= ~0x00000001u;
  1377. }
  1378. inline void killMonkeyHistory::clear_nickname() {
  1379. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1380. nickname_->clear();
  1381. }
  1382. clear_has_nickname();
  1383. }
  1384. inline const ::std::string& killMonkeyHistory::nickname() const {
  1385. return *nickname_;
  1386. }
  1387. inline void killMonkeyHistory::set_nickname(const ::std::string& value) {
  1388. set_has_nickname();
  1389. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1390. nickname_ = new ::std::string;
  1391. }
  1392. nickname_->assign(value);
  1393. }
  1394. inline void killMonkeyHistory::set_nickname(const char* value) {
  1395. set_has_nickname();
  1396. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1397. nickname_ = new ::std::string;
  1398. }
  1399. nickname_->assign(value);
  1400. }
  1401. inline void killMonkeyHistory::set_nickname(const char* value, size_t size) {
  1402. set_has_nickname();
  1403. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1404. nickname_ = new ::std::string;
  1405. }
  1406. nickname_->assign(reinterpret_cast<const char*>(value), size);
  1407. }
  1408. inline ::std::string* killMonkeyHistory::mutable_nickname() {
  1409. set_has_nickname();
  1410. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1411. nickname_ = new ::std::string;
  1412. }
  1413. return nickname_;
  1414. }
  1415. inline ::std::string* killMonkeyHistory::release_nickname() {
  1416. clear_has_nickname();
  1417. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1418. return NULL;
  1419. } else {
  1420. ::std::string* temp = nickname_;
  1421. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1422. return temp;
  1423. }
  1424. }
  1425. inline void killMonkeyHistory::set_allocated_nickname(::std::string* nickname) {
  1426. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1427. delete nickname_;
  1428. }
  1429. if (nickname) {
  1430. set_has_nickname();
  1431. nickname_ = nickname;
  1432. } else {
  1433. clear_has_nickname();
  1434. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1435. }
  1436. }
  1437. // optional string fishName = 2;
  1438. inline bool killMonkeyHistory::has_fishname() const {
  1439. return (_has_bits_[0] & 0x00000002u) != 0;
  1440. }
  1441. inline void killMonkeyHistory::set_has_fishname() {
  1442. _has_bits_[0] |= 0x00000002u;
  1443. }
  1444. inline void killMonkeyHistory::clear_has_fishname() {
  1445. _has_bits_[0] &= ~0x00000002u;
  1446. }
  1447. inline void killMonkeyHistory::clear_fishname() {
  1448. if (fishname_ != &::google::protobuf::internal::kEmptyString) {
  1449. fishname_->clear();
  1450. }
  1451. clear_has_fishname();
  1452. }
  1453. inline const ::std::string& killMonkeyHistory::fishname() const {
  1454. return *fishname_;
  1455. }
  1456. inline void killMonkeyHistory::set_fishname(const ::std::string& value) {
  1457. set_has_fishname();
  1458. if (fishname_ == &::google::protobuf::internal::kEmptyString) {
  1459. fishname_ = new ::std::string;
  1460. }
  1461. fishname_->assign(value);
  1462. }
  1463. inline void killMonkeyHistory::set_fishname(const char* value) {
  1464. set_has_fishname();
  1465. if (fishname_ == &::google::protobuf::internal::kEmptyString) {
  1466. fishname_ = new ::std::string;
  1467. }
  1468. fishname_->assign(value);
  1469. }
  1470. inline void killMonkeyHistory::set_fishname(const char* value, size_t size) {
  1471. set_has_fishname();
  1472. if (fishname_ == &::google::protobuf::internal::kEmptyString) {
  1473. fishname_ = new ::std::string;
  1474. }
  1475. fishname_->assign(reinterpret_cast<const char*>(value), size);
  1476. }
  1477. inline ::std::string* killMonkeyHistory::mutable_fishname() {
  1478. set_has_fishname();
  1479. if (fishname_ == &::google::protobuf::internal::kEmptyString) {
  1480. fishname_ = new ::std::string;
  1481. }
  1482. return fishname_;
  1483. }
  1484. inline ::std::string* killMonkeyHistory::release_fishname() {
  1485. clear_has_fishname();
  1486. if (fishname_ == &::google::protobuf::internal::kEmptyString) {
  1487. return NULL;
  1488. } else {
  1489. ::std::string* temp = fishname_;
  1490. fishname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1491. return temp;
  1492. }
  1493. }
  1494. inline void killMonkeyHistory::set_allocated_fishname(::std::string* fishname) {
  1495. if (fishname_ != &::google::protobuf::internal::kEmptyString) {
  1496. delete fishname_;
  1497. }
  1498. if (fishname) {
  1499. set_has_fishname();
  1500. fishname_ = fishname;
  1501. } else {
  1502. clear_has_fishname();
  1503. fishname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1504. }
  1505. }
  1506. // optional int32 mult = 3;
  1507. inline bool killMonkeyHistory::has_mult() const {
  1508. return (_has_bits_[0] & 0x00000004u) != 0;
  1509. }
  1510. inline void killMonkeyHistory::set_has_mult() {
  1511. _has_bits_[0] |= 0x00000004u;
  1512. }
  1513. inline void killMonkeyHistory::clear_has_mult() {
  1514. _has_bits_[0] &= ~0x00000004u;
  1515. }
  1516. inline void killMonkeyHistory::clear_mult() {
  1517. mult_ = 0;
  1518. clear_has_mult();
  1519. }
  1520. inline ::google::protobuf::int32 killMonkeyHistory::mult() const {
  1521. return mult_;
  1522. }
  1523. inline void killMonkeyHistory::set_mult(::google::protobuf::int32 value) {
  1524. set_has_mult();
  1525. mult_ = value;
  1526. }
  1527. // optional int64 gold = 4;
  1528. inline bool killMonkeyHistory::has_gold() const {
  1529. return (_has_bits_[0] & 0x00000008u) != 0;
  1530. }
  1531. inline void killMonkeyHistory::set_has_gold() {
  1532. _has_bits_[0] |= 0x00000008u;
  1533. }
  1534. inline void killMonkeyHistory::clear_has_gold() {
  1535. _has_bits_[0] &= ~0x00000008u;
  1536. }
  1537. inline void killMonkeyHistory::clear_gold() {
  1538. gold_ = GOOGLE_LONGLONG(0);
  1539. clear_has_gold();
  1540. }
  1541. inline ::google::protobuf::int64 killMonkeyHistory::gold() const {
  1542. return gold_;
  1543. }
  1544. inline void killMonkeyHistory::set_gold(::google::protobuf::int64 value) {
  1545. set_has_gold();
  1546. gold_ = value;
  1547. }
  1548. // repeated .fish_protocols.ItemInfo items = 5;
  1549. inline int killMonkeyHistory::items_size() const {
  1550. return items_.size();
  1551. }
  1552. inline void killMonkeyHistory::clear_items() {
  1553. items_.Clear();
  1554. }
  1555. inline const ::fish_protocols::ItemInfo& killMonkeyHistory::items(int index) const {
  1556. return items_.Get(index);
  1557. }
  1558. inline ::fish_protocols::ItemInfo* killMonkeyHistory::mutable_items(int index) {
  1559. return items_.Mutable(index);
  1560. }
  1561. inline ::fish_protocols::ItemInfo* killMonkeyHistory::add_items() {
  1562. return items_.Add();
  1563. }
  1564. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >&
  1565. killMonkeyHistory::items() const {
  1566. return items_;
  1567. }
  1568. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >*
  1569. killMonkeyHistory::mutable_items() {
  1570. return &items_;
  1571. }
  1572. // -------------------------------------------------------------------
  1573. // MonkeyRankInfo
  1574. // optional int32 playerId = 1;
  1575. inline bool MonkeyRankInfo::has_playerid() const {
  1576. return (_has_bits_[0] & 0x00000001u) != 0;
  1577. }
  1578. inline void MonkeyRankInfo::set_has_playerid() {
  1579. _has_bits_[0] |= 0x00000001u;
  1580. }
  1581. inline void MonkeyRankInfo::clear_has_playerid() {
  1582. _has_bits_[0] &= ~0x00000001u;
  1583. }
  1584. inline void MonkeyRankInfo::clear_playerid() {
  1585. playerid_ = 0;
  1586. clear_has_playerid();
  1587. }
  1588. inline ::google::protobuf::int32 MonkeyRankInfo::playerid() const {
  1589. return playerid_;
  1590. }
  1591. inline void MonkeyRankInfo::set_playerid(::google::protobuf::int32 value) {
  1592. set_has_playerid();
  1593. playerid_ = value;
  1594. }
  1595. // optional string nickName = 2;
  1596. inline bool MonkeyRankInfo::has_nickname() const {
  1597. return (_has_bits_[0] & 0x00000002u) != 0;
  1598. }
  1599. inline void MonkeyRankInfo::set_has_nickname() {
  1600. _has_bits_[0] |= 0x00000002u;
  1601. }
  1602. inline void MonkeyRankInfo::clear_has_nickname() {
  1603. _has_bits_[0] &= ~0x00000002u;
  1604. }
  1605. inline void MonkeyRankInfo::clear_nickname() {
  1606. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1607. nickname_->clear();
  1608. }
  1609. clear_has_nickname();
  1610. }
  1611. inline const ::std::string& MonkeyRankInfo::nickname() const {
  1612. return *nickname_;
  1613. }
  1614. inline void MonkeyRankInfo::set_nickname(const ::std::string& value) {
  1615. set_has_nickname();
  1616. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1617. nickname_ = new ::std::string;
  1618. }
  1619. nickname_->assign(value);
  1620. }
  1621. inline void MonkeyRankInfo::set_nickname(const char* value) {
  1622. set_has_nickname();
  1623. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1624. nickname_ = new ::std::string;
  1625. }
  1626. nickname_->assign(value);
  1627. }
  1628. inline void MonkeyRankInfo::set_nickname(const char* value, size_t size) {
  1629. set_has_nickname();
  1630. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1631. nickname_ = new ::std::string;
  1632. }
  1633. nickname_->assign(reinterpret_cast<const char*>(value), size);
  1634. }
  1635. inline ::std::string* MonkeyRankInfo::mutable_nickname() {
  1636. set_has_nickname();
  1637. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1638. nickname_ = new ::std::string;
  1639. }
  1640. return nickname_;
  1641. }
  1642. inline ::std::string* MonkeyRankInfo::release_nickname() {
  1643. clear_has_nickname();
  1644. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1645. return NULL;
  1646. } else {
  1647. ::std::string* temp = nickname_;
  1648. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1649. return temp;
  1650. }
  1651. }
  1652. inline void MonkeyRankInfo::set_allocated_nickname(::std::string* nickname) {
  1653. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1654. delete nickname_;
  1655. }
  1656. if (nickname) {
  1657. set_has_nickname();
  1658. nickname_ = nickname;
  1659. } else {
  1660. clear_has_nickname();
  1661. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1662. }
  1663. }
  1664. // optional int32 headid = 3;
  1665. inline bool MonkeyRankInfo::has_headid() const {
  1666. return (_has_bits_[0] & 0x00000004u) != 0;
  1667. }
  1668. inline void MonkeyRankInfo::set_has_headid() {
  1669. _has_bits_[0] |= 0x00000004u;
  1670. }
  1671. inline void MonkeyRankInfo::clear_has_headid() {
  1672. _has_bits_[0] &= ~0x00000004u;
  1673. }
  1674. inline void MonkeyRankInfo::clear_headid() {
  1675. headid_ = 0;
  1676. clear_has_headid();
  1677. }
  1678. inline ::google::protobuf::int32 MonkeyRankInfo::headid() const {
  1679. return headid_;
  1680. }
  1681. inline void MonkeyRankInfo::set_headid(::google::protobuf::int32 value) {
  1682. set_has_headid();
  1683. headid_ = value;
  1684. }
  1685. // optional int32 frameid = 4;
  1686. inline bool MonkeyRankInfo::has_frameid() const {
  1687. return (_has_bits_[0] & 0x00000008u) != 0;
  1688. }
  1689. inline void MonkeyRankInfo::set_has_frameid() {
  1690. _has_bits_[0] |= 0x00000008u;
  1691. }
  1692. inline void MonkeyRankInfo::clear_has_frameid() {
  1693. _has_bits_[0] &= ~0x00000008u;
  1694. }
  1695. inline void MonkeyRankInfo::clear_frameid() {
  1696. frameid_ = 0;
  1697. clear_has_frameid();
  1698. }
  1699. inline ::google::protobuf::int32 MonkeyRankInfo::frameid() const {
  1700. return frameid_;
  1701. }
  1702. inline void MonkeyRankInfo::set_frameid(::google::protobuf::int32 value) {
  1703. set_has_frameid();
  1704. frameid_ = value;
  1705. }
  1706. // optional int32 fishScore = 5;
  1707. inline bool MonkeyRankInfo::has_fishscore() const {
  1708. return (_has_bits_[0] & 0x00000010u) != 0;
  1709. }
  1710. inline void MonkeyRankInfo::set_has_fishscore() {
  1711. _has_bits_[0] |= 0x00000010u;
  1712. }
  1713. inline void MonkeyRankInfo::clear_has_fishscore() {
  1714. _has_bits_[0] &= ~0x00000010u;
  1715. }
  1716. inline void MonkeyRankInfo::clear_fishscore() {
  1717. fishscore_ = 0;
  1718. clear_has_fishscore();
  1719. }
  1720. inline ::google::protobuf::int32 MonkeyRankInfo::fishscore() const {
  1721. return fishscore_;
  1722. }
  1723. inline void MonkeyRankInfo::set_fishscore(::google::protobuf::int32 value) {
  1724. set_has_fishscore();
  1725. fishscore_ = value;
  1726. }
  1727. // optional int32 monkeyScore = 6;
  1728. inline bool MonkeyRankInfo::has_monkeyscore() const {
  1729. return (_has_bits_[0] & 0x00000020u) != 0;
  1730. }
  1731. inline void MonkeyRankInfo::set_has_monkeyscore() {
  1732. _has_bits_[0] |= 0x00000020u;
  1733. }
  1734. inline void MonkeyRankInfo::clear_has_monkeyscore() {
  1735. _has_bits_[0] &= ~0x00000020u;
  1736. }
  1737. inline void MonkeyRankInfo::clear_monkeyscore() {
  1738. monkeyscore_ = 0;
  1739. clear_has_monkeyscore();
  1740. }
  1741. inline ::google::protobuf::int32 MonkeyRankInfo::monkeyscore() const {
  1742. return monkeyscore_;
  1743. }
  1744. inline void MonkeyRankInfo::set_monkeyscore(::google::protobuf::int32 value) {
  1745. set_has_monkeyscore();
  1746. monkeyscore_ = value;
  1747. }
  1748. // optional int32 rank = 7;
  1749. inline bool MonkeyRankInfo::has_rank() const {
  1750. return (_has_bits_[0] & 0x00000040u) != 0;
  1751. }
  1752. inline void MonkeyRankInfo::set_has_rank() {
  1753. _has_bits_[0] |= 0x00000040u;
  1754. }
  1755. inline void MonkeyRankInfo::clear_has_rank() {
  1756. _has_bits_[0] &= ~0x00000040u;
  1757. }
  1758. inline void MonkeyRankInfo::clear_rank() {
  1759. rank_ = 0;
  1760. clear_has_rank();
  1761. }
  1762. inline ::google::protobuf::int32 MonkeyRankInfo::rank() const {
  1763. return rank_;
  1764. }
  1765. inline void MonkeyRankInfo::set_rank(::google::protobuf::int32 value) {
  1766. set_has_rank();
  1767. rank_ = value;
  1768. }
  1769. // -------------------------------------------------------------------
  1770. // packetc2l_get_monkey_rank
  1771. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_monkey_rank];
  1772. inline bool packetc2l_get_monkey_rank::has_packet_id() const {
  1773. return (_has_bits_[0] & 0x00000001u) != 0;
  1774. }
  1775. inline void packetc2l_get_monkey_rank::set_has_packet_id() {
  1776. _has_bits_[0] |= 0x00000001u;
  1777. }
  1778. inline void packetc2l_get_monkey_rank::clear_has_packet_id() {
  1779. _has_bits_[0] &= ~0x00000001u;
  1780. }
  1781. inline void packetc2l_get_monkey_rank::clear_packet_id() {
  1782. packet_id_ = 10162;
  1783. clear_has_packet_id();
  1784. }
  1785. inline ::fish_protocols::e_server_msg_type packetc2l_get_monkey_rank::packet_id() const {
  1786. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1787. }
  1788. inline void packetc2l_get_monkey_rank::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1789. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1790. set_has_packet_id();
  1791. packet_id_ = value;
  1792. }
  1793. // -------------------------------------------------------------------
  1794. // packetl2c_get_monkey_rank_result
  1795. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_monkey_rank_result];
  1796. inline bool packetl2c_get_monkey_rank_result::has_packet_id() const {
  1797. return (_has_bits_[0] & 0x00000001u) != 0;
  1798. }
  1799. inline void packetl2c_get_monkey_rank_result::set_has_packet_id() {
  1800. _has_bits_[0] |= 0x00000001u;
  1801. }
  1802. inline void packetl2c_get_monkey_rank_result::clear_has_packet_id() {
  1803. _has_bits_[0] &= ~0x00000001u;
  1804. }
  1805. inline void packetl2c_get_monkey_rank_result::clear_packet_id() {
  1806. packet_id_ = 16153;
  1807. clear_has_packet_id();
  1808. }
  1809. inline ::fish_protocols::e_server_msg_type packetl2c_get_monkey_rank_result::packet_id() const {
  1810. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1811. }
  1812. inline void packetl2c_get_monkey_rank_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1813. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1814. set_has_packet_id();
  1815. packet_id_ = value;
  1816. }
  1817. // optional .fish_protocols.MonkeyRankInfo myDailyRank = 2;
  1818. inline bool packetl2c_get_monkey_rank_result::has_mydailyrank() const {
  1819. return (_has_bits_[0] & 0x00000002u) != 0;
  1820. }
  1821. inline void packetl2c_get_monkey_rank_result::set_has_mydailyrank() {
  1822. _has_bits_[0] |= 0x00000002u;
  1823. }
  1824. inline void packetl2c_get_monkey_rank_result::clear_has_mydailyrank() {
  1825. _has_bits_[0] &= ~0x00000002u;
  1826. }
  1827. inline void packetl2c_get_monkey_rank_result::clear_mydailyrank() {
  1828. if (mydailyrank_ != NULL) mydailyrank_->::fish_protocols::MonkeyRankInfo::Clear();
  1829. clear_has_mydailyrank();
  1830. }
  1831. inline const ::fish_protocols::MonkeyRankInfo& packetl2c_get_monkey_rank_result::mydailyrank() const {
  1832. return mydailyrank_ != NULL ? *mydailyrank_ : *default_instance_->mydailyrank_;
  1833. }
  1834. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::mutable_mydailyrank() {
  1835. set_has_mydailyrank();
  1836. if (mydailyrank_ == NULL) mydailyrank_ = new ::fish_protocols::MonkeyRankInfo;
  1837. return mydailyrank_;
  1838. }
  1839. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::release_mydailyrank() {
  1840. clear_has_mydailyrank();
  1841. ::fish_protocols::MonkeyRankInfo* temp = mydailyrank_;
  1842. mydailyrank_ = NULL;
  1843. return temp;
  1844. }
  1845. inline void packetl2c_get_monkey_rank_result::set_allocated_mydailyrank(::fish_protocols::MonkeyRankInfo* mydailyrank) {
  1846. delete mydailyrank_;
  1847. mydailyrank_ = mydailyrank;
  1848. if (mydailyrank) {
  1849. set_has_mydailyrank();
  1850. } else {
  1851. clear_has_mydailyrank();
  1852. }
  1853. }
  1854. // optional .fish_protocols.MonkeyRankInfo myWeeklyRank = 3;
  1855. inline bool packetl2c_get_monkey_rank_result::has_myweeklyrank() const {
  1856. return (_has_bits_[0] & 0x00000004u) != 0;
  1857. }
  1858. inline void packetl2c_get_monkey_rank_result::set_has_myweeklyrank() {
  1859. _has_bits_[0] |= 0x00000004u;
  1860. }
  1861. inline void packetl2c_get_monkey_rank_result::clear_has_myweeklyrank() {
  1862. _has_bits_[0] &= ~0x00000004u;
  1863. }
  1864. inline void packetl2c_get_monkey_rank_result::clear_myweeklyrank() {
  1865. if (myweeklyrank_ != NULL) myweeklyrank_->::fish_protocols::MonkeyRankInfo::Clear();
  1866. clear_has_myweeklyrank();
  1867. }
  1868. inline const ::fish_protocols::MonkeyRankInfo& packetl2c_get_monkey_rank_result::myweeklyrank() const {
  1869. return myweeklyrank_ != NULL ? *myweeklyrank_ : *default_instance_->myweeklyrank_;
  1870. }
  1871. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::mutable_myweeklyrank() {
  1872. set_has_myweeklyrank();
  1873. if (myweeklyrank_ == NULL) myweeklyrank_ = new ::fish_protocols::MonkeyRankInfo;
  1874. return myweeklyrank_;
  1875. }
  1876. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::release_myweeklyrank() {
  1877. clear_has_myweeklyrank();
  1878. ::fish_protocols::MonkeyRankInfo* temp = myweeklyrank_;
  1879. myweeklyrank_ = NULL;
  1880. return temp;
  1881. }
  1882. inline void packetl2c_get_monkey_rank_result::set_allocated_myweeklyrank(::fish_protocols::MonkeyRankInfo* myweeklyrank) {
  1883. delete myweeklyrank_;
  1884. myweeklyrank_ = myweeklyrank;
  1885. if (myweeklyrank) {
  1886. set_has_myweeklyrank();
  1887. } else {
  1888. clear_has_myweeklyrank();
  1889. }
  1890. }
  1891. // repeated .fish_protocols.MonkeyRankInfo dayRankList = 4;
  1892. inline int packetl2c_get_monkey_rank_result::dayranklist_size() const {
  1893. return dayranklist_.size();
  1894. }
  1895. inline void packetl2c_get_monkey_rank_result::clear_dayranklist() {
  1896. dayranklist_.Clear();
  1897. }
  1898. inline const ::fish_protocols::MonkeyRankInfo& packetl2c_get_monkey_rank_result::dayranklist(int index) const {
  1899. return dayranklist_.Get(index);
  1900. }
  1901. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::mutable_dayranklist(int index) {
  1902. return dayranklist_.Mutable(index);
  1903. }
  1904. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::add_dayranklist() {
  1905. return dayranklist_.Add();
  1906. }
  1907. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >&
  1908. packetl2c_get_monkey_rank_result::dayranklist() const {
  1909. return dayranklist_;
  1910. }
  1911. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >*
  1912. packetl2c_get_monkey_rank_result::mutable_dayranklist() {
  1913. return &dayranklist_;
  1914. }
  1915. // repeated .fish_protocols.MonkeyRankInfo weekRankList = 5;
  1916. inline int packetl2c_get_monkey_rank_result::weekranklist_size() const {
  1917. return weekranklist_.size();
  1918. }
  1919. inline void packetl2c_get_monkey_rank_result::clear_weekranklist() {
  1920. weekranklist_.Clear();
  1921. }
  1922. inline const ::fish_protocols::MonkeyRankInfo& packetl2c_get_monkey_rank_result::weekranklist(int index) const {
  1923. return weekranklist_.Get(index);
  1924. }
  1925. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::mutable_weekranklist(int index) {
  1926. return weekranklist_.Mutable(index);
  1927. }
  1928. inline ::fish_protocols::MonkeyRankInfo* packetl2c_get_monkey_rank_result::add_weekranklist() {
  1929. return weekranklist_.Add();
  1930. }
  1931. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >&
  1932. packetl2c_get_monkey_rank_result::weekranklist() const {
  1933. return weekranklist_;
  1934. }
  1935. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MonkeyRankInfo >*
  1936. packetl2c_get_monkey_rank_result::mutable_weekranklist() {
  1937. return &weekranklist_;
  1938. }
  1939. // -------------------------------------------------------------------
  1940. // packetc2l_get_monkey_info
  1941. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_monkey_info];
  1942. inline bool packetc2l_get_monkey_info::has_packet_id() const {
  1943. return (_has_bits_[0] & 0x00000001u) != 0;
  1944. }
  1945. inline void packetc2l_get_monkey_info::set_has_packet_id() {
  1946. _has_bits_[0] |= 0x00000001u;
  1947. }
  1948. inline void packetc2l_get_monkey_info::clear_has_packet_id() {
  1949. _has_bits_[0] &= ~0x00000001u;
  1950. }
  1951. inline void packetc2l_get_monkey_info::clear_packet_id() {
  1952. packet_id_ = 10221;
  1953. clear_has_packet_id();
  1954. }
  1955. inline ::fish_protocols::e_server_msg_type packetc2l_get_monkey_info::packet_id() const {
  1956. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1957. }
  1958. inline void packetc2l_get_monkey_info::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1959. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1960. set_has_packet_id();
  1961. packet_id_ = value;
  1962. }
  1963. // -------------------------------------------------------------------
  1964. // packetl2c_get_monkey_info_result
  1965. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_monkey_info_result];
  1966. inline bool packetl2c_get_monkey_info_result::has_packet_id() const {
  1967. return (_has_bits_[0] & 0x00000001u) != 0;
  1968. }
  1969. inline void packetl2c_get_monkey_info_result::set_has_packet_id() {
  1970. _has_bits_[0] |= 0x00000001u;
  1971. }
  1972. inline void packetl2c_get_monkey_info_result::clear_has_packet_id() {
  1973. _has_bits_[0] &= ~0x00000001u;
  1974. }
  1975. inline void packetl2c_get_monkey_info_result::clear_packet_id() {
  1976. packet_id_ = 16227;
  1977. clear_has_packet_id();
  1978. }
  1979. inline ::fish_protocols::e_server_msg_type packetl2c_get_monkey_info_result::packet_id() const {
  1980. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1981. }
  1982. inline void packetl2c_get_monkey_info_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1983. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1984. set_has_packet_id();
  1985. packet_id_ = value;
  1986. }
  1987. // optional int32 result = 2;
  1988. inline bool packetl2c_get_monkey_info_result::has_result() const {
  1989. return (_has_bits_[0] & 0x00000002u) != 0;
  1990. }
  1991. inline void packetl2c_get_monkey_info_result::set_has_result() {
  1992. _has_bits_[0] |= 0x00000002u;
  1993. }
  1994. inline void packetl2c_get_monkey_info_result::clear_has_result() {
  1995. _has_bits_[0] &= ~0x00000002u;
  1996. }
  1997. inline void packetl2c_get_monkey_info_result::clear_result() {
  1998. result_ = 0;
  1999. clear_has_result();
  2000. }
  2001. inline ::google::protobuf::int32 packetl2c_get_monkey_info_result::result() const {
  2002. return result_;
  2003. }
  2004. inline void packetl2c_get_monkey_info_result::set_result(::google::protobuf::int32 value) {
  2005. set_has_result();
  2006. result_ = value;
  2007. }
  2008. // optional int32 bossCountDown = 3;
  2009. inline bool packetl2c_get_monkey_info_result::has_bosscountdown() const {
  2010. return (_has_bits_[0] & 0x00000004u) != 0;
  2011. }
  2012. inline void packetl2c_get_monkey_info_result::set_has_bosscountdown() {
  2013. _has_bits_[0] |= 0x00000004u;
  2014. }
  2015. inline void packetl2c_get_monkey_info_result::clear_has_bosscountdown() {
  2016. _has_bits_[0] &= ~0x00000004u;
  2017. }
  2018. inline void packetl2c_get_monkey_info_result::clear_bosscountdown() {
  2019. bosscountdown_ = 0;
  2020. clear_has_bosscountdown();
  2021. }
  2022. inline ::google::protobuf::int32 packetl2c_get_monkey_info_result::bosscountdown() const {
  2023. return bosscountdown_;
  2024. }
  2025. inline void packetl2c_get_monkey_info_result::set_bosscountdown(::google::protobuf::int32 value) {
  2026. set_has_bosscountdown();
  2027. bosscountdown_ = value;
  2028. }
  2029. // optional int64 jackpot = 4;
  2030. inline bool packetl2c_get_monkey_info_result::has_jackpot() const {
  2031. return (_has_bits_[0] & 0x00000008u) != 0;
  2032. }
  2033. inline void packetl2c_get_monkey_info_result::set_has_jackpot() {
  2034. _has_bits_[0] |= 0x00000008u;
  2035. }
  2036. inline void packetl2c_get_monkey_info_result::clear_has_jackpot() {
  2037. _has_bits_[0] &= ~0x00000008u;
  2038. }
  2039. inline void packetl2c_get_monkey_info_result::clear_jackpot() {
  2040. jackpot_ = GOOGLE_LONGLONG(0);
  2041. clear_has_jackpot();
  2042. }
  2043. inline ::google::protobuf::int64 packetl2c_get_monkey_info_result::jackpot() const {
  2044. return jackpot_;
  2045. }
  2046. inline void packetl2c_get_monkey_info_result::set_jackpot(::google::protobuf::int64 value) {
  2047. set_has_jackpot();
  2048. jackpot_ = value;
  2049. }
  2050. // -------------------------------------------------------------------
  2051. // packetl2c_bc_table_kill_monkey
  2052. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_monkey];
  2053. inline bool packetl2c_bc_table_kill_monkey::has_packet_id() const {
  2054. return (_has_bits_[0] & 0x00000001u) != 0;
  2055. }
  2056. inline void packetl2c_bc_table_kill_monkey::set_has_packet_id() {
  2057. _has_bits_[0] |= 0x00000001u;
  2058. }
  2059. inline void packetl2c_bc_table_kill_monkey::clear_has_packet_id() {
  2060. _has_bits_[0] &= ~0x00000001u;
  2061. }
  2062. inline void packetl2c_bc_table_kill_monkey::clear_packet_id() {
  2063. packet_id_ = 16154;
  2064. clear_has_packet_id();
  2065. }
  2066. inline ::fish_protocols::e_server_msg_type packetl2c_bc_table_kill_monkey::packet_id() const {
  2067. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2068. }
  2069. inline void packetl2c_bc_table_kill_monkey::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2070. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2071. set_has_packet_id();
  2072. packet_id_ = value;
  2073. }
  2074. // optional int32 playerId = 2;
  2075. inline bool packetl2c_bc_table_kill_monkey::has_playerid() const {
  2076. return (_has_bits_[0] & 0x00000002u) != 0;
  2077. }
  2078. inline void packetl2c_bc_table_kill_monkey::set_has_playerid() {
  2079. _has_bits_[0] |= 0x00000002u;
  2080. }
  2081. inline void packetl2c_bc_table_kill_monkey::clear_has_playerid() {
  2082. _has_bits_[0] &= ~0x00000002u;
  2083. }
  2084. inline void packetl2c_bc_table_kill_monkey::clear_playerid() {
  2085. playerid_ = 0;
  2086. clear_has_playerid();
  2087. }
  2088. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey::playerid() const {
  2089. return playerid_;
  2090. }
  2091. inline void packetl2c_bc_table_kill_monkey::set_playerid(::google::protobuf::int32 value) {
  2092. set_has_playerid();
  2093. playerid_ = value;
  2094. }
  2095. // optional int32 fishRate = 3;
  2096. inline bool packetl2c_bc_table_kill_monkey::has_fishrate() const {
  2097. return (_has_bits_[0] & 0x00000004u) != 0;
  2098. }
  2099. inline void packetl2c_bc_table_kill_monkey::set_has_fishrate() {
  2100. _has_bits_[0] |= 0x00000004u;
  2101. }
  2102. inline void packetl2c_bc_table_kill_monkey::clear_has_fishrate() {
  2103. _has_bits_[0] &= ~0x00000004u;
  2104. }
  2105. inline void packetl2c_bc_table_kill_monkey::clear_fishrate() {
  2106. fishrate_ = 0;
  2107. clear_has_fishrate();
  2108. }
  2109. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey::fishrate() const {
  2110. return fishrate_;
  2111. }
  2112. inline void packetl2c_bc_table_kill_monkey::set_fishrate(::google::protobuf::int32 value) {
  2113. set_has_fishrate();
  2114. fishrate_ = value;
  2115. }
  2116. // optional int32 bulletRate = 4;
  2117. inline bool packetl2c_bc_table_kill_monkey::has_bulletrate() const {
  2118. return (_has_bits_[0] & 0x00000008u) != 0;
  2119. }
  2120. inline void packetl2c_bc_table_kill_monkey::set_has_bulletrate() {
  2121. _has_bits_[0] |= 0x00000008u;
  2122. }
  2123. inline void packetl2c_bc_table_kill_monkey::clear_has_bulletrate() {
  2124. _has_bits_[0] &= ~0x00000008u;
  2125. }
  2126. inline void packetl2c_bc_table_kill_monkey::clear_bulletrate() {
  2127. bulletrate_ = 0;
  2128. clear_has_bulletrate();
  2129. }
  2130. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey::bulletrate() const {
  2131. return bulletrate_;
  2132. }
  2133. inline void packetl2c_bc_table_kill_monkey::set_bulletrate(::google::protobuf::int32 value) {
  2134. set_has_bulletrate();
  2135. bulletrate_ = value;
  2136. }
  2137. // optional int64 dropGold = 5;
  2138. inline bool packetl2c_bc_table_kill_monkey::has_dropgold() const {
  2139. return (_has_bits_[0] & 0x00000010u) != 0;
  2140. }
  2141. inline void packetl2c_bc_table_kill_monkey::set_has_dropgold() {
  2142. _has_bits_[0] |= 0x00000010u;
  2143. }
  2144. inline void packetl2c_bc_table_kill_monkey::clear_has_dropgold() {
  2145. _has_bits_[0] &= ~0x00000010u;
  2146. }
  2147. inline void packetl2c_bc_table_kill_monkey::clear_dropgold() {
  2148. dropgold_ = GOOGLE_LONGLONG(0);
  2149. clear_has_dropgold();
  2150. }
  2151. inline ::google::protobuf::int64 packetl2c_bc_table_kill_monkey::dropgold() const {
  2152. return dropgold_;
  2153. }
  2154. inline void packetl2c_bc_table_kill_monkey::set_dropgold(::google::protobuf::int64 value) {
  2155. set_has_dropgold();
  2156. dropgold_ = value;
  2157. }
  2158. // optional int32 rewardIndex = 6;
  2159. inline bool packetl2c_bc_table_kill_monkey::has_rewardindex() const {
  2160. return (_has_bits_[0] & 0x00000020u) != 0;
  2161. }
  2162. inline void packetl2c_bc_table_kill_monkey::set_has_rewardindex() {
  2163. _has_bits_[0] |= 0x00000020u;
  2164. }
  2165. inline void packetl2c_bc_table_kill_monkey::clear_has_rewardindex() {
  2166. _has_bits_[0] &= ~0x00000020u;
  2167. }
  2168. inline void packetl2c_bc_table_kill_monkey::clear_rewardindex() {
  2169. rewardindex_ = 0;
  2170. clear_has_rewardindex();
  2171. }
  2172. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey::rewardindex() const {
  2173. return rewardindex_;
  2174. }
  2175. inline void packetl2c_bc_table_kill_monkey::set_rewardindex(::google::protobuf::int32 value) {
  2176. set_has_rewardindex();
  2177. rewardindex_ = value;
  2178. }
  2179. // optional int64 gainjackpot = 7;
  2180. inline bool packetl2c_bc_table_kill_monkey::has_gainjackpot() const {
  2181. return (_has_bits_[0] & 0x00000040u) != 0;
  2182. }
  2183. inline void packetl2c_bc_table_kill_monkey::set_has_gainjackpot() {
  2184. _has_bits_[0] |= 0x00000040u;
  2185. }
  2186. inline void packetl2c_bc_table_kill_monkey::clear_has_gainjackpot() {
  2187. _has_bits_[0] &= ~0x00000040u;
  2188. }
  2189. inline void packetl2c_bc_table_kill_monkey::clear_gainjackpot() {
  2190. gainjackpot_ = GOOGLE_LONGLONG(0);
  2191. clear_has_gainjackpot();
  2192. }
  2193. inline ::google::protobuf::int64 packetl2c_bc_table_kill_monkey::gainjackpot() const {
  2194. return gainjackpot_;
  2195. }
  2196. inline void packetl2c_bc_table_kill_monkey::set_gainjackpot(::google::protobuf::int64 value) {
  2197. set_has_gainjackpot();
  2198. gainjackpot_ = value;
  2199. }
  2200. // repeated .fish_protocols.msg_item gainItems = 8;
  2201. inline int packetl2c_bc_table_kill_monkey::gainitems_size() const {
  2202. return gainitems_.size();
  2203. }
  2204. inline void packetl2c_bc_table_kill_monkey::clear_gainitems() {
  2205. gainitems_.Clear();
  2206. }
  2207. inline const ::fish_protocols::msg_item& packetl2c_bc_table_kill_monkey::gainitems(int index) const {
  2208. return gainitems_.Get(index);
  2209. }
  2210. inline ::fish_protocols::msg_item* packetl2c_bc_table_kill_monkey::mutable_gainitems(int index) {
  2211. return gainitems_.Mutable(index);
  2212. }
  2213. inline ::fish_protocols::msg_item* packetl2c_bc_table_kill_monkey::add_gainitems() {
  2214. return gainitems_.Add();
  2215. }
  2216. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  2217. packetl2c_bc_table_kill_monkey::gainitems() const {
  2218. return gainitems_;
  2219. }
  2220. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  2221. packetl2c_bc_table_kill_monkey::mutable_gainitems() {
  2222. return &gainitems_;
  2223. }
  2224. // repeated int32 graphArr = 9;
  2225. inline int packetl2c_bc_table_kill_monkey::grapharr_size() const {
  2226. return grapharr_.size();
  2227. }
  2228. inline void packetl2c_bc_table_kill_monkey::clear_grapharr() {
  2229. grapharr_.Clear();
  2230. }
  2231. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey::grapharr(int index) const {
  2232. return grapharr_.Get(index);
  2233. }
  2234. inline void packetl2c_bc_table_kill_monkey::set_grapharr(int index, ::google::protobuf::int32 value) {
  2235. grapharr_.Set(index, value);
  2236. }
  2237. inline void packetl2c_bc_table_kill_monkey::add_grapharr(::google::protobuf::int32 value) {
  2238. grapharr_.Add(value);
  2239. }
  2240. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  2241. packetl2c_bc_table_kill_monkey::grapharr() const {
  2242. return grapharr_;
  2243. }
  2244. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  2245. packetl2c_bc_table_kill_monkey::mutable_grapharr() {
  2246. return &grapharr_;
  2247. }
  2248. // optional int32 point = 10;
  2249. inline bool packetl2c_bc_table_kill_monkey::has_point() const {
  2250. return (_has_bits_[0] & 0x00000200u) != 0;
  2251. }
  2252. inline void packetl2c_bc_table_kill_monkey::set_has_point() {
  2253. _has_bits_[0] |= 0x00000200u;
  2254. }
  2255. inline void packetl2c_bc_table_kill_monkey::clear_has_point() {
  2256. _has_bits_[0] &= ~0x00000200u;
  2257. }
  2258. inline void packetl2c_bc_table_kill_monkey::clear_point() {
  2259. point_ = 0;
  2260. clear_has_point();
  2261. }
  2262. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey::point() const {
  2263. return point_;
  2264. }
  2265. inline void packetl2c_bc_table_kill_monkey::set_point(::google::protobuf::int32 value) {
  2266. set_has_point();
  2267. point_ = value;
  2268. }
  2269. // optional int32 addPoint = 11;
  2270. inline bool packetl2c_bc_table_kill_monkey::has_addpoint() const {
  2271. return (_has_bits_[0] & 0x00000400u) != 0;
  2272. }
  2273. inline void packetl2c_bc_table_kill_monkey::set_has_addpoint() {
  2274. _has_bits_[0] |= 0x00000400u;
  2275. }
  2276. inline void packetl2c_bc_table_kill_monkey::clear_has_addpoint() {
  2277. _has_bits_[0] &= ~0x00000400u;
  2278. }
  2279. inline void packetl2c_bc_table_kill_monkey::clear_addpoint() {
  2280. addpoint_ = 0;
  2281. clear_has_addpoint();
  2282. }
  2283. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey::addpoint() const {
  2284. return addpoint_;
  2285. }
  2286. inline void packetl2c_bc_table_kill_monkey::set_addpoint(::google::protobuf::int32 value) {
  2287. set_has_addpoint();
  2288. addpoint_ = value;
  2289. }
  2290. // optional int64 jackpot = 12;
  2291. inline bool packetl2c_bc_table_kill_monkey::has_jackpot() const {
  2292. return (_has_bits_[0] & 0x00000800u) != 0;
  2293. }
  2294. inline void packetl2c_bc_table_kill_monkey::set_has_jackpot() {
  2295. _has_bits_[0] |= 0x00000800u;
  2296. }
  2297. inline void packetl2c_bc_table_kill_monkey::clear_has_jackpot() {
  2298. _has_bits_[0] &= ~0x00000800u;
  2299. }
  2300. inline void packetl2c_bc_table_kill_monkey::clear_jackpot() {
  2301. jackpot_ = GOOGLE_LONGLONG(0);
  2302. clear_has_jackpot();
  2303. }
  2304. inline ::google::protobuf::int64 packetl2c_bc_table_kill_monkey::jackpot() const {
  2305. return jackpot_;
  2306. }
  2307. inline void packetl2c_bc_table_kill_monkey::set_jackpot(::google::protobuf::int64 value) {
  2308. set_has_jackpot();
  2309. jackpot_ = value;
  2310. }
  2311. // -------------------------------------------------------------------
  2312. // packetl2c_bc_table_kill_monkey_fish
  2313. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_monkey_fish];
  2314. inline bool packetl2c_bc_table_kill_monkey_fish::has_packet_id() const {
  2315. return (_has_bits_[0] & 0x00000001u) != 0;
  2316. }
  2317. inline void packetl2c_bc_table_kill_monkey_fish::set_has_packet_id() {
  2318. _has_bits_[0] |= 0x00000001u;
  2319. }
  2320. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_packet_id() {
  2321. _has_bits_[0] &= ~0x00000001u;
  2322. }
  2323. inline void packetl2c_bc_table_kill_monkey_fish::clear_packet_id() {
  2324. packet_id_ = 16225;
  2325. clear_has_packet_id();
  2326. }
  2327. inline ::fish_protocols::e_server_msg_type packetl2c_bc_table_kill_monkey_fish::packet_id() const {
  2328. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2329. }
  2330. inline void packetl2c_bc_table_kill_monkey_fish::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2331. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2332. set_has_packet_id();
  2333. packet_id_ = value;
  2334. }
  2335. // optional int32 playerId = 2;
  2336. inline bool packetl2c_bc_table_kill_monkey_fish::has_playerid() const {
  2337. return (_has_bits_[0] & 0x00000002u) != 0;
  2338. }
  2339. inline void packetl2c_bc_table_kill_monkey_fish::set_has_playerid() {
  2340. _has_bits_[0] |= 0x00000002u;
  2341. }
  2342. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_playerid() {
  2343. _has_bits_[0] &= ~0x00000002u;
  2344. }
  2345. inline void packetl2c_bc_table_kill_monkey_fish::clear_playerid() {
  2346. playerid_ = 0;
  2347. clear_has_playerid();
  2348. }
  2349. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey_fish::playerid() const {
  2350. return playerid_;
  2351. }
  2352. inline void packetl2c_bc_table_kill_monkey_fish::set_playerid(::google::protobuf::int32 value) {
  2353. set_has_playerid();
  2354. playerid_ = value;
  2355. }
  2356. // optional int32 fishId = 3;
  2357. inline bool packetl2c_bc_table_kill_monkey_fish::has_fishid() const {
  2358. return (_has_bits_[0] & 0x00000004u) != 0;
  2359. }
  2360. inline void packetl2c_bc_table_kill_monkey_fish::set_has_fishid() {
  2361. _has_bits_[0] |= 0x00000004u;
  2362. }
  2363. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_fishid() {
  2364. _has_bits_[0] &= ~0x00000004u;
  2365. }
  2366. inline void packetl2c_bc_table_kill_monkey_fish::clear_fishid() {
  2367. fishid_ = 0;
  2368. clear_has_fishid();
  2369. }
  2370. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey_fish::fishid() const {
  2371. return fishid_;
  2372. }
  2373. inline void packetl2c_bc_table_kill_monkey_fish::set_fishid(::google::protobuf::int32 value) {
  2374. set_has_fishid();
  2375. fishid_ = value;
  2376. }
  2377. // repeated int32 slotArr = 4;
  2378. inline int packetl2c_bc_table_kill_monkey_fish::slotarr_size() const {
  2379. return slotarr_.size();
  2380. }
  2381. inline void packetl2c_bc_table_kill_monkey_fish::clear_slotarr() {
  2382. slotarr_.Clear();
  2383. }
  2384. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey_fish::slotarr(int index) const {
  2385. return slotarr_.Get(index);
  2386. }
  2387. inline void packetl2c_bc_table_kill_monkey_fish::set_slotarr(int index, ::google::protobuf::int32 value) {
  2388. slotarr_.Set(index, value);
  2389. }
  2390. inline void packetl2c_bc_table_kill_monkey_fish::add_slotarr(::google::protobuf::int32 value) {
  2391. slotarr_.Add(value);
  2392. }
  2393. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  2394. packetl2c_bc_table_kill_monkey_fish::slotarr() const {
  2395. return slotarr_;
  2396. }
  2397. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  2398. packetl2c_bc_table_kill_monkey_fish::mutable_slotarr() {
  2399. return &slotarr_;
  2400. }
  2401. // optional int64 dropGold = 5;
  2402. inline bool packetl2c_bc_table_kill_monkey_fish::has_dropgold() const {
  2403. return (_has_bits_[0] & 0x00000010u) != 0;
  2404. }
  2405. inline void packetl2c_bc_table_kill_monkey_fish::set_has_dropgold() {
  2406. _has_bits_[0] |= 0x00000010u;
  2407. }
  2408. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_dropgold() {
  2409. _has_bits_[0] &= ~0x00000010u;
  2410. }
  2411. inline void packetl2c_bc_table_kill_monkey_fish::clear_dropgold() {
  2412. dropgold_ = GOOGLE_LONGLONG(0);
  2413. clear_has_dropgold();
  2414. }
  2415. inline ::google::protobuf::int64 packetl2c_bc_table_kill_monkey_fish::dropgold() const {
  2416. return dropgold_;
  2417. }
  2418. inline void packetl2c_bc_table_kill_monkey_fish::set_dropgold(::google::protobuf::int64 value) {
  2419. set_has_dropgold();
  2420. dropgold_ = value;
  2421. }
  2422. // optional int64 gainjackpot = 6;
  2423. inline bool packetl2c_bc_table_kill_monkey_fish::has_gainjackpot() const {
  2424. return (_has_bits_[0] & 0x00000020u) != 0;
  2425. }
  2426. inline void packetl2c_bc_table_kill_monkey_fish::set_has_gainjackpot() {
  2427. _has_bits_[0] |= 0x00000020u;
  2428. }
  2429. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_gainjackpot() {
  2430. _has_bits_[0] &= ~0x00000020u;
  2431. }
  2432. inline void packetl2c_bc_table_kill_monkey_fish::clear_gainjackpot() {
  2433. gainjackpot_ = GOOGLE_LONGLONG(0);
  2434. clear_has_gainjackpot();
  2435. }
  2436. inline ::google::protobuf::int64 packetl2c_bc_table_kill_monkey_fish::gainjackpot() const {
  2437. return gainjackpot_;
  2438. }
  2439. inline void packetl2c_bc_table_kill_monkey_fish::set_gainjackpot(::google::protobuf::int64 value) {
  2440. set_has_gainjackpot();
  2441. gainjackpot_ = value;
  2442. }
  2443. // optional int32 point = 7;
  2444. inline bool packetl2c_bc_table_kill_monkey_fish::has_point() const {
  2445. return (_has_bits_[0] & 0x00000040u) != 0;
  2446. }
  2447. inline void packetl2c_bc_table_kill_monkey_fish::set_has_point() {
  2448. _has_bits_[0] |= 0x00000040u;
  2449. }
  2450. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_point() {
  2451. _has_bits_[0] &= ~0x00000040u;
  2452. }
  2453. inline void packetl2c_bc_table_kill_monkey_fish::clear_point() {
  2454. point_ = 0;
  2455. clear_has_point();
  2456. }
  2457. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey_fish::point() const {
  2458. return point_;
  2459. }
  2460. inline void packetl2c_bc_table_kill_monkey_fish::set_point(::google::protobuf::int32 value) {
  2461. set_has_point();
  2462. point_ = value;
  2463. }
  2464. // optional int32 addPoint = 8;
  2465. inline bool packetl2c_bc_table_kill_monkey_fish::has_addpoint() const {
  2466. return (_has_bits_[0] & 0x00000080u) != 0;
  2467. }
  2468. inline void packetl2c_bc_table_kill_monkey_fish::set_has_addpoint() {
  2469. _has_bits_[0] |= 0x00000080u;
  2470. }
  2471. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_addpoint() {
  2472. _has_bits_[0] &= ~0x00000080u;
  2473. }
  2474. inline void packetl2c_bc_table_kill_monkey_fish::clear_addpoint() {
  2475. addpoint_ = 0;
  2476. clear_has_addpoint();
  2477. }
  2478. inline ::google::protobuf::int32 packetl2c_bc_table_kill_monkey_fish::addpoint() const {
  2479. return addpoint_;
  2480. }
  2481. inline void packetl2c_bc_table_kill_monkey_fish::set_addpoint(::google::protobuf::int32 value) {
  2482. set_has_addpoint();
  2483. addpoint_ = value;
  2484. }
  2485. // optional int64 jackpot = 9;
  2486. inline bool packetl2c_bc_table_kill_monkey_fish::has_jackpot() const {
  2487. return (_has_bits_[0] & 0x00000100u) != 0;
  2488. }
  2489. inline void packetl2c_bc_table_kill_monkey_fish::set_has_jackpot() {
  2490. _has_bits_[0] |= 0x00000100u;
  2491. }
  2492. inline void packetl2c_bc_table_kill_monkey_fish::clear_has_jackpot() {
  2493. _has_bits_[0] &= ~0x00000100u;
  2494. }
  2495. inline void packetl2c_bc_table_kill_monkey_fish::clear_jackpot() {
  2496. jackpot_ = GOOGLE_LONGLONG(0);
  2497. clear_has_jackpot();
  2498. }
  2499. inline ::google::protobuf::int64 packetl2c_bc_table_kill_monkey_fish::jackpot() const {
  2500. return jackpot_;
  2501. }
  2502. inline void packetl2c_bc_table_kill_monkey_fish::set_jackpot(::google::protobuf::int64 value) {
  2503. set_has_jackpot();
  2504. jackpot_ = value;
  2505. }
  2506. // -------------------------------------------------------------------
  2507. // packetc2l_get_kill_monkey_history
  2508. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_kill_monkey_history];
  2509. inline bool packetc2l_get_kill_monkey_history::has_packet_id() const {
  2510. return (_has_bits_[0] & 0x00000001u) != 0;
  2511. }
  2512. inline void packetc2l_get_kill_monkey_history::set_has_packet_id() {
  2513. _has_bits_[0] |= 0x00000001u;
  2514. }
  2515. inline void packetc2l_get_kill_monkey_history::clear_has_packet_id() {
  2516. _has_bits_[0] &= ~0x00000001u;
  2517. }
  2518. inline void packetc2l_get_kill_monkey_history::clear_packet_id() {
  2519. packet_id_ = 10219;
  2520. clear_has_packet_id();
  2521. }
  2522. inline ::fish_protocols::e_server_msg_type packetc2l_get_kill_monkey_history::packet_id() const {
  2523. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2524. }
  2525. inline void packetc2l_get_kill_monkey_history::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2526. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2527. set_has_packet_id();
  2528. packet_id_ = value;
  2529. }
  2530. // -------------------------------------------------------------------
  2531. // packetl2c_get_kill_monkey_history_result
  2532. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_kill_monkey_history_result];
  2533. inline bool packetl2c_get_kill_monkey_history_result::has_packet_id() const {
  2534. return (_has_bits_[0] & 0x00000001u) != 0;
  2535. }
  2536. inline void packetl2c_get_kill_monkey_history_result::set_has_packet_id() {
  2537. _has_bits_[0] |= 0x00000001u;
  2538. }
  2539. inline void packetl2c_get_kill_monkey_history_result::clear_has_packet_id() {
  2540. _has_bits_[0] &= ~0x00000001u;
  2541. }
  2542. inline void packetl2c_get_kill_monkey_history_result::clear_packet_id() {
  2543. packet_id_ = 16224;
  2544. clear_has_packet_id();
  2545. }
  2546. inline ::fish_protocols::e_server_msg_type packetl2c_get_kill_monkey_history_result::packet_id() const {
  2547. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2548. }
  2549. inline void packetl2c_get_kill_monkey_history_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2550. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2551. set_has_packet_id();
  2552. packet_id_ = value;
  2553. }
  2554. // optional int64 jackpot = 2;
  2555. inline bool packetl2c_get_kill_monkey_history_result::has_jackpot() const {
  2556. return (_has_bits_[0] & 0x00000002u) != 0;
  2557. }
  2558. inline void packetl2c_get_kill_monkey_history_result::set_has_jackpot() {
  2559. _has_bits_[0] |= 0x00000002u;
  2560. }
  2561. inline void packetl2c_get_kill_monkey_history_result::clear_has_jackpot() {
  2562. _has_bits_[0] &= ~0x00000002u;
  2563. }
  2564. inline void packetl2c_get_kill_monkey_history_result::clear_jackpot() {
  2565. jackpot_ = GOOGLE_LONGLONG(0);
  2566. clear_has_jackpot();
  2567. }
  2568. inline ::google::protobuf::int64 packetl2c_get_kill_monkey_history_result::jackpot() const {
  2569. return jackpot_;
  2570. }
  2571. inline void packetl2c_get_kill_monkey_history_result::set_jackpot(::google::protobuf::int64 value) {
  2572. set_has_jackpot();
  2573. jackpot_ = value;
  2574. }
  2575. // repeated .fish_protocols.killMonkeyHistory historyList = 3;
  2576. inline int packetl2c_get_kill_monkey_history_result::historylist_size() const {
  2577. return historylist_.size();
  2578. }
  2579. inline void packetl2c_get_kill_monkey_history_result::clear_historylist() {
  2580. historylist_.Clear();
  2581. }
  2582. inline const ::fish_protocols::killMonkeyHistory& packetl2c_get_kill_monkey_history_result::historylist(int index) const {
  2583. return historylist_.Get(index);
  2584. }
  2585. inline ::fish_protocols::killMonkeyHistory* packetl2c_get_kill_monkey_history_result::mutable_historylist(int index) {
  2586. return historylist_.Mutable(index);
  2587. }
  2588. inline ::fish_protocols::killMonkeyHistory* packetl2c_get_kill_monkey_history_result::add_historylist() {
  2589. return historylist_.Add();
  2590. }
  2591. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::killMonkeyHistory >&
  2592. packetl2c_get_kill_monkey_history_result::historylist() const {
  2593. return historylist_;
  2594. }
  2595. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::killMonkeyHistory >*
  2596. packetl2c_get_kill_monkey_history_result::mutable_historylist() {
  2597. return &historylist_;
  2598. }
  2599. // -------------------------------------------------------------------
  2600. // packetc2l_call_monkey
  2601. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_call_monkey];
  2602. inline bool packetc2l_call_monkey::has_packet_id() const {
  2603. return (_has_bits_[0] & 0x00000001u) != 0;
  2604. }
  2605. inline void packetc2l_call_monkey::set_has_packet_id() {
  2606. _has_bits_[0] |= 0x00000001u;
  2607. }
  2608. inline void packetc2l_call_monkey::clear_has_packet_id() {
  2609. _has_bits_[0] &= ~0x00000001u;
  2610. }
  2611. inline void packetc2l_call_monkey::clear_packet_id() {
  2612. packet_id_ = 10220;
  2613. clear_has_packet_id();
  2614. }
  2615. inline ::fish_protocols::e_server_msg_type packetc2l_call_monkey::packet_id() const {
  2616. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2617. }
  2618. inline void packetc2l_call_monkey::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2619. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2620. set_has_packet_id();
  2621. packet_id_ = value;
  2622. }
  2623. // -------------------------------------------------------------------
  2624. // packetl2c_call_monkey_result
  2625. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_call_monkey_result];
  2626. inline bool packetl2c_call_monkey_result::has_packet_id() const {
  2627. return (_has_bits_[0] & 0x00000001u) != 0;
  2628. }
  2629. inline void packetl2c_call_monkey_result::set_has_packet_id() {
  2630. _has_bits_[0] |= 0x00000001u;
  2631. }
  2632. inline void packetl2c_call_monkey_result::clear_has_packet_id() {
  2633. _has_bits_[0] &= ~0x00000001u;
  2634. }
  2635. inline void packetl2c_call_monkey_result::clear_packet_id() {
  2636. packet_id_ = 16226;
  2637. clear_has_packet_id();
  2638. }
  2639. inline ::fish_protocols::e_server_msg_type packetl2c_call_monkey_result::packet_id() const {
  2640. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2641. }
  2642. inline void packetl2c_call_monkey_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2643. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2644. set_has_packet_id();
  2645. packet_id_ = value;
  2646. }
  2647. // optional int32 result = 2;
  2648. inline bool packetl2c_call_monkey_result::has_result() const {
  2649. return (_has_bits_[0] & 0x00000002u) != 0;
  2650. }
  2651. inline void packetl2c_call_monkey_result::set_has_result() {
  2652. _has_bits_[0] |= 0x00000002u;
  2653. }
  2654. inline void packetl2c_call_monkey_result::clear_has_result() {
  2655. _has_bits_[0] &= ~0x00000002u;
  2656. }
  2657. inline void packetl2c_call_monkey_result::clear_result() {
  2658. result_ = 0;
  2659. clear_has_result();
  2660. }
  2661. inline ::google::protobuf::int32 packetl2c_call_monkey_result::result() const {
  2662. return result_;
  2663. }
  2664. inline void packetl2c_call_monkey_result::set_result(::google::protobuf::int32 value) {
  2665. set_has_result();
  2666. result_ = value;
  2667. }
  2668. // -------------------------------------------------------------------
  2669. // packetc2l_monkey_exchange
  2670. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_monkey_exchange];
  2671. inline bool packetc2l_monkey_exchange::has_packet_id() const {
  2672. return (_has_bits_[0] & 0x00000001u) != 0;
  2673. }
  2674. inline void packetc2l_monkey_exchange::set_has_packet_id() {
  2675. _has_bits_[0] |= 0x00000001u;
  2676. }
  2677. inline void packetc2l_monkey_exchange::clear_has_packet_id() {
  2678. _has_bits_[0] &= ~0x00000001u;
  2679. }
  2680. inline void packetc2l_monkey_exchange::clear_packet_id() {
  2681. packet_id_ = 10222;
  2682. clear_has_packet_id();
  2683. }
  2684. inline ::fish_protocols::e_server_msg_type packetc2l_monkey_exchange::packet_id() const {
  2685. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2686. }
  2687. inline void packetc2l_monkey_exchange::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2688. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2689. set_has_packet_id();
  2690. packet_id_ = value;
  2691. }
  2692. // optional bool exchangeAll = 2;
  2693. inline bool packetc2l_monkey_exchange::has_exchangeall() const {
  2694. return (_has_bits_[0] & 0x00000002u) != 0;
  2695. }
  2696. inline void packetc2l_monkey_exchange::set_has_exchangeall() {
  2697. _has_bits_[0] |= 0x00000002u;
  2698. }
  2699. inline void packetc2l_monkey_exchange::clear_has_exchangeall() {
  2700. _has_bits_[0] &= ~0x00000002u;
  2701. }
  2702. inline void packetc2l_monkey_exchange::clear_exchangeall() {
  2703. exchangeall_ = false;
  2704. clear_has_exchangeall();
  2705. }
  2706. inline bool packetc2l_monkey_exchange::exchangeall() const {
  2707. return exchangeall_;
  2708. }
  2709. inline void packetc2l_monkey_exchange::set_exchangeall(bool value) {
  2710. set_has_exchangeall();
  2711. exchangeall_ = value;
  2712. }
  2713. // optional int32 exchangeIndex = 3;
  2714. inline bool packetc2l_monkey_exchange::has_exchangeindex() const {
  2715. return (_has_bits_[0] & 0x00000004u) != 0;
  2716. }
  2717. inline void packetc2l_monkey_exchange::set_has_exchangeindex() {
  2718. _has_bits_[0] |= 0x00000004u;
  2719. }
  2720. inline void packetc2l_monkey_exchange::clear_has_exchangeindex() {
  2721. _has_bits_[0] &= ~0x00000004u;
  2722. }
  2723. inline void packetc2l_monkey_exchange::clear_exchangeindex() {
  2724. exchangeindex_ = 0;
  2725. clear_has_exchangeindex();
  2726. }
  2727. inline ::google::protobuf::int32 packetc2l_monkey_exchange::exchangeindex() const {
  2728. return exchangeindex_;
  2729. }
  2730. inline void packetc2l_monkey_exchange::set_exchangeindex(::google::protobuf::int32 value) {
  2731. set_has_exchangeindex();
  2732. exchangeindex_ = value;
  2733. }
  2734. // -------------------------------------------------------------------
  2735. // packetl2c_monkey_exchange_result
  2736. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_monkey_exchange_result];
  2737. inline bool packetl2c_monkey_exchange_result::has_packet_id() const {
  2738. return (_has_bits_[0] & 0x00000001u) != 0;
  2739. }
  2740. inline void packetl2c_monkey_exchange_result::set_has_packet_id() {
  2741. _has_bits_[0] |= 0x00000001u;
  2742. }
  2743. inline void packetl2c_monkey_exchange_result::clear_has_packet_id() {
  2744. _has_bits_[0] &= ~0x00000001u;
  2745. }
  2746. inline void packetl2c_monkey_exchange_result::clear_packet_id() {
  2747. packet_id_ = 16228;
  2748. clear_has_packet_id();
  2749. }
  2750. inline ::fish_protocols::e_server_msg_type packetl2c_monkey_exchange_result::packet_id() const {
  2751. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2752. }
  2753. inline void packetl2c_monkey_exchange_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2754. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2755. set_has_packet_id();
  2756. packet_id_ = value;
  2757. }
  2758. // optional int32 result = 2;
  2759. inline bool packetl2c_monkey_exchange_result::has_result() const {
  2760. return (_has_bits_[0] & 0x00000002u) != 0;
  2761. }
  2762. inline void packetl2c_monkey_exchange_result::set_has_result() {
  2763. _has_bits_[0] |= 0x00000002u;
  2764. }
  2765. inline void packetl2c_monkey_exchange_result::clear_has_result() {
  2766. _has_bits_[0] &= ~0x00000002u;
  2767. }
  2768. inline void packetl2c_monkey_exchange_result::clear_result() {
  2769. result_ = 0;
  2770. clear_has_result();
  2771. }
  2772. inline ::google::protobuf::int32 packetl2c_monkey_exchange_result::result() const {
  2773. return result_;
  2774. }
  2775. inline void packetl2c_monkey_exchange_result::set_result(::google::protobuf::int32 value) {
  2776. set_has_result();
  2777. result_ = value;
  2778. }
  2779. // optional bool exchangeAll = 3;
  2780. inline bool packetl2c_monkey_exchange_result::has_exchangeall() const {
  2781. return (_has_bits_[0] & 0x00000004u) != 0;
  2782. }
  2783. inline void packetl2c_monkey_exchange_result::set_has_exchangeall() {
  2784. _has_bits_[0] |= 0x00000004u;
  2785. }
  2786. inline void packetl2c_monkey_exchange_result::clear_has_exchangeall() {
  2787. _has_bits_[0] &= ~0x00000004u;
  2788. }
  2789. inline void packetl2c_monkey_exchange_result::clear_exchangeall() {
  2790. exchangeall_ = false;
  2791. clear_has_exchangeall();
  2792. }
  2793. inline bool packetl2c_monkey_exchange_result::exchangeall() const {
  2794. return exchangeall_;
  2795. }
  2796. inline void packetl2c_monkey_exchange_result::set_exchangeall(bool value) {
  2797. set_has_exchangeall();
  2798. exchangeall_ = value;
  2799. }
  2800. // repeated int32 exchangeIndex = 4;
  2801. inline int packetl2c_monkey_exchange_result::exchangeindex_size() const {
  2802. return exchangeindex_.size();
  2803. }
  2804. inline void packetl2c_monkey_exchange_result::clear_exchangeindex() {
  2805. exchangeindex_.Clear();
  2806. }
  2807. inline ::google::protobuf::int32 packetl2c_monkey_exchange_result::exchangeindex(int index) const {
  2808. return exchangeindex_.Get(index);
  2809. }
  2810. inline void packetl2c_monkey_exchange_result::set_exchangeindex(int index, ::google::protobuf::int32 value) {
  2811. exchangeindex_.Set(index, value);
  2812. }
  2813. inline void packetl2c_monkey_exchange_result::add_exchangeindex(::google::protobuf::int32 value) {
  2814. exchangeindex_.Add(value);
  2815. }
  2816. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  2817. packetl2c_monkey_exchange_result::exchangeindex() const {
  2818. return exchangeindex_;
  2819. }
  2820. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  2821. packetl2c_monkey_exchange_result::mutable_exchangeindex() {
  2822. return &exchangeindex_;
  2823. }
  2824. // repeated .fish_protocols.ItemInfo items = 5;
  2825. inline int packetl2c_monkey_exchange_result::items_size() const {
  2826. return items_.size();
  2827. }
  2828. inline void packetl2c_monkey_exchange_result::clear_items() {
  2829. items_.Clear();
  2830. }
  2831. inline const ::fish_protocols::ItemInfo& packetl2c_monkey_exchange_result::items(int index) const {
  2832. return items_.Get(index);
  2833. }
  2834. inline ::fish_protocols::ItemInfo* packetl2c_monkey_exchange_result::mutable_items(int index) {
  2835. return items_.Mutable(index);
  2836. }
  2837. inline ::fish_protocols::ItemInfo* packetl2c_monkey_exchange_result::add_items() {
  2838. return items_.Add();
  2839. }
  2840. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >&
  2841. packetl2c_monkey_exchange_result::items() const {
  2842. return items_;
  2843. }
  2844. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >*
  2845. packetl2c_monkey_exchange_result::mutable_items() {
  2846. return &items_;
  2847. }
  2848. // @@protoc_insertion_point(namespace_scope)
  2849. } // namespace fish_protocols
  2850. #ifndef SWIG
  2851. namespace google {
  2852. namespace protobuf {
  2853. } // namespace google
  2854. } // namespace protobuf
  2855. #endif // SWIG
  2856. // @@protoc_insertion_point(global_scope)
  2857. #endif // PROTOBUF_fish_5fmonkey_5fpalace_2eproto__INCLUDED