fish_activity.pb.h 142 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_activity.proto
  3. #ifndef PROTOBUF_fish_5factivity_2eproto__INCLUDED
  4. #define PROTOBUF_fish_5factivity_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/message.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. #include <google/protobuf/unknown_field_set.h>
  22. #include "fish_def.pb.h"
  23. #include "fish_type_def.pb.h"
  24. #include "msg_type_def.pb.h"
  25. // @@protoc_insertion_point(includes)
  26. namespace fish_protocols {
  27. // Internal implementation detail -- do not call these.
  28. void protobuf_AddDesc_fish_5factivity_2eproto();
  29. void protobuf_AssignDesc_fish_5factivity_2eproto();
  30. void protobuf_ShutdownFile_fish_5factivity_2eproto();
  31. class packetc2l_get_torpedo_rank;
  32. class TorpedoRankInfo;
  33. class TorpedoRankChangeInfo;
  34. class packetl2c_get_torpedo_rank_result;
  35. class packetc2l_get_torpedo_rank_change_list;
  36. class packetl2c_get_torpedo_rank_change_list_result;
  37. class packetc2l_receive_torpedo_guaranteed_award;
  38. class packetl2c_receive_torpedo_guaranteed_award_result;
  39. class SummerDayLotteryInfo;
  40. class packetc2l_start_Sd_Lottery;
  41. class packetl2c_start_Sd_Lottery_result;
  42. class packetl2c_activity_item_change;
  43. class packetc2l_Sd_item_exchange;
  44. class packetl2c_Sd_item_exchange_result;
  45. class packetc2l_Nd_get_activity_info;
  46. class packetl2c_Nd_get_activity_info_result;
  47. class packetc2l_Nd_start_Lottery;
  48. class packetl2c_Nd_start_Lottery_result;
  49. class packetc2l_Nd_item_exchange;
  50. class packetl2c_Nd_item_exchange_result;
  51. class packetl2c_get_grand_prix_info_result;
  52. // ===================================================================
  53. class packetc2l_get_torpedo_rank : public ::google::protobuf::Message {
  54. public:
  55. packetc2l_get_torpedo_rank();
  56. virtual ~packetc2l_get_torpedo_rank();
  57. packetc2l_get_torpedo_rank(const packetc2l_get_torpedo_rank& from);
  58. inline packetc2l_get_torpedo_rank& operator=(const packetc2l_get_torpedo_rank& from) {
  59. CopyFrom(from);
  60. return *this;
  61. }
  62. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  63. return _unknown_fields_;
  64. }
  65. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  66. return &_unknown_fields_;
  67. }
  68. static const ::google::protobuf::Descriptor* descriptor();
  69. static const packetc2l_get_torpedo_rank& default_instance();
  70. void Swap(packetc2l_get_torpedo_rank* other);
  71. // implements Message ----------------------------------------------
  72. packetc2l_get_torpedo_rank* New() const;
  73. void CopyFrom(const ::google::protobuf::Message& from);
  74. void MergeFrom(const ::google::protobuf::Message& from);
  75. void CopyFrom(const packetc2l_get_torpedo_rank& from);
  76. void MergeFrom(const packetc2l_get_torpedo_rank& from);
  77. void Clear();
  78. bool IsInitialized() const;
  79. int ByteSize() const;
  80. bool MergePartialFromCodedStream(
  81. ::google::protobuf::io::CodedInputStream* input);
  82. void SerializeWithCachedSizes(
  83. ::google::protobuf::io::CodedOutputStream* output) const;
  84. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  85. int GetCachedSize() const { return _cached_size_; }
  86. private:
  87. void SharedCtor();
  88. void SharedDtor();
  89. void SetCachedSize(int size) const;
  90. public:
  91. ::google::protobuf::Metadata GetMetadata() const;
  92. // nested types ----------------------------------------------------
  93. // accessors -------------------------------------------------------
  94. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank];
  95. inline bool has_packet_id() const;
  96. inline void clear_packet_id();
  97. static const int kPacketIdFieldNumber = 1;
  98. inline ::fish_protocols::e_server_msg_type packet_id() const;
  99. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  100. // optional int32 rankType = 2;
  101. inline bool has_ranktype() const;
  102. inline void clear_ranktype();
  103. static const int kRankTypeFieldNumber = 2;
  104. inline ::google::protobuf::int32 ranktype() const;
  105. inline void set_ranktype(::google::protobuf::int32 value);
  106. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_torpedo_rank)
  107. private:
  108. inline void set_has_packet_id();
  109. inline void clear_has_packet_id();
  110. inline void set_has_ranktype();
  111. inline void clear_has_ranktype();
  112. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  113. int packet_id_;
  114. ::google::protobuf::int32 ranktype_;
  115. mutable int _cached_size_;
  116. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  117. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  118. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  119. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  120. void InitAsDefaultInstance();
  121. static packetc2l_get_torpedo_rank* default_instance_;
  122. };
  123. // -------------------------------------------------------------------
  124. class TorpedoRankInfo : public ::google::protobuf::Message {
  125. public:
  126. TorpedoRankInfo();
  127. virtual ~TorpedoRankInfo();
  128. TorpedoRankInfo(const TorpedoRankInfo& from);
  129. inline TorpedoRankInfo& operator=(const TorpedoRankInfo& from) {
  130. CopyFrom(from);
  131. return *this;
  132. }
  133. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  134. return _unknown_fields_;
  135. }
  136. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  137. return &_unknown_fields_;
  138. }
  139. static const ::google::protobuf::Descriptor* descriptor();
  140. static const TorpedoRankInfo& default_instance();
  141. void Swap(TorpedoRankInfo* other);
  142. // implements Message ----------------------------------------------
  143. TorpedoRankInfo* New() const;
  144. void CopyFrom(const ::google::protobuf::Message& from);
  145. void MergeFrom(const ::google::protobuf::Message& from);
  146. void CopyFrom(const TorpedoRankInfo& from);
  147. void MergeFrom(const TorpedoRankInfo& from);
  148. void Clear();
  149. bool IsInitialized() const;
  150. int ByteSize() const;
  151. bool MergePartialFromCodedStream(
  152. ::google::protobuf::io::CodedInputStream* input);
  153. void SerializeWithCachedSizes(
  154. ::google::protobuf::io::CodedOutputStream* output) const;
  155. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  156. int GetCachedSize() const { return _cached_size_; }
  157. private:
  158. void SharedCtor();
  159. void SharedDtor();
  160. void SetCachedSize(int size) const;
  161. public:
  162. ::google::protobuf::Metadata GetMetadata() const;
  163. // nested types ----------------------------------------------------
  164. // accessors -------------------------------------------------------
  165. // optional int32 playerId = 1;
  166. inline bool has_playerid() const;
  167. inline void clear_playerid();
  168. static const int kPlayerIdFieldNumber = 1;
  169. inline ::google::protobuf::int32 playerid() const;
  170. inline void set_playerid(::google::protobuf::int32 value);
  171. // optional string nickName = 2;
  172. inline bool has_nickname() const;
  173. inline void clear_nickname();
  174. static const int kNickNameFieldNumber = 2;
  175. inline const ::std::string& nickname() const;
  176. inline void set_nickname(const ::std::string& value);
  177. inline void set_nickname(const char* value);
  178. inline void set_nickname(const char* value, size_t size);
  179. inline ::std::string* mutable_nickname();
  180. inline ::std::string* release_nickname();
  181. inline void set_allocated_nickname(::std::string* nickname);
  182. // optional int32 gold = 3;
  183. inline bool has_gold() const;
  184. inline void clear_gold();
  185. static const int kGoldFieldNumber = 3;
  186. inline ::google::protobuf::int32 gold() const;
  187. inline void set_gold(::google::protobuf::int32 value);
  188. // optional int32 headid = 4;
  189. inline bool has_headid() const;
  190. inline void clear_headid();
  191. static const int kHeadidFieldNumber = 4;
  192. inline ::google::protobuf::int32 headid() const;
  193. inline void set_headid(::google::protobuf::int32 value);
  194. // optional int32 frameid = 5;
  195. inline bool has_frameid() const;
  196. inline void clear_frameid();
  197. static const int kFrameidFieldNumber = 5;
  198. inline ::google::protobuf::int32 frameid() const;
  199. inline void set_frameid(::google::protobuf::int32 value);
  200. // optional int32 vipLevel = 6;
  201. inline bool has_viplevel() const;
  202. inline void clear_viplevel();
  203. static const int kVipLevelFieldNumber = 6;
  204. inline ::google::protobuf::int32 viplevel() const;
  205. inline void set_viplevel(::google::protobuf::int32 value);
  206. // optional int32 gender = 7;
  207. inline bool has_gender() const;
  208. inline void clear_gender();
  209. static const int kGenderFieldNumber = 7;
  210. inline ::google::protobuf::int32 gender() const;
  211. inline void set_gender(::google::protobuf::int32 value);
  212. // @@protoc_insertion_point(class_scope:fish_protocols.TorpedoRankInfo)
  213. private:
  214. inline void set_has_playerid();
  215. inline void clear_has_playerid();
  216. inline void set_has_nickname();
  217. inline void clear_has_nickname();
  218. inline void set_has_gold();
  219. inline void clear_has_gold();
  220. inline void set_has_headid();
  221. inline void clear_has_headid();
  222. inline void set_has_frameid();
  223. inline void clear_has_frameid();
  224. inline void set_has_viplevel();
  225. inline void clear_has_viplevel();
  226. inline void set_has_gender();
  227. inline void clear_has_gender();
  228. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  229. ::std::string* nickname_;
  230. ::google::protobuf::int32 playerid_;
  231. ::google::protobuf::int32 gold_;
  232. ::google::protobuf::int32 headid_;
  233. ::google::protobuf::int32 frameid_;
  234. ::google::protobuf::int32 viplevel_;
  235. ::google::protobuf::int32 gender_;
  236. mutable int _cached_size_;
  237. ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
  238. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  239. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  240. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  241. void InitAsDefaultInstance();
  242. static TorpedoRankInfo* default_instance_;
  243. };
  244. // -------------------------------------------------------------------
  245. class TorpedoRankChangeInfo : public ::google::protobuf::Message {
  246. public:
  247. TorpedoRankChangeInfo();
  248. virtual ~TorpedoRankChangeInfo();
  249. TorpedoRankChangeInfo(const TorpedoRankChangeInfo& from);
  250. inline TorpedoRankChangeInfo& operator=(const TorpedoRankChangeInfo& from) {
  251. CopyFrom(from);
  252. return *this;
  253. }
  254. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  255. return _unknown_fields_;
  256. }
  257. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  258. return &_unknown_fields_;
  259. }
  260. static const ::google::protobuf::Descriptor* descriptor();
  261. static const TorpedoRankChangeInfo& default_instance();
  262. void Swap(TorpedoRankChangeInfo* other);
  263. // implements Message ----------------------------------------------
  264. TorpedoRankChangeInfo* New() const;
  265. void CopyFrom(const ::google::protobuf::Message& from);
  266. void MergeFrom(const ::google::protobuf::Message& from);
  267. void CopyFrom(const TorpedoRankChangeInfo& from);
  268. void MergeFrom(const TorpedoRankChangeInfo& from);
  269. void Clear();
  270. bool IsInitialized() const;
  271. int ByteSize() const;
  272. bool MergePartialFromCodedStream(
  273. ::google::protobuf::io::CodedInputStream* input);
  274. void SerializeWithCachedSizes(
  275. ::google::protobuf::io::CodedOutputStream* output) const;
  276. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  277. int GetCachedSize() const { return _cached_size_; }
  278. private:
  279. void SharedCtor();
  280. void SharedDtor();
  281. void SetCachedSize(int size) const;
  282. public:
  283. ::google::protobuf::Metadata GetMetadata() const;
  284. // nested types ----------------------------------------------------
  285. // accessors -------------------------------------------------------
  286. // optional int32 playerId = 1;
  287. inline bool has_playerid() const;
  288. inline void clear_playerid();
  289. static const int kPlayerIdFieldNumber = 1;
  290. inline ::google::protobuf::int32 playerid() const;
  291. inline void set_playerid(::google::protobuf::int32 value);
  292. // optional string nickName = 2;
  293. inline bool has_nickname() const;
  294. inline void clear_nickname();
  295. static const int kNickNameFieldNumber = 2;
  296. inline const ::std::string& nickname() const;
  297. inline void set_nickname(const ::std::string& value);
  298. inline void set_nickname(const char* value);
  299. inline void set_nickname(const char* value, size_t size);
  300. inline ::std::string* mutable_nickname();
  301. inline ::std::string* release_nickname();
  302. inline void set_allocated_nickname(::std::string* nickname);
  303. // optional int32 torpedoId = 3;
  304. inline bool has_torpedoid() const;
  305. inline void clear_torpedoid();
  306. static const int kTorpedoIdFieldNumber = 3;
  307. inline ::google::protobuf::int32 torpedoid() const;
  308. inline void set_torpedoid(::google::protobuf::int32 value);
  309. // optional int64 changeGold = 4;
  310. inline bool has_changegold() const;
  311. inline void clear_changegold();
  312. static const int kChangeGoldFieldNumber = 4;
  313. inline ::google::protobuf::int64 changegold() const;
  314. inline void set_changegold(::google::protobuf::int64 value);
  315. // optional int64 changePoint = 5;
  316. inline bool has_changepoint() const;
  317. inline void clear_changepoint();
  318. static const int kChangePointFieldNumber = 5;
  319. inline ::google::protobuf::int64 changepoint() const;
  320. inline void set_changepoint(::google::protobuf::int64 value);
  321. // @@protoc_insertion_point(class_scope:fish_protocols.TorpedoRankChangeInfo)
  322. private:
  323. inline void set_has_playerid();
  324. inline void clear_has_playerid();
  325. inline void set_has_nickname();
  326. inline void clear_has_nickname();
  327. inline void set_has_torpedoid();
  328. inline void clear_has_torpedoid();
  329. inline void set_has_changegold();
  330. inline void clear_has_changegold();
  331. inline void set_has_changepoint();
  332. inline void clear_has_changepoint();
  333. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  334. ::std::string* nickname_;
  335. ::google::protobuf::int32 playerid_;
  336. ::google::protobuf::int32 torpedoid_;
  337. ::google::protobuf::int64 changegold_;
  338. ::google::protobuf::int64 changepoint_;
  339. mutable int _cached_size_;
  340. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  341. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  342. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  343. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  344. void InitAsDefaultInstance();
  345. static TorpedoRankChangeInfo* default_instance_;
  346. };
  347. // -------------------------------------------------------------------
  348. class packetl2c_get_torpedo_rank_result : public ::google::protobuf::Message {
  349. public:
  350. packetl2c_get_torpedo_rank_result();
  351. virtual ~packetl2c_get_torpedo_rank_result();
  352. packetl2c_get_torpedo_rank_result(const packetl2c_get_torpedo_rank_result& from);
  353. inline packetl2c_get_torpedo_rank_result& operator=(const packetl2c_get_torpedo_rank_result& from) {
  354. CopyFrom(from);
  355. return *this;
  356. }
  357. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  358. return _unknown_fields_;
  359. }
  360. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  361. return &_unknown_fields_;
  362. }
  363. static const ::google::protobuf::Descriptor* descriptor();
  364. static const packetl2c_get_torpedo_rank_result& default_instance();
  365. void Swap(packetl2c_get_torpedo_rank_result* other);
  366. // implements Message ----------------------------------------------
  367. packetl2c_get_torpedo_rank_result* New() const;
  368. void CopyFrom(const ::google::protobuf::Message& from);
  369. void MergeFrom(const ::google::protobuf::Message& from);
  370. void CopyFrom(const packetl2c_get_torpedo_rank_result& from);
  371. void MergeFrom(const packetl2c_get_torpedo_rank_result& from);
  372. void Clear();
  373. bool IsInitialized() const;
  374. int ByteSize() const;
  375. bool MergePartialFromCodedStream(
  376. ::google::protobuf::io::CodedInputStream* input);
  377. void SerializeWithCachedSizes(
  378. ::google::protobuf::io::CodedOutputStream* output) const;
  379. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  380. int GetCachedSize() const { return _cached_size_; }
  381. private:
  382. void SharedCtor();
  383. void SharedDtor();
  384. void SetCachedSize(int size) const;
  385. public:
  386. ::google::protobuf::Metadata GetMetadata() const;
  387. // nested types ----------------------------------------------------
  388. // accessors -------------------------------------------------------
  389. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_result];
  390. inline bool has_packet_id() const;
  391. inline void clear_packet_id();
  392. static const int kPacketIdFieldNumber = 1;
  393. inline ::fish_protocols::e_server_msg_type packet_id() const;
  394. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  395. // repeated .fish_protocols.TorpedoRankInfo rankList = 2;
  396. inline int ranklist_size() const;
  397. inline void clear_ranklist();
  398. static const int kRankListFieldNumber = 2;
  399. inline const ::fish_protocols::TorpedoRankInfo& ranklist(int index) const;
  400. inline ::fish_protocols::TorpedoRankInfo* mutable_ranklist(int index);
  401. inline ::fish_protocols::TorpedoRankInfo* add_ranklist();
  402. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankInfo >&
  403. ranklist() const;
  404. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankInfo >*
  405. mutable_ranklist();
  406. // optional int32 rankType = 3;
  407. inline bool has_ranktype() const;
  408. inline void clear_ranktype();
  409. static const int kRankTypeFieldNumber = 3;
  410. inline ::google::protobuf::int32 ranktype() const;
  411. inline void set_ranktype(::google::protobuf::int32 value);
  412. // optional int64 selfRankGold = 4;
  413. inline bool has_selfrankgold() const;
  414. inline void clear_selfrankgold();
  415. static const int kSelfRankGoldFieldNumber = 4;
  416. inline ::google::protobuf::int64 selfrankgold() const;
  417. inline void set_selfrankgold(::google::protobuf::int64 value);
  418. // optional int32 selfMaxGold = 5;
  419. inline bool has_selfmaxgold() const;
  420. inline void clear_selfmaxgold();
  421. static const int kSelfMaxGoldFieldNumber = 5;
  422. inline ::google::protobuf::int32 selfmaxgold() const;
  423. inline void set_selfmaxgold(::google::protobuf::int32 value);
  424. // optional int32 guaranteedStat = 6;
  425. inline bool has_guaranteedstat() const;
  426. inline void clear_guaranteedstat();
  427. static const int kGuaranteedStatFieldNumber = 6;
  428. inline ::google::protobuf::int32 guaranteedstat() const;
  429. inline void set_guaranteedstat(::google::protobuf::int32 value);
  430. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_torpedo_rank_result)
  431. private:
  432. inline void set_has_packet_id();
  433. inline void clear_has_packet_id();
  434. inline void set_has_ranktype();
  435. inline void clear_has_ranktype();
  436. inline void set_has_selfrankgold();
  437. inline void clear_has_selfrankgold();
  438. inline void set_has_selfmaxgold();
  439. inline void clear_has_selfmaxgold();
  440. inline void set_has_guaranteedstat();
  441. inline void clear_has_guaranteedstat();
  442. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  443. ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankInfo > ranklist_;
  444. int packet_id_;
  445. ::google::protobuf::int32 ranktype_;
  446. ::google::protobuf::int64 selfrankgold_;
  447. ::google::protobuf::int32 selfmaxgold_;
  448. ::google::protobuf::int32 guaranteedstat_;
  449. mutable int _cached_size_;
  450. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  451. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  452. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  453. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  454. void InitAsDefaultInstance();
  455. static packetl2c_get_torpedo_rank_result* default_instance_;
  456. };
  457. // -------------------------------------------------------------------
  458. class packetc2l_get_torpedo_rank_change_list : public ::google::protobuf::Message {
  459. public:
  460. packetc2l_get_torpedo_rank_change_list();
  461. virtual ~packetc2l_get_torpedo_rank_change_list();
  462. packetc2l_get_torpedo_rank_change_list(const packetc2l_get_torpedo_rank_change_list& from);
  463. inline packetc2l_get_torpedo_rank_change_list& operator=(const packetc2l_get_torpedo_rank_change_list& from) {
  464. CopyFrom(from);
  465. return *this;
  466. }
  467. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  468. return _unknown_fields_;
  469. }
  470. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  471. return &_unknown_fields_;
  472. }
  473. static const ::google::protobuf::Descriptor* descriptor();
  474. static const packetc2l_get_torpedo_rank_change_list& default_instance();
  475. void Swap(packetc2l_get_torpedo_rank_change_list* other);
  476. // implements Message ----------------------------------------------
  477. packetc2l_get_torpedo_rank_change_list* New() const;
  478. void CopyFrom(const ::google::protobuf::Message& from);
  479. void MergeFrom(const ::google::protobuf::Message& from);
  480. void CopyFrom(const packetc2l_get_torpedo_rank_change_list& from);
  481. void MergeFrom(const packetc2l_get_torpedo_rank_change_list& from);
  482. void Clear();
  483. bool IsInitialized() const;
  484. int ByteSize() const;
  485. bool MergePartialFromCodedStream(
  486. ::google::protobuf::io::CodedInputStream* input);
  487. void SerializeWithCachedSizes(
  488. ::google::protobuf::io::CodedOutputStream* output) const;
  489. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  490. int GetCachedSize() const { return _cached_size_; }
  491. private:
  492. void SharedCtor();
  493. void SharedDtor();
  494. void SetCachedSize(int size) const;
  495. public:
  496. ::google::protobuf::Metadata GetMetadata() const;
  497. // nested types ----------------------------------------------------
  498. // accessors -------------------------------------------------------
  499. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank_change_list];
  500. inline bool has_packet_id() const;
  501. inline void clear_packet_id();
  502. static const int kPacketIdFieldNumber = 1;
  503. inline ::fish_protocols::e_server_msg_type packet_id() const;
  504. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  505. // optional int32 rankType = 2;
  506. inline bool has_ranktype() const;
  507. inline void clear_ranktype();
  508. static const int kRankTypeFieldNumber = 2;
  509. inline ::google::protobuf::int32 ranktype() const;
  510. inline void set_ranktype(::google::protobuf::int32 value);
  511. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_torpedo_rank_change_list)
  512. private:
  513. inline void set_has_packet_id();
  514. inline void clear_has_packet_id();
  515. inline void set_has_ranktype();
  516. inline void clear_has_ranktype();
  517. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  518. int packet_id_;
  519. ::google::protobuf::int32 ranktype_;
  520. mutable int _cached_size_;
  521. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  522. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  523. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  524. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  525. void InitAsDefaultInstance();
  526. static packetc2l_get_torpedo_rank_change_list* default_instance_;
  527. };
  528. // -------------------------------------------------------------------
  529. class packetl2c_get_torpedo_rank_change_list_result : public ::google::protobuf::Message {
  530. public:
  531. packetl2c_get_torpedo_rank_change_list_result();
  532. virtual ~packetl2c_get_torpedo_rank_change_list_result();
  533. packetl2c_get_torpedo_rank_change_list_result(const packetl2c_get_torpedo_rank_change_list_result& from);
  534. inline packetl2c_get_torpedo_rank_change_list_result& operator=(const packetl2c_get_torpedo_rank_change_list_result& from) {
  535. CopyFrom(from);
  536. return *this;
  537. }
  538. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  539. return _unknown_fields_;
  540. }
  541. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  542. return &_unknown_fields_;
  543. }
  544. static const ::google::protobuf::Descriptor* descriptor();
  545. static const packetl2c_get_torpedo_rank_change_list_result& default_instance();
  546. void Swap(packetl2c_get_torpedo_rank_change_list_result* other);
  547. // implements Message ----------------------------------------------
  548. packetl2c_get_torpedo_rank_change_list_result* New() const;
  549. void CopyFrom(const ::google::protobuf::Message& from);
  550. void MergeFrom(const ::google::protobuf::Message& from);
  551. void CopyFrom(const packetl2c_get_torpedo_rank_change_list_result& from);
  552. void MergeFrom(const packetl2c_get_torpedo_rank_change_list_result& from);
  553. void Clear();
  554. bool IsInitialized() const;
  555. int ByteSize() const;
  556. bool MergePartialFromCodedStream(
  557. ::google::protobuf::io::CodedInputStream* input);
  558. void SerializeWithCachedSizes(
  559. ::google::protobuf::io::CodedOutputStream* output) const;
  560. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  561. int GetCachedSize() const { return _cached_size_; }
  562. private:
  563. void SharedCtor();
  564. void SharedDtor();
  565. void SetCachedSize(int size) const;
  566. public:
  567. ::google::protobuf::Metadata GetMetadata() const;
  568. // nested types ----------------------------------------------------
  569. // accessors -------------------------------------------------------
  570. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_change_list_result];
  571. inline bool has_packet_id() const;
  572. inline void clear_packet_id();
  573. static const int kPacketIdFieldNumber = 1;
  574. inline ::fish_protocols::e_server_msg_type packet_id() const;
  575. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  576. // optional int32 rankType = 2;
  577. inline bool has_ranktype() const;
  578. inline void clear_ranktype();
  579. static const int kRankTypeFieldNumber = 2;
  580. inline ::google::protobuf::int32 ranktype() const;
  581. inline void set_ranktype(::google::protobuf::int32 value);
  582. // repeated .fish_protocols.TorpedoRankChangeInfo changeList = 3;
  583. inline int changelist_size() const;
  584. inline void clear_changelist();
  585. static const int kChangeListFieldNumber = 3;
  586. inline const ::fish_protocols::TorpedoRankChangeInfo& changelist(int index) const;
  587. inline ::fish_protocols::TorpedoRankChangeInfo* mutable_changelist(int index);
  588. inline ::fish_protocols::TorpedoRankChangeInfo* add_changelist();
  589. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankChangeInfo >&
  590. changelist() const;
  591. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankChangeInfo >*
  592. mutable_changelist();
  593. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_torpedo_rank_change_list_result)
  594. private:
  595. inline void set_has_packet_id();
  596. inline void clear_has_packet_id();
  597. inline void set_has_ranktype();
  598. inline void clear_has_ranktype();
  599. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  600. int packet_id_;
  601. ::google::protobuf::int32 ranktype_;
  602. ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankChangeInfo > changelist_;
  603. mutable int _cached_size_;
  604. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  605. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  606. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  607. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  608. void InitAsDefaultInstance();
  609. static packetl2c_get_torpedo_rank_change_list_result* default_instance_;
  610. };
  611. // -------------------------------------------------------------------
  612. class packetc2l_receive_torpedo_guaranteed_award : public ::google::protobuf::Message {
  613. public:
  614. packetc2l_receive_torpedo_guaranteed_award();
  615. virtual ~packetc2l_receive_torpedo_guaranteed_award();
  616. packetc2l_receive_torpedo_guaranteed_award(const packetc2l_receive_torpedo_guaranteed_award& from);
  617. inline packetc2l_receive_torpedo_guaranteed_award& operator=(const packetc2l_receive_torpedo_guaranteed_award& from) {
  618. CopyFrom(from);
  619. return *this;
  620. }
  621. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  622. return _unknown_fields_;
  623. }
  624. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  625. return &_unknown_fields_;
  626. }
  627. static const ::google::protobuf::Descriptor* descriptor();
  628. static const packetc2l_receive_torpedo_guaranteed_award& default_instance();
  629. void Swap(packetc2l_receive_torpedo_guaranteed_award* other);
  630. // implements Message ----------------------------------------------
  631. packetc2l_receive_torpedo_guaranteed_award* New() const;
  632. void CopyFrom(const ::google::protobuf::Message& from);
  633. void MergeFrom(const ::google::protobuf::Message& from);
  634. void CopyFrom(const packetc2l_receive_torpedo_guaranteed_award& from);
  635. void MergeFrom(const packetc2l_receive_torpedo_guaranteed_award& from);
  636. void Clear();
  637. bool IsInitialized() const;
  638. int ByteSize() const;
  639. bool MergePartialFromCodedStream(
  640. ::google::protobuf::io::CodedInputStream* input);
  641. void SerializeWithCachedSizes(
  642. ::google::protobuf::io::CodedOutputStream* output) const;
  643. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  644. int GetCachedSize() const { return _cached_size_; }
  645. private:
  646. void SharedCtor();
  647. void SharedDtor();
  648. void SetCachedSize(int size) const;
  649. public:
  650. ::google::protobuf::Metadata GetMetadata() const;
  651. // nested types ----------------------------------------------------
  652. // accessors -------------------------------------------------------
  653. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_torpedo_guaranteed_award];
  654. inline bool has_packet_id() const;
  655. inline void clear_packet_id();
  656. static const int kPacketIdFieldNumber = 1;
  657. inline ::fish_protocols::e_server_msg_type packet_id() const;
  658. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  659. // optional int32 rankType = 2;
  660. inline bool has_ranktype() const;
  661. inline void clear_ranktype();
  662. static const int kRankTypeFieldNumber = 2;
  663. inline ::google::protobuf::int32 ranktype() const;
  664. inline void set_ranktype(::google::protobuf::int32 value);
  665. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_receive_torpedo_guaranteed_award)
  666. private:
  667. inline void set_has_packet_id();
  668. inline void clear_has_packet_id();
  669. inline void set_has_ranktype();
  670. inline void clear_has_ranktype();
  671. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  672. int packet_id_;
  673. ::google::protobuf::int32 ranktype_;
  674. mutable int _cached_size_;
  675. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  676. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  677. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  678. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  679. void InitAsDefaultInstance();
  680. static packetc2l_receive_torpedo_guaranteed_award* default_instance_;
  681. };
  682. // -------------------------------------------------------------------
  683. class packetl2c_receive_torpedo_guaranteed_award_result : public ::google::protobuf::Message {
  684. public:
  685. packetl2c_receive_torpedo_guaranteed_award_result();
  686. virtual ~packetl2c_receive_torpedo_guaranteed_award_result();
  687. packetl2c_receive_torpedo_guaranteed_award_result(const packetl2c_receive_torpedo_guaranteed_award_result& from);
  688. inline packetl2c_receive_torpedo_guaranteed_award_result& operator=(const packetl2c_receive_torpedo_guaranteed_award_result& from) {
  689. CopyFrom(from);
  690. return *this;
  691. }
  692. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  693. return _unknown_fields_;
  694. }
  695. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  696. return &_unknown_fields_;
  697. }
  698. static const ::google::protobuf::Descriptor* descriptor();
  699. static const packetl2c_receive_torpedo_guaranteed_award_result& default_instance();
  700. void Swap(packetl2c_receive_torpedo_guaranteed_award_result* other);
  701. // implements Message ----------------------------------------------
  702. packetl2c_receive_torpedo_guaranteed_award_result* New() const;
  703. void CopyFrom(const ::google::protobuf::Message& from);
  704. void MergeFrom(const ::google::protobuf::Message& from);
  705. void CopyFrom(const packetl2c_receive_torpedo_guaranteed_award_result& from);
  706. void MergeFrom(const packetl2c_receive_torpedo_guaranteed_award_result& from);
  707. void Clear();
  708. bool IsInitialized() const;
  709. int ByteSize() const;
  710. bool MergePartialFromCodedStream(
  711. ::google::protobuf::io::CodedInputStream* input);
  712. void SerializeWithCachedSizes(
  713. ::google::protobuf::io::CodedOutputStream* output) const;
  714. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  715. int GetCachedSize() const { return _cached_size_; }
  716. private:
  717. void SharedCtor();
  718. void SharedDtor();
  719. void SetCachedSize(int size) const;
  720. public:
  721. ::google::protobuf::Metadata GetMetadata() const;
  722. // nested types ----------------------------------------------------
  723. // accessors -------------------------------------------------------
  724. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_torpedo_guaranteed_award_result];
  725. inline bool has_packet_id() const;
  726. inline void clear_packet_id();
  727. static const int kPacketIdFieldNumber = 1;
  728. inline ::fish_protocols::e_server_msg_type packet_id() const;
  729. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  730. // optional int32 result = 2;
  731. inline bool has_result() const;
  732. inline void clear_result();
  733. static const int kResultFieldNumber = 2;
  734. inline ::google::protobuf::int32 result() const;
  735. inline void set_result(::google::protobuf::int32 value);
  736. // optional int32 rankType = 3;
  737. inline bool has_ranktype() const;
  738. inline void clear_ranktype();
  739. static const int kRankTypeFieldNumber = 3;
  740. inline ::google::protobuf::int32 ranktype() const;
  741. inline void set_ranktype(::google::protobuf::int32 value);
  742. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_receive_torpedo_guaranteed_award_result)
  743. private:
  744. inline void set_has_packet_id();
  745. inline void clear_has_packet_id();
  746. inline void set_has_result();
  747. inline void clear_has_result();
  748. inline void set_has_ranktype();
  749. inline void clear_has_ranktype();
  750. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  751. int packet_id_;
  752. ::google::protobuf::int32 result_;
  753. ::google::protobuf::int32 ranktype_;
  754. mutable int _cached_size_;
  755. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  756. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  757. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  758. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  759. void InitAsDefaultInstance();
  760. static packetl2c_receive_torpedo_guaranteed_award_result* default_instance_;
  761. };
  762. // -------------------------------------------------------------------
  763. class SummerDayLotteryInfo : public ::google::protobuf::Message {
  764. public:
  765. SummerDayLotteryInfo();
  766. virtual ~SummerDayLotteryInfo();
  767. SummerDayLotteryInfo(const SummerDayLotteryInfo& from);
  768. inline SummerDayLotteryInfo& operator=(const SummerDayLotteryInfo& from) {
  769. CopyFrom(from);
  770. return *this;
  771. }
  772. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  773. return _unknown_fields_;
  774. }
  775. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  776. return &_unknown_fields_;
  777. }
  778. static const ::google::protobuf::Descriptor* descriptor();
  779. static const SummerDayLotteryInfo& default_instance();
  780. void Swap(SummerDayLotteryInfo* other);
  781. // implements Message ----------------------------------------------
  782. SummerDayLotteryInfo* New() const;
  783. void CopyFrom(const ::google::protobuf::Message& from);
  784. void MergeFrom(const ::google::protobuf::Message& from);
  785. void CopyFrom(const SummerDayLotteryInfo& from);
  786. void MergeFrom(const SummerDayLotteryInfo& from);
  787. void Clear();
  788. bool IsInitialized() const;
  789. int ByteSize() const;
  790. bool MergePartialFromCodedStream(
  791. ::google::protobuf::io::CodedInputStream* input);
  792. void SerializeWithCachedSizes(
  793. ::google::protobuf::io::CodedOutputStream* output) const;
  794. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  795. int GetCachedSize() const { return _cached_size_; }
  796. private:
  797. void SharedCtor();
  798. void SharedDtor();
  799. void SetCachedSize(int size) const;
  800. public:
  801. ::google::protobuf::Metadata GetMetadata() const;
  802. // nested types ----------------------------------------------------
  803. // accessors -------------------------------------------------------
  804. // optional int32 itemId = 1;
  805. inline bool has_itemid() const;
  806. inline void clear_itemid();
  807. static const int kItemIdFieldNumber = 1;
  808. inline ::google::protobuf::int32 itemid() const;
  809. inline void set_itemid(::google::protobuf::int32 value);
  810. // optional int32 itemCount = 2;
  811. inline bool has_itemcount() const;
  812. inline void clear_itemcount();
  813. static const int kItemCountFieldNumber = 2;
  814. inline ::google::protobuf::int32 itemcount() const;
  815. inline void set_itemcount(::google::protobuf::int32 value);
  816. // @@protoc_insertion_point(class_scope:fish_protocols.SummerDayLotteryInfo)
  817. private:
  818. inline void set_has_itemid();
  819. inline void clear_has_itemid();
  820. inline void set_has_itemcount();
  821. inline void clear_has_itemcount();
  822. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  823. ::google::protobuf::int32 itemid_;
  824. ::google::protobuf::int32 itemcount_;
  825. mutable int _cached_size_;
  826. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  827. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  828. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  829. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  830. void InitAsDefaultInstance();
  831. static SummerDayLotteryInfo* default_instance_;
  832. };
  833. // -------------------------------------------------------------------
  834. class packetc2l_start_Sd_Lottery : public ::google::protobuf::Message {
  835. public:
  836. packetc2l_start_Sd_Lottery();
  837. virtual ~packetc2l_start_Sd_Lottery();
  838. packetc2l_start_Sd_Lottery(const packetc2l_start_Sd_Lottery& from);
  839. inline packetc2l_start_Sd_Lottery& operator=(const packetc2l_start_Sd_Lottery& from) {
  840. CopyFrom(from);
  841. return *this;
  842. }
  843. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  844. return _unknown_fields_;
  845. }
  846. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  847. return &_unknown_fields_;
  848. }
  849. static const ::google::protobuf::Descriptor* descriptor();
  850. static const packetc2l_start_Sd_Lottery& default_instance();
  851. void Swap(packetc2l_start_Sd_Lottery* other);
  852. // implements Message ----------------------------------------------
  853. packetc2l_start_Sd_Lottery* New() const;
  854. void CopyFrom(const ::google::protobuf::Message& from);
  855. void MergeFrom(const ::google::protobuf::Message& from);
  856. void CopyFrom(const packetc2l_start_Sd_Lottery& from);
  857. void MergeFrom(const packetc2l_start_Sd_Lottery& from);
  858. void Clear();
  859. bool IsInitialized() const;
  860. int ByteSize() const;
  861. bool MergePartialFromCodedStream(
  862. ::google::protobuf::io::CodedInputStream* input);
  863. void SerializeWithCachedSizes(
  864. ::google::protobuf::io::CodedOutputStream* output) const;
  865. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  866. int GetCachedSize() const { return _cached_size_; }
  867. private:
  868. void SharedCtor();
  869. void SharedDtor();
  870. void SetCachedSize(int size) const;
  871. public:
  872. ::google::protobuf::Metadata GetMetadata() const;
  873. // nested types ----------------------------------------------------
  874. // accessors -------------------------------------------------------
  875. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_start_Sd_Lottery];
  876. inline bool has_packet_id() const;
  877. inline void clear_packet_id();
  878. static const int kPacketIdFieldNumber = 1;
  879. inline ::fish_protocols::e_server_msg_type packet_id() const;
  880. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  881. // optional int32 type = 2;
  882. inline bool has_type() const;
  883. inline void clear_type();
  884. static const int kTypeFieldNumber = 2;
  885. inline ::google::protobuf::int32 type() const;
  886. inline void set_type(::google::protobuf::int32 value);
  887. // optional int32 time = 3;
  888. inline bool has_time() const;
  889. inline void clear_time();
  890. static const int kTimeFieldNumber = 3;
  891. inline ::google::protobuf::int32 time() const;
  892. inline void set_time(::google::protobuf::int32 value);
  893. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_start_Sd_Lottery)
  894. private:
  895. inline void set_has_packet_id();
  896. inline void clear_has_packet_id();
  897. inline void set_has_type();
  898. inline void clear_has_type();
  899. inline void set_has_time();
  900. inline void clear_has_time();
  901. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  902. int packet_id_;
  903. ::google::protobuf::int32 type_;
  904. ::google::protobuf::int32 time_;
  905. mutable int _cached_size_;
  906. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  907. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  908. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  909. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  910. void InitAsDefaultInstance();
  911. static packetc2l_start_Sd_Lottery* default_instance_;
  912. };
  913. // -------------------------------------------------------------------
  914. class packetl2c_start_Sd_Lottery_result : public ::google::protobuf::Message {
  915. public:
  916. packetl2c_start_Sd_Lottery_result();
  917. virtual ~packetl2c_start_Sd_Lottery_result();
  918. packetl2c_start_Sd_Lottery_result(const packetl2c_start_Sd_Lottery_result& from);
  919. inline packetl2c_start_Sd_Lottery_result& operator=(const packetl2c_start_Sd_Lottery_result& from) {
  920. CopyFrom(from);
  921. return *this;
  922. }
  923. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  924. return _unknown_fields_;
  925. }
  926. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  927. return &_unknown_fields_;
  928. }
  929. static const ::google::protobuf::Descriptor* descriptor();
  930. static const packetl2c_start_Sd_Lottery_result& default_instance();
  931. void Swap(packetl2c_start_Sd_Lottery_result* other);
  932. // implements Message ----------------------------------------------
  933. packetl2c_start_Sd_Lottery_result* New() const;
  934. void CopyFrom(const ::google::protobuf::Message& from);
  935. void MergeFrom(const ::google::protobuf::Message& from);
  936. void CopyFrom(const packetl2c_start_Sd_Lottery_result& from);
  937. void MergeFrom(const packetl2c_start_Sd_Lottery_result& from);
  938. void Clear();
  939. bool IsInitialized() const;
  940. int ByteSize() const;
  941. bool MergePartialFromCodedStream(
  942. ::google::protobuf::io::CodedInputStream* input);
  943. void SerializeWithCachedSizes(
  944. ::google::protobuf::io::CodedOutputStream* output) const;
  945. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  946. int GetCachedSize() const { return _cached_size_; }
  947. private:
  948. void SharedCtor();
  949. void SharedDtor();
  950. void SetCachedSize(int size) const;
  951. public:
  952. ::google::protobuf::Metadata GetMetadata() const;
  953. // nested types ----------------------------------------------------
  954. // accessors -------------------------------------------------------
  955. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_start_Sd_Lottery_result];
  956. inline bool has_packet_id() const;
  957. inline void clear_packet_id();
  958. static const int kPacketIdFieldNumber = 1;
  959. inline ::fish_protocols::e_server_msg_type packet_id() const;
  960. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  961. // optional int32 result = 2;
  962. inline bool has_result() const;
  963. inline void clear_result();
  964. static const int kResultFieldNumber = 2;
  965. inline ::google::protobuf::int32 result() const;
  966. inline void set_result(::google::protobuf::int32 value);
  967. // optional int32 type = 3;
  968. inline bool has_type() const;
  969. inline void clear_type();
  970. static const int kTypeFieldNumber = 3;
  971. inline ::google::protobuf::int32 type() const;
  972. inline void set_type(::google::protobuf::int32 value);
  973. // optional int32 time = 4;
  974. inline bool has_time() const;
  975. inline void clear_time();
  976. static const int kTimeFieldNumber = 4;
  977. inline ::google::protobuf::int32 time() const;
  978. inline void set_time(::google::protobuf::int32 value);
  979. // repeated int32 rewardId = 5;
  980. inline int rewardid_size() const;
  981. inline void clear_rewardid();
  982. static const int kRewardIdFieldNumber = 5;
  983. inline ::google::protobuf::int32 rewardid(int index) const;
  984. inline void set_rewardid(int index, ::google::protobuf::int32 value);
  985. inline void add_rewardid(::google::protobuf::int32 value);
  986. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  987. rewardid() const;
  988. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  989. mutable_rewardid();
  990. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_start_Sd_Lottery_result)
  991. private:
  992. inline void set_has_packet_id();
  993. inline void clear_has_packet_id();
  994. inline void set_has_result();
  995. inline void clear_has_result();
  996. inline void set_has_type();
  997. inline void clear_has_type();
  998. inline void set_has_time();
  999. inline void clear_has_time();
  1000. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1001. int packet_id_;
  1002. ::google::protobuf::int32 result_;
  1003. ::google::protobuf::int32 type_;
  1004. ::google::protobuf::int32 time_;
  1005. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rewardid_;
  1006. mutable int _cached_size_;
  1007. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  1008. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1009. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1010. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1011. void InitAsDefaultInstance();
  1012. static packetl2c_start_Sd_Lottery_result* default_instance_;
  1013. };
  1014. // -------------------------------------------------------------------
  1015. class packetl2c_activity_item_change : public ::google::protobuf::Message {
  1016. public:
  1017. packetl2c_activity_item_change();
  1018. virtual ~packetl2c_activity_item_change();
  1019. packetl2c_activity_item_change(const packetl2c_activity_item_change& from);
  1020. inline packetl2c_activity_item_change& operator=(const packetl2c_activity_item_change& from) {
  1021. CopyFrom(from);
  1022. return *this;
  1023. }
  1024. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1025. return _unknown_fields_;
  1026. }
  1027. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1028. return &_unknown_fields_;
  1029. }
  1030. static const ::google::protobuf::Descriptor* descriptor();
  1031. static const packetl2c_activity_item_change& default_instance();
  1032. void Swap(packetl2c_activity_item_change* other);
  1033. // implements Message ----------------------------------------------
  1034. packetl2c_activity_item_change* New() const;
  1035. void CopyFrom(const ::google::protobuf::Message& from);
  1036. void MergeFrom(const ::google::protobuf::Message& from);
  1037. void CopyFrom(const packetl2c_activity_item_change& from);
  1038. void MergeFrom(const packetl2c_activity_item_change& from);
  1039. void Clear();
  1040. bool IsInitialized() const;
  1041. int ByteSize() const;
  1042. bool MergePartialFromCodedStream(
  1043. ::google::protobuf::io::CodedInputStream* input);
  1044. void SerializeWithCachedSizes(
  1045. ::google::protobuf::io::CodedOutputStream* output) const;
  1046. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1047. int GetCachedSize() const { return _cached_size_; }
  1048. private:
  1049. void SharedCtor();
  1050. void SharedDtor();
  1051. void SetCachedSize(int size) const;
  1052. public:
  1053. ::google::protobuf::Metadata GetMetadata() const;
  1054. // nested types ----------------------------------------------------
  1055. // accessors -------------------------------------------------------
  1056. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_activity_item_change];
  1057. inline bool has_packet_id() const;
  1058. inline void clear_packet_id();
  1059. static const int kPacketIdFieldNumber = 1;
  1060. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1061. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1062. // optional int32 itemid = 2;
  1063. inline bool has_itemid() const;
  1064. inline void clear_itemid();
  1065. static const int kItemidFieldNumber = 2;
  1066. inline ::google::protobuf::int32 itemid() const;
  1067. inline void set_itemid(::google::protobuf::int32 value);
  1068. // optional int32 itemcount = 3;
  1069. inline bool has_itemcount() const;
  1070. inline void clear_itemcount();
  1071. static const int kItemcountFieldNumber = 3;
  1072. inline ::google::protobuf::int32 itemcount() const;
  1073. inline void set_itemcount(::google::protobuf::int32 value);
  1074. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_activity_item_change)
  1075. private:
  1076. inline void set_has_packet_id();
  1077. inline void clear_has_packet_id();
  1078. inline void set_has_itemid();
  1079. inline void clear_has_itemid();
  1080. inline void set_has_itemcount();
  1081. inline void clear_has_itemcount();
  1082. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1083. int packet_id_;
  1084. ::google::protobuf::int32 itemid_;
  1085. ::google::protobuf::int32 itemcount_;
  1086. mutable int _cached_size_;
  1087. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1088. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1089. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1090. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1091. void InitAsDefaultInstance();
  1092. static packetl2c_activity_item_change* default_instance_;
  1093. };
  1094. // -------------------------------------------------------------------
  1095. class packetc2l_Sd_item_exchange : public ::google::protobuf::Message {
  1096. public:
  1097. packetc2l_Sd_item_exchange();
  1098. virtual ~packetc2l_Sd_item_exchange();
  1099. packetc2l_Sd_item_exchange(const packetc2l_Sd_item_exchange& from);
  1100. inline packetc2l_Sd_item_exchange& operator=(const packetc2l_Sd_item_exchange& from) {
  1101. CopyFrom(from);
  1102. return *this;
  1103. }
  1104. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1105. return _unknown_fields_;
  1106. }
  1107. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1108. return &_unknown_fields_;
  1109. }
  1110. static const ::google::protobuf::Descriptor* descriptor();
  1111. static const packetc2l_Sd_item_exchange& default_instance();
  1112. void Swap(packetc2l_Sd_item_exchange* other);
  1113. // implements Message ----------------------------------------------
  1114. packetc2l_Sd_item_exchange* New() const;
  1115. void CopyFrom(const ::google::protobuf::Message& from);
  1116. void MergeFrom(const ::google::protobuf::Message& from);
  1117. void CopyFrom(const packetc2l_Sd_item_exchange& from);
  1118. void MergeFrom(const packetc2l_Sd_item_exchange& from);
  1119. void Clear();
  1120. bool IsInitialized() const;
  1121. int ByteSize() const;
  1122. bool MergePartialFromCodedStream(
  1123. ::google::protobuf::io::CodedInputStream* input);
  1124. void SerializeWithCachedSizes(
  1125. ::google::protobuf::io::CodedOutputStream* output) const;
  1126. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1127. int GetCachedSize() const { return _cached_size_; }
  1128. private:
  1129. void SharedCtor();
  1130. void SharedDtor();
  1131. void SetCachedSize(int size) const;
  1132. public:
  1133. ::google::protobuf::Metadata GetMetadata() const;
  1134. // nested types ----------------------------------------------------
  1135. // accessors -------------------------------------------------------
  1136. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_summer_item_exchange];
  1137. inline bool has_packet_id() const;
  1138. inline void clear_packet_id();
  1139. static const int kPacketIdFieldNumber = 1;
  1140. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1141. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1142. // optional int32 exchangeId = 2;
  1143. inline bool has_exchangeid() const;
  1144. inline void clear_exchangeid();
  1145. static const int kExchangeIdFieldNumber = 2;
  1146. inline ::google::protobuf::int32 exchangeid() const;
  1147. inline void set_exchangeid(::google::protobuf::int32 value);
  1148. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_Sd_item_exchange)
  1149. private:
  1150. inline void set_has_packet_id();
  1151. inline void clear_has_packet_id();
  1152. inline void set_has_exchangeid();
  1153. inline void clear_has_exchangeid();
  1154. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1155. int packet_id_;
  1156. ::google::protobuf::int32 exchangeid_;
  1157. mutable int _cached_size_;
  1158. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1159. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1160. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1161. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1162. void InitAsDefaultInstance();
  1163. static packetc2l_Sd_item_exchange* default_instance_;
  1164. };
  1165. // -------------------------------------------------------------------
  1166. class packetl2c_Sd_item_exchange_result : public ::google::protobuf::Message {
  1167. public:
  1168. packetl2c_Sd_item_exchange_result();
  1169. virtual ~packetl2c_Sd_item_exchange_result();
  1170. packetl2c_Sd_item_exchange_result(const packetl2c_Sd_item_exchange_result& from);
  1171. inline packetl2c_Sd_item_exchange_result& operator=(const packetl2c_Sd_item_exchange_result& from) {
  1172. CopyFrom(from);
  1173. return *this;
  1174. }
  1175. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1176. return _unknown_fields_;
  1177. }
  1178. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1179. return &_unknown_fields_;
  1180. }
  1181. static const ::google::protobuf::Descriptor* descriptor();
  1182. static const packetl2c_Sd_item_exchange_result& default_instance();
  1183. void Swap(packetl2c_Sd_item_exchange_result* other);
  1184. // implements Message ----------------------------------------------
  1185. packetl2c_Sd_item_exchange_result* New() const;
  1186. void CopyFrom(const ::google::protobuf::Message& from);
  1187. void MergeFrom(const ::google::protobuf::Message& from);
  1188. void CopyFrom(const packetl2c_Sd_item_exchange_result& from);
  1189. void MergeFrom(const packetl2c_Sd_item_exchange_result& from);
  1190. void Clear();
  1191. bool IsInitialized() const;
  1192. int ByteSize() const;
  1193. bool MergePartialFromCodedStream(
  1194. ::google::protobuf::io::CodedInputStream* input);
  1195. void SerializeWithCachedSizes(
  1196. ::google::protobuf::io::CodedOutputStream* output) const;
  1197. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1198. int GetCachedSize() const { return _cached_size_; }
  1199. private:
  1200. void SharedCtor();
  1201. void SharedDtor();
  1202. void SetCachedSize(int size) const;
  1203. public:
  1204. ::google::protobuf::Metadata GetMetadata() const;
  1205. // nested types ----------------------------------------------------
  1206. // accessors -------------------------------------------------------
  1207. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_summer_item_exchange_result];
  1208. inline bool has_packet_id() const;
  1209. inline void clear_packet_id();
  1210. static const int kPacketIdFieldNumber = 1;
  1211. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1212. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1213. // optional int32 result = 2;
  1214. inline bool has_result() const;
  1215. inline void clear_result();
  1216. static const int kResultFieldNumber = 2;
  1217. inline ::google::protobuf::int32 result() const;
  1218. inline void set_result(::google::protobuf::int32 value);
  1219. // optional int32 exchangeId = 3;
  1220. inline bool has_exchangeid() const;
  1221. inline void clear_exchangeid();
  1222. static const int kExchangeIdFieldNumber = 3;
  1223. inline ::google::protobuf::int32 exchangeid() const;
  1224. inline void set_exchangeid(::google::protobuf::int32 value);
  1225. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_Sd_item_exchange_result)
  1226. private:
  1227. inline void set_has_packet_id();
  1228. inline void clear_has_packet_id();
  1229. inline void set_has_result();
  1230. inline void clear_has_result();
  1231. inline void set_has_exchangeid();
  1232. inline void clear_has_exchangeid();
  1233. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1234. int packet_id_;
  1235. ::google::protobuf::int32 result_;
  1236. ::google::protobuf::int32 exchangeid_;
  1237. mutable int _cached_size_;
  1238. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1239. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1240. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1241. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1242. void InitAsDefaultInstance();
  1243. static packetl2c_Sd_item_exchange_result* default_instance_;
  1244. };
  1245. // -------------------------------------------------------------------
  1246. class packetc2l_Nd_get_activity_info : public ::google::protobuf::Message {
  1247. public:
  1248. packetc2l_Nd_get_activity_info();
  1249. virtual ~packetc2l_Nd_get_activity_info();
  1250. packetc2l_Nd_get_activity_info(const packetc2l_Nd_get_activity_info& from);
  1251. inline packetc2l_Nd_get_activity_info& operator=(const packetc2l_Nd_get_activity_info& from) {
  1252. CopyFrom(from);
  1253. return *this;
  1254. }
  1255. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1256. return _unknown_fields_;
  1257. }
  1258. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1259. return &_unknown_fields_;
  1260. }
  1261. static const ::google::protobuf::Descriptor* descriptor();
  1262. static const packetc2l_Nd_get_activity_info& default_instance();
  1263. void Swap(packetc2l_Nd_get_activity_info* other);
  1264. // implements Message ----------------------------------------------
  1265. packetc2l_Nd_get_activity_info* New() const;
  1266. void CopyFrom(const ::google::protobuf::Message& from);
  1267. void MergeFrom(const ::google::protobuf::Message& from);
  1268. void CopyFrom(const packetc2l_Nd_get_activity_info& from);
  1269. void MergeFrom(const packetc2l_Nd_get_activity_info& from);
  1270. void Clear();
  1271. bool IsInitialized() const;
  1272. int ByteSize() const;
  1273. bool MergePartialFromCodedStream(
  1274. ::google::protobuf::io::CodedInputStream* input);
  1275. void SerializeWithCachedSizes(
  1276. ::google::protobuf::io::CodedOutputStream* output) const;
  1277. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1278. int GetCachedSize() const { return _cached_size_; }
  1279. private:
  1280. void SharedCtor();
  1281. void SharedDtor();
  1282. void SetCachedSize(int size) const;
  1283. public:
  1284. ::google::protobuf::Metadata GetMetadata() const;
  1285. // nested types ----------------------------------------------------
  1286. // accessors -------------------------------------------------------
  1287. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_get_activity_info];
  1288. inline bool has_packet_id() const;
  1289. inline void clear_packet_id();
  1290. static const int kPacketIdFieldNumber = 1;
  1291. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1292. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1293. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_Nd_get_activity_info)
  1294. private:
  1295. inline void set_has_packet_id();
  1296. inline void clear_has_packet_id();
  1297. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1298. int packet_id_;
  1299. mutable int _cached_size_;
  1300. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1301. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1302. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1303. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1304. void InitAsDefaultInstance();
  1305. static packetc2l_Nd_get_activity_info* default_instance_;
  1306. };
  1307. // -------------------------------------------------------------------
  1308. class packetl2c_Nd_get_activity_info_result : public ::google::protobuf::Message {
  1309. public:
  1310. packetl2c_Nd_get_activity_info_result();
  1311. virtual ~packetl2c_Nd_get_activity_info_result();
  1312. packetl2c_Nd_get_activity_info_result(const packetl2c_Nd_get_activity_info_result& from);
  1313. inline packetl2c_Nd_get_activity_info_result& operator=(const packetl2c_Nd_get_activity_info_result& from) {
  1314. CopyFrom(from);
  1315. return *this;
  1316. }
  1317. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1318. return _unknown_fields_;
  1319. }
  1320. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1321. return &_unknown_fields_;
  1322. }
  1323. static const ::google::protobuf::Descriptor* descriptor();
  1324. static const packetl2c_Nd_get_activity_info_result& default_instance();
  1325. void Swap(packetl2c_Nd_get_activity_info_result* other);
  1326. // implements Message ----------------------------------------------
  1327. packetl2c_Nd_get_activity_info_result* New() const;
  1328. void CopyFrom(const ::google::protobuf::Message& from);
  1329. void MergeFrom(const ::google::protobuf::Message& from);
  1330. void CopyFrom(const packetl2c_Nd_get_activity_info_result& from);
  1331. void MergeFrom(const packetl2c_Nd_get_activity_info_result& from);
  1332. void Clear();
  1333. bool IsInitialized() const;
  1334. int ByteSize() const;
  1335. bool MergePartialFromCodedStream(
  1336. ::google::protobuf::io::CodedInputStream* input);
  1337. void SerializeWithCachedSizes(
  1338. ::google::protobuf::io::CodedOutputStream* output) const;
  1339. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1340. int GetCachedSize() const { return _cached_size_; }
  1341. private:
  1342. void SharedCtor();
  1343. void SharedDtor();
  1344. void SetCachedSize(int size) const;
  1345. public:
  1346. ::google::protobuf::Metadata GetMetadata() const;
  1347. // nested types ----------------------------------------------------
  1348. // accessors -------------------------------------------------------
  1349. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_get_activity_info_result];
  1350. inline bool has_packet_id() const;
  1351. inline void clear_packet_id();
  1352. static const int kPacketIdFieldNumber = 1;
  1353. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1354. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1355. // optional int32 lotteryCount = 2;
  1356. inline bool has_lotterycount() const;
  1357. inline void clear_lotterycount();
  1358. static const int kLotteryCountFieldNumber = 2;
  1359. inline ::google::protobuf::int32 lotterycount() const;
  1360. inline void set_lotterycount(::google::protobuf::int32 value);
  1361. // repeated int32 exchangeCountList = 3;
  1362. inline int exchangecountlist_size() const;
  1363. inline void clear_exchangecountlist();
  1364. static const int kExchangeCountListFieldNumber = 3;
  1365. inline ::google::protobuf::int32 exchangecountlist(int index) const;
  1366. inline void set_exchangecountlist(int index, ::google::protobuf::int32 value);
  1367. inline void add_exchangecountlist(::google::protobuf::int32 value);
  1368. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1369. exchangecountlist() const;
  1370. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1371. mutable_exchangecountlist();
  1372. // optional int32 outlay = 4;
  1373. inline bool has_outlay() const;
  1374. inline void clear_outlay();
  1375. static const int kOutlayFieldNumber = 4;
  1376. inline ::google::protobuf::int32 outlay() const;
  1377. inline void set_outlay(::google::protobuf::int32 value);
  1378. // optional int32 recharge = 5;
  1379. inline bool has_recharge() const;
  1380. inline void clear_recharge();
  1381. static const int kRechargeFieldNumber = 5;
  1382. inline ::google::protobuf::int32 recharge() const;
  1383. inline void set_recharge(::google::protobuf::int32 value);
  1384. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_Nd_get_activity_info_result)
  1385. private:
  1386. inline void set_has_packet_id();
  1387. inline void clear_has_packet_id();
  1388. inline void set_has_lotterycount();
  1389. inline void clear_has_lotterycount();
  1390. inline void set_has_outlay();
  1391. inline void clear_has_outlay();
  1392. inline void set_has_recharge();
  1393. inline void clear_has_recharge();
  1394. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1395. int packet_id_;
  1396. ::google::protobuf::int32 lotterycount_;
  1397. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > exchangecountlist_;
  1398. ::google::protobuf::int32 outlay_;
  1399. ::google::protobuf::int32 recharge_;
  1400. mutable int _cached_size_;
  1401. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  1402. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1403. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1404. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1405. void InitAsDefaultInstance();
  1406. static packetl2c_Nd_get_activity_info_result* default_instance_;
  1407. };
  1408. // -------------------------------------------------------------------
  1409. class packetc2l_Nd_start_Lottery : public ::google::protobuf::Message {
  1410. public:
  1411. packetc2l_Nd_start_Lottery();
  1412. virtual ~packetc2l_Nd_start_Lottery();
  1413. packetc2l_Nd_start_Lottery(const packetc2l_Nd_start_Lottery& from);
  1414. inline packetc2l_Nd_start_Lottery& operator=(const packetc2l_Nd_start_Lottery& from) {
  1415. CopyFrom(from);
  1416. return *this;
  1417. }
  1418. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1419. return _unknown_fields_;
  1420. }
  1421. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1422. return &_unknown_fields_;
  1423. }
  1424. static const ::google::protobuf::Descriptor* descriptor();
  1425. static const packetc2l_Nd_start_Lottery& default_instance();
  1426. void Swap(packetc2l_Nd_start_Lottery* other);
  1427. // implements Message ----------------------------------------------
  1428. packetc2l_Nd_start_Lottery* New() const;
  1429. void CopyFrom(const ::google::protobuf::Message& from);
  1430. void MergeFrom(const ::google::protobuf::Message& from);
  1431. void CopyFrom(const packetc2l_Nd_start_Lottery& from);
  1432. void MergeFrom(const packetc2l_Nd_start_Lottery& from);
  1433. void Clear();
  1434. bool IsInitialized() const;
  1435. int ByteSize() const;
  1436. bool MergePartialFromCodedStream(
  1437. ::google::protobuf::io::CodedInputStream* input);
  1438. void SerializeWithCachedSizes(
  1439. ::google::protobuf::io::CodedOutputStream* output) const;
  1440. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1441. int GetCachedSize() const { return _cached_size_; }
  1442. private:
  1443. void SharedCtor();
  1444. void SharedDtor();
  1445. void SetCachedSize(int size) const;
  1446. public:
  1447. ::google::protobuf::Metadata GetMetadata() const;
  1448. // nested types ----------------------------------------------------
  1449. // accessors -------------------------------------------------------
  1450. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_start_Lottery];
  1451. inline bool has_packet_id() const;
  1452. inline void clear_packet_id();
  1453. static const int kPacketIdFieldNumber = 1;
  1454. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1455. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1456. // optional int32 time = 2;
  1457. inline bool has_time() const;
  1458. inline void clear_time();
  1459. static const int kTimeFieldNumber = 2;
  1460. inline ::google::protobuf::int32 time() const;
  1461. inline void set_time(::google::protobuf::int32 value);
  1462. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_Nd_start_Lottery)
  1463. private:
  1464. inline void set_has_packet_id();
  1465. inline void clear_has_packet_id();
  1466. inline void set_has_time();
  1467. inline void clear_has_time();
  1468. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1469. int packet_id_;
  1470. ::google::protobuf::int32 time_;
  1471. mutable int _cached_size_;
  1472. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1473. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1474. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1475. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1476. void InitAsDefaultInstance();
  1477. static packetc2l_Nd_start_Lottery* default_instance_;
  1478. };
  1479. // -------------------------------------------------------------------
  1480. class packetl2c_Nd_start_Lottery_result : public ::google::protobuf::Message {
  1481. public:
  1482. packetl2c_Nd_start_Lottery_result();
  1483. virtual ~packetl2c_Nd_start_Lottery_result();
  1484. packetl2c_Nd_start_Lottery_result(const packetl2c_Nd_start_Lottery_result& from);
  1485. inline packetl2c_Nd_start_Lottery_result& operator=(const packetl2c_Nd_start_Lottery_result& from) {
  1486. CopyFrom(from);
  1487. return *this;
  1488. }
  1489. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1490. return _unknown_fields_;
  1491. }
  1492. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1493. return &_unknown_fields_;
  1494. }
  1495. static const ::google::protobuf::Descriptor* descriptor();
  1496. static const packetl2c_Nd_start_Lottery_result& default_instance();
  1497. void Swap(packetl2c_Nd_start_Lottery_result* other);
  1498. // implements Message ----------------------------------------------
  1499. packetl2c_Nd_start_Lottery_result* New() const;
  1500. void CopyFrom(const ::google::protobuf::Message& from);
  1501. void MergeFrom(const ::google::protobuf::Message& from);
  1502. void CopyFrom(const packetl2c_Nd_start_Lottery_result& from);
  1503. void MergeFrom(const packetl2c_Nd_start_Lottery_result& from);
  1504. void Clear();
  1505. bool IsInitialized() const;
  1506. int ByteSize() const;
  1507. bool MergePartialFromCodedStream(
  1508. ::google::protobuf::io::CodedInputStream* input);
  1509. void SerializeWithCachedSizes(
  1510. ::google::protobuf::io::CodedOutputStream* output) const;
  1511. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1512. int GetCachedSize() const { return _cached_size_; }
  1513. private:
  1514. void SharedCtor();
  1515. void SharedDtor();
  1516. void SetCachedSize(int size) const;
  1517. public:
  1518. ::google::protobuf::Metadata GetMetadata() const;
  1519. // nested types ----------------------------------------------------
  1520. // accessors -------------------------------------------------------
  1521. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_start_Lottery_result];
  1522. inline bool has_packet_id() const;
  1523. inline void clear_packet_id();
  1524. static const int kPacketIdFieldNumber = 1;
  1525. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1526. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1527. // optional int32 result = 2;
  1528. inline bool has_result() const;
  1529. inline void clear_result();
  1530. static const int kResultFieldNumber = 2;
  1531. inline ::google::protobuf::int32 result() const;
  1532. inline void set_result(::google::protobuf::int32 value);
  1533. // optional int32 time = 3;
  1534. inline bool has_time() const;
  1535. inline void clear_time();
  1536. static const int kTimeFieldNumber = 3;
  1537. inline ::google::protobuf::int32 time() const;
  1538. inline void set_time(::google::protobuf::int32 value);
  1539. // repeated int32 rewardId = 4;
  1540. inline int rewardid_size() const;
  1541. inline void clear_rewardid();
  1542. static const int kRewardIdFieldNumber = 4;
  1543. inline ::google::protobuf::int32 rewardid(int index) const;
  1544. inline void set_rewardid(int index, ::google::protobuf::int32 value);
  1545. inline void add_rewardid(::google::protobuf::int32 value);
  1546. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1547. rewardid() const;
  1548. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1549. mutable_rewardid();
  1550. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_Nd_start_Lottery_result)
  1551. private:
  1552. inline void set_has_packet_id();
  1553. inline void clear_has_packet_id();
  1554. inline void set_has_result();
  1555. inline void clear_has_result();
  1556. inline void set_has_time();
  1557. inline void clear_has_time();
  1558. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1559. int packet_id_;
  1560. ::google::protobuf::int32 result_;
  1561. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rewardid_;
  1562. ::google::protobuf::int32 time_;
  1563. mutable int _cached_size_;
  1564. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  1565. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1566. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1567. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1568. void InitAsDefaultInstance();
  1569. static packetl2c_Nd_start_Lottery_result* default_instance_;
  1570. };
  1571. // -------------------------------------------------------------------
  1572. class packetc2l_Nd_item_exchange : public ::google::protobuf::Message {
  1573. public:
  1574. packetc2l_Nd_item_exchange();
  1575. virtual ~packetc2l_Nd_item_exchange();
  1576. packetc2l_Nd_item_exchange(const packetc2l_Nd_item_exchange& from);
  1577. inline packetc2l_Nd_item_exchange& operator=(const packetc2l_Nd_item_exchange& from) {
  1578. CopyFrom(from);
  1579. return *this;
  1580. }
  1581. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1582. return _unknown_fields_;
  1583. }
  1584. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1585. return &_unknown_fields_;
  1586. }
  1587. static const ::google::protobuf::Descriptor* descriptor();
  1588. static const packetc2l_Nd_item_exchange& default_instance();
  1589. void Swap(packetc2l_Nd_item_exchange* other);
  1590. // implements Message ----------------------------------------------
  1591. packetc2l_Nd_item_exchange* New() const;
  1592. void CopyFrom(const ::google::protobuf::Message& from);
  1593. void MergeFrom(const ::google::protobuf::Message& from);
  1594. void CopyFrom(const packetc2l_Nd_item_exchange& from);
  1595. void MergeFrom(const packetc2l_Nd_item_exchange& from);
  1596. void Clear();
  1597. bool IsInitialized() const;
  1598. int ByteSize() const;
  1599. bool MergePartialFromCodedStream(
  1600. ::google::protobuf::io::CodedInputStream* input);
  1601. void SerializeWithCachedSizes(
  1602. ::google::protobuf::io::CodedOutputStream* output) const;
  1603. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1604. int GetCachedSize() const { return _cached_size_; }
  1605. private:
  1606. void SharedCtor();
  1607. void SharedDtor();
  1608. void SetCachedSize(int size) const;
  1609. public:
  1610. ::google::protobuf::Metadata GetMetadata() const;
  1611. // nested types ----------------------------------------------------
  1612. // accessors -------------------------------------------------------
  1613. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_item_exchange];
  1614. inline bool has_packet_id() const;
  1615. inline void clear_packet_id();
  1616. static const int kPacketIdFieldNumber = 1;
  1617. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1618. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1619. // optional int32 type = 2;
  1620. inline bool has_type() const;
  1621. inline void clear_type();
  1622. static const int kTypeFieldNumber = 2;
  1623. inline ::google::protobuf::int32 type() const;
  1624. inline void set_type(::google::protobuf::int32 value);
  1625. // optional int32 exchangeId = 3;
  1626. inline bool has_exchangeid() const;
  1627. inline void clear_exchangeid();
  1628. static const int kExchangeIdFieldNumber = 3;
  1629. inline ::google::protobuf::int32 exchangeid() const;
  1630. inline void set_exchangeid(::google::protobuf::int32 value);
  1631. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_Nd_item_exchange)
  1632. private:
  1633. inline void set_has_packet_id();
  1634. inline void clear_has_packet_id();
  1635. inline void set_has_type();
  1636. inline void clear_has_type();
  1637. inline void set_has_exchangeid();
  1638. inline void clear_has_exchangeid();
  1639. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1640. int packet_id_;
  1641. ::google::protobuf::int32 type_;
  1642. ::google::protobuf::int32 exchangeid_;
  1643. mutable int _cached_size_;
  1644. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1645. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1646. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1647. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1648. void InitAsDefaultInstance();
  1649. static packetc2l_Nd_item_exchange* default_instance_;
  1650. };
  1651. // -------------------------------------------------------------------
  1652. class packetl2c_Nd_item_exchange_result : public ::google::protobuf::Message {
  1653. public:
  1654. packetl2c_Nd_item_exchange_result();
  1655. virtual ~packetl2c_Nd_item_exchange_result();
  1656. packetl2c_Nd_item_exchange_result(const packetl2c_Nd_item_exchange_result& from);
  1657. inline packetl2c_Nd_item_exchange_result& operator=(const packetl2c_Nd_item_exchange_result& from) {
  1658. CopyFrom(from);
  1659. return *this;
  1660. }
  1661. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1662. return _unknown_fields_;
  1663. }
  1664. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1665. return &_unknown_fields_;
  1666. }
  1667. static const ::google::protobuf::Descriptor* descriptor();
  1668. static const packetl2c_Nd_item_exchange_result& default_instance();
  1669. void Swap(packetl2c_Nd_item_exchange_result* other);
  1670. // implements Message ----------------------------------------------
  1671. packetl2c_Nd_item_exchange_result* New() const;
  1672. void CopyFrom(const ::google::protobuf::Message& from);
  1673. void MergeFrom(const ::google::protobuf::Message& from);
  1674. void CopyFrom(const packetl2c_Nd_item_exchange_result& from);
  1675. void MergeFrom(const packetl2c_Nd_item_exchange_result& from);
  1676. void Clear();
  1677. bool IsInitialized() const;
  1678. int ByteSize() const;
  1679. bool MergePartialFromCodedStream(
  1680. ::google::protobuf::io::CodedInputStream* input);
  1681. void SerializeWithCachedSizes(
  1682. ::google::protobuf::io::CodedOutputStream* output) const;
  1683. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1684. int GetCachedSize() const { return _cached_size_; }
  1685. private:
  1686. void SharedCtor();
  1687. void SharedDtor();
  1688. void SetCachedSize(int size) const;
  1689. public:
  1690. ::google::protobuf::Metadata GetMetadata() const;
  1691. // nested types ----------------------------------------------------
  1692. // accessors -------------------------------------------------------
  1693. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_item_exchange_result];
  1694. inline bool has_packet_id() const;
  1695. inline void clear_packet_id();
  1696. static const int kPacketIdFieldNumber = 1;
  1697. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1698. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1699. // optional int32 result = 2;
  1700. inline bool has_result() const;
  1701. inline void clear_result();
  1702. static const int kResultFieldNumber = 2;
  1703. inline ::google::protobuf::int32 result() const;
  1704. inline void set_result(::google::protobuf::int32 value);
  1705. // repeated int32 exchangeIds = 3;
  1706. inline int exchangeids_size() const;
  1707. inline void clear_exchangeids();
  1708. static const int kExchangeIdsFieldNumber = 3;
  1709. inline ::google::protobuf::int32 exchangeids(int index) const;
  1710. inline void set_exchangeids(int index, ::google::protobuf::int32 value);
  1711. inline void add_exchangeids(::google::protobuf::int32 value);
  1712. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1713. exchangeids() const;
  1714. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1715. mutable_exchangeids();
  1716. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_Nd_item_exchange_result)
  1717. private:
  1718. inline void set_has_packet_id();
  1719. inline void clear_has_packet_id();
  1720. inline void set_has_result();
  1721. inline void clear_has_result();
  1722. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1723. int packet_id_;
  1724. ::google::protobuf::int32 result_;
  1725. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > exchangeids_;
  1726. mutable int _cached_size_;
  1727. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1728. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1729. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1730. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1731. void InitAsDefaultInstance();
  1732. static packetl2c_Nd_item_exchange_result* default_instance_;
  1733. };
  1734. // -------------------------------------------------------------------
  1735. class packetl2c_get_grand_prix_info_result : public ::google::protobuf::Message {
  1736. public:
  1737. packetl2c_get_grand_prix_info_result();
  1738. virtual ~packetl2c_get_grand_prix_info_result();
  1739. packetl2c_get_grand_prix_info_result(const packetl2c_get_grand_prix_info_result& from);
  1740. inline packetl2c_get_grand_prix_info_result& operator=(const packetl2c_get_grand_prix_info_result& from) {
  1741. CopyFrom(from);
  1742. return *this;
  1743. }
  1744. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1745. return _unknown_fields_;
  1746. }
  1747. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1748. return &_unknown_fields_;
  1749. }
  1750. static const ::google::protobuf::Descriptor* descriptor();
  1751. static const packetl2c_get_grand_prix_info_result& default_instance();
  1752. void Swap(packetl2c_get_grand_prix_info_result* other);
  1753. // implements Message ----------------------------------------------
  1754. packetl2c_get_grand_prix_info_result* New() const;
  1755. void CopyFrom(const ::google::protobuf::Message& from);
  1756. void MergeFrom(const ::google::protobuf::Message& from);
  1757. void CopyFrom(const packetl2c_get_grand_prix_info_result& from);
  1758. void MergeFrom(const packetl2c_get_grand_prix_info_result& from);
  1759. void Clear();
  1760. bool IsInitialized() const;
  1761. int ByteSize() const;
  1762. bool MergePartialFromCodedStream(
  1763. ::google::protobuf::io::CodedInputStream* input);
  1764. void SerializeWithCachedSizes(
  1765. ::google::protobuf::io::CodedOutputStream* output) const;
  1766. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1767. int GetCachedSize() const { return _cached_size_; }
  1768. private:
  1769. void SharedCtor();
  1770. void SharedDtor();
  1771. void SetCachedSize(int size) const;
  1772. public:
  1773. ::google::protobuf::Metadata GetMetadata() const;
  1774. // nested types ----------------------------------------------------
  1775. // accessors -------------------------------------------------------
  1776. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_grand_prix_info_result];
  1777. inline bool has_packet_id() const;
  1778. inline void clear_packet_id();
  1779. static const int kPacketIdFieldNumber = 1;
  1780. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1781. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1782. // optional int32 activityState = 2;
  1783. inline bool has_activitystate() const;
  1784. inline void clear_activitystate();
  1785. static const int kActivityStateFieldNumber = 2;
  1786. inline ::google::protobuf::int32 activitystate() const;
  1787. inline void set_activitystate(::google::protobuf::int32 value);
  1788. // optional int32 result = 3;
  1789. inline bool has_result() const;
  1790. inline void clear_result();
  1791. static const int kResultFieldNumber = 3;
  1792. inline ::google::protobuf::int32 result() const;
  1793. inline void set_result(::google::protobuf::int32 value);
  1794. // optional int32 startTime = 4;
  1795. inline bool has_starttime() const;
  1796. inline void clear_starttime();
  1797. static const int kStartTimeFieldNumber = 4;
  1798. inline ::google::protobuf::int32 starttime() const;
  1799. inline void set_starttime(::google::protobuf::int32 value);
  1800. // optional int32 endTime = 5;
  1801. inline bool has_endtime() const;
  1802. inline void clear_endtime();
  1803. static const int kEndTimeFieldNumber = 5;
  1804. inline ::google::protobuf::int32 endtime() const;
  1805. inline void set_endtime(::google::protobuf::int32 value);
  1806. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_grand_prix_info_result)
  1807. private:
  1808. inline void set_has_packet_id();
  1809. inline void clear_has_packet_id();
  1810. inline void set_has_activitystate();
  1811. inline void clear_has_activitystate();
  1812. inline void set_has_result();
  1813. inline void clear_has_result();
  1814. inline void set_has_starttime();
  1815. inline void clear_has_starttime();
  1816. inline void set_has_endtime();
  1817. inline void clear_has_endtime();
  1818. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1819. int packet_id_;
  1820. ::google::protobuf::int32 activitystate_;
  1821. ::google::protobuf::int32 result_;
  1822. ::google::protobuf::int32 starttime_;
  1823. ::google::protobuf::int32 endtime_;
  1824. mutable int _cached_size_;
  1825. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  1826. friend void protobuf_AddDesc_fish_5factivity_2eproto();
  1827. friend void protobuf_AssignDesc_fish_5factivity_2eproto();
  1828. friend void protobuf_ShutdownFile_fish_5factivity_2eproto();
  1829. void InitAsDefaultInstance();
  1830. static packetl2c_get_grand_prix_info_result* default_instance_;
  1831. };
  1832. // ===================================================================
  1833. // ===================================================================
  1834. // packetc2l_get_torpedo_rank
  1835. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank];
  1836. inline bool packetc2l_get_torpedo_rank::has_packet_id() const {
  1837. return (_has_bits_[0] & 0x00000001u) != 0;
  1838. }
  1839. inline void packetc2l_get_torpedo_rank::set_has_packet_id() {
  1840. _has_bits_[0] |= 0x00000001u;
  1841. }
  1842. inline void packetc2l_get_torpedo_rank::clear_has_packet_id() {
  1843. _has_bits_[0] &= ~0x00000001u;
  1844. }
  1845. inline void packetc2l_get_torpedo_rank::clear_packet_id() {
  1846. packet_id_ = 10145;
  1847. clear_has_packet_id();
  1848. }
  1849. inline ::fish_protocols::e_server_msg_type packetc2l_get_torpedo_rank::packet_id() const {
  1850. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  1851. }
  1852. inline void packetc2l_get_torpedo_rank::set_packet_id(::fish_protocols::e_server_msg_type value) {
  1853. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  1854. set_has_packet_id();
  1855. packet_id_ = value;
  1856. }
  1857. // optional int32 rankType = 2;
  1858. inline bool packetc2l_get_torpedo_rank::has_ranktype() const {
  1859. return (_has_bits_[0] & 0x00000002u) != 0;
  1860. }
  1861. inline void packetc2l_get_torpedo_rank::set_has_ranktype() {
  1862. _has_bits_[0] |= 0x00000002u;
  1863. }
  1864. inline void packetc2l_get_torpedo_rank::clear_has_ranktype() {
  1865. _has_bits_[0] &= ~0x00000002u;
  1866. }
  1867. inline void packetc2l_get_torpedo_rank::clear_ranktype() {
  1868. ranktype_ = 0;
  1869. clear_has_ranktype();
  1870. }
  1871. inline ::google::protobuf::int32 packetc2l_get_torpedo_rank::ranktype() const {
  1872. return ranktype_;
  1873. }
  1874. inline void packetc2l_get_torpedo_rank::set_ranktype(::google::protobuf::int32 value) {
  1875. set_has_ranktype();
  1876. ranktype_ = value;
  1877. }
  1878. // -------------------------------------------------------------------
  1879. // TorpedoRankInfo
  1880. // optional int32 playerId = 1;
  1881. inline bool TorpedoRankInfo::has_playerid() const {
  1882. return (_has_bits_[0] & 0x00000001u) != 0;
  1883. }
  1884. inline void TorpedoRankInfo::set_has_playerid() {
  1885. _has_bits_[0] |= 0x00000001u;
  1886. }
  1887. inline void TorpedoRankInfo::clear_has_playerid() {
  1888. _has_bits_[0] &= ~0x00000001u;
  1889. }
  1890. inline void TorpedoRankInfo::clear_playerid() {
  1891. playerid_ = 0;
  1892. clear_has_playerid();
  1893. }
  1894. inline ::google::protobuf::int32 TorpedoRankInfo::playerid() const {
  1895. return playerid_;
  1896. }
  1897. inline void TorpedoRankInfo::set_playerid(::google::protobuf::int32 value) {
  1898. set_has_playerid();
  1899. playerid_ = value;
  1900. }
  1901. // optional string nickName = 2;
  1902. inline bool TorpedoRankInfo::has_nickname() const {
  1903. return (_has_bits_[0] & 0x00000002u) != 0;
  1904. }
  1905. inline void TorpedoRankInfo::set_has_nickname() {
  1906. _has_bits_[0] |= 0x00000002u;
  1907. }
  1908. inline void TorpedoRankInfo::clear_has_nickname() {
  1909. _has_bits_[0] &= ~0x00000002u;
  1910. }
  1911. inline void TorpedoRankInfo::clear_nickname() {
  1912. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1913. nickname_->clear();
  1914. }
  1915. clear_has_nickname();
  1916. }
  1917. inline const ::std::string& TorpedoRankInfo::nickname() const {
  1918. return *nickname_;
  1919. }
  1920. inline void TorpedoRankInfo::set_nickname(const ::std::string& value) {
  1921. set_has_nickname();
  1922. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1923. nickname_ = new ::std::string;
  1924. }
  1925. nickname_->assign(value);
  1926. }
  1927. inline void TorpedoRankInfo::set_nickname(const char* value) {
  1928. set_has_nickname();
  1929. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1930. nickname_ = new ::std::string;
  1931. }
  1932. nickname_->assign(value);
  1933. }
  1934. inline void TorpedoRankInfo::set_nickname(const char* value, size_t size) {
  1935. set_has_nickname();
  1936. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1937. nickname_ = new ::std::string;
  1938. }
  1939. nickname_->assign(reinterpret_cast<const char*>(value), size);
  1940. }
  1941. inline ::std::string* TorpedoRankInfo::mutable_nickname() {
  1942. set_has_nickname();
  1943. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1944. nickname_ = new ::std::string;
  1945. }
  1946. return nickname_;
  1947. }
  1948. inline ::std::string* TorpedoRankInfo::release_nickname() {
  1949. clear_has_nickname();
  1950. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  1951. return NULL;
  1952. } else {
  1953. ::std::string* temp = nickname_;
  1954. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1955. return temp;
  1956. }
  1957. }
  1958. inline void TorpedoRankInfo::set_allocated_nickname(::std::string* nickname) {
  1959. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1960. delete nickname_;
  1961. }
  1962. if (nickname) {
  1963. set_has_nickname();
  1964. nickname_ = nickname;
  1965. } else {
  1966. clear_has_nickname();
  1967. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1968. }
  1969. }
  1970. // optional int32 gold = 3;
  1971. inline bool TorpedoRankInfo::has_gold() const {
  1972. return (_has_bits_[0] & 0x00000004u) != 0;
  1973. }
  1974. inline void TorpedoRankInfo::set_has_gold() {
  1975. _has_bits_[0] |= 0x00000004u;
  1976. }
  1977. inline void TorpedoRankInfo::clear_has_gold() {
  1978. _has_bits_[0] &= ~0x00000004u;
  1979. }
  1980. inline void TorpedoRankInfo::clear_gold() {
  1981. gold_ = 0;
  1982. clear_has_gold();
  1983. }
  1984. inline ::google::protobuf::int32 TorpedoRankInfo::gold() const {
  1985. return gold_;
  1986. }
  1987. inline void TorpedoRankInfo::set_gold(::google::protobuf::int32 value) {
  1988. set_has_gold();
  1989. gold_ = value;
  1990. }
  1991. // optional int32 headid = 4;
  1992. inline bool TorpedoRankInfo::has_headid() const {
  1993. return (_has_bits_[0] & 0x00000008u) != 0;
  1994. }
  1995. inline void TorpedoRankInfo::set_has_headid() {
  1996. _has_bits_[0] |= 0x00000008u;
  1997. }
  1998. inline void TorpedoRankInfo::clear_has_headid() {
  1999. _has_bits_[0] &= ~0x00000008u;
  2000. }
  2001. inline void TorpedoRankInfo::clear_headid() {
  2002. headid_ = 0;
  2003. clear_has_headid();
  2004. }
  2005. inline ::google::protobuf::int32 TorpedoRankInfo::headid() const {
  2006. return headid_;
  2007. }
  2008. inline void TorpedoRankInfo::set_headid(::google::protobuf::int32 value) {
  2009. set_has_headid();
  2010. headid_ = value;
  2011. }
  2012. // optional int32 frameid = 5;
  2013. inline bool TorpedoRankInfo::has_frameid() const {
  2014. return (_has_bits_[0] & 0x00000010u) != 0;
  2015. }
  2016. inline void TorpedoRankInfo::set_has_frameid() {
  2017. _has_bits_[0] |= 0x00000010u;
  2018. }
  2019. inline void TorpedoRankInfo::clear_has_frameid() {
  2020. _has_bits_[0] &= ~0x00000010u;
  2021. }
  2022. inline void TorpedoRankInfo::clear_frameid() {
  2023. frameid_ = 0;
  2024. clear_has_frameid();
  2025. }
  2026. inline ::google::protobuf::int32 TorpedoRankInfo::frameid() const {
  2027. return frameid_;
  2028. }
  2029. inline void TorpedoRankInfo::set_frameid(::google::protobuf::int32 value) {
  2030. set_has_frameid();
  2031. frameid_ = value;
  2032. }
  2033. // optional int32 vipLevel = 6;
  2034. inline bool TorpedoRankInfo::has_viplevel() const {
  2035. return (_has_bits_[0] & 0x00000020u) != 0;
  2036. }
  2037. inline void TorpedoRankInfo::set_has_viplevel() {
  2038. _has_bits_[0] |= 0x00000020u;
  2039. }
  2040. inline void TorpedoRankInfo::clear_has_viplevel() {
  2041. _has_bits_[0] &= ~0x00000020u;
  2042. }
  2043. inline void TorpedoRankInfo::clear_viplevel() {
  2044. viplevel_ = 0;
  2045. clear_has_viplevel();
  2046. }
  2047. inline ::google::protobuf::int32 TorpedoRankInfo::viplevel() const {
  2048. return viplevel_;
  2049. }
  2050. inline void TorpedoRankInfo::set_viplevel(::google::protobuf::int32 value) {
  2051. set_has_viplevel();
  2052. viplevel_ = value;
  2053. }
  2054. // optional int32 gender = 7;
  2055. inline bool TorpedoRankInfo::has_gender() const {
  2056. return (_has_bits_[0] & 0x00000040u) != 0;
  2057. }
  2058. inline void TorpedoRankInfo::set_has_gender() {
  2059. _has_bits_[0] |= 0x00000040u;
  2060. }
  2061. inline void TorpedoRankInfo::clear_has_gender() {
  2062. _has_bits_[0] &= ~0x00000040u;
  2063. }
  2064. inline void TorpedoRankInfo::clear_gender() {
  2065. gender_ = 0;
  2066. clear_has_gender();
  2067. }
  2068. inline ::google::protobuf::int32 TorpedoRankInfo::gender() const {
  2069. return gender_;
  2070. }
  2071. inline void TorpedoRankInfo::set_gender(::google::protobuf::int32 value) {
  2072. set_has_gender();
  2073. gender_ = value;
  2074. }
  2075. // -------------------------------------------------------------------
  2076. // TorpedoRankChangeInfo
  2077. // optional int32 playerId = 1;
  2078. inline bool TorpedoRankChangeInfo::has_playerid() const {
  2079. return (_has_bits_[0] & 0x00000001u) != 0;
  2080. }
  2081. inline void TorpedoRankChangeInfo::set_has_playerid() {
  2082. _has_bits_[0] |= 0x00000001u;
  2083. }
  2084. inline void TorpedoRankChangeInfo::clear_has_playerid() {
  2085. _has_bits_[0] &= ~0x00000001u;
  2086. }
  2087. inline void TorpedoRankChangeInfo::clear_playerid() {
  2088. playerid_ = 0;
  2089. clear_has_playerid();
  2090. }
  2091. inline ::google::protobuf::int32 TorpedoRankChangeInfo::playerid() const {
  2092. return playerid_;
  2093. }
  2094. inline void TorpedoRankChangeInfo::set_playerid(::google::protobuf::int32 value) {
  2095. set_has_playerid();
  2096. playerid_ = value;
  2097. }
  2098. // optional string nickName = 2;
  2099. inline bool TorpedoRankChangeInfo::has_nickname() const {
  2100. return (_has_bits_[0] & 0x00000002u) != 0;
  2101. }
  2102. inline void TorpedoRankChangeInfo::set_has_nickname() {
  2103. _has_bits_[0] |= 0x00000002u;
  2104. }
  2105. inline void TorpedoRankChangeInfo::clear_has_nickname() {
  2106. _has_bits_[0] &= ~0x00000002u;
  2107. }
  2108. inline void TorpedoRankChangeInfo::clear_nickname() {
  2109. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  2110. nickname_->clear();
  2111. }
  2112. clear_has_nickname();
  2113. }
  2114. inline const ::std::string& TorpedoRankChangeInfo::nickname() const {
  2115. return *nickname_;
  2116. }
  2117. inline void TorpedoRankChangeInfo::set_nickname(const ::std::string& value) {
  2118. set_has_nickname();
  2119. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  2120. nickname_ = new ::std::string;
  2121. }
  2122. nickname_->assign(value);
  2123. }
  2124. inline void TorpedoRankChangeInfo::set_nickname(const char* value) {
  2125. set_has_nickname();
  2126. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  2127. nickname_ = new ::std::string;
  2128. }
  2129. nickname_->assign(value);
  2130. }
  2131. inline void TorpedoRankChangeInfo::set_nickname(const char* value, size_t size) {
  2132. set_has_nickname();
  2133. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  2134. nickname_ = new ::std::string;
  2135. }
  2136. nickname_->assign(reinterpret_cast<const char*>(value), size);
  2137. }
  2138. inline ::std::string* TorpedoRankChangeInfo::mutable_nickname() {
  2139. set_has_nickname();
  2140. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  2141. nickname_ = new ::std::string;
  2142. }
  2143. return nickname_;
  2144. }
  2145. inline ::std::string* TorpedoRankChangeInfo::release_nickname() {
  2146. clear_has_nickname();
  2147. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  2148. return NULL;
  2149. } else {
  2150. ::std::string* temp = nickname_;
  2151. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2152. return temp;
  2153. }
  2154. }
  2155. inline void TorpedoRankChangeInfo::set_allocated_nickname(::std::string* nickname) {
  2156. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  2157. delete nickname_;
  2158. }
  2159. if (nickname) {
  2160. set_has_nickname();
  2161. nickname_ = nickname;
  2162. } else {
  2163. clear_has_nickname();
  2164. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2165. }
  2166. }
  2167. // optional int32 torpedoId = 3;
  2168. inline bool TorpedoRankChangeInfo::has_torpedoid() const {
  2169. return (_has_bits_[0] & 0x00000004u) != 0;
  2170. }
  2171. inline void TorpedoRankChangeInfo::set_has_torpedoid() {
  2172. _has_bits_[0] |= 0x00000004u;
  2173. }
  2174. inline void TorpedoRankChangeInfo::clear_has_torpedoid() {
  2175. _has_bits_[0] &= ~0x00000004u;
  2176. }
  2177. inline void TorpedoRankChangeInfo::clear_torpedoid() {
  2178. torpedoid_ = 0;
  2179. clear_has_torpedoid();
  2180. }
  2181. inline ::google::protobuf::int32 TorpedoRankChangeInfo::torpedoid() const {
  2182. return torpedoid_;
  2183. }
  2184. inline void TorpedoRankChangeInfo::set_torpedoid(::google::protobuf::int32 value) {
  2185. set_has_torpedoid();
  2186. torpedoid_ = value;
  2187. }
  2188. // optional int64 changeGold = 4;
  2189. inline bool TorpedoRankChangeInfo::has_changegold() const {
  2190. return (_has_bits_[0] & 0x00000008u) != 0;
  2191. }
  2192. inline void TorpedoRankChangeInfo::set_has_changegold() {
  2193. _has_bits_[0] |= 0x00000008u;
  2194. }
  2195. inline void TorpedoRankChangeInfo::clear_has_changegold() {
  2196. _has_bits_[0] &= ~0x00000008u;
  2197. }
  2198. inline void TorpedoRankChangeInfo::clear_changegold() {
  2199. changegold_ = GOOGLE_LONGLONG(0);
  2200. clear_has_changegold();
  2201. }
  2202. inline ::google::protobuf::int64 TorpedoRankChangeInfo::changegold() const {
  2203. return changegold_;
  2204. }
  2205. inline void TorpedoRankChangeInfo::set_changegold(::google::protobuf::int64 value) {
  2206. set_has_changegold();
  2207. changegold_ = value;
  2208. }
  2209. // optional int64 changePoint = 5;
  2210. inline bool TorpedoRankChangeInfo::has_changepoint() const {
  2211. return (_has_bits_[0] & 0x00000010u) != 0;
  2212. }
  2213. inline void TorpedoRankChangeInfo::set_has_changepoint() {
  2214. _has_bits_[0] |= 0x00000010u;
  2215. }
  2216. inline void TorpedoRankChangeInfo::clear_has_changepoint() {
  2217. _has_bits_[0] &= ~0x00000010u;
  2218. }
  2219. inline void TorpedoRankChangeInfo::clear_changepoint() {
  2220. changepoint_ = GOOGLE_LONGLONG(0);
  2221. clear_has_changepoint();
  2222. }
  2223. inline ::google::protobuf::int64 TorpedoRankChangeInfo::changepoint() const {
  2224. return changepoint_;
  2225. }
  2226. inline void TorpedoRankChangeInfo::set_changepoint(::google::protobuf::int64 value) {
  2227. set_has_changepoint();
  2228. changepoint_ = value;
  2229. }
  2230. // -------------------------------------------------------------------
  2231. // packetl2c_get_torpedo_rank_result
  2232. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_result];
  2233. inline bool packetl2c_get_torpedo_rank_result::has_packet_id() const {
  2234. return (_has_bits_[0] & 0x00000001u) != 0;
  2235. }
  2236. inline void packetl2c_get_torpedo_rank_result::set_has_packet_id() {
  2237. _has_bits_[0] |= 0x00000001u;
  2238. }
  2239. inline void packetl2c_get_torpedo_rank_result::clear_has_packet_id() {
  2240. _has_bits_[0] &= ~0x00000001u;
  2241. }
  2242. inline void packetl2c_get_torpedo_rank_result::clear_packet_id() {
  2243. packet_id_ = 16134;
  2244. clear_has_packet_id();
  2245. }
  2246. inline ::fish_protocols::e_server_msg_type packetl2c_get_torpedo_rank_result::packet_id() const {
  2247. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2248. }
  2249. inline void packetl2c_get_torpedo_rank_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2250. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2251. set_has_packet_id();
  2252. packet_id_ = value;
  2253. }
  2254. // repeated .fish_protocols.TorpedoRankInfo rankList = 2;
  2255. inline int packetl2c_get_torpedo_rank_result::ranklist_size() const {
  2256. return ranklist_.size();
  2257. }
  2258. inline void packetl2c_get_torpedo_rank_result::clear_ranklist() {
  2259. ranklist_.Clear();
  2260. }
  2261. inline const ::fish_protocols::TorpedoRankInfo& packetl2c_get_torpedo_rank_result::ranklist(int index) const {
  2262. return ranklist_.Get(index);
  2263. }
  2264. inline ::fish_protocols::TorpedoRankInfo* packetl2c_get_torpedo_rank_result::mutable_ranklist(int index) {
  2265. return ranklist_.Mutable(index);
  2266. }
  2267. inline ::fish_protocols::TorpedoRankInfo* packetl2c_get_torpedo_rank_result::add_ranklist() {
  2268. return ranklist_.Add();
  2269. }
  2270. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankInfo >&
  2271. packetl2c_get_torpedo_rank_result::ranklist() const {
  2272. return ranklist_;
  2273. }
  2274. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankInfo >*
  2275. packetl2c_get_torpedo_rank_result::mutable_ranklist() {
  2276. return &ranklist_;
  2277. }
  2278. // optional int32 rankType = 3;
  2279. inline bool packetl2c_get_torpedo_rank_result::has_ranktype() const {
  2280. return (_has_bits_[0] & 0x00000004u) != 0;
  2281. }
  2282. inline void packetl2c_get_torpedo_rank_result::set_has_ranktype() {
  2283. _has_bits_[0] |= 0x00000004u;
  2284. }
  2285. inline void packetl2c_get_torpedo_rank_result::clear_has_ranktype() {
  2286. _has_bits_[0] &= ~0x00000004u;
  2287. }
  2288. inline void packetl2c_get_torpedo_rank_result::clear_ranktype() {
  2289. ranktype_ = 0;
  2290. clear_has_ranktype();
  2291. }
  2292. inline ::google::protobuf::int32 packetl2c_get_torpedo_rank_result::ranktype() const {
  2293. return ranktype_;
  2294. }
  2295. inline void packetl2c_get_torpedo_rank_result::set_ranktype(::google::protobuf::int32 value) {
  2296. set_has_ranktype();
  2297. ranktype_ = value;
  2298. }
  2299. // optional int64 selfRankGold = 4;
  2300. inline bool packetl2c_get_torpedo_rank_result::has_selfrankgold() const {
  2301. return (_has_bits_[0] & 0x00000008u) != 0;
  2302. }
  2303. inline void packetl2c_get_torpedo_rank_result::set_has_selfrankgold() {
  2304. _has_bits_[0] |= 0x00000008u;
  2305. }
  2306. inline void packetl2c_get_torpedo_rank_result::clear_has_selfrankgold() {
  2307. _has_bits_[0] &= ~0x00000008u;
  2308. }
  2309. inline void packetl2c_get_torpedo_rank_result::clear_selfrankgold() {
  2310. selfrankgold_ = GOOGLE_LONGLONG(0);
  2311. clear_has_selfrankgold();
  2312. }
  2313. inline ::google::protobuf::int64 packetl2c_get_torpedo_rank_result::selfrankgold() const {
  2314. return selfrankgold_;
  2315. }
  2316. inline void packetl2c_get_torpedo_rank_result::set_selfrankgold(::google::protobuf::int64 value) {
  2317. set_has_selfrankgold();
  2318. selfrankgold_ = value;
  2319. }
  2320. // optional int32 selfMaxGold = 5;
  2321. inline bool packetl2c_get_torpedo_rank_result::has_selfmaxgold() const {
  2322. return (_has_bits_[0] & 0x00000010u) != 0;
  2323. }
  2324. inline void packetl2c_get_torpedo_rank_result::set_has_selfmaxgold() {
  2325. _has_bits_[0] |= 0x00000010u;
  2326. }
  2327. inline void packetl2c_get_torpedo_rank_result::clear_has_selfmaxgold() {
  2328. _has_bits_[0] &= ~0x00000010u;
  2329. }
  2330. inline void packetl2c_get_torpedo_rank_result::clear_selfmaxgold() {
  2331. selfmaxgold_ = 0;
  2332. clear_has_selfmaxgold();
  2333. }
  2334. inline ::google::protobuf::int32 packetl2c_get_torpedo_rank_result::selfmaxgold() const {
  2335. return selfmaxgold_;
  2336. }
  2337. inline void packetl2c_get_torpedo_rank_result::set_selfmaxgold(::google::protobuf::int32 value) {
  2338. set_has_selfmaxgold();
  2339. selfmaxgold_ = value;
  2340. }
  2341. // optional int32 guaranteedStat = 6;
  2342. inline bool packetl2c_get_torpedo_rank_result::has_guaranteedstat() const {
  2343. return (_has_bits_[0] & 0x00000020u) != 0;
  2344. }
  2345. inline void packetl2c_get_torpedo_rank_result::set_has_guaranteedstat() {
  2346. _has_bits_[0] |= 0x00000020u;
  2347. }
  2348. inline void packetl2c_get_torpedo_rank_result::clear_has_guaranteedstat() {
  2349. _has_bits_[0] &= ~0x00000020u;
  2350. }
  2351. inline void packetl2c_get_torpedo_rank_result::clear_guaranteedstat() {
  2352. guaranteedstat_ = 0;
  2353. clear_has_guaranteedstat();
  2354. }
  2355. inline ::google::protobuf::int32 packetl2c_get_torpedo_rank_result::guaranteedstat() const {
  2356. return guaranteedstat_;
  2357. }
  2358. inline void packetl2c_get_torpedo_rank_result::set_guaranteedstat(::google::protobuf::int32 value) {
  2359. set_has_guaranteedstat();
  2360. guaranteedstat_ = value;
  2361. }
  2362. // -------------------------------------------------------------------
  2363. // packetc2l_get_torpedo_rank_change_list
  2364. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank_change_list];
  2365. inline bool packetc2l_get_torpedo_rank_change_list::has_packet_id() const {
  2366. return (_has_bits_[0] & 0x00000001u) != 0;
  2367. }
  2368. inline void packetc2l_get_torpedo_rank_change_list::set_has_packet_id() {
  2369. _has_bits_[0] |= 0x00000001u;
  2370. }
  2371. inline void packetc2l_get_torpedo_rank_change_list::clear_has_packet_id() {
  2372. _has_bits_[0] &= ~0x00000001u;
  2373. }
  2374. inline void packetc2l_get_torpedo_rank_change_list::clear_packet_id() {
  2375. packet_id_ = 10146;
  2376. clear_has_packet_id();
  2377. }
  2378. inline ::fish_protocols::e_server_msg_type packetc2l_get_torpedo_rank_change_list::packet_id() const {
  2379. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2380. }
  2381. inline void packetc2l_get_torpedo_rank_change_list::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2382. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2383. set_has_packet_id();
  2384. packet_id_ = value;
  2385. }
  2386. // optional int32 rankType = 2;
  2387. inline bool packetc2l_get_torpedo_rank_change_list::has_ranktype() const {
  2388. return (_has_bits_[0] & 0x00000002u) != 0;
  2389. }
  2390. inline void packetc2l_get_torpedo_rank_change_list::set_has_ranktype() {
  2391. _has_bits_[0] |= 0x00000002u;
  2392. }
  2393. inline void packetc2l_get_torpedo_rank_change_list::clear_has_ranktype() {
  2394. _has_bits_[0] &= ~0x00000002u;
  2395. }
  2396. inline void packetc2l_get_torpedo_rank_change_list::clear_ranktype() {
  2397. ranktype_ = 0;
  2398. clear_has_ranktype();
  2399. }
  2400. inline ::google::protobuf::int32 packetc2l_get_torpedo_rank_change_list::ranktype() const {
  2401. return ranktype_;
  2402. }
  2403. inline void packetc2l_get_torpedo_rank_change_list::set_ranktype(::google::protobuf::int32 value) {
  2404. set_has_ranktype();
  2405. ranktype_ = value;
  2406. }
  2407. // -------------------------------------------------------------------
  2408. // packetl2c_get_torpedo_rank_change_list_result
  2409. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_change_list_result];
  2410. inline bool packetl2c_get_torpedo_rank_change_list_result::has_packet_id() const {
  2411. return (_has_bits_[0] & 0x00000001u) != 0;
  2412. }
  2413. inline void packetl2c_get_torpedo_rank_change_list_result::set_has_packet_id() {
  2414. _has_bits_[0] |= 0x00000001u;
  2415. }
  2416. inline void packetl2c_get_torpedo_rank_change_list_result::clear_has_packet_id() {
  2417. _has_bits_[0] &= ~0x00000001u;
  2418. }
  2419. inline void packetl2c_get_torpedo_rank_change_list_result::clear_packet_id() {
  2420. packet_id_ = 16135;
  2421. clear_has_packet_id();
  2422. }
  2423. inline ::fish_protocols::e_server_msg_type packetl2c_get_torpedo_rank_change_list_result::packet_id() const {
  2424. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2425. }
  2426. inline void packetl2c_get_torpedo_rank_change_list_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2427. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2428. set_has_packet_id();
  2429. packet_id_ = value;
  2430. }
  2431. // optional int32 rankType = 2;
  2432. inline bool packetl2c_get_torpedo_rank_change_list_result::has_ranktype() const {
  2433. return (_has_bits_[0] & 0x00000002u) != 0;
  2434. }
  2435. inline void packetl2c_get_torpedo_rank_change_list_result::set_has_ranktype() {
  2436. _has_bits_[0] |= 0x00000002u;
  2437. }
  2438. inline void packetl2c_get_torpedo_rank_change_list_result::clear_has_ranktype() {
  2439. _has_bits_[0] &= ~0x00000002u;
  2440. }
  2441. inline void packetl2c_get_torpedo_rank_change_list_result::clear_ranktype() {
  2442. ranktype_ = 0;
  2443. clear_has_ranktype();
  2444. }
  2445. inline ::google::protobuf::int32 packetl2c_get_torpedo_rank_change_list_result::ranktype() const {
  2446. return ranktype_;
  2447. }
  2448. inline void packetl2c_get_torpedo_rank_change_list_result::set_ranktype(::google::protobuf::int32 value) {
  2449. set_has_ranktype();
  2450. ranktype_ = value;
  2451. }
  2452. // repeated .fish_protocols.TorpedoRankChangeInfo changeList = 3;
  2453. inline int packetl2c_get_torpedo_rank_change_list_result::changelist_size() const {
  2454. return changelist_.size();
  2455. }
  2456. inline void packetl2c_get_torpedo_rank_change_list_result::clear_changelist() {
  2457. changelist_.Clear();
  2458. }
  2459. inline const ::fish_protocols::TorpedoRankChangeInfo& packetl2c_get_torpedo_rank_change_list_result::changelist(int index) const {
  2460. return changelist_.Get(index);
  2461. }
  2462. inline ::fish_protocols::TorpedoRankChangeInfo* packetl2c_get_torpedo_rank_change_list_result::mutable_changelist(int index) {
  2463. return changelist_.Mutable(index);
  2464. }
  2465. inline ::fish_protocols::TorpedoRankChangeInfo* packetl2c_get_torpedo_rank_change_list_result::add_changelist() {
  2466. return changelist_.Add();
  2467. }
  2468. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankChangeInfo >&
  2469. packetl2c_get_torpedo_rank_change_list_result::changelist() const {
  2470. return changelist_;
  2471. }
  2472. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::TorpedoRankChangeInfo >*
  2473. packetl2c_get_torpedo_rank_change_list_result::mutable_changelist() {
  2474. return &changelist_;
  2475. }
  2476. // -------------------------------------------------------------------
  2477. // packetc2l_receive_torpedo_guaranteed_award
  2478. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_torpedo_guaranteed_award];
  2479. inline bool packetc2l_receive_torpedo_guaranteed_award::has_packet_id() const {
  2480. return (_has_bits_[0] & 0x00000001u) != 0;
  2481. }
  2482. inline void packetc2l_receive_torpedo_guaranteed_award::set_has_packet_id() {
  2483. _has_bits_[0] |= 0x00000001u;
  2484. }
  2485. inline void packetc2l_receive_torpedo_guaranteed_award::clear_has_packet_id() {
  2486. _has_bits_[0] &= ~0x00000001u;
  2487. }
  2488. inline void packetc2l_receive_torpedo_guaranteed_award::clear_packet_id() {
  2489. packet_id_ = 10204;
  2490. clear_has_packet_id();
  2491. }
  2492. inline ::fish_protocols::e_server_msg_type packetc2l_receive_torpedo_guaranteed_award::packet_id() const {
  2493. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2494. }
  2495. inline void packetc2l_receive_torpedo_guaranteed_award::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2496. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2497. set_has_packet_id();
  2498. packet_id_ = value;
  2499. }
  2500. // optional int32 rankType = 2;
  2501. inline bool packetc2l_receive_torpedo_guaranteed_award::has_ranktype() const {
  2502. return (_has_bits_[0] & 0x00000002u) != 0;
  2503. }
  2504. inline void packetc2l_receive_torpedo_guaranteed_award::set_has_ranktype() {
  2505. _has_bits_[0] |= 0x00000002u;
  2506. }
  2507. inline void packetc2l_receive_torpedo_guaranteed_award::clear_has_ranktype() {
  2508. _has_bits_[0] &= ~0x00000002u;
  2509. }
  2510. inline void packetc2l_receive_torpedo_guaranteed_award::clear_ranktype() {
  2511. ranktype_ = 0;
  2512. clear_has_ranktype();
  2513. }
  2514. inline ::google::protobuf::int32 packetc2l_receive_torpedo_guaranteed_award::ranktype() const {
  2515. return ranktype_;
  2516. }
  2517. inline void packetc2l_receive_torpedo_guaranteed_award::set_ranktype(::google::protobuf::int32 value) {
  2518. set_has_ranktype();
  2519. ranktype_ = value;
  2520. }
  2521. // -------------------------------------------------------------------
  2522. // packetl2c_receive_torpedo_guaranteed_award_result
  2523. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_torpedo_guaranteed_award_result];
  2524. inline bool packetl2c_receive_torpedo_guaranteed_award_result::has_packet_id() const {
  2525. return (_has_bits_[0] & 0x00000001u) != 0;
  2526. }
  2527. inline void packetl2c_receive_torpedo_guaranteed_award_result::set_has_packet_id() {
  2528. _has_bits_[0] |= 0x00000001u;
  2529. }
  2530. inline void packetl2c_receive_torpedo_guaranteed_award_result::clear_has_packet_id() {
  2531. _has_bits_[0] &= ~0x00000001u;
  2532. }
  2533. inline void packetl2c_receive_torpedo_guaranteed_award_result::clear_packet_id() {
  2534. packet_id_ = 16203;
  2535. clear_has_packet_id();
  2536. }
  2537. inline ::fish_protocols::e_server_msg_type packetl2c_receive_torpedo_guaranteed_award_result::packet_id() const {
  2538. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2539. }
  2540. inline void packetl2c_receive_torpedo_guaranteed_award_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2541. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2542. set_has_packet_id();
  2543. packet_id_ = value;
  2544. }
  2545. // optional int32 result = 2;
  2546. inline bool packetl2c_receive_torpedo_guaranteed_award_result::has_result() const {
  2547. return (_has_bits_[0] & 0x00000002u) != 0;
  2548. }
  2549. inline void packetl2c_receive_torpedo_guaranteed_award_result::set_has_result() {
  2550. _has_bits_[0] |= 0x00000002u;
  2551. }
  2552. inline void packetl2c_receive_torpedo_guaranteed_award_result::clear_has_result() {
  2553. _has_bits_[0] &= ~0x00000002u;
  2554. }
  2555. inline void packetl2c_receive_torpedo_guaranteed_award_result::clear_result() {
  2556. result_ = 0;
  2557. clear_has_result();
  2558. }
  2559. inline ::google::protobuf::int32 packetl2c_receive_torpedo_guaranteed_award_result::result() const {
  2560. return result_;
  2561. }
  2562. inline void packetl2c_receive_torpedo_guaranteed_award_result::set_result(::google::protobuf::int32 value) {
  2563. set_has_result();
  2564. result_ = value;
  2565. }
  2566. // optional int32 rankType = 3;
  2567. inline bool packetl2c_receive_torpedo_guaranteed_award_result::has_ranktype() const {
  2568. return (_has_bits_[0] & 0x00000004u) != 0;
  2569. }
  2570. inline void packetl2c_receive_torpedo_guaranteed_award_result::set_has_ranktype() {
  2571. _has_bits_[0] |= 0x00000004u;
  2572. }
  2573. inline void packetl2c_receive_torpedo_guaranteed_award_result::clear_has_ranktype() {
  2574. _has_bits_[0] &= ~0x00000004u;
  2575. }
  2576. inline void packetl2c_receive_torpedo_guaranteed_award_result::clear_ranktype() {
  2577. ranktype_ = 0;
  2578. clear_has_ranktype();
  2579. }
  2580. inline ::google::protobuf::int32 packetl2c_receive_torpedo_guaranteed_award_result::ranktype() const {
  2581. return ranktype_;
  2582. }
  2583. inline void packetl2c_receive_torpedo_guaranteed_award_result::set_ranktype(::google::protobuf::int32 value) {
  2584. set_has_ranktype();
  2585. ranktype_ = value;
  2586. }
  2587. // -------------------------------------------------------------------
  2588. // SummerDayLotteryInfo
  2589. // optional int32 itemId = 1;
  2590. inline bool SummerDayLotteryInfo::has_itemid() const {
  2591. return (_has_bits_[0] & 0x00000001u) != 0;
  2592. }
  2593. inline void SummerDayLotteryInfo::set_has_itemid() {
  2594. _has_bits_[0] |= 0x00000001u;
  2595. }
  2596. inline void SummerDayLotteryInfo::clear_has_itemid() {
  2597. _has_bits_[0] &= ~0x00000001u;
  2598. }
  2599. inline void SummerDayLotteryInfo::clear_itemid() {
  2600. itemid_ = 0;
  2601. clear_has_itemid();
  2602. }
  2603. inline ::google::protobuf::int32 SummerDayLotteryInfo::itemid() const {
  2604. return itemid_;
  2605. }
  2606. inline void SummerDayLotteryInfo::set_itemid(::google::protobuf::int32 value) {
  2607. set_has_itemid();
  2608. itemid_ = value;
  2609. }
  2610. // optional int32 itemCount = 2;
  2611. inline bool SummerDayLotteryInfo::has_itemcount() const {
  2612. return (_has_bits_[0] & 0x00000002u) != 0;
  2613. }
  2614. inline void SummerDayLotteryInfo::set_has_itemcount() {
  2615. _has_bits_[0] |= 0x00000002u;
  2616. }
  2617. inline void SummerDayLotteryInfo::clear_has_itemcount() {
  2618. _has_bits_[0] &= ~0x00000002u;
  2619. }
  2620. inline void SummerDayLotteryInfo::clear_itemcount() {
  2621. itemcount_ = 0;
  2622. clear_has_itemcount();
  2623. }
  2624. inline ::google::protobuf::int32 SummerDayLotteryInfo::itemcount() const {
  2625. return itemcount_;
  2626. }
  2627. inline void SummerDayLotteryInfo::set_itemcount(::google::protobuf::int32 value) {
  2628. set_has_itemcount();
  2629. itemcount_ = value;
  2630. }
  2631. // -------------------------------------------------------------------
  2632. // packetc2l_start_Sd_Lottery
  2633. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_start_Sd_Lottery];
  2634. inline bool packetc2l_start_Sd_Lottery::has_packet_id() const {
  2635. return (_has_bits_[0] & 0x00000001u) != 0;
  2636. }
  2637. inline void packetc2l_start_Sd_Lottery::set_has_packet_id() {
  2638. _has_bits_[0] |= 0x00000001u;
  2639. }
  2640. inline void packetc2l_start_Sd_Lottery::clear_has_packet_id() {
  2641. _has_bits_[0] &= ~0x00000001u;
  2642. }
  2643. inline void packetc2l_start_Sd_Lottery::clear_packet_id() {
  2644. packet_id_ = 10177;
  2645. clear_has_packet_id();
  2646. }
  2647. inline ::fish_protocols::e_server_msg_type packetc2l_start_Sd_Lottery::packet_id() const {
  2648. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2649. }
  2650. inline void packetc2l_start_Sd_Lottery::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2651. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2652. set_has_packet_id();
  2653. packet_id_ = value;
  2654. }
  2655. // optional int32 type = 2;
  2656. inline bool packetc2l_start_Sd_Lottery::has_type() const {
  2657. return (_has_bits_[0] & 0x00000002u) != 0;
  2658. }
  2659. inline void packetc2l_start_Sd_Lottery::set_has_type() {
  2660. _has_bits_[0] |= 0x00000002u;
  2661. }
  2662. inline void packetc2l_start_Sd_Lottery::clear_has_type() {
  2663. _has_bits_[0] &= ~0x00000002u;
  2664. }
  2665. inline void packetc2l_start_Sd_Lottery::clear_type() {
  2666. type_ = 0;
  2667. clear_has_type();
  2668. }
  2669. inline ::google::protobuf::int32 packetc2l_start_Sd_Lottery::type() const {
  2670. return type_;
  2671. }
  2672. inline void packetc2l_start_Sd_Lottery::set_type(::google::protobuf::int32 value) {
  2673. set_has_type();
  2674. type_ = value;
  2675. }
  2676. // optional int32 time = 3;
  2677. inline bool packetc2l_start_Sd_Lottery::has_time() const {
  2678. return (_has_bits_[0] & 0x00000004u) != 0;
  2679. }
  2680. inline void packetc2l_start_Sd_Lottery::set_has_time() {
  2681. _has_bits_[0] |= 0x00000004u;
  2682. }
  2683. inline void packetc2l_start_Sd_Lottery::clear_has_time() {
  2684. _has_bits_[0] &= ~0x00000004u;
  2685. }
  2686. inline void packetc2l_start_Sd_Lottery::clear_time() {
  2687. time_ = 0;
  2688. clear_has_time();
  2689. }
  2690. inline ::google::protobuf::int32 packetc2l_start_Sd_Lottery::time() const {
  2691. return time_;
  2692. }
  2693. inline void packetc2l_start_Sd_Lottery::set_time(::google::protobuf::int32 value) {
  2694. set_has_time();
  2695. time_ = value;
  2696. }
  2697. // -------------------------------------------------------------------
  2698. // packetl2c_start_Sd_Lottery_result
  2699. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_start_Sd_Lottery_result];
  2700. inline bool packetl2c_start_Sd_Lottery_result::has_packet_id() const {
  2701. return (_has_bits_[0] & 0x00000001u) != 0;
  2702. }
  2703. inline void packetl2c_start_Sd_Lottery_result::set_has_packet_id() {
  2704. _has_bits_[0] |= 0x00000001u;
  2705. }
  2706. inline void packetl2c_start_Sd_Lottery_result::clear_has_packet_id() {
  2707. _has_bits_[0] &= ~0x00000001u;
  2708. }
  2709. inline void packetl2c_start_Sd_Lottery_result::clear_packet_id() {
  2710. packet_id_ = 16170;
  2711. clear_has_packet_id();
  2712. }
  2713. inline ::fish_protocols::e_server_msg_type packetl2c_start_Sd_Lottery_result::packet_id() const {
  2714. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2715. }
  2716. inline void packetl2c_start_Sd_Lottery_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2717. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2718. set_has_packet_id();
  2719. packet_id_ = value;
  2720. }
  2721. // optional int32 result = 2;
  2722. inline bool packetl2c_start_Sd_Lottery_result::has_result() const {
  2723. return (_has_bits_[0] & 0x00000002u) != 0;
  2724. }
  2725. inline void packetl2c_start_Sd_Lottery_result::set_has_result() {
  2726. _has_bits_[0] |= 0x00000002u;
  2727. }
  2728. inline void packetl2c_start_Sd_Lottery_result::clear_has_result() {
  2729. _has_bits_[0] &= ~0x00000002u;
  2730. }
  2731. inline void packetl2c_start_Sd_Lottery_result::clear_result() {
  2732. result_ = 0;
  2733. clear_has_result();
  2734. }
  2735. inline ::google::protobuf::int32 packetl2c_start_Sd_Lottery_result::result() const {
  2736. return result_;
  2737. }
  2738. inline void packetl2c_start_Sd_Lottery_result::set_result(::google::protobuf::int32 value) {
  2739. set_has_result();
  2740. result_ = value;
  2741. }
  2742. // optional int32 type = 3;
  2743. inline bool packetl2c_start_Sd_Lottery_result::has_type() const {
  2744. return (_has_bits_[0] & 0x00000004u) != 0;
  2745. }
  2746. inline void packetl2c_start_Sd_Lottery_result::set_has_type() {
  2747. _has_bits_[0] |= 0x00000004u;
  2748. }
  2749. inline void packetl2c_start_Sd_Lottery_result::clear_has_type() {
  2750. _has_bits_[0] &= ~0x00000004u;
  2751. }
  2752. inline void packetl2c_start_Sd_Lottery_result::clear_type() {
  2753. type_ = 0;
  2754. clear_has_type();
  2755. }
  2756. inline ::google::protobuf::int32 packetl2c_start_Sd_Lottery_result::type() const {
  2757. return type_;
  2758. }
  2759. inline void packetl2c_start_Sd_Lottery_result::set_type(::google::protobuf::int32 value) {
  2760. set_has_type();
  2761. type_ = value;
  2762. }
  2763. // optional int32 time = 4;
  2764. inline bool packetl2c_start_Sd_Lottery_result::has_time() const {
  2765. return (_has_bits_[0] & 0x00000008u) != 0;
  2766. }
  2767. inline void packetl2c_start_Sd_Lottery_result::set_has_time() {
  2768. _has_bits_[0] |= 0x00000008u;
  2769. }
  2770. inline void packetl2c_start_Sd_Lottery_result::clear_has_time() {
  2771. _has_bits_[0] &= ~0x00000008u;
  2772. }
  2773. inline void packetl2c_start_Sd_Lottery_result::clear_time() {
  2774. time_ = 0;
  2775. clear_has_time();
  2776. }
  2777. inline ::google::protobuf::int32 packetl2c_start_Sd_Lottery_result::time() const {
  2778. return time_;
  2779. }
  2780. inline void packetl2c_start_Sd_Lottery_result::set_time(::google::protobuf::int32 value) {
  2781. set_has_time();
  2782. time_ = value;
  2783. }
  2784. // repeated int32 rewardId = 5;
  2785. inline int packetl2c_start_Sd_Lottery_result::rewardid_size() const {
  2786. return rewardid_.size();
  2787. }
  2788. inline void packetl2c_start_Sd_Lottery_result::clear_rewardid() {
  2789. rewardid_.Clear();
  2790. }
  2791. inline ::google::protobuf::int32 packetl2c_start_Sd_Lottery_result::rewardid(int index) const {
  2792. return rewardid_.Get(index);
  2793. }
  2794. inline void packetl2c_start_Sd_Lottery_result::set_rewardid(int index, ::google::protobuf::int32 value) {
  2795. rewardid_.Set(index, value);
  2796. }
  2797. inline void packetl2c_start_Sd_Lottery_result::add_rewardid(::google::protobuf::int32 value) {
  2798. rewardid_.Add(value);
  2799. }
  2800. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  2801. packetl2c_start_Sd_Lottery_result::rewardid() const {
  2802. return rewardid_;
  2803. }
  2804. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  2805. packetl2c_start_Sd_Lottery_result::mutable_rewardid() {
  2806. return &rewardid_;
  2807. }
  2808. // -------------------------------------------------------------------
  2809. // packetl2c_activity_item_change
  2810. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_activity_item_change];
  2811. inline bool packetl2c_activity_item_change::has_packet_id() const {
  2812. return (_has_bits_[0] & 0x00000001u) != 0;
  2813. }
  2814. inline void packetl2c_activity_item_change::set_has_packet_id() {
  2815. _has_bits_[0] |= 0x00000001u;
  2816. }
  2817. inline void packetl2c_activity_item_change::clear_has_packet_id() {
  2818. _has_bits_[0] &= ~0x00000001u;
  2819. }
  2820. inline void packetl2c_activity_item_change::clear_packet_id() {
  2821. packet_id_ = 16172;
  2822. clear_has_packet_id();
  2823. }
  2824. inline ::fish_protocols::e_server_msg_type packetl2c_activity_item_change::packet_id() const {
  2825. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2826. }
  2827. inline void packetl2c_activity_item_change::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2828. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2829. set_has_packet_id();
  2830. packet_id_ = value;
  2831. }
  2832. // optional int32 itemid = 2;
  2833. inline bool packetl2c_activity_item_change::has_itemid() const {
  2834. return (_has_bits_[0] & 0x00000002u) != 0;
  2835. }
  2836. inline void packetl2c_activity_item_change::set_has_itemid() {
  2837. _has_bits_[0] |= 0x00000002u;
  2838. }
  2839. inline void packetl2c_activity_item_change::clear_has_itemid() {
  2840. _has_bits_[0] &= ~0x00000002u;
  2841. }
  2842. inline void packetl2c_activity_item_change::clear_itemid() {
  2843. itemid_ = 0;
  2844. clear_has_itemid();
  2845. }
  2846. inline ::google::protobuf::int32 packetl2c_activity_item_change::itemid() const {
  2847. return itemid_;
  2848. }
  2849. inline void packetl2c_activity_item_change::set_itemid(::google::protobuf::int32 value) {
  2850. set_has_itemid();
  2851. itemid_ = value;
  2852. }
  2853. // optional int32 itemcount = 3;
  2854. inline bool packetl2c_activity_item_change::has_itemcount() const {
  2855. return (_has_bits_[0] & 0x00000004u) != 0;
  2856. }
  2857. inline void packetl2c_activity_item_change::set_has_itemcount() {
  2858. _has_bits_[0] |= 0x00000004u;
  2859. }
  2860. inline void packetl2c_activity_item_change::clear_has_itemcount() {
  2861. _has_bits_[0] &= ~0x00000004u;
  2862. }
  2863. inline void packetl2c_activity_item_change::clear_itemcount() {
  2864. itemcount_ = 0;
  2865. clear_has_itemcount();
  2866. }
  2867. inline ::google::protobuf::int32 packetl2c_activity_item_change::itemcount() const {
  2868. return itemcount_;
  2869. }
  2870. inline void packetl2c_activity_item_change::set_itemcount(::google::protobuf::int32 value) {
  2871. set_has_itemcount();
  2872. itemcount_ = value;
  2873. }
  2874. // -------------------------------------------------------------------
  2875. // packetc2l_Sd_item_exchange
  2876. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_summer_item_exchange];
  2877. inline bool packetc2l_Sd_item_exchange::has_packet_id() const {
  2878. return (_has_bits_[0] & 0x00000001u) != 0;
  2879. }
  2880. inline void packetc2l_Sd_item_exchange::set_has_packet_id() {
  2881. _has_bits_[0] |= 0x00000001u;
  2882. }
  2883. inline void packetc2l_Sd_item_exchange::clear_has_packet_id() {
  2884. _has_bits_[0] &= ~0x00000001u;
  2885. }
  2886. inline void packetc2l_Sd_item_exchange::clear_packet_id() {
  2887. packet_id_ = 10178;
  2888. clear_has_packet_id();
  2889. }
  2890. inline ::fish_protocols::e_server_msg_type packetc2l_Sd_item_exchange::packet_id() const {
  2891. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2892. }
  2893. inline void packetc2l_Sd_item_exchange::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2894. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2895. set_has_packet_id();
  2896. packet_id_ = value;
  2897. }
  2898. // optional int32 exchangeId = 2;
  2899. inline bool packetc2l_Sd_item_exchange::has_exchangeid() const {
  2900. return (_has_bits_[0] & 0x00000002u) != 0;
  2901. }
  2902. inline void packetc2l_Sd_item_exchange::set_has_exchangeid() {
  2903. _has_bits_[0] |= 0x00000002u;
  2904. }
  2905. inline void packetc2l_Sd_item_exchange::clear_has_exchangeid() {
  2906. _has_bits_[0] &= ~0x00000002u;
  2907. }
  2908. inline void packetc2l_Sd_item_exchange::clear_exchangeid() {
  2909. exchangeid_ = 0;
  2910. clear_has_exchangeid();
  2911. }
  2912. inline ::google::protobuf::int32 packetc2l_Sd_item_exchange::exchangeid() const {
  2913. return exchangeid_;
  2914. }
  2915. inline void packetc2l_Sd_item_exchange::set_exchangeid(::google::protobuf::int32 value) {
  2916. set_has_exchangeid();
  2917. exchangeid_ = value;
  2918. }
  2919. // -------------------------------------------------------------------
  2920. // packetl2c_Sd_item_exchange_result
  2921. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_summer_item_exchange_result];
  2922. inline bool packetl2c_Sd_item_exchange_result::has_packet_id() const {
  2923. return (_has_bits_[0] & 0x00000001u) != 0;
  2924. }
  2925. inline void packetl2c_Sd_item_exchange_result::set_has_packet_id() {
  2926. _has_bits_[0] |= 0x00000001u;
  2927. }
  2928. inline void packetl2c_Sd_item_exchange_result::clear_has_packet_id() {
  2929. _has_bits_[0] &= ~0x00000001u;
  2930. }
  2931. inline void packetl2c_Sd_item_exchange_result::clear_packet_id() {
  2932. packet_id_ = 16171;
  2933. clear_has_packet_id();
  2934. }
  2935. inline ::fish_protocols::e_server_msg_type packetl2c_Sd_item_exchange_result::packet_id() const {
  2936. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  2937. }
  2938. inline void packetl2c_Sd_item_exchange_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  2939. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  2940. set_has_packet_id();
  2941. packet_id_ = value;
  2942. }
  2943. // optional int32 result = 2;
  2944. inline bool packetl2c_Sd_item_exchange_result::has_result() const {
  2945. return (_has_bits_[0] & 0x00000002u) != 0;
  2946. }
  2947. inline void packetl2c_Sd_item_exchange_result::set_has_result() {
  2948. _has_bits_[0] |= 0x00000002u;
  2949. }
  2950. inline void packetl2c_Sd_item_exchange_result::clear_has_result() {
  2951. _has_bits_[0] &= ~0x00000002u;
  2952. }
  2953. inline void packetl2c_Sd_item_exchange_result::clear_result() {
  2954. result_ = 0;
  2955. clear_has_result();
  2956. }
  2957. inline ::google::protobuf::int32 packetl2c_Sd_item_exchange_result::result() const {
  2958. return result_;
  2959. }
  2960. inline void packetl2c_Sd_item_exchange_result::set_result(::google::protobuf::int32 value) {
  2961. set_has_result();
  2962. result_ = value;
  2963. }
  2964. // optional int32 exchangeId = 3;
  2965. inline bool packetl2c_Sd_item_exchange_result::has_exchangeid() const {
  2966. return (_has_bits_[0] & 0x00000004u) != 0;
  2967. }
  2968. inline void packetl2c_Sd_item_exchange_result::set_has_exchangeid() {
  2969. _has_bits_[0] |= 0x00000004u;
  2970. }
  2971. inline void packetl2c_Sd_item_exchange_result::clear_has_exchangeid() {
  2972. _has_bits_[0] &= ~0x00000004u;
  2973. }
  2974. inline void packetl2c_Sd_item_exchange_result::clear_exchangeid() {
  2975. exchangeid_ = 0;
  2976. clear_has_exchangeid();
  2977. }
  2978. inline ::google::protobuf::int32 packetl2c_Sd_item_exchange_result::exchangeid() const {
  2979. return exchangeid_;
  2980. }
  2981. inline void packetl2c_Sd_item_exchange_result::set_exchangeid(::google::protobuf::int32 value) {
  2982. set_has_exchangeid();
  2983. exchangeid_ = value;
  2984. }
  2985. // -------------------------------------------------------------------
  2986. // packetc2l_Nd_get_activity_info
  2987. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_get_activity_info];
  2988. inline bool packetc2l_Nd_get_activity_info::has_packet_id() const {
  2989. return (_has_bits_[0] & 0x00000001u) != 0;
  2990. }
  2991. inline void packetc2l_Nd_get_activity_info::set_has_packet_id() {
  2992. _has_bits_[0] |= 0x00000001u;
  2993. }
  2994. inline void packetc2l_Nd_get_activity_info::clear_has_packet_id() {
  2995. _has_bits_[0] &= ~0x00000001u;
  2996. }
  2997. inline void packetc2l_Nd_get_activity_info::clear_packet_id() {
  2998. packet_id_ = 10190;
  2999. clear_has_packet_id();
  3000. }
  3001. inline ::fish_protocols::e_server_msg_type packetc2l_Nd_get_activity_info::packet_id() const {
  3002. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  3003. }
  3004. inline void packetc2l_Nd_get_activity_info::set_packet_id(::fish_protocols::e_server_msg_type value) {
  3005. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  3006. set_has_packet_id();
  3007. packet_id_ = value;
  3008. }
  3009. // -------------------------------------------------------------------
  3010. // packetl2c_Nd_get_activity_info_result
  3011. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_get_activity_info_result];
  3012. inline bool packetl2c_Nd_get_activity_info_result::has_packet_id() const {
  3013. return (_has_bits_[0] & 0x00000001u) != 0;
  3014. }
  3015. inline void packetl2c_Nd_get_activity_info_result::set_has_packet_id() {
  3016. _has_bits_[0] |= 0x00000001u;
  3017. }
  3018. inline void packetl2c_Nd_get_activity_info_result::clear_has_packet_id() {
  3019. _has_bits_[0] &= ~0x00000001u;
  3020. }
  3021. inline void packetl2c_Nd_get_activity_info_result::clear_packet_id() {
  3022. packet_id_ = 16184;
  3023. clear_has_packet_id();
  3024. }
  3025. inline ::fish_protocols::e_server_msg_type packetl2c_Nd_get_activity_info_result::packet_id() const {
  3026. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  3027. }
  3028. inline void packetl2c_Nd_get_activity_info_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  3029. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  3030. set_has_packet_id();
  3031. packet_id_ = value;
  3032. }
  3033. // optional int32 lotteryCount = 2;
  3034. inline bool packetl2c_Nd_get_activity_info_result::has_lotterycount() const {
  3035. return (_has_bits_[0] & 0x00000002u) != 0;
  3036. }
  3037. inline void packetl2c_Nd_get_activity_info_result::set_has_lotterycount() {
  3038. _has_bits_[0] |= 0x00000002u;
  3039. }
  3040. inline void packetl2c_Nd_get_activity_info_result::clear_has_lotterycount() {
  3041. _has_bits_[0] &= ~0x00000002u;
  3042. }
  3043. inline void packetl2c_Nd_get_activity_info_result::clear_lotterycount() {
  3044. lotterycount_ = 0;
  3045. clear_has_lotterycount();
  3046. }
  3047. inline ::google::protobuf::int32 packetl2c_Nd_get_activity_info_result::lotterycount() const {
  3048. return lotterycount_;
  3049. }
  3050. inline void packetl2c_Nd_get_activity_info_result::set_lotterycount(::google::protobuf::int32 value) {
  3051. set_has_lotterycount();
  3052. lotterycount_ = value;
  3053. }
  3054. // repeated int32 exchangeCountList = 3;
  3055. inline int packetl2c_Nd_get_activity_info_result::exchangecountlist_size() const {
  3056. return exchangecountlist_.size();
  3057. }
  3058. inline void packetl2c_Nd_get_activity_info_result::clear_exchangecountlist() {
  3059. exchangecountlist_.Clear();
  3060. }
  3061. inline ::google::protobuf::int32 packetl2c_Nd_get_activity_info_result::exchangecountlist(int index) const {
  3062. return exchangecountlist_.Get(index);
  3063. }
  3064. inline void packetl2c_Nd_get_activity_info_result::set_exchangecountlist(int index, ::google::protobuf::int32 value) {
  3065. exchangecountlist_.Set(index, value);
  3066. }
  3067. inline void packetl2c_Nd_get_activity_info_result::add_exchangecountlist(::google::protobuf::int32 value) {
  3068. exchangecountlist_.Add(value);
  3069. }
  3070. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  3071. packetl2c_Nd_get_activity_info_result::exchangecountlist() const {
  3072. return exchangecountlist_;
  3073. }
  3074. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  3075. packetl2c_Nd_get_activity_info_result::mutable_exchangecountlist() {
  3076. return &exchangecountlist_;
  3077. }
  3078. // optional int32 outlay = 4;
  3079. inline bool packetl2c_Nd_get_activity_info_result::has_outlay() const {
  3080. return (_has_bits_[0] & 0x00000008u) != 0;
  3081. }
  3082. inline void packetl2c_Nd_get_activity_info_result::set_has_outlay() {
  3083. _has_bits_[0] |= 0x00000008u;
  3084. }
  3085. inline void packetl2c_Nd_get_activity_info_result::clear_has_outlay() {
  3086. _has_bits_[0] &= ~0x00000008u;
  3087. }
  3088. inline void packetl2c_Nd_get_activity_info_result::clear_outlay() {
  3089. outlay_ = 0;
  3090. clear_has_outlay();
  3091. }
  3092. inline ::google::protobuf::int32 packetl2c_Nd_get_activity_info_result::outlay() const {
  3093. return outlay_;
  3094. }
  3095. inline void packetl2c_Nd_get_activity_info_result::set_outlay(::google::protobuf::int32 value) {
  3096. set_has_outlay();
  3097. outlay_ = value;
  3098. }
  3099. // optional int32 recharge = 5;
  3100. inline bool packetl2c_Nd_get_activity_info_result::has_recharge() const {
  3101. return (_has_bits_[0] & 0x00000010u) != 0;
  3102. }
  3103. inline void packetl2c_Nd_get_activity_info_result::set_has_recharge() {
  3104. _has_bits_[0] |= 0x00000010u;
  3105. }
  3106. inline void packetl2c_Nd_get_activity_info_result::clear_has_recharge() {
  3107. _has_bits_[0] &= ~0x00000010u;
  3108. }
  3109. inline void packetl2c_Nd_get_activity_info_result::clear_recharge() {
  3110. recharge_ = 0;
  3111. clear_has_recharge();
  3112. }
  3113. inline ::google::protobuf::int32 packetl2c_Nd_get_activity_info_result::recharge() const {
  3114. return recharge_;
  3115. }
  3116. inline void packetl2c_Nd_get_activity_info_result::set_recharge(::google::protobuf::int32 value) {
  3117. set_has_recharge();
  3118. recharge_ = value;
  3119. }
  3120. // -------------------------------------------------------------------
  3121. // packetc2l_Nd_start_Lottery
  3122. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_start_Lottery];
  3123. inline bool packetc2l_Nd_start_Lottery::has_packet_id() const {
  3124. return (_has_bits_[0] & 0x00000001u) != 0;
  3125. }
  3126. inline void packetc2l_Nd_start_Lottery::set_has_packet_id() {
  3127. _has_bits_[0] |= 0x00000001u;
  3128. }
  3129. inline void packetc2l_Nd_start_Lottery::clear_has_packet_id() {
  3130. _has_bits_[0] &= ~0x00000001u;
  3131. }
  3132. inline void packetc2l_Nd_start_Lottery::clear_packet_id() {
  3133. packet_id_ = 10188;
  3134. clear_has_packet_id();
  3135. }
  3136. inline ::fish_protocols::e_server_msg_type packetc2l_Nd_start_Lottery::packet_id() const {
  3137. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  3138. }
  3139. inline void packetc2l_Nd_start_Lottery::set_packet_id(::fish_protocols::e_server_msg_type value) {
  3140. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  3141. set_has_packet_id();
  3142. packet_id_ = value;
  3143. }
  3144. // optional int32 time = 2;
  3145. inline bool packetc2l_Nd_start_Lottery::has_time() const {
  3146. return (_has_bits_[0] & 0x00000002u) != 0;
  3147. }
  3148. inline void packetc2l_Nd_start_Lottery::set_has_time() {
  3149. _has_bits_[0] |= 0x00000002u;
  3150. }
  3151. inline void packetc2l_Nd_start_Lottery::clear_has_time() {
  3152. _has_bits_[0] &= ~0x00000002u;
  3153. }
  3154. inline void packetc2l_Nd_start_Lottery::clear_time() {
  3155. time_ = 0;
  3156. clear_has_time();
  3157. }
  3158. inline ::google::protobuf::int32 packetc2l_Nd_start_Lottery::time() const {
  3159. return time_;
  3160. }
  3161. inline void packetc2l_Nd_start_Lottery::set_time(::google::protobuf::int32 value) {
  3162. set_has_time();
  3163. time_ = value;
  3164. }
  3165. // -------------------------------------------------------------------
  3166. // packetl2c_Nd_start_Lottery_result
  3167. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_start_Lottery_result];
  3168. inline bool packetl2c_Nd_start_Lottery_result::has_packet_id() const {
  3169. return (_has_bits_[0] & 0x00000001u) != 0;
  3170. }
  3171. inline void packetl2c_Nd_start_Lottery_result::set_has_packet_id() {
  3172. _has_bits_[0] |= 0x00000001u;
  3173. }
  3174. inline void packetl2c_Nd_start_Lottery_result::clear_has_packet_id() {
  3175. _has_bits_[0] &= ~0x00000001u;
  3176. }
  3177. inline void packetl2c_Nd_start_Lottery_result::clear_packet_id() {
  3178. packet_id_ = 16182;
  3179. clear_has_packet_id();
  3180. }
  3181. inline ::fish_protocols::e_server_msg_type packetl2c_Nd_start_Lottery_result::packet_id() const {
  3182. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  3183. }
  3184. inline void packetl2c_Nd_start_Lottery_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  3185. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  3186. set_has_packet_id();
  3187. packet_id_ = value;
  3188. }
  3189. // optional int32 result = 2;
  3190. inline bool packetl2c_Nd_start_Lottery_result::has_result() const {
  3191. return (_has_bits_[0] & 0x00000002u) != 0;
  3192. }
  3193. inline void packetl2c_Nd_start_Lottery_result::set_has_result() {
  3194. _has_bits_[0] |= 0x00000002u;
  3195. }
  3196. inline void packetl2c_Nd_start_Lottery_result::clear_has_result() {
  3197. _has_bits_[0] &= ~0x00000002u;
  3198. }
  3199. inline void packetl2c_Nd_start_Lottery_result::clear_result() {
  3200. result_ = 0;
  3201. clear_has_result();
  3202. }
  3203. inline ::google::protobuf::int32 packetl2c_Nd_start_Lottery_result::result() const {
  3204. return result_;
  3205. }
  3206. inline void packetl2c_Nd_start_Lottery_result::set_result(::google::protobuf::int32 value) {
  3207. set_has_result();
  3208. result_ = value;
  3209. }
  3210. // optional int32 time = 3;
  3211. inline bool packetl2c_Nd_start_Lottery_result::has_time() const {
  3212. return (_has_bits_[0] & 0x00000004u) != 0;
  3213. }
  3214. inline void packetl2c_Nd_start_Lottery_result::set_has_time() {
  3215. _has_bits_[0] |= 0x00000004u;
  3216. }
  3217. inline void packetl2c_Nd_start_Lottery_result::clear_has_time() {
  3218. _has_bits_[0] &= ~0x00000004u;
  3219. }
  3220. inline void packetl2c_Nd_start_Lottery_result::clear_time() {
  3221. time_ = 0;
  3222. clear_has_time();
  3223. }
  3224. inline ::google::protobuf::int32 packetl2c_Nd_start_Lottery_result::time() const {
  3225. return time_;
  3226. }
  3227. inline void packetl2c_Nd_start_Lottery_result::set_time(::google::protobuf::int32 value) {
  3228. set_has_time();
  3229. time_ = value;
  3230. }
  3231. // repeated int32 rewardId = 4;
  3232. inline int packetl2c_Nd_start_Lottery_result::rewardid_size() const {
  3233. return rewardid_.size();
  3234. }
  3235. inline void packetl2c_Nd_start_Lottery_result::clear_rewardid() {
  3236. rewardid_.Clear();
  3237. }
  3238. inline ::google::protobuf::int32 packetl2c_Nd_start_Lottery_result::rewardid(int index) const {
  3239. return rewardid_.Get(index);
  3240. }
  3241. inline void packetl2c_Nd_start_Lottery_result::set_rewardid(int index, ::google::protobuf::int32 value) {
  3242. rewardid_.Set(index, value);
  3243. }
  3244. inline void packetl2c_Nd_start_Lottery_result::add_rewardid(::google::protobuf::int32 value) {
  3245. rewardid_.Add(value);
  3246. }
  3247. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  3248. packetl2c_Nd_start_Lottery_result::rewardid() const {
  3249. return rewardid_;
  3250. }
  3251. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  3252. packetl2c_Nd_start_Lottery_result::mutable_rewardid() {
  3253. return &rewardid_;
  3254. }
  3255. // -------------------------------------------------------------------
  3256. // packetc2l_Nd_item_exchange
  3257. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_item_exchange];
  3258. inline bool packetc2l_Nd_item_exchange::has_packet_id() const {
  3259. return (_has_bits_[0] & 0x00000001u) != 0;
  3260. }
  3261. inline void packetc2l_Nd_item_exchange::set_has_packet_id() {
  3262. _has_bits_[0] |= 0x00000001u;
  3263. }
  3264. inline void packetc2l_Nd_item_exchange::clear_has_packet_id() {
  3265. _has_bits_[0] &= ~0x00000001u;
  3266. }
  3267. inline void packetc2l_Nd_item_exchange::clear_packet_id() {
  3268. packet_id_ = 10189;
  3269. clear_has_packet_id();
  3270. }
  3271. inline ::fish_protocols::e_server_msg_type packetc2l_Nd_item_exchange::packet_id() const {
  3272. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  3273. }
  3274. inline void packetc2l_Nd_item_exchange::set_packet_id(::fish_protocols::e_server_msg_type value) {
  3275. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  3276. set_has_packet_id();
  3277. packet_id_ = value;
  3278. }
  3279. // optional int32 type = 2;
  3280. inline bool packetc2l_Nd_item_exchange::has_type() const {
  3281. return (_has_bits_[0] & 0x00000002u) != 0;
  3282. }
  3283. inline void packetc2l_Nd_item_exchange::set_has_type() {
  3284. _has_bits_[0] |= 0x00000002u;
  3285. }
  3286. inline void packetc2l_Nd_item_exchange::clear_has_type() {
  3287. _has_bits_[0] &= ~0x00000002u;
  3288. }
  3289. inline void packetc2l_Nd_item_exchange::clear_type() {
  3290. type_ = 0;
  3291. clear_has_type();
  3292. }
  3293. inline ::google::protobuf::int32 packetc2l_Nd_item_exchange::type() const {
  3294. return type_;
  3295. }
  3296. inline void packetc2l_Nd_item_exchange::set_type(::google::protobuf::int32 value) {
  3297. set_has_type();
  3298. type_ = value;
  3299. }
  3300. // optional int32 exchangeId = 3;
  3301. inline bool packetc2l_Nd_item_exchange::has_exchangeid() const {
  3302. return (_has_bits_[0] & 0x00000004u) != 0;
  3303. }
  3304. inline void packetc2l_Nd_item_exchange::set_has_exchangeid() {
  3305. _has_bits_[0] |= 0x00000004u;
  3306. }
  3307. inline void packetc2l_Nd_item_exchange::clear_has_exchangeid() {
  3308. _has_bits_[0] &= ~0x00000004u;
  3309. }
  3310. inline void packetc2l_Nd_item_exchange::clear_exchangeid() {
  3311. exchangeid_ = 0;
  3312. clear_has_exchangeid();
  3313. }
  3314. inline ::google::protobuf::int32 packetc2l_Nd_item_exchange::exchangeid() const {
  3315. return exchangeid_;
  3316. }
  3317. inline void packetc2l_Nd_item_exchange::set_exchangeid(::google::protobuf::int32 value) {
  3318. set_has_exchangeid();
  3319. exchangeid_ = value;
  3320. }
  3321. // -------------------------------------------------------------------
  3322. // packetl2c_Nd_item_exchange_result
  3323. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_item_exchange_result];
  3324. inline bool packetl2c_Nd_item_exchange_result::has_packet_id() const {
  3325. return (_has_bits_[0] & 0x00000001u) != 0;
  3326. }
  3327. inline void packetl2c_Nd_item_exchange_result::set_has_packet_id() {
  3328. _has_bits_[0] |= 0x00000001u;
  3329. }
  3330. inline void packetl2c_Nd_item_exchange_result::clear_has_packet_id() {
  3331. _has_bits_[0] &= ~0x00000001u;
  3332. }
  3333. inline void packetl2c_Nd_item_exchange_result::clear_packet_id() {
  3334. packet_id_ = 16183;
  3335. clear_has_packet_id();
  3336. }
  3337. inline ::fish_protocols::e_server_msg_type packetl2c_Nd_item_exchange_result::packet_id() const {
  3338. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  3339. }
  3340. inline void packetl2c_Nd_item_exchange_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  3341. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  3342. set_has_packet_id();
  3343. packet_id_ = value;
  3344. }
  3345. // optional int32 result = 2;
  3346. inline bool packetl2c_Nd_item_exchange_result::has_result() const {
  3347. return (_has_bits_[0] & 0x00000002u) != 0;
  3348. }
  3349. inline void packetl2c_Nd_item_exchange_result::set_has_result() {
  3350. _has_bits_[0] |= 0x00000002u;
  3351. }
  3352. inline void packetl2c_Nd_item_exchange_result::clear_has_result() {
  3353. _has_bits_[0] &= ~0x00000002u;
  3354. }
  3355. inline void packetl2c_Nd_item_exchange_result::clear_result() {
  3356. result_ = 0;
  3357. clear_has_result();
  3358. }
  3359. inline ::google::protobuf::int32 packetl2c_Nd_item_exchange_result::result() const {
  3360. return result_;
  3361. }
  3362. inline void packetl2c_Nd_item_exchange_result::set_result(::google::protobuf::int32 value) {
  3363. set_has_result();
  3364. result_ = value;
  3365. }
  3366. // repeated int32 exchangeIds = 3;
  3367. inline int packetl2c_Nd_item_exchange_result::exchangeids_size() const {
  3368. return exchangeids_.size();
  3369. }
  3370. inline void packetl2c_Nd_item_exchange_result::clear_exchangeids() {
  3371. exchangeids_.Clear();
  3372. }
  3373. inline ::google::protobuf::int32 packetl2c_Nd_item_exchange_result::exchangeids(int index) const {
  3374. return exchangeids_.Get(index);
  3375. }
  3376. inline void packetl2c_Nd_item_exchange_result::set_exchangeids(int index, ::google::protobuf::int32 value) {
  3377. exchangeids_.Set(index, value);
  3378. }
  3379. inline void packetl2c_Nd_item_exchange_result::add_exchangeids(::google::protobuf::int32 value) {
  3380. exchangeids_.Add(value);
  3381. }
  3382. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  3383. packetl2c_Nd_item_exchange_result::exchangeids() const {
  3384. return exchangeids_;
  3385. }
  3386. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  3387. packetl2c_Nd_item_exchange_result::mutable_exchangeids() {
  3388. return &exchangeids_;
  3389. }
  3390. // -------------------------------------------------------------------
  3391. // packetl2c_get_grand_prix_info_result
  3392. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_grand_prix_info_result];
  3393. inline bool packetl2c_get_grand_prix_info_result::has_packet_id() const {
  3394. return (_has_bits_[0] & 0x00000001u) != 0;
  3395. }
  3396. inline void packetl2c_get_grand_prix_info_result::set_has_packet_id() {
  3397. _has_bits_[0] |= 0x00000001u;
  3398. }
  3399. inline void packetl2c_get_grand_prix_info_result::clear_has_packet_id() {
  3400. _has_bits_[0] &= ~0x00000001u;
  3401. }
  3402. inline void packetl2c_get_grand_prix_info_result::clear_packet_id() {
  3403. packet_id_ = 16146;
  3404. clear_has_packet_id();
  3405. }
  3406. inline ::fish_protocols::e_server_msg_type packetl2c_get_grand_prix_info_result::packet_id() const {
  3407. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  3408. }
  3409. inline void packetl2c_get_grand_prix_info_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  3410. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  3411. set_has_packet_id();
  3412. packet_id_ = value;
  3413. }
  3414. // optional int32 activityState = 2;
  3415. inline bool packetl2c_get_grand_prix_info_result::has_activitystate() const {
  3416. return (_has_bits_[0] & 0x00000002u) != 0;
  3417. }
  3418. inline void packetl2c_get_grand_prix_info_result::set_has_activitystate() {
  3419. _has_bits_[0] |= 0x00000002u;
  3420. }
  3421. inline void packetl2c_get_grand_prix_info_result::clear_has_activitystate() {
  3422. _has_bits_[0] &= ~0x00000002u;
  3423. }
  3424. inline void packetl2c_get_grand_prix_info_result::clear_activitystate() {
  3425. activitystate_ = 0;
  3426. clear_has_activitystate();
  3427. }
  3428. inline ::google::protobuf::int32 packetl2c_get_grand_prix_info_result::activitystate() const {
  3429. return activitystate_;
  3430. }
  3431. inline void packetl2c_get_grand_prix_info_result::set_activitystate(::google::protobuf::int32 value) {
  3432. set_has_activitystate();
  3433. activitystate_ = value;
  3434. }
  3435. // optional int32 result = 3;
  3436. inline bool packetl2c_get_grand_prix_info_result::has_result() const {
  3437. return (_has_bits_[0] & 0x00000004u) != 0;
  3438. }
  3439. inline void packetl2c_get_grand_prix_info_result::set_has_result() {
  3440. _has_bits_[0] |= 0x00000004u;
  3441. }
  3442. inline void packetl2c_get_grand_prix_info_result::clear_has_result() {
  3443. _has_bits_[0] &= ~0x00000004u;
  3444. }
  3445. inline void packetl2c_get_grand_prix_info_result::clear_result() {
  3446. result_ = 0;
  3447. clear_has_result();
  3448. }
  3449. inline ::google::protobuf::int32 packetl2c_get_grand_prix_info_result::result() const {
  3450. return result_;
  3451. }
  3452. inline void packetl2c_get_grand_prix_info_result::set_result(::google::protobuf::int32 value) {
  3453. set_has_result();
  3454. result_ = value;
  3455. }
  3456. // optional int32 startTime = 4;
  3457. inline bool packetl2c_get_grand_prix_info_result::has_starttime() const {
  3458. return (_has_bits_[0] & 0x00000008u) != 0;
  3459. }
  3460. inline void packetl2c_get_grand_prix_info_result::set_has_starttime() {
  3461. _has_bits_[0] |= 0x00000008u;
  3462. }
  3463. inline void packetl2c_get_grand_prix_info_result::clear_has_starttime() {
  3464. _has_bits_[0] &= ~0x00000008u;
  3465. }
  3466. inline void packetl2c_get_grand_prix_info_result::clear_starttime() {
  3467. starttime_ = 0;
  3468. clear_has_starttime();
  3469. }
  3470. inline ::google::protobuf::int32 packetl2c_get_grand_prix_info_result::starttime() const {
  3471. return starttime_;
  3472. }
  3473. inline void packetl2c_get_grand_prix_info_result::set_starttime(::google::protobuf::int32 value) {
  3474. set_has_starttime();
  3475. starttime_ = value;
  3476. }
  3477. // optional int32 endTime = 5;
  3478. inline bool packetl2c_get_grand_prix_info_result::has_endtime() const {
  3479. return (_has_bits_[0] & 0x00000010u) != 0;
  3480. }
  3481. inline void packetl2c_get_grand_prix_info_result::set_has_endtime() {
  3482. _has_bits_[0] |= 0x00000010u;
  3483. }
  3484. inline void packetl2c_get_grand_prix_info_result::clear_has_endtime() {
  3485. _has_bits_[0] &= ~0x00000010u;
  3486. }
  3487. inline void packetl2c_get_grand_prix_info_result::clear_endtime() {
  3488. endtime_ = 0;
  3489. clear_has_endtime();
  3490. }
  3491. inline ::google::protobuf::int32 packetl2c_get_grand_prix_info_result::endtime() const {
  3492. return endtime_;
  3493. }
  3494. inline void packetl2c_get_grand_prix_info_result::set_endtime(::google::protobuf::int32 value) {
  3495. set_has_endtime();
  3496. endtime_ = value;
  3497. }
  3498. // @@protoc_insertion_point(namespace_scope)
  3499. } // namespace fish_protocols
  3500. #ifndef SWIG
  3501. namespace google {
  3502. namespace protobuf {
  3503. } // namespace google
  3504. } // namespace protobuf
  3505. #endif // SWIG
  3506. // @@protoc_insertion_point(global_scope)
  3507. #endif // PROTOBUF_fish_5factivity_2eproto__INCLUDED