fish_protocol.pb.h 444 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_protocol.proto
  3. #ifndef PROTOBUF_fish_5fprotocol_2eproto__INCLUDED
  4. #define PROTOBUF_fish_5fprotocol_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_5fprotocol_2eproto();
  29. void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  30. void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  31. class packetc2l_get_room_info;
  32. class msg_room_info;
  33. class packetl2c_get_room_info_result;
  34. class packetc2l_enter_table;
  35. class packetl2c_enter_table_result;
  36. class packetc2l_change_table;
  37. class packetl2c_change_table_result;
  38. class packetc2l_leave_table;
  39. class packetl2c_leave_table_result;
  40. class packetc2l_check_state;
  41. class skill_unit;
  42. class turret_unit;
  43. class wing_unit;
  44. class packetl2c_check_state_result;
  45. class packetc2l_buy_item;
  46. class packetl2c_buy_item_result;
  47. class packetc2l_use_item;
  48. class getItemsInfo;
  49. class ItemInfo;
  50. class packetl2c_use_item_result;
  51. class packetc2l_change_turret;
  52. class packetl2c_change_turret_result;
  53. class PointsRankInfo;
  54. class packetc2l_get_points_rank;
  55. class packetl2c_get_points_rank_result;
  56. class exItemInfo;
  57. class packetc2l_medium_grade_exchange;
  58. class pointsInfo;
  59. class packetl2c_medium_grade_exchange_result;
  60. class packetc2l_get_shoplist;
  61. class msg_shopitem;
  62. class packetl2c_get_shoplist_result;
  63. class packetc2l_turret_levelup;
  64. class packetl2c_turret_levelup_result;
  65. class packetl2c_player_auto_levelup;
  66. class packetl2c_give_item_result;
  67. class packetc2l_buy_func_item;
  68. class packetl2c_buy_func_item_result;
  69. class packetc2l_torpedo_exchange;
  70. class packetl2c_torpedo_exchange_result;
  71. class packetc2l_torpedo_compose;
  72. class packetl2c_torpedo_compose_result;
  73. class msg_airdropitem;
  74. class packetl2c_get_airdrop_list_result;
  75. class packetc2l_goldfish_lottery;
  76. class packetl2c_goldfish_lottery_result;
  77. class packetl2c_bc_table_finish_turntablefish_balance;
  78. class packetc2l_exchange_dimensity;
  79. class packetl2c_exchange_dimensity_result;
  80. class packetc2l_lucky_lottery;
  81. class packetl2c_lucky_lottery_result;
  82. class recordInfo;
  83. class packetc2l_syn_record_info;
  84. class packetc2l_auto_fire;
  85. class packetc2l_change_headid;
  86. class packetl2c_change_headid_result;
  87. class packetc2l_rand_turret_addition;
  88. class packetl2c_rand_turret_addition_result;
  89. class packetc2l_turret_addition_confirm;
  90. class packetl2c_turret_addition_confirm_result;
  91. class packetc2l_turret_addition_reset;
  92. class packetl2c_turret_addition_reset_result;
  93. // ===================================================================
  94. class packetc2l_get_room_info : public ::google::protobuf::Message {
  95. public:
  96. packetc2l_get_room_info();
  97. virtual ~packetc2l_get_room_info();
  98. packetc2l_get_room_info(const packetc2l_get_room_info& from);
  99. inline packetc2l_get_room_info& operator=(const packetc2l_get_room_info& from) {
  100. CopyFrom(from);
  101. return *this;
  102. }
  103. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  104. return _unknown_fields_;
  105. }
  106. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  107. return &_unknown_fields_;
  108. }
  109. static const ::google::protobuf::Descriptor* descriptor();
  110. static const packetc2l_get_room_info& default_instance();
  111. void Swap(packetc2l_get_room_info* other);
  112. // implements Message ----------------------------------------------
  113. packetc2l_get_room_info* New() const;
  114. void CopyFrom(const ::google::protobuf::Message& from);
  115. void MergeFrom(const ::google::protobuf::Message& from);
  116. void CopyFrom(const packetc2l_get_room_info& from);
  117. void MergeFrom(const packetc2l_get_room_info& from);
  118. void Clear();
  119. bool IsInitialized() const;
  120. int ByteSize() const;
  121. bool MergePartialFromCodedStream(
  122. ::google::protobuf::io::CodedInputStream* input);
  123. void SerializeWithCachedSizes(
  124. ::google::protobuf::io::CodedOutputStream* output) const;
  125. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  126. int GetCachedSize() const { return _cached_size_; }
  127. private:
  128. void SharedCtor();
  129. void SharedDtor();
  130. void SetCachedSize(int size) const;
  131. public:
  132. ::google::protobuf::Metadata GetMetadata() const;
  133. // nested types ----------------------------------------------------
  134. // accessors -------------------------------------------------------
  135. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_room_info];
  136. inline bool has_packet_id() const;
  137. inline void clear_packet_id();
  138. static const int kPacketIdFieldNumber = 1;
  139. inline ::fish_protocols::e_server_msg_type packet_id() const;
  140. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  141. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_room_info)
  142. private:
  143. inline void set_has_packet_id();
  144. inline void clear_has_packet_id();
  145. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  146. int packet_id_;
  147. mutable int _cached_size_;
  148. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  149. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  150. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  151. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  152. void InitAsDefaultInstance();
  153. static packetc2l_get_room_info* default_instance_;
  154. };
  155. // -------------------------------------------------------------------
  156. class msg_room_info : public ::google::protobuf::Message {
  157. public:
  158. msg_room_info();
  159. virtual ~msg_room_info();
  160. msg_room_info(const msg_room_info& from);
  161. inline msg_room_info& operator=(const msg_room_info& from) {
  162. CopyFrom(from);
  163. return *this;
  164. }
  165. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  166. return _unknown_fields_;
  167. }
  168. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  169. return &_unknown_fields_;
  170. }
  171. static const ::google::protobuf::Descriptor* descriptor();
  172. static const msg_room_info& default_instance();
  173. void Swap(msg_room_info* other);
  174. // implements Message ----------------------------------------------
  175. msg_room_info* New() const;
  176. void CopyFrom(const ::google::protobuf::Message& from);
  177. void MergeFrom(const ::google::protobuf::Message& from);
  178. void CopyFrom(const msg_room_info& from);
  179. void MergeFrom(const msg_room_info& from);
  180. void Clear();
  181. bool IsInitialized() const;
  182. int ByteSize() const;
  183. bool MergePartialFromCodedStream(
  184. ::google::protobuf::io::CodedInputStream* input);
  185. void SerializeWithCachedSizes(
  186. ::google::protobuf::io::CodedOutputStream* output) const;
  187. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  188. int GetCachedSize() const { return _cached_size_; }
  189. private:
  190. void SharedCtor();
  191. void SharedDtor();
  192. void SetCachedSize(int size) const;
  193. public:
  194. ::google::protobuf::Metadata GetMetadata() const;
  195. // nested types ----------------------------------------------------
  196. // accessors -------------------------------------------------------
  197. // optional int32 roomid = 1;
  198. inline bool has_roomid() const;
  199. inline void clear_roomid();
  200. static const int kRoomidFieldNumber = 1;
  201. inline ::google::protobuf::int32 roomid() const;
  202. inline void set_roomid(::google::protobuf::int32 value);
  203. // optional int32 player_count = 2;
  204. inline bool has_player_count() const;
  205. inline void clear_player_count();
  206. static const int kPlayerCountFieldNumber = 2;
  207. inline ::google::protobuf::int32 player_count() const;
  208. inline void set_player_count(::google::protobuf::int32 value);
  209. // optional int64 jackpot = 3;
  210. inline bool has_jackpot() const;
  211. inline void clear_jackpot();
  212. static const int kJackpotFieldNumber = 3;
  213. inline ::google::protobuf::int64 jackpot() const;
  214. inline void set_jackpot(::google::protobuf::int64 value);
  215. // optional int32 leftSecond = 4;
  216. inline bool has_leftsecond() const;
  217. inline void clear_leftsecond();
  218. static const int kLeftSecondFieldNumber = 4;
  219. inline ::google::protobuf::int32 leftsecond() const;
  220. inline void set_leftsecond(::google::protobuf::int32 value);
  221. // @@protoc_insertion_point(class_scope:fish_protocols.msg_room_info)
  222. private:
  223. inline void set_has_roomid();
  224. inline void clear_has_roomid();
  225. inline void set_has_player_count();
  226. inline void clear_has_player_count();
  227. inline void set_has_jackpot();
  228. inline void clear_has_jackpot();
  229. inline void set_has_leftsecond();
  230. inline void clear_has_leftsecond();
  231. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  232. ::google::protobuf::int32 roomid_;
  233. ::google::protobuf::int32 player_count_;
  234. ::google::protobuf::int64 jackpot_;
  235. ::google::protobuf::int32 leftsecond_;
  236. mutable int _cached_size_;
  237. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  238. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  239. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  240. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  241. void InitAsDefaultInstance();
  242. static msg_room_info* default_instance_;
  243. };
  244. // -------------------------------------------------------------------
  245. class packetl2c_get_room_info_result : public ::google::protobuf::Message {
  246. public:
  247. packetl2c_get_room_info_result();
  248. virtual ~packetl2c_get_room_info_result();
  249. packetl2c_get_room_info_result(const packetl2c_get_room_info_result& from);
  250. inline packetl2c_get_room_info_result& operator=(const packetl2c_get_room_info_result& 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 packetl2c_get_room_info_result& default_instance();
  262. void Swap(packetl2c_get_room_info_result* other);
  263. // implements Message ----------------------------------------------
  264. packetl2c_get_room_info_result* New() const;
  265. void CopyFrom(const ::google::protobuf::Message& from);
  266. void MergeFrom(const ::google::protobuf::Message& from);
  267. void CopyFrom(const packetl2c_get_room_info_result& from);
  268. void MergeFrom(const packetl2c_get_room_info_result& 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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_room_info_result];
  287. inline bool has_packet_id() const;
  288. inline void clear_packet_id();
  289. static const int kPacketIdFieldNumber = 1;
  290. inline ::fish_protocols::e_server_msg_type packet_id() const;
  291. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  292. // repeated .fish_protocols.msg_room_info rooms = 2;
  293. inline int rooms_size() const;
  294. inline void clear_rooms();
  295. static const int kRoomsFieldNumber = 2;
  296. inline const ::fish_protocols::msg_room_info& rooms(int index) const;
  297. inline ::fish_protocols::msg_room_info* mutable_rooms(int index);
  298. inline ::fish_protocols::msg_room_info* add_rooms();
  299. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >&
  300. rooms() const;
  301. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >*
  302. mutable_rooms();
  303. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_room_info_result)
  304. private:
  305. inline void set_has_packet_id();
  306. inline void clear_has_packet_id();
  307. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  308. ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info > rooms_;
  309. int packet_id_;
  310. mutable int _cached_size_;
  311. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  312. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  313. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  314. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  315. void InitAsDefaultInstance();
  316. static packetl2c_get_room_info_result* default_instance_;
  317. };
  318. // -------------------------------------------------------------------
  319. class packetc2l_enter_table : public ::google::protobuf::Message {
  320. public:
  321. packetc2l_enter_table();
  322. virtual ~packetc2l_enter_table();
  323. packetc2l_enter_table(const packetc2l_enter_table& from);
  324. inline packetc2l_enter_table& operator=(const packetc2l_enter_table& from) {
  325. CopyFrom(from);
  326. return *this;
  327. }
  328. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  329. return _unknown_fields_;
  330. }
  331. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  332. return &_unknown_fields_;
  333. }
  334. static const ::google::protobuf::Descriptor* descriptor();
  335. static const packetc2l_enter_table& default_instance();
  336. void Swap(packetc2l_enter_table* other);
  337. // implements Message ----------------------------------------------
  338. packetc2l_enter_table* New() const;
  339. void CopyFrom(const ::google::protobuf::Message& from);
  340. void MergeFrom(const ::google::protobuf::Message& from);
  341. void CopyFrom(const packetc2l_enter_table& from);
  342. void MergeFrom(const packetc2l_enter_table& from);
  343. void Clear();
  344. bool IsInitialized() const;
  345. int ByteSize() const;
  346. bool MergePartialFromCodedStream(
  347. ::google::protobuf::io::CodedInputStream* input);
  348. void SerializeWithCachedSizes(
  349. ::google::protobuf::io::CodedOutputStream* output) const;
  350. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  351. int GetCachedSize() const { return _cached_size_; }
  352. private:
  353. void SharedCtor();
  354. void SharedDtor();
  355. void SetCachedSize(int size) const;
  356. public:
  357. ::google::protobuf::Metadata GetMetadata() const;
  358. // nested types ----------------------------------------------------
  359. // accessors -------------------------------------------------------
  360. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_table];
  361. inline bool has_packet_id() const;
  362. inline void clear_packet_id();
  363. static const int kPacketIdFieldNumber = 1;
  364. inline ::fish_protocols::e_server_msg_type packet_id() const;
  365. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  366. // optional int32 roomid = 2 [default = 0];
  367. inline bool has_roomid() const;
  368. inline void clear_roomid();
  369. static const int kRoomidFieldNumber = 2;
  370. inline ::google::protobuf::int32 roomid() const;
  371. inline void set_roomid(::google::protobuf::int32 value);
  372. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_enter_table)
  373. private:
  374. inline void set_has_packet_id();
  375. inline void clear_has_packet_id();
  376. inline void set_has_roomid();
  377. inline void clear_has_roomid();
  378. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  379. int packet_id_;
  380. ::google::protobuf::int32 roomid_;
  381. mutable int _cached_size_;
  382. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  383. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  384. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  385. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  386. void InitAsDefaultInstance();
  387. static packetc2l_enter_table* default_instance_;
  388. };
  389. // -------------------------------------------------------------------
  390. class packetl2c_enter_table_result : public ::google::protobuf::Message {
  391. public:
  392. packetl2c_enter_table_result();
  393. virtual ~packetl2c_enter_table_result();
  394. packetl2c_enter_table_result(const packetl2c_enter_table_result& from);
  395. inline packetl2c_enter_table_result& operator=(const packetl2c_enter_table_result& from) {
  396. CopyFrom(from);
  397. return *this;
  398. }
  399. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  400. return _unknown_fields_;
  401. }
  402. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  403. return &_unknown_fields_;
  404. }
  405. static const ::google::protobuf::Descriptor* descriptor();
  406. static const packetl2c_enter_table_result& default_instance();
  407. void Swap(packetl2c_enter_table_result* other);
  408. // implements Message ----------------------------------------------
  409. packetl2c_enter_table_result* New() const;
  410. void CopyFrom(const ::google::protobuf::Message& from);
  411. void MergeFrom(const ::google::protobuf::Message& from);
  412. void CopyFrom(const packetl2c_enter_table_result& from);
  413. void MergeFrom(const packetl2c_enter_table_result& from);
  414. void Clear();
  415. bool IsInitialized() const;
  416. int ByteSize() const;
  417. bool MergePartialFromCodedStream(
  418. ::google::protobuf::io::CodedInputStream* input);
  419. void SerializeWithCachedSizes(
  420. ::google::protobuf::io::CodedOutputStream* output) const;
  421. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  422. int GetCachedSize() const { return _cached_size_; }
  423. private:
  424. void SharedCtor();
  425. void SharedDtor();
  426. void SetCachedSize(int size) const;
  427. public:
  428. ::google::protobuf::Metadata GetMetadata() const;
  429. // nested types ----------------------------------------------------
  430. // accessors -------------------------------------------------------
  431. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_table_result];
  432. inline bool has_packet_id() const;
  433. inline void clear_packet_id();
  434. static const int kPacketIdFieldNumber = 1;
  435. inline ::fish_protocols::e_server_msg_type packet_id() const;
  436. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  437. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  438. inline bool has_result() const;
  439. inline void clear_result();
  440. static const int kResultFieldNumber = 2;
  441. inline ::msg_type_def::e_msg_result_def result() const;
  442. inline void set_result(::msg_type_def::e_msg_result_def value);
  443. // optional int32 roomid = 3;
  444. inline bool has_roomid() const;
  445. inline void clear_roomid();
  446. static const int kRoomidFieldNumber = 3;
  447. inline ::google::protobuf::int32 roomid() const;
  448. inline void set_roomid(::google::protobuf::int32 value);
  449. // optional bool isRecvGemReward = 4;
  450. inline bool has_isrecvgemreward() const;
  451. inline void clear_isrecvgemreward();
  452. static const int kIsRecvGemRewardFieldNumber = 4;
  453. inline bool isrecvgemreward() const;
  454. inline void set_isrecvgemreward(bool value);
  455. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_enter_table_result)
  456. private:
  457. inline void set_has_packet_id();
  458. inline void clear_has_packet_id();
  459. inline void set_has_result();
  460. inline void clear_has_result();
  461. inline void set_has_roomid();
  462. inline void clear_has_roomid();
  463. inline void set_has_isrecvgemreward();
  464. inline void clear_has_isrecvgemreward();
  465. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  466. int packet_id_;
  467. int result_;
  468. ::google::protobuf::int32 roomid_;
  469. bool isrecvgemreward_;
  470. mutable int _cached_size_;
  471. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  472. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  473. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  474. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  475. void InitAsDefaultInstance();
  476. static packetl2c_enter_table_result* default_instance_;
  477. };
  478. // -------------------------------------------------------------------
  479. class packetc2l_change_table : public ::google::protobuf::Message {
  480. public:
  481. packetc2l_change_table();
  482. virtual ~packetc2l_change_table();
  483. packetc2l_change_table(const packetc2l_change_table& from);
  484. inline packetc2l_change_table& operator=(const packetc2l_change_table& from) {
  485. CopyFrom(from);
  486. return *this;
  487. }
  488. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  489. return _unknown_fields_;
  490. }
  491. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  492. return &_unknown_fields_;
  493. }
  494. static const ::google::protobuf::Descriptor* descriptor();
  495. static const packetc2l_change_table& default_instance();
  496. void Swap(packetc2l_change_table* other);
  497. // implements Message ----------------------------------------------
  498. packetc2l_change_table* New() const;
  499. void CopyFrom(const ::google::protobuf::Message& from);
  500. void MergeFrom(const ::google::protobuf::Message& from);
  501. void CopyFrom(const packetc2l_change_table& from);
  502. void MergeFrom(const packetc2l_change_table& from);
  503. void Clear();
  504. bool IsInitialized() const;
  505. int ByteSize() const;
  506. bool MergePartialFromCodedStream(
  507. ::google::protobuf::io::CodedInputStream* input);
  508. void SerializeWithCachedSizes(
  509. ::google::protobuf::io::CodedOutputStream* output) const;
  510. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  511. int GetCachedSize() const { return _cached_size_; }
  512. private:
  513. void SharedCtor();
  514. void SharedDtor();
  515. void SetCachedSize(int size) const;
  516. public:
  517. ::google::protobuf::Metadata GetMetadata() const;
  518. // nested types ----------------------------------------------------
  519. // accessors -------------------------------------------------------
  520. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_table];
  521. inline bool has_packet_id() const;
  522. inline void clear_packet_id();
  523. static const int kPacketIdFieldNumber = 1;
  524. inline ::fish_protocols::e_server_msg_type packet_id() const;
  525. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  526. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_change_table)
  527. private:
  528. inline void set_has_packet_id();
  529. inline void clear_has_packet_id();
  530. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  531. int packet_id_;
  532. mutable int _cached_size_;
  533. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  534. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  535. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  536. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  537. void InitAsDefaultInstance();
  538. static packetc2l_change_table* default_instance_;
  539. };
  540. // -------------------------------------------------------------------
  541. class packetl2c_change_table_result : public ::google::protobuf::Message {
  542. public:
  543. packetl2c_change_table_result();
  544. virtual ~packetl2c_change_table_result();
  545. packetl2c_change_table_result(const packetl2c_change_table_result& from);
  546. inline packetl2c_change_table_result& operator=(const packetl2c_change_table_result& from) {
  547. CopyFrom(from);
  548. return *this;
  549. }
  550. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  551. return _unknown_fields_;
  552. }
  553. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  554. return &_unknown_fields_;
  555. }
  556. static const ::google::protobuf::Descriptor* descriptor();
  557. static const packetl2c_change_table_result& default_instance();
  558. void Swap(packetl2c_change_table_result* other);
  559. // implements Message ----------------------------------------------
  560. packetl2c_change_table_result* New() const;
  561. void CopyFrom(const ::google::protobuf::Message& from);
  562. void MergeFrom(const ::google::protobuf::Message& from);
  563. void CopyFrom(const packetl2c_change_table_result& from);
  564. void MergeFrom(const packetl2c_change_table_result& from);
  565. void Clear();
  566. bool IsInitialized() const;
  567. int ByteSize() const;
  568. bool MergePartialFromCodedStream(
  569. ::google::protobuf::io::CodedInputStream* input);
  570. void SerializeWithCachedSizes(
  571. ::google::protobuf::io::CodedOutputStream* output) const;
  572. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  573. int GetCachedSize() const { return _cached_size_; }
  574. private:
  575. void SharedCtor();
  576. void SharedDtor();
  577. void SetCachedSize(int size) const;
  578. public:
  579. ::google::protobuf::Metadata GetMetadata() const;
  580. // nested types ----------------------------------------------------
  581. // accessors -------------------------------------------------------
  582. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_table_result];
  583. inline bool has_packet_id() const;
  584. inline void clear_packet_id();
  585. static const int kPacketIdFieldNumber = 1;
  586. inline ::fish_protocols::e_server_msg_type packet_id() const;
  587. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  588. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  589. inline bool has_result() const;
  590. inline void clear_result();
  591. static const int kResultFieldNumber = 2;
  592. inline ::msg_type_def::e_msg_result_def result() const;
  593. inline void set_result(::msg_type_def::e_msg_result_def value);
  594. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_change_table_result)
  595. private:
  596. inline void set_has_packet_id();
  597. inline void clear_has_packet_id();
  598. inline void set_has_result();
  599. inline void clear_has_result();
  600. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  601. int packet_id_;
  602. int result_;
  603. mutable int _cached_size_;
  604. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  605. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  606. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  607. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  608. void InitAsDefaultInstance();
  609. static packetl2c_change_table_result* default_instance_;
  610. };
  611. // -------------------------------------------------------------------
  612. class packetc2l_leave_table : public ::google::protobuf::Message {
  613. public:
  614. packetc2l_leave_table();
  615. virtual ~packetc2l_leave_table();
  616. packetc2l_leave_table(const packetc2l_leave_table& from);
  617. inline packetc2l_leave_table& operator=(const packetc2l_leave_table& 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_leave_table& default_instance();
  629. void Swap(packetc2l_leave_table* other);
  630. // implements Message ----------------------------------------------
  631. packetc2l_leave_table* New() const;
  632. void CopyFrom(const ::google::protobuf::Message& from);
  633. void MergeFrom(const ::google::protobuf::Message& from);
  634. void CopyFrom(const packetc2l_leave_table& from);
  635. void MergeFrom(const packetc2l_leave_table& 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_leave_table];
  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. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_leave_table)
  660. private:
  661. inline void set_has_packet_id();
  662. inline void clear_has_packet_id();
  663. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  664. int packet_id_;
  665. mutable int _cached_size_;
  666. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  667. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  668. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  669. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  670. void InitAsDefaultInstance();
  671. static packetc2l_leave_table* default_instance_;
  672. };
  673. // -------------------------------------------------------------------
  674. class packetl2c_leave_table_result : public ::google::protobuf::Message {
  675. public:
  676. packetl2c_leave_table_result();
  677. virtual ~packetl2c_leave_table_result();
  678. packetl2c_leave_table_result(const packetl2c_leave_table_result& from);
  679. inline packetl2c_leave_table_result& operator=(const packetl2c_leave_table_result& from) {
  680. CopyFrom(from);
  681. return *this;
  682. }
  683. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  684. return _unknown_fields_;
  685. }
  686. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  687. return &_unknown_fields_;
  688. }
  689. static const ::google::protobuf::Descriptor* descriptor();
  690. static const packetl2c_leave_table_result& default_instance();
  691. void Swap(packetl2c_leave_table_result* other);
  692. // implements Message ----------------------------------------------
  693. packetl2c_leave_table_result* New() const;
  694. void CopyFrom(const ::google::protobuf::Message& from);
  695. void MergeFrom(const ::google::protobuf::Message& from);
  696. void CopyFrom(const packetl2c_leave_table_result& from);
  697. void MergeFrom(const packetl2c_leave_table_result& from);
  698. void Clear();
  699. bool IsInitialized() const;
  700. int ByteSize() const;
  701. bool MergePartialFromCodedStream(
  702. ::google::protobuf::io::CodedInputStream* input);
  703. void SerializeWithCachedSizes(
  704. ::google::protobuf::io::CodedOutputStream* output) const;
  705. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  706. int GetCachedSize() const { return _cached_size_; }
  707. private:
  708. void SharedCtor();
  709. void SharedDtor();
  710. void SetCachedSize(int size) const;
  711. public:
  712. ::google::protobuf::Metadata GetMetadata() const;
  713. // nested types ----------------------------------------------------
  714. // accessors -------------------------------------------------------
  715. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_leave_table_result];
  716. inline bool has_packet_id() const;
  717. inline void clear_packet_id();
  718. static const int kPacketIdFieldNumber = 1;
  719. inline ::fish_protocols::e_server_msg_type packet_id() const;
  720. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  721. // optional int64 sync_gold = 2;
  722. inline bool has_sync_gold() const;
  723. inline void clear_sync_gold();
  724. static const int kSyncGoldFieldNumber = 2;
  725. inline ::google::protobuf::int64 sync_gold() const;
  726. inline void set_sync_gold(::google::protobuf::int64 value);
  727. // optional int32 syncDbChip = 3;
  728. inline bool has_syncdbchip() const;
  729. inline void clear_syncdbchip();
  730. static const int kSyncDbChipFieldNumber = 3;
  731. inline ::google::protobuf::int32 syncdbchip() const;
  732. inline void set_syncdbchip(::google::protobuf::int32 value);
  733. // optional int64 playerExp = 4;
  734. inline bool has_playerexp() const;
  735. inline void clear_playerexp();
  736. static const int kPlayerExpFieldNumber = 4;
  737. inline ::google::protobuf::int64 playerexp() const;
  738. inline void set_playerexp(::google::protobuf::int64 value);
  739. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_leave_table_result)
  740. private:
  741. inline void set_has_packet_id();
  742. inline void clear_has_packet_id();
  743. inline void set_has_sync_gold();
  744. inline void clear_has_sync_gold();
  745. inline void set_has_syncdbchip();
  746. inline void clear_has_syncdbchip();
  747. inline void set_has_playerexp();
  748. inline void clear_has_playerexp();
  749. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  750. ::google::protobuf::int64 sync_gold_;
  751. int packet_id_;
  752. ::google::protobuf::int32 syncdbchip_;
  753. ::google::protobuf::int64 playerexp_;
  754. mutable int _cached_size_;
  755. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  756. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  757. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  758. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  759. void InitAsDefaultInstance();
  760. static packetl2c_leave_table_result* default_instance_;
  761. };
  762. // -------------------------------------------------------------------
  763. class packetc2l_check_state : public ::google::protobuf::Message {
  764. public:
  765. packetc2l_check_state();
  766. virtual ~packetc2l_check_state();
  767. packetc2l_check_state(const packetc2l_check_state& from);
  768. inline packetc2l_check_state& operator=(const packetc2l_check_state& 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 packetc2l_check_state& default_instance();
  780. void Swap(packetc2l_check_state* other);
  781. // implements Message ----------------------------------------------
  782. packetc2l_check_state* New() const;
  783. void CopyFrom(const ::google::protobuf::Message& from);
  784. void MergeFrom(const ::google::protobuf::Message& from);
  785. void CopyFrom(const packetc2l_check_state& from);
  786. void MergeFrom(const packetc2l_check_state& 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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_check_state];
  805. inline bool has_packet_id() const;
  806. inline void clear_packet_id();
  807. static const int kPacketIdFieldNumber = 1;
  808. inline ::fish_protocols::e_server_msg_type packet_id() const;
  809. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  810. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_check_state)
  811. private:
  812. inline void set_has_packet_id();
  813. inline void clear_has_packet_id();
  814. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  815. int packet_id_;
  816. mutable int _cached_size_;
  817. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  818. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  819. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  820. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  821. void InitAsDefaultInstance();
  822. static packetc2l_check_state* default_instance_;
  823. };
  824. // -------------------------------------------------------------------
  825. class skill_unit : public ::google::protobuf::Message {
  826. public:
  827. skill_unit();
  828. virtual ~skill_unit();
  829. skill_unit(const skill_unit& from);
  830. inline skill_unit& operator=(const skill_unit& from) {
  831. CopyFrom(from);
  832. return *this;
  833. }
  834. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  835. return _unknown_fields_;
  836. }
  837. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  838. return &_unknown_fields_;
  839. }
  840. static const ::google::protobuf::Descriptor* descriptor();
  841. static const skill_unit& default_instance();
  842. void Swap(skill_unit* other);
  843. // implements Message ----------------------------------------------
  844. skill_unit* New() const;
  845. void CopyFrom(const ::google::protobuf::Message& from);
  846. void MergeFrom(const ::google::protobuf::Message& from);
  847. void CopyFrom(const skill_unit& from);
  848. void MergeFrom(const skill_unit& from);
  849. void Clear();
  850. bool IsInitialized() const;
  851. int ByteSize() const;
  852. bool MergePartialFromCodedStream(
  853. ::google::protobuf::io::CodedInputStream* input);
  854. void SerializeWithCachedSizes(
  855. ::google::protobuf::io::CodedOutputStream* output) const;
  856. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  857. int GetCachedSize() const { return _cached_size_; }
  858. private:
  859. void SharedCtor();
  860. void SharedDtor();
  861. void SetCachedSize(int size) const;
  862. public:
  863. ::google::protobuf::Metadata GetMetadata() const;
  864. // nested types ----------------------------------------------------
  865. // accessors -------------------------------------------------------
  866. // optional int32 skillId = 1;
  867. inline bool has_skillid() const;
  868. inline void clear_skillid();
  869. static const int kSkillIdFieldNumber = 1;
  870. inline ::google::protobuf::int32 skillid() const;
  871. inline void set_skillid(::google::protobuf::int32 value);
  872. // optional int32 addTimes = 2;
  873. inline bool has_addtimes() const;
  874. inline void clear_addtimes();
  875. static const int kAddTimesFieldNumber = 2;
  876. inline ::google::protobuf::int32 addtimes() const;
  877. inline void set_addtimes(::google::protobuf::int32 value);
  878. // @@protoc_insertion_point(class_scope:fish_protocols.skill_unit)
  879. private:
  880. inline void set_has_skillid();
  881. inline void clear_has_skillid();
  882. inline void set_has_addtimes();
  883. inline void clear_has_addtimes();
  884. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  885. ::google::protobuf::int32 skillid_;
  886. ::google::protobuf::int32 addtimes_;
  887. mutable int _cached_size_;
  888. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  889. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  890. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  891. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  892. void InitAsDefaultInstance();
  893. static skill_unit* default_instance_;
  894. };
  895. // -------------------------------------------------------------------
  896. class turret_unit : public ::google::protobuf::Message {
  897. public:
  898. turret_unit();
  899. virtual ~turret_unit();
  900. turret_unit(const turret_unit& from);
  901. inline turret_unit& operator=(const turret_unit& from) {
  902. CopyFrom(from);
  903. return *this;
  904. }
  905. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  906. return _unknown_fields_;
  907. }
  908. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  909. return &_unknown_fields_;
  910. }
  911. static const ::google::protobuf::Descriptor* descriptor();
  912. static const turret_unit& default_instance();
  913. void Swap(turret_unit* other);
  914. // implements Message ----------------------------------------------
  915. turret_unit* New() const;
  916. void CopyFrom(const ::google::protobuf::Message& from);
  917. void MergeFrom(const ::google::protobuf::Message& from);
  918. void CopyFrom(const turret_unit& from);
  919. void MergeFrom(const turret_unit& from);
  920. void Clear();
  921. bool IsInitialized() const;
  922. int ByteSize() const;
  923. bool MergePartialFromCodedStream(
  924. ::google::protobuf::io::CodedInputStream* input);
  925. void SerializeWithCachedSizes(
  926. ::google::protobuf::io::CodedOutputStream* output) const;
  927. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  928. int GetCachedSize() const { return _cached_size_; }
  929. private:
  930. void SharedCtor();
  931. void SharedDtor();
  932. void SetCachedSize(int size) const;
  933. public:
  934. ::google::protobuf::Metadata GetMetadata() const;
  935. // nested types ----------------------------------------------------
  936. // accessors -------------------------------------------------------
  937. // optional int32 turretId = 1;
  938. inline bool has_turretid() const;
  939. inline void clear_turretid();
  940. static const int kTurretIdFieldNumber = 1;
  941. inline ::google::protobuf::int32 turretid() const;
  942. inline void set_turretid(::google::protobuf::int32 value);
  943. // optional int32 additionLv = 2;
  944. inline bool has_additionlv() const;
  945. inline void clear_additionlv();
  946. static const int kAdditionLvFieldNumber = 2;
  947. inline ::google::protobuf::int32 additionlv() const;
  948. inline void set_additionlv(::google::protobuf::int32 value);
  949. // optional int32 endTime = 3;
  950. inline bool has_endtime() const;
  951. inline void clear_endtime();
  952. static const int kEndTimeFieldNumber = 3;
  953. inline ::google::protobuf::int32 endtime() const;
  954. inline void set_endtime(::google::protobuf::int32 value);
  955. // repeated .fish_protocols.skill_unit addtionList = 4;
  956. inline int addtionlist_size() const;
  957. inline void clear_addtionlist();
  958. static const int kAddtionListFieldNumber = 4;
  959. inline const ::fish_protocols::skill_unit& addtionlist(int index) const;
  960. inline ::fish_protocols::skill_unit* mutable_addtionlist(int index);
  961. inline ::fish_protocols::skill_unit* add_addtionlist();
  962. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >&
  963. addtionlist() const;
  964. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >*
  965. mutable_addtionlist();
  966. // @@protoc_insertion_point(class_scope:fish_protocols.turret_unit)
  967. private:
  968. inline void set_has_turretid();
  969. inline void clear_has_turretid();
  970. inline void set_has_additionlv();
  971. inline void clear_has_additionlv();
  972. inline void set_has_endtime();
  973. inline void clear_has_endtime();
  974. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  975. ::google::protobuf::int32 turretid_;
  976. ::google::protobuf::int32 additionlv_;
  977. ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit > addtionlist_;
  978. ::google::protobuf::int32 endtime_;
  979. mutable int _cached_size_;
  980. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  981. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  982. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  983. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  984. void InitAsDefaultInstance();
  985. static turret_unit* default_instance_;
  986. };
  987. // -------------------------------------------------------------------
  988. class wing_unit : public ::google::protobuf::Message {
  989. public:
  990. wing_unit();
  991. virtual ~wing_unit();
  992. wing_unit(const wing_unit& from);
  993. inline wing_unit& operator=(const wing_unit& from) {
  994. CopyFrom(from);
  995. return *this;
  996. }
  997. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  998. return _unknown_fields_;
  999. }
  1000. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1001. return &_unknown_fields_;
  1002. }
  1003. static const ::google::protobuf::Descriptor* descriptor();
  1004. static const wing_unit& default_instance();
  1005. void Swap(wing_unit* other);
  1006. // implements Message ----------------------------------------------
  1007. wing_unit* New() const;
  1008. void CopyFrom(const ::google::protobuf::Message& from);
  1009. void MergeFrom(const ::google::protobuf::Message& from);
  1010. void CopyFrom(const wing_unit& from);
  1011. void MergeFrom(const wing_unit& from);
  1012. void Clear();
  1013. bool IsInitialized() const;
  1014. int ByteSize() const;
  1015. bool MergePartialFromCodedStream(
  1016. ::google::protobuf::io::CodedInputStream* input);
  1017. void SerializeWithCachedSizes(
  1018. ::google::protobuf::io::CodedOutputStream* output) const;
  1019. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1020. int GetCachedSize() const { return _cached_size_; }
  1021. private:
  1022. void SharedCtor();
  1023. void SharedDtor();
  1024. void SetCachedSize(int size) const;
  1025. public:
  1026. ::google::protobuf::Metadata GetMetadata() const;
  1027. // nested types ----------------------------------------------------
  1028. // accessors -------------------------------------------------------
  1029. // optional int32 wingId = 1;
  1030. inline bool has_wingid() const;
  1031. inline void clear_wingid();
  1032. static const int kWingIdFieldNumber = 1;
  1033. inline ::google::protobuf::int32 wingid() const;
  1034. inline void set_wingid(::google::protobuf::int32 value);
  1035. // optional int32 additionLv = 2;
  1036. inline bool has_additionlv() const;
  1037. inline void clear_additionlv();
  1038. static const int kAdditionLvFieldNumber = 2;
  1039. inline ::google::protobuf::int32 additionlv() const;
  1040. inline void set_additionlv(::google::protobuf::int32 value);
  1041. // optional int32 endTime = 3;
  1042. inline bool has_endtime() const;
  1043. inline void clear_endtime();
  1044. static const int kEndTimeFieldNumber = 3;
  1045. inline ::google::protobuf::int32 endtime() const;
  1046. inline void set_endtime(::google::protobuf::int32 value);
  1047. // optional int32 randTimes = 4;
  1048. inline bool has_randtimes() const;
  1049. inline void clear_randtimes();
  1050. static const int kRandTimesFieldNumber = 4;
  1051. inline ::google::protobuf::int32 randtimes() const;
  1052. inline void set_randtimes(::google::protobuf::int32 value);
  1053. // optional int32 randId = 5;
  1054. inline bool has_randid() const;
  1055. inline void clear_randid();
  1056. static const int kRandIdFieldNumber = 5;
  1057. inline ::google::protobuf::int32 randid() const;
  1058. inline void set_randid(::google::protobuf::int32 value);
  1059. // repeated .fish_protocols.skill_unit addtionList = 6;
  1060. inline int addtionlist_size() const;
  1061. inline void clear_addtionlist();
  1062. static const int kAddtionListFieldNumber = 6;
  1063. inline const ::fish_protocols::skill_unit& addtionlist(int index) const;
  1064. inline ::fish_protocols::skill_unit* mutable_addtionlist(int index);
  1065. inline ::fish_protocols::skill_unit* add_addtionlist();
  1066. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >&
  1067. addtionlist() const;
  1068. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >*
  1069. mutable_addtionlist();
  1070. // @@protoc_insertion_point(class_scope:fish_protocols.wing_unit)
  1071. private:
  1072. inline void set_has_wingid();
  1073. inline void clear_has_wingid();
  1074. inline void set_has_additionlv();
  1075. inline void clear_has_additionlv();
  1076. inline void set_has_endtime();
  1077. inline void clear_has_endtime();
  1078. inline void set_has_randtimes();
  1079. inline void clear_has_randtimes();
  1080. inline void set_has_randid();
  1081. inline void clear_has_randid();
  1082. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1083. ::google::protobuf::int32 wingid_;
  1084. ::google::protobuf::int32 additionlv_;
  1085. ::google::protobuf::int32 endtime_;
  1086. ::google::protobuf::int32 randtimes_;
  1087. ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit > addtionlist_;
  1088. ::google::protobuf::int32 randid_;
  1089. mutable int _cached_size_;
  1090. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  1091. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1092. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1093. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1094. void InitAsDefaultInstance();
  1095. static wing_unit* default_instance_;
  1096. };
  1097. // -------------------------------------------------------------------
  1098. class packetl2c_check_state_result : public ::google::protobuf::Message {
  1099. public:
  1100. packetl2c_check_state_result();
  1101. virtual ~packetl2c_check_state_result();
  1102. packetl2c_check_state_result(const packetl2c_check_state_result& from);
  1103. inline packetl2c_check_state_result& operator=(const packetl2c_check_state_result& from) {
  1104. CopyFrom(from);
  1105. return *this;
  1106. }
  1107. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1108. return _unknown_fields_;
  1109. }
  1110. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1111. return &_unknown_fields_;
  1112. }
  1113. static const ::google::protobuf::Descriptor* descriptor();
  1114. static const packetl2c_check_state_result& default_instance();
  1115. void Swap(packetl2c_check_state_result* other);
  1116. // implements Message ----------------------------------------------
  1117. packetl2c_check_state_result* New() const;
  1118. void CopyFrom(const ::google::protobuf::Message& from);
  1119. void MergeFrom(const ::google::protobuf::Message& from);
  1120. void CopyFrom(const packetl2c_check_state_result& from);
  1121. void MergeFrom(const packetl2c_check_state_result& from);
  1122. void Clear();
  1123. bool IsInitialized() const;
  1124. int ByteSize() const;
  1125. bool MergePartialFromCodedStream(
  1126. ::google::protobuf::io::CodedInputStream* input);
  1127. void SerializeWithCachedSizes(
  1128. ::google::protobuf::io::CodedOutputStream* output) const;
  1129. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1130. int GetCachedSize() const { return _cached_size_; }
  1131. private:
  1132. void SharedCtor();
  1133. void SharedDtor();
  1134. void SetCachedSize(int size) const;
  1135. public:
  1136. ::google::protobuf::Metadata GetMetadata() const;
  1137. // nested types ----------------------------------------------------
  1138. // accessors -------------------------------------------------------
  1139. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_check_state_result];
  1140. inline bool has_packet_id() const;
  1141. inline void clear_packet_id();
  1142. static const int kPacketIdFieldNumber = 1;
  1143. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1144. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1145. // optional bool is_intable = 2 [default = false];
  1146. inline bool has_is_intable() const;
  1147. inline void clear_is_intable();
  1148. static const int kIsIntableFieldNumber = 2;
  1149. inline bool is_intable() const;
  1150. inline void set_is_intable(bool value);
  1151. // repeated .fish_protocols.msg_item itemlist = 3;
  1152. inline int itemlist_size() const;
  1153. inline void clear_itemlist();
  1154. static const int kItemlistFieldNumber = 3;
  1155. inline const ::fish_protocols::msg_item& itemlist(int index) const;
  1156. inline ::fish_protocols::msg_item* mutable_itemlist(int index);
  1157. inline ::fish_protocols::msg_item* add_itemlist();
  1158. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  1159. itemlist() const;
  1160. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  1161. mutable_itemlist();
  1162. // repeated .fish_protocols.turret_unit turretlist = 4;
  1163. inline int turretlist_size() const;
  1164. inline void clear_turretlist();
  1165. static const int kTurretlistFieldNumber = 4;
  1166. inline const ::fish_protocols::turret_unit& turretlist(int index) const;
  1167. inline ::fish_protocols::turret_unit* mutable_turretlist(int index);
  1168. inline ::fish_protocols::turret_unit* add_turretlist();
  1169. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >&
  1170. turretlist() const;
  1171. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >*
  1172. mutable_turretlist();
  1173. // repeated .fish_protocols.wing_unit winglist = 5;
  1174. inline int winglist_size() const;
  1175. inline void clear_winglist();
  1176. static const int kWinglistFieldNumber = 5;
  1177. inline const ::fish_protocols::wing_unit& winglist(int index) const;
  1178. inline ::fish_protocols::wing_unit* mutable_winglist(int index);
  1179. inline ::fish_protocols::wing_unit* add_winglist();
  1180. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >&
  1181. winglist() const;
  1182. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >*
  1183. mutable_winglist();
  1184. // optional int32 turret_id = 6;
  1185. inline bool has_turret_id() const;
  1186. inline void clear_turret_id();
  1187. static const int kTurretIdFieldNumber = 6;
  1188. inline ::google::protobuf::int32 turret_id() const;
  1189. inline void set_turret_id(::google::protobuf::int32 value);
  1190. // optional int32 wing_id = 7;
  1191. inline bool has_wing_id() const;
  1192. inline void clear_wing_id();
  1193. static const int kWingIdFieldNumber = 7;
  1194. inline ::google::protobuf::int32 wing_id() const;
  1195. inline void set_wing_id(::google::protobuf::int32 value);
  1196. // optional int32 headId = 8;
  1197. inline bool has_headid() const;
  1198. inline void clear_headid();
  1199. static const int kHeadIdFieldNumber = 8;
  1200. inline ::google::protobuf::int32 headid() const;
  1201. inline void set_headid(::google::protobuf::int32 value);
  1202. // optional int32 frameId = 9;
  1203. inline bool has_frameid() const;
  1204. inline void clear_frameid();
  1205. static const int kFrameIdFieldNumber = 9;
  1206. inline ::google::protobuf::int32 frameid() const;
  1207. inline void set_frameid(::google::protobuf::int32 value);
  1208. // optional int32 playerlvl = 10;
  1209. inline bool has_playerlvl() const;
  1210. inline void clear_playerlvl();
  1211. static const int kPlayerlvlFieldNumber = 10;
  1212. inline ::google::protobuf::int32 playerlvl() const;
  1213. inline void set_playerlvl(::google::protobuf::int32 value);
  1214. // optional int32 turretlvl = 11;
  1215. inline bool has_turretlvl() const;
  1216. inline void clear_turretlvl();
  1217. static const int kTurretlvlFieldNumber = 11;
  1218. inline ::google::protobuf::int32 turretlvl() const;
  1219. inline void set_turretlvl(::google::protobuf::int32 value);
  1220. // optional int64 gameexp = 12;
  1221. inline bool has_gameexp() const;
  1222. inline void clear_gameexp();
  1223. static const int kGameexpFieldNumber = 12;
  1224. inline ::google::protobuf::int64 gameexp() const;
  1225. inline void set_gameexp(::google::protobuf::int64 value);
  1226. // optional int32 dimensity = 13;
  1227. inline bool has_dimensity() const;
  1228. inline void clear_dimensity();
  1229. static const int kDimensityFieldNumber = 13;
  1230. inline ::google::protobuf::int32 dimensity() const;
  1231. inline void set_dimensity(::google::protobuf::int32 value);
  1232. // optional int32 roomId = 14;
  1233. inline bool has_roomid() const;
  1234. inline void clear_roomid();
  1235. static const int kRoomIdFieldNumber = 14;
  1236. inline ::google::protobuf::int32 roomid() const;
  1237. inline void set_roomid(::google::protobuf::int32 value);
  1238. // optional int32 kill_goldfish_count = 15;
  1239. inline bool has_kill_goldfish_count() const;
  1240. inline void clear_kill_goldfish_count();
  1241. static const int kKillGoldfishCountFieldNumber = 15;
  1242. inline ::google::protobuf::int32 kill_goldfish_count() const;
  1243. inline void set_kill_goldfish_count(::google::protobuf::int32 value);
  1244. // optional int32 goldfish_pool = 16;
  1245. inline bool has_goldfish_pool() const;
  1246. inline void clear_goldfish_pool();
  1247. static const int kGoldfishPoolFieldNumber = 16;
  1248. inline ::google::protobuf::int32 goldfish_pool() const;
  1249. inline void set_goldfish_pool(::google::protobuf::int32 value);
  1250. // optional int32 goldfish_lottery_count = 17;
  1251. inline bool has_goldfish_lottery_count() const;
  1252. inline void clear_goldfish_lottery_count();
  1253. static const int kGoldfishLotteryCountFieldNumber = 17;
  1254. inline ::google::protobuf::int32 goldfish_lottery_count() const;
  1255. inline void set_goldfish_lottery_count(::google::protobuf::int32 value);
  1256. // optional int32 dailyAdTimes = 18;
  1257. inline bool has_dailyadtimes() const;
  1258. inline void clear_dailyadtimes();
  1259. static const int kDailyAdTimesFieldNumber = 18;
  1260. inline ::google::protobuf::int32 dailyadtimes() const;
  1261. inline void set_dailyadtimes(::google::protobuf::int32 value);
  1262. // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 19;
  1263. inline int redenvlopeinfos_size() const;
  1264. inline void clear_redenvlopeinfos();
  1265. static const int kRedEnvlopeInfosFieldNumber = 19;
  1266. inline const ::fish_protocols::redEnvlopeInfo& redenvlopeinfos(int index) const;
  1267. inline ::fish_protocols::redEnvlopeInfo* mutable_redenvlopeinfos(int index);
  1268. inline ::fish_protocols::redEnvlopeInfo* add_redenvlopeinfos();
  1269. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >&
  1270. redenvlopeinfos() const;
  1271. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >*
  1272. mutable_redenvlopeinfos();
  1273. // optional int32 autofirelefttime = 20;
  1274. inline bool has_autofirelefttime() const;
  1275. inline void clear_autofirelefttime();
  1276. static const int kAutofirelefttimeFieldNumber = 20;
  1277. inline ::google::protobuf::int32 autofirelefttime() const;
  1278. inline void set_autofirelefttime(::google::protobuf::int32 value);
  1279. // optional int32 canReceiveTommorrowBuffCount = 21;
  1280. inline bool has_canreceivetommorrowbuffcount() const;
  1281. inline void clear_canreceivetommorrowbuffcount();
  1282. static const int kCanReceiveTommorrowBuffCountFieldNumber = 21;
  1283. inline ::google::protobuf::int32 canreceivetommorrowbuffcount() const;
  1284. inline void set_canreceivetommorrowbuffcount(::google::protobuf::int32 value);
  1285. // optional bool canReceiveTommorrowBuffToday = 22;
  1286. inline bool has_canreceivetommorrowbufftoday() const;
  1287. inline void clear_canreceivetommorrowbufftoday();
  1288. static const int kCanReceiveTommorrowBuffTodayFieldNumber = 22;
  1289. inline bool canreceivetommorrowbufftoday() const;
  1290. inline void set_canreceivetommorrowbufftoday(bool value);
  1291. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_check_state_result)
  1292. private:
  1293. inline void set_has_packet_id();
  1294. inline void clear_has_packet_id();
  1295. inline void set_has_is_intable();
  1296. inline void clear_has_is_intable();
  1297. inline void set_has_turret_id();
  1298. inline void clear_has_turret_id();
  1299. inline void set_has_wing_id();
  1300. inline void clear_has_wing_id();
  1301. inline void set_has_headid();
  1302. inline void clear_has_headid();
  1303. inline void set_has_frameid();
  1304. inline void clear_has_frameid();
  1305. inline void set_has_playerlvl();
  1306. inline void clear_has_playerlvl();
  1307. inline void set_has_turretlvl();
  1308. inline void clear_has_turretlvl();
  1309. inline void set_has_gameexp();
  1310. inline void clear_has_gameexp();
  1311. inline void set_has_dimensity();
  1312. inline void clear_has_dimensity();
  1313. inline void set_has_roomid();
  1314. inline void clear_has_roomid();
  1315. inline void set_has_kill_goldfish_count();
  1316. inline void clear_has_kill_goldfish_count();
  1317. inline void set_has_goldfish_pool();
  1318. inline void clear_has_goldfish_pool();
  1319. inline void set_has_goldfish_lottery_count();
  1320. inline void clear_has_goldfish_lottery_count();
  1321. inline void set_has_dailyadtimes();
  1322. inline void clear_has_dailyadtimes();
  1323. inline void set_has_autofirelefttime();
  1324. inline void clear_has_autofirelefttime();
  1325. inline void set_has_canreceivetommorrowbuffcount();
  1326. inline void clear_has_canreceivetommorrowbuffcount();
  1327. inline void set_has_canreceivetommorrowbufftoday();
  1328. inline void clear_has_canreceivetommorrowbufftoday();
  1329. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1330. ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item > itemlist_;
  1331. int packet_id_;
  1332. ::google::protobuf::int32 turret_id_;
  1333. ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit > turretlist_;
  1334. ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit > winglist_;
  1335. ::google::protobuf::int32 wing_id_;
  1336. ::google::protobuf::int32 headid_;
  1337. ::google::protobuf::int32 frameid_;
  1338. ::google::protobuf::int32 playerlvl_;
  1339. ::google::protobuf::int32 turretlvl_;
  1340. bool is_intable_;
  1341. bool canreceivetommorrowbufftoday_;
  1342. ::google::protobuf::int64 gameexp_;
  1343. ::google::protobuf::int32 dimensity_;
  1344. ::google::protobuf::int32 roomid_;
  1345. ::google::protobuf::int32 kill_goldfish_count_;
  1346. ::google::protobuf::int32 goldfish_pool_;
  1347. ::google::protobuf::int32 goldfish_lottery_count_;
  1348. ::google::protobuf::int32 dailyadtimes_;
  1349. ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo > redenvlopeinfos_;
  1350. ::google::protobuf::int32 autofirelefttime_;
  1351. ::google::protobuf::int32 canreceivetommorrowbuffcount_;
  1352. mutable int _cached_size_;
  1353. ::google::protobuf::uint32 _has_bits_[(22 + 31) / 32];
  1354. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1355. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1356. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1357. void InitAsDefaultInstance();
  1358. static packetl2c_check_state_result* default_instance_;
  1359. };
  1360. // -------------------------------------------------------------------
  1361. class packetc2l_buy_item : public ::google::protobuf::Message {
  1362. public:
  1363. packetc2l_buy_item();
  1364. virtual ~packetc2l_buy_item();
  1365. packetc2l_buy_item(const packetc2l_buy_item& from);
  1366. inline packetc2l_buy_item& operator=(const packetc2l_buy_item& from) {
  1367. CopyFrom(from);
  1368. return *this;
  1369. }
  1370. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1371. return _unknown_fields_;
  1372. }
  1373. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1374. return &_unknown_fields_;
  1375. }
  1376. static const ::google::protobuf::Descriptor* descriptor();
  1377. static const packetc2l_buy_item& default_instance();
  1378. void Swap(packetc2l_buy_item* other);
  1379. // implements Message ----------------------------------------------
  1380. packetc2l_buy_item* New() const;
  1381. void CopyFrom(const ::google::protobuf::Message& from);
  1382. void MergeFrom(const ::google::protobuf::Message& from);
  1383. void CopyFrom(const packetc2l_buy_item& from);
  1384. void MergeFrom(const packetc2l_buy_item& from);
  1385. void Clear();
  1386. bool IsInitialized() const;
  1387. int ByteSize() const;
  1388. bool MergePartialFromCodedStream(
  1389. ::google::protobuf::io::CodedInputStream* input);
  1390. void SerializeWithCachedSizes(
  1391. ::google::protobuf::io::CodedOutputStream* output) const;
  1392. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1393. int GetCachedSize() const { return _cached_size_; }
  1394. private:
  1395. void SharedCtor();
  1396. void SharedDtor();
  1397. void SetCachedSize(int size) const;
  1398. public:
  1399. ::google::protobuf::Metadata GetMetadata() const;
  1400. // nested types ----------------------------------------------------
  1401. // accessors -------------------------------------------------------
  1402. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_item];
  1403. inline bool has_packet_id() const;
  1404. inline void clear_packet_id();
  1405. static const int kPacketIdFieldNumber = 1;
  1406. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1407. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1408. // optional bool isshop = 2;
  1409. inline bool has_isshop() const;
  1410. inline void clear_isshop();
  1411. static const int kIsshopFieldNumber = 2;
  1412. inline bool isshop() const;
  1413. inline void set_isshop(bool value);
  1414. // optional int32 shop_id = 3;
  1415. inline bool has_shop_id() const;
  1416. inline void clear_shop_id();
  1417. static const int kShopIdFieldNumber = 3;
  1418. inline ::google::protobuf::int32 shop_id() const;
  1419. inline void set_shop_id(::google::protobuf::int32 value);
  1420. // optional int32 shop_count = 4 [default = 1];
  1421. inline bool has_shop_count() const;
  1422. inline void clear_shop_count();
  1423. static const int kShopCountFieldNumber = 4;
  1424. inline ::google::protobuf::int32 shop_count() const;
  1425. inline void set_shop_count(::google::protobuf::int32 value);
  1426. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_buy_item)
  1427. private:
  1428. inline void set_has_packet_id();
  1429. inline void clear_has_packet_id();
  1430. inline void set_has_isshop();
  1431. inline void clear_has_isshop();
  1432. inline void set_has_shop_id();
  1433. inline void clear_has_shop_id();
  1434. inline void set_has_shop_count();
  1435. inline void clear_has_shop_count();
  1436. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1437. int packet_id_;
  1438. bool isshop_;
  1439. ::google::protobuf::int32 shop_id_;
  1440. ::google::protobuf::int32 shop_count_;
  1441. mutable int _cached_size_;
  1442. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  1443. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1444. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1445. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1446. void InitAsDefaultInstance();
  1447. static packetc2l_buy_item* default_instance_;
  1448. };
  1449. // -------------------------------------------------------------------
  1450. class packetl2c_buy_item_result : public ::google::protobuf::Message {
  1451. public:
  1452. packetl2c_buy_item_result();
  1453. virtual ~packetl2c_buy_item_result();
  1454. packetl2c_buy_item_result(const packetl2c_buy_item_result& from);
  1455. inline packetl2c_buy_item_result& operator=(const packetl2c_buy_item_result& from) {
  1456. CopyFrom(from);
  1457. return *this;
  1458. }
  1459. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1460. return _unknown_fields_;
  1461. }
  1462. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1463. return &_unknown_fields_;
  1464. }
  1465. static const ::google::protobuf::Descriptor* descriptor();
  1466. static const packetl2c_buy_item_result& default_instance();
  1467. void Swap(packetl2c_buy_item_result* other);
  1468. // implements Message ----------------------------------------------
  1469. packetl2c_buy_item_result* New() const;
  1470. void CopyFrom(const ::google::protobuf::Message& from);
  1471. void MergeFrom(const ::google::protobuf::Message& from);
  1472. void CopyFrom(const packetl2c_buy_item_result& from);
  1473. void MergeFrom(const packetl2c_buy_item_result& from);
  1474. void Clear();
  1475. bool IsInitialized() const;
  1476. int ByteSize() const;
  1477. bool MergePartialFromCodedStream(
  1478. ::google::protobuf::io::CodedInputStream* input);
  1479. void SerializeWithCachedSizes(
  1480. ::google::protobuf::io::CodedOutputStream* output) const;
  1481. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1482. int GetCachedSize() const { return _cached_size_; }
  1483. private:
  1484. void SharedCtor();
  1485. void SharedDtor();
  1486. void SetCachedSize(int size) const;
  1487. public:
  1488. ::google::protobuf::Metadata GetMetadata() const;
  1489. // nested types ----------------------------------------------------
  1490. // accessors -------------------------------------------------------
  1491. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_item_result];
  1492. inline bool has_packet_id() const;
  1493. inline void clear_packet_id();
  1494. static const int kPacketIdFieldNumber = 1;
  1495. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1496. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1497. // optional int32 shop_id = 2;
  1498. inline bool has_shop_id() const;
  1499. inline void clear_shop_id();
  1500. static const int kShopIdFieldNumber = 2;
  1501. inline ::google::protobuf::int32 shop_id() const;
  1502. inline void set_shop_id(::google::protobuf::int32 value);
  1503. // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail];
  1504. inline bool has_result() const;
  1505. inline void clear_result();
  1506. static const int kResultFieldNumber = 3;
  1507. inline ::msg_type_def::e_msg_result_def result() const;
  1508. inline void set_result(::msg_type_def::e_msg_result_def value);
  1509. // optional int32 shop_count = 4 [default = 1];
  1510. inline bool has_shop_count() const;
  1511. inline void clear_shop_count();
  1512. static const int kShopCountFieldNumber = 4;
  1513. inline ::google::protobuf::int32 shop_count() const;
  1514. inline void set_shop_count(::google::protobuf::int32 value);
  1515. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_buy_item_result)
  1516. private:
  1517. inline void set_has_packet_id();
  1518. inline void clear_has_packet_id();
  1519. inline void set_has_shop_id();
  1520. inline void clear_has_shop_id();
  1521. inline void set_has_result();
  1522. inline void clear_has_result();
  1523. inline void set_has_shop_count();
  1524. inline void clear_has_shop_count();
  1525. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1526. int packet_id_;
  1527. ::google::protobuf::int32 shop_id_;
  1528. int result_;
  1529. ::google::protobuf::int32 shop_count_;
  1530. mutable int _cached_size_;
  1531. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  1532. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1533. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1534. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1535. void InitAsDefaultInstance();
  1536. static packetl2c_buy_item_result* default_instance_;
  1537. };
  1538. // -------------------------------------------------------------------
  1539. class packetc2l_use_item : public ::google::protobuf::Message {
  1540. public:
  1541. packetc2l_use_item();
  1542. virtual ~packetc2l_use_item();
  1543. packetc2l_use_item(const packetc2l_use_item& from);
  1544. inline packetc2l_use_item& operator=(const packetc2l_use_item& from) {
  1545. CopyFrom(from);
  1546. return *this;
  1547. }
  1548. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1549. return _unknown_fields_;
  1550. }
  1551. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1552. return &_unknown_fields_;
  1553. }
  1554. static const ::google::protobuf::Descriptor* descriptor();
  1555. static const packetc2l_use_item& default_instance();
  1556. void Swap(packetc2l_use_item* other);
  1557. // implements Message ----------------------------------------------
  1558. packetc2l_use_item* New() const;
  1559. void CopyFrom(const ::google::protobuf::Message& from);
  1560. void MergeFrom(const ::google::protobuf::Message& from);
  1561. void CopyFrom(const packetc2l_use_item& from);
  1562. void MergeFrom(const packetc2l_use_item& from);
  1563. void Clear();
  1564. bool IsInitialized() const;
  1565. int ByteSize() const;
  1566. bool MergePartialFromCodedStream(
  1567. ::google::protobuf::io::CodedInputStream* input);
  1568. void SerializeWithCachedSizes(
  1569. ::google::protobuf::io::CodedOutputStream* output) const;
  1570. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1571. int GetCachedSize() const { return _cached_size_; }
  1572. private:
  1573. void SharedCtor();
  1574. void SharedDtor();
  1575. void SetCachedSize(int size) const;
  1576. public:
  1577. ::google::protobuf::Metadata GetMetadata() const;
  1578. // nested types ----------------------------------------------------
  1579. // accessors -------------------------------------------------------
  1580. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_use_item];
  1581. inline bool has_packet_id() const;
  1582. inline void clear_packet_id();
  1583. static const int kPacketIdFieldNumber = 1;
  1584. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1585. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1586. // optional int32 item_id = 2;
  1587. inline bool has_item_id() const;
  1588. inline void clear_item_id();
  1589. static const int kItemIdFieldNumber = 2;
  1590. inline ::google::protobuf::int32 item_id() const;
  1591. inline void set_item_id(::google::protobuf::int32 value);
  1592. // optional int32 whereUse = 3;
  1593. inline bool has_whereuse() const;
  1594. inline void clear_whereuse();
  1595. static const int kWhereUseFieldNumber = 3;
  1596. inline ::google::protobuf::int32 whereuse() const;
  1597. inline void set_whereuse(::google::protobuf::int32 value);
  1598. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_use_item)
  1599. private:
  1600. inline void set_has_packet_id();
  1601. inline void clear_has_packet_id();
  1602. inline void set_has_item_id();
  1603. inline void clear_has_item_id();
  1604. inline void set_has_whereuse();
  1605. inline void clear_has_whereuse();
  1606. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1607. int packet_id_;
  1608. ::google::protobuf::int32 item_id_;
  1609. ::google::protobuf::int32 whereuse_;
  1610. mutable int _cached_size_;
  1611. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1612. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1613. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1614. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1615. void InitAsDefaultInstance();
  1616. static packetc2l_use_item* default_instance_;
  1617. };
  1618. // -------------------------------------------------------------------
  1619. class getItemsInfo : public ::google::protobuf::Message {
  1620. public:
  1621. getItemsInfo();
  1622. virtual ~getItemsInfo();
  1623. getItemsInfo(const getItemsInfo& from);
  1624. inline getItemsInfo& operator=(const getItemsInfo& from) {
  1625. CopyFrom(from);
  1626. return *this;
  1627. }
  1628. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1629. return _unknown_fields_;
  1630. }
  1631. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1632. return &_unknown_fields_;
  1633. }
  1634. static const ::google::protobuf::Descriptor* descriptor();
  1635. static const getItemsInfo& default_instance();
  1636. void Swap(getItemsInfo* other);
  1637. // implements Message ----------------------------------------------
  1638. getItemsInfo* New() const;
  1639. void CopyFrom(const ::google::protobuf::Message& from);
  1640. void MergeFrom(const ::google::protobuf::Message& from);
  1641. void CopyFrom(const getItemsInfo& from);
  1642. void MergeFrom(const getItemsInfo& from);
  1643. void Clear();
  1644. bool IsInitialized() const;
  1645. int ByteSize() const;
  1646. bool MergePartialFromCodedStream(
  1647. ::google::protobuf::io::CodedInputStream* input);
  1648. void SerializeWithCachedSizes(
  1649. ::google::protobuf::io::CodedOutputStream* output) const;
  1650. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1651. int GetCachedSize() const { return _cached_size_; }
  1652. private:
  1653. void SharedCtor();
  1654. void SharedDtor();
  1655. void SetCachedSize(int size) const;
  1656. public:
  1657. ::google::protobuf::Metadata GetMetadata() const;
  1658. // nested types ----------------------------------------------------
  1659. // accessors -------------------------------------------------------
  1660. // optional int32 itemid = 8;
  1661. inline bool has_itemid() const;
  1662. inline void clear_itemid();
  1663. static const int kItemidFieldNumber = 8;
  1664. inline ::google::protobuf::int32 itemid() const;
  1665. inline void set_itemid(::google::protobuf::int32 value);
  1666. // optional int32 itemcount = 9;
  1667. inline bool has_itemcount() const;
  1668. inline void clear_itemcount();
  1669. static const int kItemcountFieldNumber = 9;
  1670. inline ::google::protobuf::int32 itemcount() const;
  1671. inline void set_itemcount(::google::protobuf::int32 value);
  1672. // @@protoc_insertion_point(class_scope:fish_protocols.getItemsInfo)
  1673. private:
  1674. inline void set_has_itemid();
  1675. inline void clear_has_itemid();
  1676. inline void set_has_itemcount();
  1677. inline void clear_has_itemcount();
  1678. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1679. ::google::protobuf::int32 itemid_;
  1680. ::google::protobuf::int32 itemcount_;
  1681. mutable int _cached_size_;
  1682. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1683. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1684. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1685. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1686. void InitAsDefaultInstance();
  1687. static getItemsInfo* default_instance_;
  1688. };
  1689. // -------------------------------------------------------------------
  1690. class ItemInfo : public ::google::protobuf::Message {
  1691. public:
  1692. ItemInfo();
  1693. virtual ~ItemInfo();
  1694. ItemInfo(const ItemInfo& from);
  1695. inline ItemInfo& operator=(const ItemInfo& from) {
  1696. CopyFrom(from);
  1697. return *this;
  1698. }
  1699. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1700. return _unknown_fields_;
  1701. }
  1702. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1703. return &_unknown_fields_;
  1704. }
  1705. static const ::google::protobuf::Descriptor* descriptor();
  1706. static const ItemInfo& default_instance();
  1707. void Swap(ItemInfo* other);
  1708. // implements Message ----------------------------------------------
  1709. ItemInfo* New() const;
  1710. void CopyFrom(const ::google::protobuf::Message& from);
  1711. void MergeFrom(const ::google::protobuf::Message& from);
  1712. void CopyFrom(const ItemInfo& from);
  1713. void MergeFrom(const ItemInfo& from);
  1714. void Clear();
  1715. bool IsInitialized() const;
  1716. int ByteSize() const;
  1717. bool MergePartialFromCodedStream(
  1718. ::google::protobuf::io::CodedInputStream* input);
  1719. void SerializeWithCachedSizes(
  1720. ::google::protobuf::io::CodedOutputStream* output) const;
  1721. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1722. int GetCachedSize() const { return _cached_size_; }
  1723. private:
  1724. void SharedCtor();
  1725. void SharedDtor();
  1726. void SetCachedSize(int size) const;
  1727. public:
  1728. ::google::protobuf::Metadata GetMetadata() const;
  1729. // nested types ----------------------------------------------------
  1730. // accessors -------------------------------------------------------
  1731. // optional int32 itemId = 1;
  1732. inline bool has_itemid() const;
  1733. inline void clear_itemid();
  1734. static const int kItemIdFieldNumber = 1;
  1735. inline ::google::protobuf::int32 itemid() const;
  1736. inline void set_itemid(::google::protobuf::int32 value);
  1737. // optional int32 count = 2;
  1738. inline bool has_count() const;
  1739. inline void clear_count();
  1740. static const int kCountFieldNumber = 2;
  1741. inline ::google::protobuf::int32 count() const;
  1742. inline void set_count(::google::protobuf::int32 value);
  1743. // @@protoc_insertion_point(class_scope:fish_protocols.ItemInfo)
  1744. private:
  1745. inline void set_has_itemid();
  1746. inline void clear_has_itemid();
  1747. inline void set_has_count();
  1748. inline void clear_has_count();
  1749. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1750. ::google::protobuf::int32 itemid_;
  1751. ::google::protobuf::int32 count_;
  1752. mutable int _cached_size_;
  1753. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1754. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1755. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1756. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1757. void InitAsDefaultInstance();
  1758. static ItemInfo* default_instance_;
  1759. };
  1760. // -------------------------------------------------------------------
  1761. class packetl2c_use_item_result : public ::google::protobuf::Message {
  1762. public:
  1763. packetl2c_use_item_result();
  1764. virtual ~packetl2c_use_item_result();
  1765. packetl2c_use_item_result(const packetl2c_use_item_result& from);
  1766. inline packetl2c_use_item_result& operator=(const packetl2c_use_item_result& from) {
  1767. CopyFrom(from);
  1768. return *this;
  1769. }
  1770. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1771. return _unknown_fields_;
  1772. }
  1773. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1774. return &_unknown_fields_;
  1775. }
  1776. static const ::google::protobuf::Descriptor* descriptor();
  1777. static const packetl2c_use_item_result& default_instance();
  1778. void Swap(packetl2c_use_item_result* other);
  1779. // implements Message ----------------------------------------------
  1780. packetl2c_use_item_result* New() const;
  1781. void CopyFrom(const ::google::protobuf::Message& from);
  1782. void MergeFrom(const ::google::protobuf::Message& from);
  1783. void CopyFrom(const packetl2c_use_item_result& from);
  1784. void MergeFrom(const packetl2c_use_item_result& from);
  1785. void Clear();
  1786. bool IsInitialized() const;
  1787. int ByteSize() const;
  1788. bool MergePartialFromCodedStream(
  1789. ::google::protobuf::io::CodedInputStream* input);
  1790. void SerializeWithCachedSizes(
  1791. ::google::protobuf::io::CodedOutputStream* output) const;
  1792. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1793. int GetCachedSize() const { return _cached_size_; }
  1794. private:
  1795. void SharedCtor();
  1796. void SharedDtor();
  1797. void SetCachedSize(int size) const;
  1798. public:
  1799. ::google::protobuf::Metadata GetMetadata() const;
  1800. // nested types ----------------------------------------------------
  1801. // accessors -------------------------------------------------------
  1802. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_use_item_result];
  1803. inline bool has_packet_id() const;
  1804. inline void clear_packet_id();
  1805. static const int kPacketIdFieldNumber = 1;
  1806. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1807. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1808. // optional int32 pid = 2;
  1809. inline bool has_pid() const;
  1810. inline void clear_pid();
  1811. static const int kPidFieldNumber = 2;
  1812. inline ::google::protobuf::int32 pid() const;
  1813. inline void set_pid(::google::protobuf::int32 value);
  1814. // optional int32 item_id = 3;
  1815. inline bool has_item_id() const;
  1816. inline void clear_item_id();
  1817. static const int kItemIdFieldNumber = 3;
  1818. inline ::google::protobuf::int32 item_id() const;
  1819. inline void set_item_id(::google::protobuf::int32 value);
  1820. // optional .msg_type_def.e_msg_result_def result = 4 [default = e_rmt_fail];
  1821. inline bool has_result() const;
  1822. inline void clear_result();
  1823. static const int kResultFieldNumber = 4;
  1824. inline ::msg_type_def::e_msg_result_def result() const;
  1825. inline void set_result(::msg_type_def::e_msg_result_def value);
  1826. // optional int32 item_count = 5 [default = 1];
  1827. inline bool has_item_count() const;
  1828. inline void clear_item_count();
  1829. static const int kItemCountFieldNumber = 5;
  1830. inline ::google::protobuf::int32 item_count() const;
  1831. inline void set_item_count(::google::protobuf::int32 value);
  1832. // optional int32 whereUse = 6;
  1833. inline bool has_whereuse() const;
  1834. inline void clear_whereuse();
  1835. static const int kWhereUseFieldNumber = 6;
  1836. inline ::google::protobuf::int32 whereuse() const;
  1837. inline void set_whereuse(::google::protobuf::int32 value);
  1838. // optional int32 score = 7;
  1839. inline bool has_score() const;
  1840. inline void clear_score();
  1841. static const int kScoreFieldNumber = 7;
  1842. inline ::google::protobuf::int32 score() const;
  1843. inline void set_score(::google::protobuf::int32 value);
  1844. // repeated .fish_protocols.ItemInfo items = 8;
  1845. inline int items_size() const;
  1846. inline void clear_items();
  1847. static const int kItemsFieldNumber = 8;
  1848. inline const ::fish_protocols::ItemInfo& items(int index) const;
  1849. inline ::fish_protocols::ItemInfo* mutable_items(int index);
  1850. inline ::fish_protocols::ItemInfo* add_items();
  1851. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >&
  1852. items() const;
  1853. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >*
  1854. mutable_items();
  1855. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_use_item_result)
  1856. private:
  1857. inline void set_has_packet_id();
  1858. inline void clear_has_packet_id();
  1859. inline void set_has_pid();
  1860. inline void clear_has_pid();
  1861. inline void set_has_item_id();
  1862. inline void clear_has_item_id();
  1863. inline void set_has_result();
  1864. inline void clear_has_result();
  1865. inline void set_has_item_count();
  1866. inline void clear_has_item_count();
  1867. inline void set_has_whereuse();
  1868. inline void clear_has_whereuse();
  1869. inline void set_has_score();
  1870. inline void clear_has_score();
  1871. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1872. int packet_id_;
  1873. ::google::protobuf::int32 pid_;
  1874. ::google::protobuf::int32 item_id_;
  1875. int result_;
  1876. ::google::protobuf::int32 item_count_;
  1877. ::google::protobuf::int32 whereuse_;
  1878. ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo > items_;
  1879. ::google::protobuf::int32 score_;
  1880. mutable int _cached_size_;
  1881. ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
  1882. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1883. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1884. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1885. void InitAsDefaultInstance();
  1886. static packetl2c_use_item_result* default_instance_;
  1887. };
  1888. // -------------------------------------------------------------------
  1889. class packetc2l_change_turret : public ::google::protobuf::Message {
  1890. public:
  1891. packetc2l_change_turret();
  1892. virtual ~packetc2l_change_turret();
  1893. packetc2l_change_turret(const packetc2l_change_turret& from);
  1894. inline packetc2l_change_turret& operator=(const packetc2l_change_turret& from) {
  1895. CopyFrom(from);
  1896. return *this;
  1897. }
  1898. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1899. return _unknown_fields_;
  1900. }
  1901. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1902. return &_unknown_fields_;
  1903. }
  1904. static const ::google::protobuf::Descriptor* descriptor();
  1905. static const packetc2l_change_turret& default_instance();
  1906. void Swap(packetc2l_change_turret* other);
  1907. // implements Message ----------------------------------------------
  1908. packetc2l_change_turret* New() const;
  1909. void CopyFrom(const ::google::protobuf::Message& from);
  1910. void MergeFrom(const ::google::protobuf::Message& from);
  1911. void CopyFrom(const packetc2l_change_turret& from);
  1912. void MergeFrom(const packetc2l_change_turret& from);
  1913. void Clear();
  1914. bool IsInitialized() const;
  1915. int ByteSize() const;
  1916. bool MergePartialFromCodedStream(
  1917. ::google::protobuf::io::CodedInputStream* input);
  1918. void SerializeWithCachedSizes(
  1919. ::google::protobuf::io::CodedOutputStream* output) const;
  1920. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1921. int GetCachedSize() const { return _cached_size_; }
  1922. private:
  1923. void SharedCtor();
  1924. void SharedDtor();
  1925. void SetCachedSize(int size) const;
  1926. public:
  1927. ::google::protobuf::Metadata GetMetadata() const;
  1928. // nested types ----------------------------------------------------
  1929. // accessors -------------------------------------------------------
  1930. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_turret];
  1931. inline bool has_packet_id() const;
  1932. inline void clear_packet_id();
  1933. static const int kPacketIdFieldNumber = 1;
  1934. inline ::fish_protocols::e_server_msg_type packet_id() const;
  1935. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  1936. // optional int32 turret_id = 2;
  1937. inline bool has_turret_id() const;
  1938. inline void clear_turret_id();
  1939. static const int kTurretIdFieldNumber = 2;
  1940. inline ::google::protobuf::int32 turret_id() const;
  1941. inline void set_turret_id(::google::protobuf::int32 value);
  1942. // optional int32 wing_id = 3;
  1943. inline bool has_wing_id() const;
  1944. inline void clear_wing_id();
  1945. static const int kWingIdFieldNumber = 3;
  1946. inline ::google::protobuf::int32 wing_id() const;
  1947. inline void set_wing_id(::google::protobuf::int32 value);
  1948. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_change_turret)
  1949. private:
  1950. inline void set_has_packet_id();
  1951. inline void clear_has_packet_id();
  1952. inline void set_has_turret_id();
  1953. inline void clear_has_turret_id();
  1954. inline void set_has_wing_id();
  1955. inline void clear_has_wing_id();
  1956. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1957. int packet_id_;
  1958. ::google::protobuf::int32 turret_id_;
  1959. ::google::protobuf::int32 wing_id_;
  1960. mutable int _cached_size_;
  1961. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1962. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  1963. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  1964. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  1965. void InitAsDefaultInstance();
  1966. static packetc2l_change_turret* default_instance_;
  1967. };
  1968. // -------------------------------------------------------------------
  1969. class packetl2c_change_turret_result : public ::google::protobuf::Message {
  1970. public:
  1971. packetl2c_change_turret_result();
  1972. virtual ~packetl2c_change_turret_result();
  1973. packetl2c_change_turret_result(const packetl2c_change_turret_result& from);
  1974. inline packetl2c_change_turret_result& operator=(const packetl2c_change_turret_result& from) {
  1975. CopyFrom(from);
  1976. return *this;
  1977. }
  1978. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1979. return _unknown_fields_;
  1980. }
  1981. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1982. return &_unknown_fields_;
  1983. }
  1984. static const ::google::protobuf::Descriptor* descriptor();
  1985. static const packetl2c_change_turret_result& default_instance();
  1986. void Swap(packetl2c_change_turret_result* other);
  1987. // implements Message ----------------------------------------------
  1988. packetl2c_change_turret_result* New() const;
  1989. void CopyFrom(const ::google::protobuf::Message& from);
  1990. void MergeFrom(const ::google::protobuf::Message& from);
  1991. void CopyFrom(const packetl2c_change_turret_result& from);
  1992. void MergeFrom(const packetl2c_change_turret_result& from);
  1993. void Clear();
  1994. bool IsInitialized() const;
  1995. int ByteSize() const;
  1996. bool MergePartialFromCodedStream(
  1997. ::google::protobuf::io::CodedInputStream* input);
  1998. void SerializeWithCachedSizes(
  1999. ::google::protobuf::io::CodedOutputStream* output) const;
  2000. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2001. int GetCachedSize() const { return _cached_size_; }
  2002. private:
  2003. void SharedCtor();
  2004. void SharedDtor();
  2005. void SetCachedSize(int size) const;
  2006. public:
  2007. ::google::protobuf::Metadata GetMetadata() const;
  2008. // nested types ----------------------------------------------------
  2009. // accessors -------------------------------------------------------
  2010. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_turret_result];
  2011. inline bool has_packet_id() const;
  2012. inline void clear_packet_id();
  2013. static const int kPacketIdFieldNumber = 1;
  2014. inline ::fish_protocols::e_server_msg_type packet_id() const;
  2015. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  2016. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  2017. inline bool has_result() const;
  2018. inline void clear_result();
  2019. static const int kResultFieldNumber = 2;
  2020. inline ::msg_type_def::e_msg_result_def result() const;
  2021. inline void set_result(::msg_type_def::e_msg_result_def value);
  2022. // optional int32 player_id = 3;
  2023. inline bool has_player_id() const;
  2024. inline void clear_player_id();
  2025. static const int kPlayerIdFieldNumber = 3;
  2026. inline ::google::protobuf::int32 player_id() const;
  2027. inline void set_player_id(::google::protobuf::int32 value);
  2028. // optional int32 turret_id = 4;
  2029. inline bool has_turret_id() const;
  2030. inline void clear_turret_id();
  2031. static const int kTurretIdFieldNumber = 4;
  2032. inline ::google::protobuf::int32 turret_id() const;
  2033. inline void set_turret_id(::google::protobuf::int32 value);
  2034. // optional int32 turret_lv = 5;
  2035. inline bool has_turret_lv() const;
  2036. inline void clear_turret_lv();
  2037. static const int kTurretLvFieldNumber = 5;
  2038. inline ::google::protobuf::int32 turret_lv() const;
  2039. inline void set_turret_lv(::google::protobuf::int32 value);
  2040. // optional int32 wing_id = 6;
  2041. inline bool has_wing_id() const;
  2042. inline void clear_wing_id();
  2043. static const int kWingIdFieldNumber = 6;
  2044. inline ::google::protobuf::int32 wing_id() const;
  2045. inline void set_wing_id(::google::protobuf::int32 value);
  2046. // optional int32 wing_lv = 7;
  2047. inline bool has_wing_lv() const;
  2048. inline void clear_wing_lv();
  2049. static const int kWingLvFieldNumber = 7;
  2050. inline ::google::protobuf::int32 wing_lv() const;
  2051. inline void set_wing_lv(::google::protobuf::int32 value);
  2052. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_change_turret_result)
  2053. private:
  2054. inline void set_has_packet_id();
  2055. inline void clear_has_packet_id();
  2056. inline void set_has_result();
  2057. inline void clear_has_result();
  2058. inline void set_has_player_id();
  2059. inline void clear_has_player_id();
  2060. inline void set_has_turret_id();
  2061. inline void clear_has_turret_id();
  2062. inline void set_has_turret_lv();
  2063. inline void clear_has_turret_lv();
  2064. inline void set_has_wing_id();
  2065. inline void clear_has_wing_id();
  2066. inline void set_has_wing_lv();
  2067. inline void clear_has_wing_lv();
  2068. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2069. int packet_id_;
  2070. int result_;
  2071. ::google::protobuf::int32 player_id_;
  2072. ::google::protobuf::int32 turret_id_;
  2073. ::google::protobuf::int32 turret_lv_;
  2074. ::google::protobuf::int32 wing_id_;
  2075. ::google::protobuf::int32 wing_lv_;
  2076. mutable int _cached_size_;
  2077. ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
  2078. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2079. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2080. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2081. void InitAsDefaultInstance();
  2082. static packetl2c_change_turret_result* default_instance_;
  2083. };
  2084. // -------------------------------------------------------------------
  2085. class PointsRankInfo : public ::google::protobuf::Message {
  2086. public:
  2087. PointsRankInfo();
  2088. virtual ~PointsRankInfo();
  2089. PointsRankInfo(const PointsRankInfo& from);
  2090. inline PointsRankInfo& operator=(const PointsRankInfo& from) {
  2091. CopyFrom(from);
  2092. return *this;
  2093. }
  2094. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2095. return _unknown_fields_;
  2096. }
  2097. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2098. return &_unknown_fields_;
  2099. }
  2100. static const ::google::protobuf::Descriptor* descriptor();
  2101. static const PointsRankInfo& default_instance();
  2102. void Swap(PointsRankInfo* other);
  2103. // implements Message ----------------------------------------------
  2104. PointsRankInfo* New() const;
  2105. void CopyFrom(const ::google::protobuf::Message& from);
  2106. void MergeFrom(const ::google::protobuf::Message& from);
  2107. void CopyFrom(const PointsRankInfo& from);
  2108. void MergeFrom(const PointsRankInfo& from);
  2109. void Clear();
  2110. bool IsInitialized() const;
  2111. int ByteSize() const;
  2112. bool MergePartialFromCodedStream(
  2113. ::google::protobuf::io::CodedInputStream* input);
  2114. void SerializeWithCachedSizes(
  2115. ::google::protobuf::io::CodedOutputStream* output) const;
  2116. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2117. int GetCachedSize() const { return _cached_size_; }
  2118. private:
  2119. void SharedCtor();
  2120. void SharedDtor();
  2121. void SetCachedSize(int size) const;
  2122. public:
  2123. ::google::protobuf::Metadata GetMetadata() const;
  2124. // nested types ----------------------------------------------------
  2125. // accessors -------------------------------------------------------
  2126. // optional int32 rank = 1;
  2127. inline bool has_rank() const;
  2128. inline void clear_rank();
  2129. static const int kRankFieldNumber = 1;
  2130. inline ::google::protobuf::int32 rank() const;
  2131. inline void set_rank(::google::protobuf::int32 value);
  2132. // optional int32 playerId = 2;
  2133. inline bool has_playerid() const;
  2134. inline void clear_playerid();
  2135. static const int kPlayerIdFieldNumber = 2;
  2136. inline ::google::protobuf::int32 playerid() const;
  2137. inline void set_playerid(::google::protobuf::int32 value);
  2138. // optional string nickName = 3;
  2139. inline bool has_nickname() const;
  2140. inline void clear_nickname();
  2141. static const int kNickNameFieldNumber = 3;
  2142. inline const ::std::string& nickname() const;
  2143. inline void set_nickname(const ::std::string& value);
  2144. inline void set_nickname(const char* value);
  2145. inline void set_nickname(const char* value, size_t size);
  2146. inline ::std::string* mutable_nickname();
  2147. inline ::std::string* release_nickname();
  2148. inline void set_allocated_nickname(::std::string* nickname);
  2149. // optional int64 points = 4;
  2150. inline bool has_points() const;
  2151. inline void clear_points();
  2152. static const int kPointsFieldNumber = 4;
  2153. inline ::google::protobuf::int64 points() const;
  2154. inline void set_points(::google::protobuf::int64 value);
  2155. // optional int32 singleMax = 5;
  2156. inline bool has_singlemax() const;
  2157. inline void clear_singlemax();
  2158. static const int kSingleMaxFieldNumber = 5;
  2159. inline ::google::protobuf::int32 singlemax() const;
  2160. inline void set_singlemax(::google::protobuf::int32 value);
  2161. // optional int32 viplv = 6;
  2162. inline bool has_viplv() const;
  2163. inline void clear_viplv();
  2164. static const int kViplvFieldNumber = 6;
  2165. inline ::google::protobuf::int32 viplv() const;
  2166. inline void set_viplv(::google::protobuf::int32 value);
  2167. // optional int32 headid = 7;
  2168. inline bool has_headid() const;
  2169. inline void clear_headid();
  2170. static const int kHeadidFieldNumber = 7;
  2171. inline ::google::protobuf::int32 headid() const;
  2172. inline void set_headid(::google::protobuf::int32 value);
  2173. // optional int32 frameid = 8;
  2174. inline bool has_frameid() const;
  2175. inline void clear_frameid();
  2176. static const int kFrameidFieldNumber = 8;
  2177. inline ::google::protobuf::int32 frameid() const;
  2178. inline void set_frameid(::google::protobuf::int32 value);
  2179. // @@protoc_insertion_point(class_scope:fish_protocols.PointsRankInfo)
  2180. private:
  2181. inline void set_has_rank();
  2182. inline void clear_has_rank();
  2183. inline void set_has_playerid();
  2184. inline void clear_has_playerid();
  2185. inline void set_has_nickname();
  2186. inline void clear_has_nickname();
  2187. inline void set_has_points();
  2188. inline void clear_has_points();
  2189. inline void set_has_singlemax();
  2190. inline void clear_has_singlemax();
  2191. inline void set_has_viplv();
  2192. inline void clear_has_viplv();
  2193. inline void set_has_headid();
  2194. inline void clear_has_headid();
  2195. inline void set_has_frameid();
  2196. inline void clear_has_frameid();
  2197. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2198. ::google::protobuf::int32 rank_;
  2199. ::google::protobuf::int32 playerid_;
  2200. ::std::string* nickname_;
  2201. ::google::protobuf::int64 points_;
  2202. ::google::protobuf::int32 singlemax_;
  2203. ::google::protobuf::int32 viplv_;
  2204. ::google::protobuf::int32 headid_;
  2205. ::google::protobuf::int32 frameid_;
  2206. mutable int _cached_size_;
  2207. ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
  2208. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2209. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2210. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2211. void InitAsDefaultInstance();
  2212. static PointsRankInfo* default_instance_;
  2213. };
  2214. // -------------------------------------------------------------------
  2215. class packetc2l_get_points_rank : public ::google::protobuf::Message {
  2216. public:
  2217. packetc2l_get_points_rank();
  2218. virtual ~packetc2l_get_points_rank();
  2219. packetc2l_get_points_rank(const packetc2l_get_points_rank& from);
  2220. inline packetc2l_get_points_rank& operator=(const packetc2l_get_points_rank& from) {
  2221. CopyFrom(from);
  2222. return *this;
  2223. }
  2224. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2225. return _unknown_fields_;
  2226. }
  2227. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2228. return &_unknown_fields_;
  2229. }
  2230. static const ::google::protobuf::Descriptor* descriptor();
  2231. static const packetc2l_get_points_rank& default_instance();
  2232. void Swap(packetc2l_get_points_rank* other);
  2233. // implements Message ----------------------------------------------
  2234. packetc2l_get_points_rank* New() const;
  2235. void CopyFrom(const ::google::protobuf::Message& from);
  2236. void MergeFrom(const ::google::protobuf::Message& from);
  2237. void CopyFrom(const packetc2l_get_points_rank& from);
  2238. void MergeFrom(const packetc2l_get_points_rank& from);
  2239. void Clear();
  2240. bool IsInitialized() const;
  2241. int ByteSize() const;
  2242. bool MergePartialFromCodedStream(
  2243. ::google::protobuf::io::CodedInputStream* input);
  2244. void SerializeWithCachedSizes(
  2245. ::google::protobuf::io::CodedOutputStream* output) const;
  2246. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2247. int GetCachedSize() const { return _cached_size_; }
  2248. private:
  2249. void SharedCtor();
  2250. void SharedDtor();
  2251. void SetCachedSize(int size) const;
  2252. public:
  2253. ::google::protobuf::Metadata GetMetadata() const;
  2254. // nested types ----------------------------------------------------
  2255. // accessors -------------------------------------------------------
  2256. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_points_rank];
  2257. inline bool has_packet_id() const;
  2258. inline void clear_packet_id();
  2259. static const int kPacketIdFieldNumber = 1;
  2260. inline ::fish_protocols::e_server_msg_type packet_id() const;
  2261. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  2262. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_points_rank)
  2263. private:
  2264. inline void set_has_packet_id();
  2265. inline void clear_has_packet_id();
  2266. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2267. int packet_id_;
  2268. mutable int _cached_size_;
  2269. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  2270. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2271. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2272. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2273. void InitAsDefaultInstance();
  2274. static packetc2l_get_points_rank* default_instance_;
  2275. };
  2276. // -------------------------------------------------------------------
  2277. class packetl2c_get_points_rank_result : public ::google::protobuf::Message {
  2278. public:
  2279. packetl2c_get_points_rank_result();
  2280. virtual ~packetl2c_get_points_rank_result();
  2281. packetl2c_get_points_rank_result(const packetl2c_get_points_rank_result& from);
  2282. inline packetl2c_get_points_rank_result& operator=(const packetl2c_get_points_rank_result& from) {
  2283. CopyFrom(from);
  2284. return *this;
  2285. }
  2286. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2287. return _unknown_fields_;
  2288. }
  2289. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2290. return &_unknown_fields_;
  2291. }
  2292. static const ::google::protobuf::Descriptor* descriptor();
  2293. static const packetl2c_get_points_rank_result& default_instance();
  2294. void Swap(packetl2c_get_points_rank_result* other);
  2295. // implements Message ----------------------------------------------
  2296. packetl2c_get_points_rank_result* New() const;
  2297. void CopyFrom(const ::google::protobuf::Message& from);
  2298. void MergeFrom(const ::google::protobuf::Message& from);
  2299. void CopyFrom(const packetl2c_get_points_rank_result& from);
  2300. void MergeFrom(const packetl2c_get_points_rank_result& from);
  2301. void Clear();
  2302. bool IsInitialized() const;
  2303. int ByteSize() const;
  2304. bool MergePartialFromCodedStream(
  2305. ::google::protobuf::io::CodedInputStream* input);
  2306. void SerializeWithCachedSizes(
  2307. ::google::protobuf::io::CodedOutputStream* output) const;
  2308. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2309. int GetCachedSize() const { return _cached_size_; }
  2310. private:
  2311. void SharedCtor();
  2312. void SharedDtor();
  2313. void SetCachedSize(int size) const;
  2314. public:
  2315. ::google::protobuf::Metadata GetMetadata() const;
  2316. // nested types ----------------------------------------------------
  2317. // accessors -------------------------------------------------------
  2318. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_points_rank_result];
  2319. inline bool has_packet_id() const;
  2320. inline void clear_packet_id();
  2321. static const int kPacketIdFieldNumber = 1;
  2322. inline ::fish_protocols::e_server_msg_type packet_id() const;
  2323. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  2324. // optional int64 mypoint = 2;
  2325. inline bool has_mypoint() const;
  2326. inline void clear_mypoint();
  2327. static const int kMypointFieldNumber = 2;
  2328. inline ::google::protobuf::int64 mypoint() const;
  2329. inline void set_mypoint(::google::protobuf::int64 value);
  2330. // optional int32 mysinglepoint = 3;
  2331. inline bool has_mysinglepoint() const;
  2332. inline void clear_mysinglepoint();
  2333. static const int kMysinglepointFieldNumber = 3;
  2334. inline ::google::protobuf::int32 mysinglepoint() const;
  2335. inline void set_mysinglepoint(::google::protobuf::int32 value);
  2336. // repeated .fish_protocols.PointsRankInfo PointRankList = 4;
  2337. inline int pointranklist_size() const;
  2338. inline void clear_pointranklist();
  2339. static const int kPointRankListFieldNumber = 4;
  2340. inline const ::fish_protocols::PointsRankInfo& pointranklist(int index) const;
  2341. inline ::fish_protocols::PointsRankInfo* mutable_pointranklist(int index);
  2342. inline ::fish_protocols::PointsRankInfo* add_pointranklist();
  2343. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >&
  2344. pointranklist() const;
  2345. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >*
  2346. mutable_pointranklist();
  2347. // repeated .fish_protocols.PointsRankInfo LuckyRankList = 5;
  2348. inline int luckyranklist_size() const;
  2349. inline void clear_luckyranklist();
  2350. static const int kLuckyRankListFieldNumber = 5;
  2351. inline const ::fish_protocols::PointsRankInfo& luckyranklist(int index) const;
  2352. inline ::fish_protocols::PointsRankInfo* mutable_luckyranklist(int index);
  2353. inline ::fish_protocols::PointsRankInfo* add_luckyranklist();
  2354. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >&
  2355. luckyranklist() const;
  2356. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >*
  2357. mutable_luckyranklist();
  2358. // repeated int32 PointThresholdvalue = 6;
  2359. inline int pointthresholdvalue_size() const;
  2360. inline void clear_pointthresholdvalue();
  2361. static const int kPointThresholdvalueFieldNumber = 6;
  2362. inline ::google::protobuf::int32 pointthresholdvalue(int index) const;
  2363. inline void set_pointthresholdvalue(int index, ::google::protobuf::int32 value);
  2364. inline void add_pointthresholdvalue(::google::protobuf::int32 value);
  2365. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  2366. pointthresholdvalue() const;
  2367. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  2368. mutable_pointthresholdvalue();
  2369. // repeated int32 luckyThresholdvalue = 7;
  2370. inline int luckythresholdvalue_size() const;
  2371. inline void clear_luckythresholdvalue();
  2372. static const int kLuckyThresholdvalueFieldNumber = 7;
  2373. inline ::google::protobuf::int32 luckythresholdvalue(int index) const;
  2374. inline void set_luckythresholdvalue(int index, ::google::protobuf::int32 value);
  2375. inline void add_luckythresholdvalue(::google::protobuf::int32 value);
  2376. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  2377. luckythresholdvalue() const;
  2378. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  2379. mutable_luckythresholdvalue();
  2380. // optional int64 myPointRank = 8;
  2381. inline bool has_mypointrank() const;
  2382. inline void clear_mypointrank();
  2383. static const int kMyPointRankFieldNumber = 8;
  2384. inline ::google::protobuf::int64 mypointrank() const;
  2385. inline void set_mypointrank(::google::protobuf::int64 value);
  2386. // optional int64 myLuckyRank = 9;
  2387. inline bool has_myluckyrank() const;
  2388. inline void clear_myluckyrank();
  2389. static const int kMyLuckyRankFieldNumber = 9;
  2390. inline ::google::protobuf::int64 myluckyrank() const;
  2391. inline void set_myluckyrank(::google::protobuf::int64 value);
  2392. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_points_rank_result)
  2393. private:
  2394. inline void set_has_packet_id();
  2395. inline void clear_has_packet_id();
  2396. inline void set_has_mypoint();
  2397. inline void clear_has_mypoint();
  2398. inline void set_has_mysinglepoint();
  2399. inline void clear_has_mysinglepoint();
  2400. inline void set_has_mypointrank();
  2401. inline void clear_has_mypointrank();
  2402. inline void set_has_myluckyrank();
  2403. inline void clear_has_myluckyrank();
  2404. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2405. ::google::protobuf::int64 mypoint_;
  2406. int packet_id_;
  2407. ::google::protobuf::int32 mysinglepoint_;
  2408. ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo > pointranklist_;
  2409. ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo > luckyranklist_;
  2410. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pointthresholdvalue_;
  2411. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > luckythresholdvalue_;
  2412. ::google::protobuf::int64 mypointrank_;
  2413. ::google::protobuf::int64 myluckyrank_;
  2414. mutable int _cached_size_;
  2415. ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
  2416. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2417. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2418. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2419. void InitAsDefaultInstance();
  2420. static packetl2c_get_points_rank_result* default_instance_;
  2421. };
  2422. // -------------------------------------------------------------------
  2423. class exItemInfo : public ::google::protobuf::Message {
  2424. public:
  2425. exItemInfo();
  2426. virtual ~exItemInfo();
  2427. exItemInfo(const exItemInfo& from);
  2428. inline exItemInfo& operator=(const exItemInfo& from) {
  2429. CopyFrom(from);
  2430. return *this;
  2431. }
  2432. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2433. return _unknown_fields_;
  2434. }
  2435. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2436. return &_unknown_fields_;
  2437. }
  2438. static const ::google::protobuf::Descriptor* descriptor();
  2439. static const exItemInfo& default_instance();
  2440. void Swap(exItemInfo* other);
  2441. // implements Message ----------------------------------------------
  2442. exItemInfo* New() const;
  2443. void CopyFrom(const ::google::protobuf::Message& from);
  2444. void MergeFrom(const ::google::protobuf::Message& from);
  2445. void CopyFrom(const exItemInfo& from);
  2446. void MergeFrom(const exItemInfo& from);
  2447. void Clear();
  2448. bool IsInitialized() const;
  2449. int ByteSize() const;
  2450. bool MergePartialFromCodedStream(
  2451. ::google::protobuf::io::CodedInputStream* input);
  2452. void SerializeWithCachedSizes(
  2453. ::google::protobuf::io::CodedOutputStream* output) const;
  2454. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2455. int GetCachedSize() const { return _cached_size_; }
  2456. private:
  2457. void SharedCtor();
  2458. void SharedDtor();
  2459. void SetCachedSize(int size) const;
  2460. public:
  2461. ::google::protobuf::Metadata GetMetadata() const;
  2462. // nested types ----------------------------------------------------
  2463. // accessors -------------------------------------------------------
  2464. // optional int32 ex_item_id = 1;
  2465. inline bool has_ex_item_id() const;
  2466. inline void clear_ex_item_id();
  2467. static const int kExItemIdFieldNumber = 1;
  2468. inline ::google::protobuf::int32 ex_item_id() const;
  2469. inline void set_ex_item_id(::google::protobuf::int32 value);
  2470. // optional int32 ex_item_count = 2;
  2471. inline bool has_ex_item_count() const;
  2472. inline void clear_ex_item_count();
  2473. static const int kExItemCountFieldNumber = 2;
  2474. inline ::google::protobuf::int32 ex_item_count() const;
  2475. inline void set_ex_item_count(::google::protobuf::int32 value);
  2476. // @@protoc_insertion_point(class_scope:fish_protocols.exItemInfo)
  2477. private:
  2478. inline void set_has_ex_item_id();
  2479. inline void clear_has_ex_item_id();
  2480. inline void set_has_ex_item_count();
  2481. inline void clear_has_ex_item_count();
  2482. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2483. ::google::protobuf::int32 ex_item_id_;
  2484. ::google::protobuf::int32 ex_item_count_;
  2485. mutable int _cached_size_;
  2486. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  2487. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2488. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2489. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2490. void InitAsDefaultInstance();
  2491. static exItemInfo* default_instance_;
  2492. };
  2493. // -------------------------------------------------------------------
  2494. class packetc2l_medium_grade_exchange : public ::google::protobuf::Message {
  2495. public:
  2496. packetc2l_medium_grade_exchange();
  2497. virtual ~packetc2l_medium_grade_exchange();
  2498. packetc2l_medium_grade_exchange(const packetc2l_medium_grade_exchange& from);
  2499. inline packetc2l_medium_grade_exchange& operator=(const packetc2l_medium_grade_exchange& from) {
  2500. CopyFrom(from);
  2501. return *this;
  2502. }
  2503. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2504. return _unknown_fields_;
  2505. }
  2506. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2507. return &_unknown_fields_;
  2508. }
  2509. static const ::google::protobuf::Descriptor* descriptor();
  2510. static const packetc2l_medium_grade_exchange& default_instance();
  2511. void Swap(packetc2l_medium_grade_exchange* other);
  2512. // implements Message ----------------------------------------------
  2513. packetc2l_medium_grade_exchange* New() const;
  2514. void CopyFrom(const ::google::protobuf::Message& from);
  2515. void MergeFrom(const ::google::protobuf::Message& from);
  2516. void CopyFrom(const packetc2l_medium_grade_exchange& from);
  2517. void MergeFrom(const packetc2l_medium_grade_exchange& from);
  2518. void Clear();
  2519. bool IsInitialized() const;
  2520. int ByteSize() const;
  2521. bool MergePartialFromCodedStream(
  2522. ::google::protobuf::io::CodedInputStream* input);
  2523. void SerializeWithCachedSizes(
  2524. ::google::protobuf::io::CodedOutputStream* output) const;
  2525. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2526. int GetCachedSize() const { return _cached_size_; }
  2527. private:
  2528. void SharedCtor();
  2529. void SharedDtor();
  2530. void SetCachedSize(int size) const;
  2531. public:
  2532. ::google::protobuf::Metadata GetMetadata() const;
  2533. // nested types ----------------------------------------------------
  2534. // accessors -------------------------------------------------------
  2535. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_medium_grade_exchange];
  2536. inline bool has_packet_id() const;
  2537. inline void clear_packet_id();
  2538. static const int kPacketIdFieldNumber = 1;
  2539. inline ::fish_protocols::e_server_msg_type packet_id() const;
  2540. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  2541. // optional int32 exchange_id = 2;
  2542. inline bool has_exchange_id() const;
  2543. inline void clear_exchange_id();
  2544. static const int kExchangeIdFieldNumber = 2;
  2545. inline ::google::protobuf::int32 exchange_id() const;
  2546. inline void set_exchange_id(::google::protobuf::int32 value);
  2547. // optional int32 ex_reward_id = 3;
  2548. inline bool has_ex_reward_id() const;
  2549. inline void clear_ex_reward_id();
  2550. static const int kExRewardIdFieldNumber = 3;
  2551. inline ::google::protobuf::int32 ex_reward_id() const;
  2552. inline void set_ex_reward_id(::google::protobuf::int32 value);
  2553. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_medium_grade_exchange)
  2554. private:
  2555. inline void set_has_packet_id();
  2556. inline void clear_has_packet_id();
  2557. inline void set_has_exchange_id();
  2558. inline void clear_has_exchange_id();
  2559. inline void set_has_ex_reward_id();
  2560. inline void clear_has_ex_reward_id();
  2561. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2562. int packet_id_;
  2563. ::google::protobuf::int32 exchange_id_;
  2564. ::google::protobuf::int32 ex_reward_id_;
  2565. mutable int _cached_size_;
  2566. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  2567. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2568. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2569. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2570. void InitAsDefaultInstance();
  2571. static packetc2l_medium_grade_exchange* default_instance_;
  2572. };
  2573. // -------------------------------------------------------------------
  2574. class pointsInfo : public ::google::protobuf::Message {
  2575. public:
  2576. pointsInfo();
  2577. virtual ~pointsInfo();
  2578. pointsInfo(const pointsInfo& from);
  2579. inline pointsInfo& operator=(const pointsInfo& from) {
  2580. CopyFrom(from);
  2581. return *this;
  2582. }
  2583. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2584. return _unknown_fields_;
  2585. }
  2586. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2587. return &_unknown_fields_;
  2588. }
  2589. static const ::google::protobuf::Descriptor* descriptor();
  2590. static const pointsInfo& default_instance();
  2591. void Swap(pointsInfo* other);
  2592. // implements Message ----------------------------------------------
  2593. pointsInfo* New() const;
  2594. void CopyFrom(const ::google::protobuf::Message& from);
  2595. void MergeFrom(const ::google::protobuf::Message& from);
  2596. void CopyFrom(const pointsInfo& from);
  2597. void MergeFrom(const pointsInfo& from);
  2598. void Clear();
  2599. bool IsInitialized() const;
  2600. int ByteSize() const;
  2601. bool MergePartialFromCodedStream(
  2602. ::google::protobuf::io::CodedInputStream* input);
  2603. void SerializeWithCachedSizes(
  2604. ::google::protobuf::io::CodedOutputStream* output) const;
  2605. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2606. int GetCachedSize() const { return _cached_size_; }
  2607. private:
  2608. void SharedCtor();
  2609. void SharedDtor();
  2610. void SetCachedSize(int size) const;
  2611. public:
  2612. ::google::protobuf::Metadata GetMetadata() const;
  2613. // nested types ----------------------------------------------------
  2614. // accessors -------------------------------------------------------
  2615. // optional int32 points = 1;
  2616. inline bool has_points() const;
  2617. inline void clear_points();
  2618. static const int kPointsFieldNumber = 1;
  2619. inline ::google::protobuf::int32 points() const;
  2620. inline void set_points(::google::protobuf::int32 value);
  2621. // optional int32 pointsEx = 2;
  2622. inline bool has_pointsex() const;
  2623. inline void clear_pointsex();
  2624. static const int kPointsExFieldNumber = 2;
  2625. inline ::google::protobuf::int32 pointsex() const;
  2626. inline void set_pointsex(::google::protobuf::int32 value);
  2627. // @@protoc_insertion_point(class_scope:fish_protocols.pointsInfo)
  2628. private:
  2629. inline void set_has_points();
  2630. inline void clear_has_points();
  2631. inline void set_has_pointsex();
  2632. inline void clear_has_pointsex();
  2633. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2634. ::google::protobuf::int32 points_;
  2635. ::google::protobuf::int32 pointsex_;
  2636. mutable int _cached_size_;
  2637. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  2638. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2639. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2640. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2641. void InitAsDefaultInstance();
  2642. static pointsInfo* default_instance_;
  2643. };
  2644. // -------------------------------------------------------------------
  2645. class packetl2c_medium_grade_exchange_result : public ::google::protobuf::Message {
  2646. public:
  2647. packetl2c_medium_grade_exchange_result();
  2648. virtual ~packetl2c_medium_grade_exchange_result();
  2649. packetl2c_medium_grade_exchange_result(const packetl2c_medium_grade_exchange_result& from);
  2650. inline packetl2c_medium_grade_exchange_result& operator=(const packetl2c_medium_grade_exchange_result& from) {
  2651. CopyFrom(from);
  2652. return *this;
  2653. }
  2654. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2655. return _unknown_fields_;
  2656. }
  2657. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2658. return &_unknown_fields_;
  2659. }
  2660. static const ::google::protobuf::Descriptor* descriptor();
  2661. static const packetl2c_medium_grade_exchange_result& default_instance();
  2662. void Swap(packetl2c_medium_grade_exchange_result* other);
  2663. // implements Message ----------------------------------------------
  2664. packetl2c_medium_grade_exchange_result* New() const;
  2665. void CopyFrom(const ::google::protobuf::Message& from);
  2666. void MergeFrom(const ::google::protobuf::Message& from);
  2667. void CopyFrom(const packetl2c_medium_grade_exchange_result& from);
  2668. void MergeFrom(const packetl2c_medium_grade_exchange_result& from);
  2669. void Clear();
  2670. bool IsInitialized() const;
  2671. int ByteSize() const;
  2672. bool MergePartialFromCodedStream(
  2673. ::google::protobuf::io::CodedInputStream* input);
  2674. void SerializeWithCachedSizes(
  2675. ::google::protobuf::io::CodedOutputStream* output) const;
  2676. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2677. int GetCachedSize() const { return _cached_size_; }
  2678. private:
  2679. void SharedCtor();
  2680. void SharedDtor();
  2681. void SetCachedSize(int size) const;
  2682. public:
  2683. ::google::protobuf::Metadata GetMetadata() const;
  2684. // nested types ----------------------------------------------------
  2685. // accessors -------------------------------------------------------
  2686. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_medium_grade_exchange_result];
  2687. inline bool has_packet_id() const;
  2688. inline void clear_packet_id();
  2689. static const int kPacketIdFieldNumber = 1;
  2690. inline ::fish_protocols::e_server_msg_type packet_id() const;
  2691. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  2692. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  2693. inline bool has_result() const;
  2694. inline void clear_result();
  2695. static const int kResultFieldNumber = 2;
  2696. inline ::msg_type_def::e_msg_result_def result() const;
  2697. inline void set_result(::msg_type_def::e_msg_result_def value);
  2698. // repeated int32 exchange_id = 3;
  2699. inline int exchange_id_size() const;
  2700. inline void clear_exchange_id();
  2701. static const int kExchangeIdFieldNumber = 3;
  2702. inline ::google::protobuf::int32 exchange_id(int index) const;
  2703. inline void set_exchange_id(int index, ::google::protobuf::int32 value);
  2704. inline void add_exchange_id(::google::protobuf::int32 value);
  2705. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  2706. exchange_id() const;
  2707. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  2708. mutable_exchange_id();
  2709. // repeated .fish_protocols.exItemInfo ex_item = 4;
  2710. inline int ex_item_size() const;
  2711. inline void clear_ex_item();
  2712. static const int kExItemFieldNumber = 4;
  2713. inline const ::fish_protocols::exItemInfo& ex_item(int index) const;
  2714. inline ::fish_protocols::exItemInfo* mutable_ex_item(int index);
  2715. inline ::fish_protocols::exItemInfo* add_ex_item();
  2716. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >&
  2717. ex_item() const;
  2718. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >*
  2719. mutable_ex_item();
  2720. // repeated .fish_protocols.pointsInfo points = 5;
  2721. inline int points_size() const;
  2722. inline void clear_points();
  2723. static const int kPointsFieldNumber = 5;
  2724. inline const ::fish_protocols::pointsInfo& points(int index) const;
  2725. inline ::fish_protocols::pointsInfo* mutable_points(int index);
  2726. inline ::fish_protocols::pointsInfo* add_points();
  2727. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >&
  2728. points() const;
  2729. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >*
  2730. mutable_points();
  2731. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_medium_grade_exchange_result)
  2732. private:
  2733. inline void set_has_packet_id();
  2734. inline void clear_has_packet_id();
  2735. inline void set_has_result();
  2736. inline void clear_has_result();
  2737. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2738. int packet_id_;
  2739. int result_;
  2740. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > exchange_id_;
  2741. ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo > ex_item_;
  2742. ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo > points_;
  2743. mutable int _cached_size_;
  2744. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  2745. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2746. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2747. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2748. void InitAsDefaultInstance();
  2749. static packetl2c_medium_grade_exchange_result* default_instance_;
  2750. };
  2751. // -------------------------------------------------------------------
  2752. class packetc2l_get_shoplist : public ::google::protobuf::Message {
  2753. public:
  2754. packetc2l_get_shoplist();
  2755. virtual ~packetc2l_get_shoplist();
  2756. packetc2l_get_shoplist(const packetc2l_get_shoplist& from);
  2757. inline packetc2l_get_shoplist& operator=(const packetc2l_get_shoplist& from) {
  2758. CopyFrom(from);
  2759. return *this;
  2760. }
  2761. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2762. return _unknown_fields_;
  2763. }
  2764. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2765. return &_unknown_fields_;
  2766. }
  2767. static const ::google::protobuf::Descriptor* descriptor();
  2768. static const packetc2l_get_shoplist& default_instance();
  2769. void Swap(packetc2l_get_shoplist* other);
  2770. // implements Message ----------------------------------------------
  2771. packetc2l_get_shoplist* New() const;
  2772. void CopyFrom(const ::google::protobuf::Message& from);
  2773. void MergeFrom(const ::google::protobuf::Message& from);
  2774. void CopyFrom(const packetc2l_get_shoplist& from);
  2775. void MergeFrom(const packetc2l_get_shoplist& from);
  2776. void Clear();
  2777. bool IsInitialized() const;
  2778. int ByteSize() const;
  2779. bool MergePartialFromCodedStream(
  2780. ::google::protobuf::io::CodedInputStream* input);
  2781. void SerializeWithCachedSizes(
  2782. ::google::protobuf::io::CodedOutputStream* output) const;
  2783. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2784. int GetCachedSize() const { return _cached_size_; }
  2785. private:
  2786. void SharedCtor();
  2787. void SharedDtor();
  2788. void SetCachedSize(int size) const;
  2789. public:
  2790. ::google::protobuf::Metadata GetMetadata() const;
  2791. // nested types ----------------------------------------------------
  2792. // accessors -------------------------------------------------------
  2793. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_shoplist];
  2794. inline bool has_packet_id() const;
  2795. inline void clear_packet_id();
  2796. static const int kPacketIdFieldNumber = 1;
  2797. inline ::fish_protocols::e_server_msg_type packet_id() const;
  2798. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  2799. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_shoplist)
  2800. private:
  2801. inline void set_has_packet_id();
  2802. inline void clear_has_packet_id();
  2803. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2804. int packet_id_;
  2805. mutable int _cached_size_;
  2806. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  2807. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2808. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2809. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2810. void InitAsDefaultInstance();
  2811. static packetc2l_get_shoplist* default_instance_;
  2812. };
  2813. // -------------------------------------------------------------------
  2814. class msg_shopitem : public ::google::protobuf::Message {
  2815. public:
  2816. msg_shopitem();
  2817. virtual ~msg_shopitem();
  2818. msg_shopitem(const msg_shopitem& from);
  2819. inline msg_shopitem& operator=(const msg_shopitem& from) {
  2820. CopyFrom(from);
  2821. return *this;
  2822. }
  2823. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2824. return _unknown_fields_;
  2825. }
  2826. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2827. return &_unknown_fields_;
  2828. }
  2829. static const ::google::protobuf::Descriptor* descriptor();
  2830. static const msg_shopitem& default_instance();
  2831. void Swap(msg_shopitem* other);
  2832. // implements Message ----------------------------------------------
  2833. msg_shopitem* New() const;
  2834. void CopyFrom(const ::google::protobuf::Message& from);
  2835. void MergeFrom(const ::google::protobuf::Message& from);
  2836. void CopyFrom(const msg_shopitem& from);
  2837. void MergeFrom(const msg_shopitem& from);
  2838. void Clear();
  2839. bool IsInitialized() const;
  2840. int ByteSize() const;
  2841. bool MergePartialFromCodedStream(
  2842. ::google::protobuf::io::CodedInputStream* input);
  2843. void SerializeWithCachedSizes(
  2844. ::google::protobuf::io::CodedOutputStream* output) const;
  2845. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2846. int GetCachedSize() const { return _cached_size_; }
  2847. private:
  2848. void SharedCtor();
  2849. void SharedDtor();
  2850. void SetCachedSize(int size) const;
  2851. public:
  2852. ::google::protobuf::Metadata GetMetadata() const;
  2853. // nested types ----------------------------------------------------
  2854. // accessors -------------------------------------------------------
  2855. // optional int32 shop_id = 1;
  2856. inline bool has_shop_id() const;
  2857. inline void clear_shop_id();
  2858. static const int kShopIdFieldNumber = 1;
  2859. inline ::google::protobuf::int32 shop_id() const;
  2860. inline void set_shop_id(::google::protobuf::int32 value);
  2861. // optional int32 item_id = 2;
  2862. inline bool has_item_id() const;
  2863. inline void clear_item_id();
  2864. static const int kItemIdFieldNumber = 2;
  2865. inline ::google::protobuf::int32 item_id() const;
  2866. inline void set_item_id(::google::protobuf::int32 value);
  2867. // optional int32 item_count = 3;
  2868. inline bool has_item_count() const;
  2869. inline void clear_item_count();
  2870. static const int kItemCountFieldNumber = 3;
  2871. inline ::google::protobuf::int32 item_count() const;
  2872. inline void set_item_count(::google::protobuf::int32 value);
  2873. // optional int32 consume_type = 4;
  2874. inline bool has_consume_type() const;
  2875. inline void clear_consume_type();
  2876. static const int kConsumeTypeFieldNumber = 4;
  2877. inline ::google::protobuf::int32 consume_type() const;
  2878. inline void set_consume_type(::google::protobuf::int32 value);
  2879. // optional int32 consume_count = 5;
  2880. inline bool has_consume_count() const;
  2881. inline void clear_consume_count();
  2882. static const int kConsumeCountFieldNumber = 5;
  2883. inline ::google::protobuf::int32 consume_count() const;
  2884. inline void set_consume_count(::google::protobuf::int32 value);
  2885. // optional int32 show_type = 6;
  2886. inline bool has_show_type() const;
  2887. inline void clear_show_type();
  2888. static const int kShowTypeFieldNumber = 6;
  2889. inline ::google::protobuf::int32 show_type() const;
  2890. inline void set_show_type(::google::protobuf::int32 value);
  2891. // optional int32 need_vip = 7;
  2892. inline bool has_need_vip() const;
  2893. inline void clear_need_vip();
  2894. static const int kNeedVipFieldNumber = 7;
  2895. inline ::google::protobuf::int32 need_vip() const;
  2896. inline void set_need_vip(::google::protobuf::int32 value);
  2897. // optional int32 show_tab = 8;
  2898. inline bool has_show_tab() const;
  2899. inline void clear_show_tab();
  2900. static const int kShowTabFieldNumber = 8;
  2901. inline ::google::protobuf::int32 show_tab() const;
  2902. inline void set_show_tab(::google::protobuf::int32 value);
  2903. // @@protoc_insertion_point(class_scope:fish_protocols.msg_shopitem)
  2904. private:
  2905. inline void set_has_shop_id();
  2906. inline void clear_has_shop_id();
  2907. inline void set_has_item_id();
  2908. inline void clear_has_item_id();
  2909. inline void set_has_item_count();
  2910. inline void clear_has_item_count();
  2911. inline void set_has_consume_type();
  2912. inline void clear_has_consume_type();
  2913. inline void set_has_consume_count();
  2914. inline void clear_has_consume_count();
  2915. inline void set_has_show_type();
  2916. inline void clear_has_show_type();
  2917. inline void set_has_need_vip();
  2918. inline void clear_has_need_vip();
  2919. inline void set_has_show_tab();
  2920. inline void clear_has_show_tab();
  2921. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2922. ::google::protobuf::int32 shop_id_;
  2923. ::google::protobuf::int32 item_id_;
  2924. ::google::protobuf::int32 item_count_;
  2925. ::google::protobuf::int32 consume_type_;
  2926. ::google::protobuf::int32 consume_count_;
  2927. ::google::protobuf::int32 show_type_;
  2928. ::google::protobuf::int32 need_vip_;
  2929. ::google::protobuf::int32 show_tab_;
  2930. mutable int _cached_size_;
  2931. ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
  2932. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  2933. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  2934. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  2935. void InitAsDefaultInstance();
  2936. static msg_shopitem* default_instance_;
  2937. };
  2938. // -------------------------------------------------------------------
  2939. class packetl2c_get_shoplist_result : public ::google::protobuf::Message {
  2940. public:
  2941. packetl2c_get_shoplist_result();
  2942. virtual ~packetl2c_get_shoplist_result();
  2943. packetl2c_get_shoplist_result(const packetl2c_get_shoplist_result& from);
  2944. inline packetl2c_get_shoplist_result& operator=(const packetl2c_get_shoplist_result& from) {
  2945. CopyFrom(from);
  2946. return *this;
  2947. }
  2948. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2949. return _unknown_fields_;
  2950. }
  2951. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2952. return &_unknown_fields_;
  2953. }
  2954. static const ::google::protobuf::Descriptor* descriptor();
  2955. static const packetl2c_get_shoplist_result& default_instance();
  2956. void Swap(packetl2c_get_shoplist_result* other);
  2957. // implements Message ----------------------------------------------
  2958. packetl2c_get_shoplist_result* New() const;
  2959. void CopyFrom(const ::google::protobuf::Message& from);
  2960. void MergeFrom(const ::google::protobuf::Message& from);
  2961. void CopyFrom(const packetl2c_get_shoplist_result& from);
  2962. void MergeFrom(const packetl2c_get_shoplist_result& from);
  2963. void Clear();
  2964. bool IsInitialized() const;
  2965. int ByteSize() const;
  2966. bool MergePartialFromCodedStream(
  2967. ::google::protobuf::io::CodedInputStream* input);
  2968. void SerializeWithCachedSizes(
  2969. ::google::protobuf::io::CodedOutputStream* output) const;
  2970. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2971. int GetCachedSize() const { return _cached_size_; }
  2972. private:
  2973. void SharedCtor();
  2974. void SharedDtor();
  2975. void SetCachedSize(int size) const;
  2976. public:
  2977. ::google::protobuf::Metadata GetMetadata() const;
  2978. // nested types ----------------------------------------------------
  2979. // accessors -------------------------------------------------------
  2980. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_shoplist_result];
  2981. inline bool has_packet_id() const;
  2982. inline void clear_packet_id();
  2983. static const int kPacketIdFieldNumber = 1;
  2984. inline ::fish_protocols::e_server_msg_type packet_id() const;
  2985. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  2986. // repeated .fish_protocols.msg_shopitem shoplist = 2;
  2987. inline int shoplist_size() const;
  2988. inline void clear_shoplist();
  2989. static const int kShoplistFieldNumber = 2;
  2990. inline const ::fish_protocols::msg_shopitem& shoplist(int index) const;
  2991. inline ::fish_protocols::msg_shopitem* mutable_shoplist(int index);
  2992. inline ::fish_protocols::msg_shopitem* add_shoplist();
  2993. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >&
  2994. shoplist() const;
  2995. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >*
  2996. mutable_shoplist();
  2997. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_shoplist_result)
  2998. private:
  2999. inline void set_has_packet_id();
  3000. inline void clear_has_packet_id();
  3001. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3002. ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem > shoplist_;
  3003. int packet_id_;
  3004. mutable int _cached_size_;
  3005. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  3006. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3007. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3008. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3009. void InitAsDefaultInstance();
  3010. static packetl2c_get_shoplist_result* default_instance_;
  3011. };
  3012. // -------------------------------------------------------------------
  3013. class packetc2l_turret_levelup : public ::google::protobuf::Message {
  3014. public:
  3015. packetc2l_turret_levelup();
  3016. virtual ~packetc2l_turret_levelup();
  3017. packetc2l_turret_levelup(const packetc2l_turret_levelup& from);
  3018. inline packetc2l_turret_levelup& operator=(const packetc2l_turret_levelup& from) {
  3019. CopyFrom(from);
  3020. return *this;
  3021. }
  3022. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3023. return _unknown_fields_;
  3024. }
  3025. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3026. return &_unknown_fields_;
  3027. }
  3028. static const ::google::protobuf::Descriptor* descriptor();
  3029. static const packetc2l_turret_levelup& default_instance();
  3030. void Swap(packetc2l_turret_levelup* other);
  3031. // implements Message ----------------------------------------------
  3032. packetc2l_turret_levelup* New() const;
  3033. void CopyFrom(const ::google::protobuf::Message& from);
  3034. void MergeFrom(const ::google::protobuf::Message& from);
  3035. void CopyFrom(const packetc2l_turret_levelup& from);
  3036. void MergeFrom(const packetc2l_turret_levelup& from);
  3037. void Clear();
  3038. bool IsInitialized() const;
  3039. int ByteSize() const;
  3040. bool MergePartialFromCodedStream(
  3041. ::google::protobuf::io::CodedInputStream* input);
  3042. void SerializeWithCachedSizes(
  3043. ::google::protobuf::io::CodedOutputStream* output) const;
  3044. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3045. int GetCachedSize() const { return _cached_size_; }
  3046. private:
  3047. void SharedCtor();
  3048. void SharedDtor();
  3049. void SetCachedSize(int size) const;
  3050. public:
  3051. ::google::protobuf::Metadata GetMetadata() const;
  3052. // nested types ----------------------------------------------------
  3053. // accessors -------------------------------------------------------
  3054. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_levelup];
  3055. inline bool has_packet_id() const;
  3056. inline void clear_packet_id();
  3057. static const int kPacketIdFieldNumber = 1;
  3058. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3059. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3060. // optional bool uselucky = 2 [default = false];
  3061. inline bool has_uselucky() const;
  3062. inline void clear_uselucky();
  3063. static const int kUseluckyFieldNumber = 2;
  3064. inline bool uselucky() const;
  3065. inline void set_uselucky(bool value);
  3066. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_turret_levelup)
  3067. private:
  3068. inline void set_has_packet_id();
  3069. inline void clear_has_packet_id();
  3070. inline void set_has_uselucky();
  3071. inline void clear_has_uselucky();
  3072. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3073. int packet_id_;
  3074. bool uselucky_;
  3075. mutable int _cached_size_;
  3076. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  3077. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3078. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3079. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3080. void InitAsDefaultInstance();
  3081. static packetc2l_turret_levelup* default_instance_;
  3082. };
  3083. // -------------------------------------------------------------------
  3084. class packetl2c_turret_levelup_result : public ::google::protobuf::Message {
  3085. public:
  3086. packetl2c_turret_levelup_result();
  3087. virtual ~packetl2c_turret_levelup_result();
  3088. packetl2c_turret_levelup_result(const packetl2c_turret_levelup_result& from);
  3089. inline packetl2c_turret_levelup_result& operator=(const packetl2c_turret_levelup_result& from) {
  3090. CopyFrom(from);
  3091. return *this;
  3092. }
  3093. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3094. return _unknown_fields_;
  3095. }
  3096. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3097. return &_unknown_fields_;
  3098. }
  3099. static const ::google::protobuf::Descriptor* descriptor();
  3100. static const packetl2c_turret_levelup_result& default_instance();
  3101. void Swap(packetl2c_turret_levelup_result* other);
  3102. // implements Message ----------------------------------------------
  3103. packetl2c_turret_levelup_result* New() const;
  3104. void CopyFrom(const ::google::protobuf::Message& from);
  3105. void MergeFrom(const ::google::protobuf::Message& from);
  3106. void CopyFrom(const packetl2c_turret_levelup_result& from);
  3107. void MergeFrom(const packetl2c_turret_levelup_result& from);
  3108. void Clear();
  3109. bool IsInitialized() const;
  3110. int ByteSize() const;
  3111. bool MergePartialFromCodedStream(
  3112. ::google::protobuf::io::CodedInputStream* input);
  3113. void SerializeWithCachedSizes(
  3114. ::google::protobuf::io::CodedOutputStream* output) const;
  3115. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3116. int GetCachedSize() const { return _cached_size_; }
  3117. private:
  3118. void SharedCtor();
  3119. void SharedDtor();
  3120. void SetCachedSize(int size) const;
  3121. public:
  3122. ::google::protobuf::Metadata GetMetadata() const;
  3123. // nested types ----------------------------------------------------
  3124. // accessors -------------------------------------------------------
  3125. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_levelup_result];
  3126. inline bool has_packet_id() const;
  3127. inline void clear_packet_id();
  3128. static const int kPacketIdFieldNumber = 1;
  3129. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3130. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3131. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  3132. inline bool has_result() const;
  3133. inline void clear_result();
  3134. static const int kResultFieldNumber = 2;
  3135. inline ::msg_type_def::e_msg_result_def result() const;
  3136. inline void set_result(::msg_type_def::e_msg_result_def value);
  3137. // optional bool usediamond = 3;
  3138. inline bool has_usediamond() const;
  3139. inline void clear_usediamond();
  3140. static const int kUsediamondFieldNumber = 3;
  3141. inline bool usediamond() const;
  3142. inline void set_usediamond(bool value);
  3143. // optional bool uselucky = 4;
  3144. inline bool has_uselucky() const;
  3145. inline void clear_uselucky();
  3146. static const int kUseluckyFieldNumber = 4;
  3147. inline bool uselucky() const;
  3148. inline void set_uselucky(bool value);
  3149. // optional int32 cur_lv = 5 [default = 0];
  3150. inline bool has_cur_lv() const;
  3151. inline void clear_cur_lv();
  3152. static const int kCurLvFieldNumber = 5;
  3153. inline ::google::protobuf::int32 cur_lv() const;
  3154. inline void set_cur_lv(::google::protobuf::int32 value);
  3155. // optional int32 cur_lucky = 6 [default = 0];
  3156. inline bool has_cur_lucky() const;
  3157. inline void clear_cur_lucky();
  3158. static const int kCurLuckyFieldNumber = 6;
  3159. inline ::google::protobuf::int32 cur_lucky() const;
  3160. inline void set_cur_lucky(::google::protobuf::int32 value);
  3161. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_turret_levelup_result)
  3162. private:
  3163. inline void set_has_packet_id();
  3164. inline void clear_has_packet_id();
  3165. inline void set_has_result();
  3166. inline void clear_has_result();
  3167. inline void set_has_usediamond();
  3168. inline void clear_has_usediamond();
  3169. inline void set_has_uselucky();
  3170. inline void clear_has_uselucky();
  3171. inline void set_has_cur_lv();
  3172. inline void clear_has_cur_lv();
  3173. inline void set_has_cur_lucky();
  3174. inline void clear_has_cur_lucky();
  3175. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3176. int packet_id_;
  3177. int result_;
  3178. bool usediamond_;
  3179. bool uselucky_;
  3180. ::google::protobuf::int32 cur_lv_;
  3181. ::google::protobuf::int32 cur_lucky_;
  3182. mutable int _cached_size_;
  3183. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  3184. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3185. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3186. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3187. void InitAsDefaultInstance();
  3188. static packetl2c_turret_levelup_result* default_instance_;
  3189. };
  3190. // -------------------------------------------------------------------
  3191. class packetl2c_player_auto_levelup : public ::google::protobuf::Message {
  3192. public:
  3193. packetl2c_player_auto_levelup();
  3194. virtual ~packetl2c_player_auto_levelup();
  3195. packetl2c_player_auto_levelup(const packetl2c_player_auto_levelup& from);
  3196. inline packetl2c_player_auto_levelup& operator=(const packetl2c_player_auto_levelup& from) {
  3197. CopyFrom(from);
  3198. return *this;
  3199. }
  3200. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3201. return _unknown_fields_;
  3202. }
  3203. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3204. return &_unknown_fields_;
  3205. }
  3206. static const ::google::protobuf::Descriptor* descriptor();
  3207. static const packetl2c_player_auto_levelup& default_instance();
  3208. void Swap(packetl2c_player_auto_levelup* other);
  3209. // implements Message ----------------------------------------------
  3210. packetl2c_player_auto_levelup* New() const;
  3211. void CopyFrom(const ::google::protobuf::Message& from);
  3212. void MergeFrom(const ::google::protobuf::Message& from);
  3213. void CopyFrom(const packetl2c_player_auto_levelup& from);
  3214. void MergeFrom(const packetl2c_player_auto_levelup& from);
  3215. void Clear();
  3216. bool IsInitialized() const;
  3217. int ByteSize() const;
  3218. bool MergePartialFromCodedStream(
  3219. ::google::protobuf::io::CodedInputStream* input);
  3220. void SerializeWithCachedSizes(
  3221. ::google::protobuf::io::CodedOutputStream* output) const;
  3222. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3223. int GetCachedSize() const { return _cached_size_; }
  3224. private:
  3225. void SharedCtor();
  3226. void SharedDtor();
  3227. void SetCachedSize(int size) const;
  3228. public:
  3229. ::google::protobuf::Metadata GetMetadata() const;
  3230. // nested types ----------------------------------------------------
  3231. // accessors -------------------------------------------------------
  3232. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_player_auto_levelup];
  3233. inline bool has_packet_id() const;
  3234. inline void clear_packet_id();
  3235. static const int kPacketIdFieldNumber = 1;
  3236. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3237. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3238. // optional int32 uplevel = 2;
  3239. inline bool has_uplevel() const;
  3240. inline void clear_uplevel();
  3241. static const int kUplevelFieldNumber = 2;
  3242. inline ::google::protobuf::int32 uplevel() const;
  3243. inline void set_uplevel(::google::protobuf::int32 value);
  3244. // optional int32 award_gold = 3;
  3245. inline bool has_award_gold() const;
  3246. inline void clear_award_gold();
  3247. static const int kAwardGoldFieldNumber = 3;
  3248. inline ::google::protobuf::int32 award_gold() const;
  3249. inline void set_award_gold(::google::protobuf::int32 value);
  3250. // optional int32 award_ticket = 4;
  3251. inline bool has_award_ticket() const;
  3252. inline void clear_award_ticket();
  3253. static const int kAwardTicketFieldNumber = 4;
  3254. inline ::google::protobuf::int32 award_ticket() const;
  3255. inline void set_award_ticket(::google::protobuf::int32 value);
  3256. // optional int32 unlock_rate = 5 [default = 0];
  3257. inline bool has_unlock_rate() const;
  3258. inline void clear_unlock_rate();
  3259. static const int kUnlockRateFieldNumber = 5;
  3260. inline ::google::protobuf::int32 unlock_rate() const;
  3261. inline void set_unlock_rate(::google::protobuf::int32 value);
  3262. // repeated .fish_protocols.msg_item award_item = 6;
  3263. inline int award_item_size() const;
  3264. inline void clear_award_item();
  3265. static const int kAwardItemFieldNumber = 6;
  3266. inline const ::fish_protocols::msg_item& award_item(int index) const;
  3267. inline ::fish_protocols::msg_item* mutable_award_item(int index);
  3268. inline ::fish_protocols::msg_item* add_award_item();
  3269. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  3270. award_item() const;
  3271. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  3272. mutable_award_item();
  3273. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_player_auto_levelup)
  3274. private:
  3275. inline void set_has_packet_id();
  3276. inline void clear_has_packet_id();
  3277. inline void set_has_uplevel();
  3278. inline void clear_has_uplevel();
  3279. inline void set_has_award_gold();
  3280. inline void clear_has_award_gold();
  3281. inline void set_has_award_ticket();
  3282. inline void clear_has_award_ticket();
  3283. inline void set_has_unlock_rate();
  3284. inline void clear_has_unlock_rate();
  3285. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3286. int packet_id_;
  3287. ::google::protobuf::int32 uplevel_;
  3288. ::google::protobuf::int32 award_gold_;
  3289. ::google::protobuf::int32 award_ticket_;
  3290. ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item > award_item_;
  3291. ::google::protobuf::int32 unlock_rate_;
  3292. mutable int _cached_size_;
  3293. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  3294. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3295. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3296. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3297. void InitAsDefaultInstance();
  3298. static packetl2c_player_auto_levelup* default_instance_;
  3299. };
  3300. // -------------------------------------------------------------------
  3301. class packetl2c_give_item_result : public ::google::protobuf::Message {
  3302. public:
  3303. packetl2c_give_item_result();
  3304. virtual ~packetl2c_give_item_result();
  3305. packetl2c_give_item_result(const packetl2c_give_item_result& from);
  3306. inline packetl2c_give_item_result& operator=(const packetl2c_give_item_result& from) {
  3307. CopyFrom(from);
  3308. return *this;
  3309. }
  3310. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3311. return _unknown_fields_;
  3312. }
  3313. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3314. return &_unknown_fields_;
  3315. }
  3316. static const ::google::protobuf::Descriptor* descriptor();
  3317. static const packetl2c_give_item_result& default_instance();
  3318. void Swap(packetl2c_give_item_result* other);
  3319. // implements Message ----------------------------------------------
  3320. packetl2c_give_item_result* New() const;
  3321. void CopyFrom(const ::google::protobuf::Message& from);
  3322. void MergeFrom(const ::google::protobuf::Message& from);
  3323. void CopyFrom(const packetl2c_give_item_result& from);
  3324. void MergeFrom(const packetl2c_give_item_result& from);
  3325. void Clear();
  3326. bool IsInitialized() const;
  3327. int ByteSize() const;
  3328. bool MergePartialFromCodedStream(
  3329. ::google::protobuf::io::CodedInputStream* input);
  3330. void SerializeWithCachedSizes(
  3331. ::google::protobuf::io::CodedOutputStream* output) const;
  3332. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3333. int GetCachedSize() const { return _cached_size_; }
  3334. private:
  3335. void SharedCtor();
  3336. void SharedDtor();
  3337. void SetCachedSize(int size) const;
  3338. public:
  3339. ::google::protobuf::Metadata GetMetadata() const;
  3340. // nested types ----------------------------------------------------
  3341. // accessors -------------------------------------------------------
  3342. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_give_item_result];
  3343. inline bool has_packet_id() const;
  3344. inline void clear_packet_id();
  3345. static const int kPacketIdFieldNumber = 1;
  3346. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3347. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3348. // optional int32 itemid = 2;
  3349. inline bool has_itemid() const;
  3350. inline void clear_itemid();
  3351. static const int kItemidFieldNumber = 2;
  3352. inline ::google::protobuf::int32 itemid() const;
  3353. inline void set_itemid(::google::protobuf::int32 value);
  3354. // optional int32 itemcount = 3 [default = 1];
  3355. inline bool has_itemcount() const;
  3356. inline void clear_itemcount();
  3357. static const int kItemcountFieldNumber = 3;
  3358. inline ::google::protobuf::int32 itemcount() const;
  3359. inline void set_itemcount(::google::protobuf::int32 value);
  3360. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_give_item_result)
  3361. private:
  3362. inline void set_has_packet_id();
  3363. inline void clear_has_packet_id();
  3364. inline void set_has_itemid();
  3365. inline void clear_has_itemid();
  3366. inline void set_has_itemcount();
  3367. inline void clear_has_itemcount();
  3368. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3369. int packet_id_;
  3370. ::google::protobuf::int32 itemid_;
  3371. ::google::protobuf::int32 itemcount_;
  3372. mutable int _cached_size_;
  3373. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3374. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3375. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3376. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3377. void InitAsDefaultInstance();
  3378. static packetl2c_give_item_result* default_instance_;
  3379. };
  3380. // -------------------------------------------------------------------
  3381. class packetc2l_buy_func_item : public ::google::protobuf::Message {
  3382. public:
  3383. packetc2l_buy_func_item();
  3384. virtual ~packetc2l_buy_func_item();
  3385. packetc2l_buy_func_item(const packetc2l_buy_func_item& from);
  3386. inline packetc2l_buy_func_item& operator=(const packetc2l_buy_func_item& from) {
  3387. CopyFrom(from);
  3388. return *this;
  3389. }
  3390. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3391. return _unknown_fields_;
  3392. }
  3393. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3394. return &_unknown_fields_;
  3395. }
  3396. static const ::google::protobuf::Descriptor* descriptor();
  3397. static const packetc2l_buy_func_item& default_instance();
  3398. void Swap(packetc2l_buy_func_item* other);
  3399. // implements Message ----------------------------------------------
  3400. packetc2l_buy_func_item* New() const;
  3401. void CopyFrom(const ::google::protobuf::Message& from);
  3402. void MergeFrom(const ::google::protobuf::Message& from);
  3403. void CopyFrom(const packetc2l_buy_func_item& from);
  3404. void MergeFrom(const packetc2l_buy_func_item& from);
  3405. void Clear();
  3406. bool IsInitialized() const;
  3407. int ByteSize() const;
  3408. bool MergePartialFromCodedStream(
  3409. ::google::protobuf::io::CodedInputStream* input);
  3410. void SerializeWithCachedSizes(
  3411. ::google::protobuf::io::CodedOutputStream* output) const;
  3412. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3413. int GetCachedSize() const { return _cached_size_; }
  3414. private:
  3415. void SharedCtor();
  3416. void SharedDtor();
  3417. void SetCachedSize(int size) const;
  3418. public:
  3419. ::google::protobuf::Metadata GetMetadata() const;
  3420. // nested types ----------------------------------------------------
  3421. // accessors -------------------------------------------------------
  3422. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_func_item];
  3423. inline bool has_packet_id() const;
  3424. inline void clear_packet_id();
  3425. static const int kPacketIdFieldNumber = 1;
  3426. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3427. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3428. // optional int32 item_id = 2;
  3429. inline bool has_item_id() const;
  3430. inline void clear_item_id();
  3431. static const int kItemIdFieldNumber = 2;
  3432. inline ::google::protobuf::int32 item_id() const;
  3433. inline void set_item_id(::google::protobuf::int32 value);
  3434. // optional int32 item_count = 3 [default = 1];
  3435. inline bool has_item_count() const;
  3436. inline void clear_item_count();
  3437. static const int kItemCountFieldNumber = 3;
  3438. inline ::google::protobuf::int32 item_count() const;
  3439. inline void set_item_count(::google::protobuf::int32 value);
  3440. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_buy_func_item)
  3441. private:
  3442. inline void set_has_packet_id();
  3443. inline void clear_has_packet_id();
  3444. inline void set_has_item_id();
  3445. inline void clear_has_item_id();
  3446. inline void set_has_item_count();
  3447. inline void clear_has_item_count();
  3448. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3449. int packet_id_;
  3450. ::google::protobuf::int32 item_id_;
  3451. ::google::protobuf::int32 item_count_;
  3452. mutable int _cached_size_;
  3453. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3454. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3455. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3456. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3457. void InitAsDefaultInstance();
  3458. static packetc2l_buy_func_item* default_instance_;
  3459. };
  3460. // -------------------------------------------------------------------
  3461. class packetl2c_buy_func_item_result : public ::google::protobuf::Message {
  3462. public:
  3463. packetl2c_buy_func_item_result();
  3464. virtual ~packetl2c_buy_func_item_result();
  3465. packetl2c_buy_func_item_result(const packetl2c_buy_func_item_result& from);
  3466. inline packetl2c_buy_func_item_result& operator=(const packetl2c_buy_func_item_result& from) {
  3467. CopyFrom(from);
  3468. return *this;
  3469. }
  3470. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3471. return _unknown_fields_;
  3472. }
  3473. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3474. return &_unknown_fields_;
  3475. }
  3476. static const ::google::protobuf::Descriptor* descriptor();
  3477. static const packetl2c_buy_func_item_result& default_instance();
  3478. void Swap(packetl2c_buy_func_item_result* other);
  3479. // implements Message ----------------------------------------------
  3480. packetl2c_buy_func_item_result* New() const;
  3481. void CopyFrom(const ::google::protobuf::Message& from);
  3482. void MergeFrom(const ::google::protobuf::Message& from);
  3483. void CopyFrom(const packetl2c_buy_func_item_result& from);
  3484. void MergeFrom(const packetl2c_buy_func_item_result& from);
  3485. void Clear();
  3486. bool IsInitialized() const;
  3487. int ByteSize() const;
  3488. bool MergePartialFromCodedStream(
  3489. ::google::protobuf::io::CodedInputStream* input);
  3490. void SerializeWithCachedSizes(
  3491. ::google::protobuf::io::CodedOutputStream* output) const;
  3492. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3493. int GetCachedSize() const { return _cached_size_; }
  3494. private:
  3495. void SharedCtor();
  3496. void SharedDtor();
  3497. void SetCachedSize(int size) const;
  3498. public:
  3499. ::google::protobuf::Metadata GetMetadata() const;
  3500. // nested types ----------------------------------------------------
  3501. // accessors -------------------------------------------------------
  3502. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_func_item_result];
  3503. inline bool has_packet_id() const;
  3504. inline void clear_packet_id();
  3505. static const int kPacketIdFieldNumber = 1;
  3506. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3507. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3508. // optional int32 item_id = 2;
  3509. inline bool has_item_id() const;
  3510. inline void clear_item_id();
  3511. static const int kItemIdFieldNumber = 2;
  3512. inline ::google::protobuf::int32 item_id() const;
  3513. inline void set_item_id(::google::protobuf::int32 value);
  3514. // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail];
  3515. inline bool has_result() const;
  3516. inline void clear_result();
  3517. static const int kResultFieldNumber = 3;
  3518. inline ::msg_type_def::e_msg_result_def result() const;
  3519. inline void set_result(::msg_type_def::e_msg_result_def value);
  3520. // optional int32 item_count = 4 [default = 1];
  3521. inline bool has_item_count() const;
  3522. inline void clear_item_count();
  3523. static const int kItemCountFieldNumber = 4;
  3524. inline ::google::protobuf::int32 item_count() const;
  3525. inline void set_item_count(::google::protobuf::int32 value);
  3526. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_buy_func_item_result)
  3527. private:
  3528. inline void set_has_packet_id();
  3529. inline void clear_has_packet_id();
  3530. inline void set_has_item_id();
  3531. inline void clear_has_item_id();
  3532. inline void set_has_result();
  3533. inline void clear_has_result();
  3534. inline void set_has_item_count();
  3535. inline void clear_has_item_count();
  3536. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3537. int packet_id_;
  3538. ::google::protobuf::int32 item_id_;
  3539. int result_;
  3540. ::google::protobuf::int32 item_count_;
  3541. mutable int _cached_size_;
  3542. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  3543. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3544. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3545. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3546. void InitAsDefaultInstance();
  3547. static packetl2c_buy_func_item_result* default_instance_;
  3548. };
  3549. // -------------------------------------------------------------------
  3550. class packetc2l_torpedo_exchange : public ::google::protobuf::Message {
  3551. public:
  3552. packetc2l_torpedo_exchange();
  3553. virtual ~packetc2l_torpedo_exchange();
  3554. packetc2l_torpedo_exchange(const packetc2l_torpedo_exchange& from);
  3555. inline packetc2l_torpedo_exchange& operator=(const packetc2l_torpedo_exchange& from) {
  3556. CopyFrom(from);
  3557. return *this;
  3558. }
  3559. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3560. return _unknown_fields_;
  3561. }
  3562. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3563. return &_unknown_fields_;
  3564. }
  3565. static const ::google::protobuf::Descriptor* descriptor();
  3566. static const packetc2l_torpedo_exchange& default_instance();
  3567. void Swap(packetc2l_torpedo_exchange* other);
  3568. // implements Message ----------------------------------------------
  3569. packetc2l_torpedo_exchange* New() const;
  3570. void CopyFrom(const ::google::protobuf::Message& from);
  3571. void MergeFrom(const ::google::protobuf::Message& from);
  3572. void CopyFrom(const packetc2l_torpedo_exchange& from);
  3573. void MergeFrom(const packetc2l_torpedo_exchange& from);
  3574. void Clear();
  3575. bool IsInitialized() const;
  3576. int ByteSize() const;
  3577. bool MergePartialFromCodedStream(
  3578. ::google::protobuf::io::CodedInputStream* input);
  3579. void SerializeWithCachedSizes(
  3580. ::google::protobuf::io::CodedOutputStream* output) const;
  3581. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3582. int GetCachedSize() const { return _cached_size_; }
  3583. private:
  3584. void SharedCtor();
  3585. void SharedDtor();
  3586. void SetCachedSize(int size) const;
  3587. public:
  3588. ::google::protobuf::Metadata GetMetadata() const;
  3589. // nested types ----------------------------------------------------
  3590. // accessors -------------------------------------------------------
  3591. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_torpedo_exchange];
  3592. inline bool has_packet_id() const;
  3593. inline void clear_packet_id();
  3594. static const int kPacketIdFieldNumber = 1;
  3595. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3596. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3597. // optional int32 type = 2;
  3598. inline bool has_type() const;
  3599. inline void clear_type();
  3600. static const int kTypeFieldNumber = 2;
  3601. inline ::google::protobuf::int32 type() const;
  3602. inline void set_type(::google::protobuf::int32 value);
  3603. // optional int32 torpedo_id = 3;
  3604. inline bool has_torpedo_id() const;
  3605. inline void clear_torpedo_id();
  3606. static const int kTorpedoIdFieldNumber = 3;
  3607. inline ::google::protobuf::int32 torpedo_id() const;
  3608. inline void set_torpedo_id(::google::protobuf::int32 value);
  3609. // optional int32 torpedo_count = 4;
  3610. inline bool has_torpedo_count() const;
  3611. inline void clear_torpedo_count();
  3612. static const int kTorpedoCountFieldNumber = 4;
  3613. inline ::google::protobuf::int32 torpedo_count() const;
  3614. inline void set_torpedo_count(::google::protobuf::int32 value);
  3615. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_torpedo_exchange)
  3616. private:
  3617. inline void set_has_packet_id();
  3618. inline void clear_has_packet_id();
  3619. inline void set_has_type();
  3620. inline void clear_has_type();
  3621. inline void set_has_torpedo_id();
  3622. inline void clear_has_torpedo_id();
  3623. inline void set_has_torpedo_count();
  3624. inline void clear_has_torpedo_count();
  3625. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3626. int packet_id_;
  3627. ::google::protobuf::int32 type_;
  3628. ::google::protobuf::int32 torpedo_id_;
  3629. ::google::protobuf::int32 torpedo_count_;
  3630. mutable int _cached_size_;
  3631. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  3632. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3633. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3634. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3635. void InitAsDefaultInstance();
  3636. static packetc2l_torpedo_exchange* default_instance_;
  3637. };
  3638. // -------------------------------------------------------------------
  3639. class packetl2c_torpedo_exchange_result : public ::google::protobuf::Message {
  3640. public:
  3641. packetl2c_torpedo_exchange_result();
  3642. virtual ~packetl2c_torpedo_exchange_result();
  3643. packetl2c_torpedo_exchange_result(const packetl2c_torpedo_exchange_result& from);
  3644. inline packetl2c_torpedo_exchange_result& operator=(const packetl2c_torpedo_exchange_result& from) {
  3645. CopyFrom(from);
  3646. return *this;
  3647. }
  3648. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3649. return _unknown_fields_;
  3650. }
  3651. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3652. return &_unknown_fields_;
  3653. }
  3654. static const ::google::protobuf::Descriptor* descriptor();
  3655. static const packetl2c_torpedo_exchange_result& default_instance();
  3656. void Swap(packetl2c_torpedo_exchange_result* other);
  3657. // implements Message ----------------------------------------------
  3658. packetl2c_torpedo_exchange_result* New() const;
  3659. void CopyFrom(const ::google::protobuf::Message& from);
  3660. void MergeFrom(const ::google::protobuf::Message& from);
  3661. void CopyFrom(const packetl2c_torpedo_exchange_result& from);
  3662. void MergeFrom(const packetl2c_torpedo_exchange_result& from);
  3663. void Clear();
  3664. bool IsInitialized() const;
  3665. int ByteSize() const;
  3666. bool MergePartialFromCodedStream(
  3667. ::google::protobuf::io::CodedInputStream* input);
  3668. void SerializeWithCachedSizes(
  3669. ::google::protobuf::io::CodedOutputStream* output) const;
  3670. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3671. int GetCachedSize() const { return _cached_size_; }
  3672. private:
  3673. void SharedCtor();
  3674. void SharedDtor();
  3675. void SetCachedSize(int size) const;
  3676. public:
  3677. ::google::protobuf::Metadata GetMetadata() const;
  3678. // nested types ----------------------------------------------------
  3679. // accessors -------------------------------------------------------
  3680. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_torpedo_exchange_result];
  3681. inline bool has_packet_id() const;
  3682. inline void clear_packet_id();
  3683. static const int kPacketIdFieldNumber = 1;
  3684. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3685. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3686. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  3687. inline bool has_result() const;
  3688. inline void clear_result();
  3689. static const int kResultFieldNumber = 2;
  3690. inline ::msg_type_def::e_msg_result_def result() const;
  3691. inline void set_result(::msg_type_def::e_msg_result_def value);
  3692. // optional int32 type = 3;
  3693. inline bool has_type() const;
  3694. inline void clear_type();
  3695. static const int kTypeFieldNumber = 3;
  3696. inline ::google::protobuf::int32 type() const;
  3697. inline void set_type(::google::protobuf::int32 value);
  3698. // optional int32 torpedo_id = 4;
  3699. inline bool has_torpedo_id() const;
  3700. inline void clear_torpedo_id();
  3701. static const int kTorpedoIdFieldNumber = 4;
  3702. inline ::google::protobuf::int32 torpedo_id() const;
  3703. inline void set_torpedo_id(::google::protobuf::int32 value);
  3704. // optional int32 torpedo_count = 5;
  3705. inline bool has_torpedo_count() const;
  3706. inline void clear_torpedo_count();
  3707. static const int kTorpedoCountFieldNumber = 5;
  3708. inline ::google::protobuf::int32 torpedo_count() const;
  3709. inline void set_torpedo_count(::google::protobuf::int32 value);
  3710. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_torpedo_exchange_result)
  3711. private:
  3712. inline void set_has_packet_id();
  3713. inline void clear_has_packet_id();
  3714. inline void set_has_result();
  3715. inline void clear_has_result();
  3716. inline void set_has_type();
  3717. inline void clear_has_type();
  3718. inline void set_has_torpedo_id();
  3719. inline void clear_has_torpedo_id();
  3720. inline void set_has_torpedo_count();
  3721. inline void clear_has_torpedo_count();
  3722. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3723. int packet_id_;
  3724. int result_;
  3725. ::google::protobuf::int32 type_;
  3726. ::google::protobuf::int32 torpedo_id_;
  3727. ::google::protobuf::int32 torpedo_count_;
  3728. mutable int _cached_size_;
  3729. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  3730. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3731. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3732. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3733. void InitAsDefaultInstance();
  3734. static packetl2c_torpedo_exchange_result* default_instance_;
  3735. };
  3736. // -------------------------------------------------------------------
  3737. class packetc2l_torpedo_compose : public ::google::protobuf::Message {
  3738. public:
  3739. packetc2l_torpedo_compose();
  3740. virtual ~packetc2l_torpedo_compose();
  3741. packetc2l_torpedo_compose(const packetc2l_torpedo_compose& from);
  3742. inline packetc2l_torpedo_compose& operator=(const packetc2l_torpedo_compose& from) {
  3743. CopyFrom(from);
  3744. return *this;
  3745. }
  3746. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3747. return _unknown_fields_;
  3748. }
  3749. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3750. return &_unknown_fields_;
  3751. }
  3752. static const ::google::protobuf::Descriptor* descriptor();
  3753. static const packetc2l_torpedo_compose& default_instance();
  3754. void Swap(packetc2l_torpedo_compose* other);
  3755. // implements Message ----------------------------------------------
  3756. packetc2l_torpedo_compose* New() const;
  3757. void CopyFrom(const ::google::protobuf::Message& from);
  3758. void MergeFrom(const ::google::protobuf::Message& from);
  3759. void CopyFrom(const packetc2l_torpedo_compose& from);
  3760. void MergeFrom(const packetc2l_torpedo_compose& from);
  3761. void Clear();
  3762. bool IsInitialized() const;
  3763. int ByteSize() const;
  3764. bool MergePartialFromCodedStream(
  3765. ::google::protobuf::io::CodedInputStream* input);
  3766. void SerializeWithCachedSizes(
  3767. ::google::protobuf::io::CodedOutputStream* output) const;
  3768. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3769. int GetCachedSize() const { return _cached_size_; }
  3770. private:
  3771. void SharedCtor();
  3772. void SharedDtor();
  3773. void SetCachedSize(int size) const;
  3774. public:
  3775. ::google::protobuf::Metadata GetMetadata() const;
  3776. // nested types ----------------------------------------------------
  3777. // accessors -------------------------------------------------------
  3778. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_torpedo_compose];
  3779. inline bool has_packet_id() const;
  3780. inline void clear_packet_id();
  3781. static const int kPacketIdFieldNumber = 1;
  3782. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3783. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3784. // optional int32 type = 2;
  3785. inline bool has_type() const;
  3786. inline void clear_type();
  3787. static const int kTypeFieldNumber = 2;
  3788. inline ::google::protobuf::int32 type() const;
  3789. inline void set_type(::google::protobuf::int32 value);
  3790. // optional int32 compose_id = 3;
  3791. inline bool has_compose_id() const;
  3792. inline void clear_compose_id();
  3793. static const int kComposeIdFieldNumber = 3;
  3794. inline ::google::protobuf::int32 compose_id() const;
  3795. inline void set_compose_id(::google::protobuf::int32 value);
  3796. // optional int32 compose_count = 4;
  3797. inline bool has_compose_count() const;
  3798. inline void clear_compose_count();
  3799. static const int kComposeCountFieldNumber = 4;
  3800. inline ::google::protobuf::int32 compose_count() const;
  3801. inline void set_compose_count(::google::protobuf::int32 value);
  3802. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_torpedo_compose)
  3803. private:
  3804. inline void set_has_packet_id();
  3805. inline void clear_has_packet_id();
  3806. inline void set_has_type();
  3807. inline void clear_has_type();
  3808. inline void set_has_compose_id();
  3809. inline void clear_has_compose_id();
  3810. inline void set_has_compose_count();
  3811. inline void clear_has_compose_count();
  3812. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3813. int packet_id_;
  3814. ::google::protobuf::int32 type_;
  3815. ::google::protobuf::int32 compose_id_;
  3816. ::google::protobuf::int32 compose_count_;
  3817. mutable int _cached_size_;
  3818. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  3819. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3820. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3821. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3822. void InitAsDefaultInstance();
  3823. static packetc2l_torpedo_compose* default_instance_;
  3824. };
  3825. // -------------------------------------------------------------------
  3826. class packetl2c_torpedo_compose_result : public ::google::protobuf::Message {
  3827. public:
  3828. packetl2c_torpedo_compose_result();
  3829. virtual ~packetl2c_torpedo_compose_result();
  3830. packetl2c_torpedo_compose_result(const packetl2c_torpedo_compose_result& from);
  3831. inline packetl2c_torpedo_compose_result& operator=(const packetl2c_torpedo_compose_result& from) {
  3832. CopyFrom(from);
  3833. return *this;
  3834. }
  3835. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3836. return _unknown_fields_;
  3837. }
  3838. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3839. return &_unknown_fields_;
  3840. }
  3841. static const ::google::protobuf::Descriptor* descriptor();
  3842. static const packetl2c_torpedo_compose_result& default_instance();
  3843. void Swap(packetl2c_torpedo_compose_result* other);
  3844. // implements Message ----------------------------------------------
  3845. packetl2c_torpedo_compose_result* New() const;
  3846. void CopyFrom(const ::google::protobuf::Message& from);
  3847. void MergeFrom(const ::google::protobuf::Message& from);
  3848. void CopyFrom(const packetl2c_torpedo_compose_result& from);
  3849. void MergeFrom(const packetl2c_torpedo_compose_result& from);
  3850. void Clear();
  3851. bool IsInitialized() const;
  3852. int ByteSize() const;
  3853. bool MergePartialFromCodedStream(
  3854. ::google::protobuf::io::CodedInputStream* input);
  3855. void SerializeWithCachedSizes(
  3856. ::google::protobuf::io::CodedOutputStream* output) const;
  3857. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3858. int GetCachedSize() const { return _cached_size_; }
  3859. private:
  3860. void SharedCtor();
  3861. void SharedDtor();
  3862. void SetCachedSize(int size) const;
  3863. public:
  3864. ::google::protobuf::Metadata GetMetadata() const;
  3865. // nested types ----------------------------------------------------
  3866. // accessors -------------------------------------------------------
  3867. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_torpedo_compose_result];
  3868. inline bool has_packet_id() const;
  3869. inline void clear_packet_id();
  3870. static const int kPacketIdFieldNumber = 1;
  3871. inline ::fish_protocols::e_server_msg_type packet_id() const;
  3872. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  3873. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  3874. inline bool has_result() const;
  3875. inline void clear_result();
  3876. static const int kResultFieldNumber = 2;
  3877. inline ::msg_type_def::e_msg_result_def result() const;
  3878. inline void set_result(::msg_type_def::e_msg_result_def value);
  3879. // optional int32 compose_id = 3;
  3880. inline bool has_compose_id() const;
  3881. inline void clear_compose_id();
  3882. static const int kComposeIdFieldNumber = 3;
  3883. inline ::google::protobuf::int32 compose_id() const;
  3884. inline void set_compose_id(::google::protobuf::int32 value);
  3885. // optional int32 compose_count = 4;
  3886. inline bool has_compose_count() const;
  3887. inline void clear_compose_count();
  3888. static const int kComposeCountFieldNumber = 4;
  3889. inline ::google::protobuf::int32 compose_count() const;
  3890. inline void set_compose_count(::google::protobuf::int32 value);
  3891. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_torpedo_compose_result)
  3892. private:
  3893. inline void set_has_packet_id();
  3894. inline void clear_has_packet_id();
  3895. inline void set_has_result();
  3896. inline void clear_has_result();
  3897. inline void set_has_compose_id();
  3898. inline void clear_has_compose_id();
  3899. inline void set_has_compose_count();
  3900. inline void clear_has_compose_count();
  3901. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3902. int packet_id_;
  3903. int result_;
  3904. ::google::protobuf::int32 compose_id_;
  3905. ::google::protobuf::int32 compose_count_;
  3906. mutable int _cached_size_;
  3907. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  3908. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  3909. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  3910. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  3911. void InitAsDefaultInstance();
  3912. static packetl2c_torpedo_compose_result* default_instance_;
  3913. };
  3914. // -------------------------------------------------------------------
  3915. class msg_airdropitem : public ::google::protobuf::Message {
  3916. public:
  3917. msg_airdropitem();
  3918. virtual ~msg_airdropitem();
  3919. msg_airdropitem(const msg_airdropitem& from);
  3920. inline msg_airdropitem& operator=(const msg_airdropitem& from) {
  3921. CopyFrom(from);
  3922. return *this;
  3923. }
  3924. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3925. return _unknown_fields_;
  3926. }
  3927. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3928. return &_unknown_fields_;
  3929. }
  3930. static const ::google::protobuf::Descriptor* descriptor();
  3931. static const msg_airdropitem& default_instance();
  3932. void Swap(msg_airdropitem* other);
  3933. // implements Message ----------------------------------------------
  3934. msg_airdropitem* New() const;
  3935. void CopyFrom(const ::google::protobuf::Message& from);
  3936. void MergeFrom(const ::google::protobuf::Message& from);
  3937. void CopyFrom(const msg_airdropitem& from);
  3938. void MergeFrom(const msg_airdropitem& from);
  3939. void Clear();
  3940. bool IsInitialized() const;
  3941. int ByteSize() const;
  3942. bool MergePartialFromCodedStream(
  3943. ::google::protobuf::io::CodedInputStream* input);
  3944. void SerializeWithCachedSizes(
  3945. ::google::protobuf::io::CodedOutputStream* output) const;
  3946. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3947. int GetCachedSize() const { return _cached_size_; }
  3948. private:
  3949. void SharedCtor();
  3950. void SharedDtor();
  3951. void SetCachedSize(int size) const;
  3952. public:
  3953. ::google::protobuf::Metadata GetMetadata() const;
  3954. // nested types ----------------------------------------------------
  3955. // accessors -------------------------------------------------------
  3956. // optional int32 uuid = 1;
  3957. inline bool has_uuid() const;
  3958. inline void clear_uuid();
  3959. static const int kUuidFieldNumber = 1;
  3960. inline ::google::protobuf::int32 uuid() const;
  3961. inline void set_uuid(::google::protobuf::int32 value);
  3962. // optional int32 playerid = 2;
  3963. inline bool has_playerid() const;
  3964. inline void clear_playerid();
  3965. static const int kPlayeridFieldNumber = 2;
  3966. inline ::google::protobuf::int32 playerid() const;
  3967. inline void set_playerid(::google::protobuf::int32 value);
  3968. // optional int32 itemid = 3;
  3969. inline bool has_itemid() const;
  3970. inline void clear_itemid();
  3971. static const int kItemidFieldNumber = 3;
  3972. inline ::google::protobuf::int32 itemid() const;
  3973. inline void set_itemid(::google::protobuf::int32 value);
  3974. // optional int32 itemcount = 4;
  3975. inline bool has_itemcount() const;
  3976. inline void clear_itemcount();
  3977. static const int kItemcountFieldNumber = 4;
  3978. inline ::google::protobuf::int32 itemcount() const;
  3979. inline void set_itemcount(::google::protobuf::int32 value);
  3980. // optional string nickname = 5;
  3981. inline bool has_nickname() const;
  3982. inline void clear_nickname();
  3983. static const int kNicknameFieldNumber = 5;
  3984. inline const ::std::string& nickname() const;
  3985. inline void set_nickname(const ::std::string& value);
  3986. inline void set_nickname(const char* value);
  3987. inline void set_nickname(const char* value, size_t size);
  3988. inline ::std::string* mutable_nickname();
  3989. inline ::std::string* release_nickname();
  3990. inline void set_allocated_nickname(::std::string* nickname);
  3991. // optional string headurl = 6;
  3992. inline bool has_headurl() const;
  3993. inline void clear_headurl();
  3994. static const int kHeadurlFieldNumber = 6;
  3995. inline const ::std::string& headurl() const;
  3996. inline void set_headurl(const ::std::string& value);
  3997. inline void set_headurl(const char* value);
  3998. inline void set_headurl(const char* value, size_t size);
  3999. inline ::std::string* mutable_headurl();
  4000. inline ::std::string* release_headurl();
  4001. inline void set_allocated_headurl(::std::string* headurl);
  4002. // optional string pwd = 7;
  4003. inline bool has_pwd() const;
  4004. inline void clear_pwd();
  4005. static const int kPwdFieldNumber = 7;
  4006. inline const ::std::string& pwd() const;
  4007. inline void set_pwd(const ::std::string& value);
  4008. inline void set_pwd(const char* value);
  4009. inline void set_pwd(const char* value, size_t size);
  4010. inline ::std::string* mutable_pwd();
  4011. inline ::std::string* release_pwd();
  4012. inline void set_allocated_pwd(::std::string* pwd);
  4013. // optional int32 leftsecond = 8;
  4014. inline bool has_leftsecond() const;
  4015. inline void clear_leftsecond();
  4016. static const int kLeftsecondFieldNumber = 8;
  4017. inline ::google::protobuf::int32 leftsecond() const;
  4018. inline void set_leftsecond(::google::protobuf::int32 value);
  4019. // optional int32 receiveId = 9;
  4020. inline bool has_receiveid() const;
  4021. inline void clear_receiveid();
  4022. static const int kReceiveIdFieldNumber = 9;
  4023. inline ::google::protobuf::int32 receiveid() const;
  4024. inline void set_receiveid(::google::protobuf::int32 value);
  4025. // @@protoc_insertion_point(class_scope:fish_protocols.msg_airdropitem)
  4026. private:
  4027. inline void set_has_uuid();
  4028. inline void clear_has_uuid();
  4029. inline void set_has_playerid();
  4030. inline void clear_has_playerid();
  4031. inline void set_has_itemid();
  4032. inline void clear_has_itemid();
  4033. inline void set_has_itemcount();
  4034. inline void clear_has_itemcount();
  4035. inline void set_has_nickname();
  4036. inline void clear_has_nickname();
  4037. inline void set_has_headurl();
  4038. inline void clear_has_headurl();
  4039. inline void set_has_pwd();
  4040. inline void clear_has_pwd();
  4041. inline void set_has_leftsecond();
  4042. inline void clear_has_leftsecond();
  4043. inline void set_has_receiveid();
  4044. inline void clear_has_receiveid();
  4045. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4046. ::google::protobuf::int32 uuid_;
  4047. ::google::protobuf::int32 playerid_;
  4048. ::google::protobuf::int32 itemid_;
  4049. ::google::protobuf::int32 itemcount_;
  4050. ::std::string* nickname_;
  4051. ::std::string* headurl_;
  4052. ::std::string* pwd_;
  4053. ::google::protobuf::int32 leftsecond_;
  4054. ::google::protobuf::int32 receiveid_;
  4055. mutable int _cached_size_;
  4056. ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
  4057. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4058. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4059. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4060. void InitAsDefaultInstance();
  4061. static msg_airdropitem* default_instance_;
  4062. };
  4063. // -------------------------------------------------------------------
  4064. class packetl2c_get_airdrop_list_result : public ::google::protobuf::Message {
  4065. public:
  4066. packetl2c_get_airdrop_list_result();
  4067. virtual ~packetl2c_get_airdrop_list_result();
  4068. packetl2c_get_airdrop_list_result(const packetl2c_get_airdrop_list_result& from);
  4069. inline packetl2c_get_airdrop_list_result& operator=(const packetl2c_get_airdrop_list_result& from) {
  4070. CopyFrom(from);
  4071. return *this;
  4072. }
  4073. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4074. return _unknown_fields_;
  4075. }
  4076. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4077. return &_unknown_fields_;
  4078. }
  4079. static const ::google::protobuf::Descriptor* descriptor();
  4080. static const packetl2c_get_airdrop_list_result& default_instance();
  4081. void Swap(packetl2c_get_airdrop_list_result* other);
  4082. // implements Message ----------------------------------------------
  4083. packetl2c_get_airdrop_list_result* New() const;
  4084. void CopyFrom(const ::google::protobuf::Message& from);
  4085. void MergeFrom(const ::google::protobuf::Message& from);
  4086. void CopyFrom(const packetl2c_get_airdrop_list_result& from);
  4087. void MergeFrom(const packetl2c_get_airdrop_list_result& from);
  4088. void Clear();
  4089. bool IsInitialized() const;
  4090. int ByteSize() const;
  4091. bool MergePartialFromCodedStream(
  4092. ::google::protobuf::io::CodedInputStream* input);
  4093. void SerializeWithCachedSizes(
  4094. ::google::protobuf::io::CodedOutputStream* output) const;
  4095. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4096. int GetCachedSize() const { return _cached_size_; }
  4097. private:
  4098. void SharedCtor();
  4099. void SharedDtor();
  4100. void SetCachedSize(int size) const;
  4101. public:
  4102. ::google::protobuf::Metadata GetMetadata() const;
  4103. // nested types ----------------------------------------------------
  4104. // accessors -------------------------------------------------------
  4105. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_airdrop_list_result];
  4106. inline bool has_packet_id() const;
  4107. inline void clear_packet_id();
  4108. static const int kPacketIdFieldNumber = 1;
  4109. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4110. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4111. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4112. inline bool has_result() const;
  4113. inline void clear_result();
  4114. static const int kResultFieldNumber = 2;
  4115. inline ::msg_type_def::e_msg_result_def result() const;
  4116. inline void set_result(::msg_type_def::e_msg_result_def value);
  4117. // optional bool bplayerairdrop = 3;
  4118. inline bool has_bplayerairdrop() const;
  4119. inline void clear_bplayerairdrop();
  4120. static const int kBplayerairdropFieldNumber = 3;
  4121. inline bool bplayerairdrop() const;
  4122. inline void set_bplayerairdrop(bool value);
  4123. // repeated .fish_protocols.msg_airdropitem items = 4;
  4124. inline int items_size() const;
  4125. inline void clear_items();
  4126. static const int kItemsFieldNumber = 4;
  4127. inline const ::fish_protocols::msg_airdropitem& items(int index) const;
  4128. inline ::fish_protocols::msg_airdropitem* mutable_items(int index);
  4129. inline ::fish_protocols::msg_airdropitem* add_items();
  4130. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >&
  4131. items() const;
  4132. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >*
  4133. mutable_items();
  4134. // optional int32 errorcount = 5;
  4135. inline bool has_errorcount() const;
  4136. inline void clear_errorcount();
  4137. static const int kErrorcountFieldNumber = 5;
  4138. inline ::google::protobuf::int32 errorcount() const;
  4139. inline void set_errorcount(::google::protobuf::int32 value);
  4140. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_airdrop_list_result)
  4141. private:
  4142. inline void set_has_packet_id();
  4143. inline void clear_has_packet_id();
  4144. inline void set_has_result();
  4145. inline void clear_has_result();
  4146. inline void set_has_bplayerairdrop();
  4147. inline void clear_has_bplayerairdrop();
  4148. inline void set_has_errorcount();
  4149. inline void clear_has_errorcount();
  4150. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4151. int packet_id_;
  4152. int result_;
  4153. ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem > items_;
  4154. bool bplayerairdrop_;
  4155. ::google::protobuf::int32 errorcount_;
  4156. mutable int _cached_size_;
  4157. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  4158. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4159. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4160. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4161. void InitAsDefaultInstance();
  4162. static packetl2c_get_airdrop_list_result* default_instance_;
  4163. };
  4164. // -------------------------------------------------------------------
  4165. class packetc2l_goldfish_lottery : public ::google::protobuf::Message {
  4166. public:
  4167. packetc2l_goldfish_lottery();
  4168. virtual ~packetc2l_goldfish_lottery();
  4169. packetc2l_goldfish_lottery(const packetc2l_goldfish_lottery& from);
  4170. inline packetc2l_goldfish_lottery& operator=(const packetc2l_goldfish_lottery& from) {
  4171. CopyFrom(from);
  4172. return *this;
  4173. }
  4174. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4175. return _unknown_fields_;
  4176. }
  4177. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4178. return &_unknown_fields_;
  4179. }
  4180. static const ::google::protobuf::Descriptor* descriptor();
  4181. static const packetc2l_goldfish_lottery& default_instance();
  4182. void Swap(packetc2l_goldfish_lottery* other);
  4183. // implements Message ----------------------------------------------
  4184. packetc2l_goldfish_lottery* New() const;
  4185. void CopyFrom(const ::google::protobuf::Message& from);
  4186. void MergeFrom(const ::google::protobuf::Message& from);
  4187. void CopyFrom(const packetc2l_goldfish_lottery& from);
  4188. void MergeFrom(const packetc2l_goldfish_lottery& from);
  4189. void Clear();
  4190. bool IsInitialized() const;
  4191. int ByteSize() const;
  4192. bool MergePartialFromCodedStream(
  4193. ::google::protobuf::io::CodedInputStream* input);
  4194. void SerializeWithCachedSizes(
  4195. ::google::protobuf::io::CodedOutputStream* output) const;
  4196. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4197. int GetCachedSize() const { return _cached_size_; }
  4198. private:
  4199. void SharedCtor();
  4200. void SharedDtor();
  4201. void SetCachedSize(int size) const;
  4202. public:
  4203. ::google::protobuf::Metadata GetMetadata() const;
  4204. // nested types ----------------------------------------------------
  4205. // accessors -------------------------------------------------------
  4206. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_goldfish_lottery];
  4207. inline bool has_packet_id() const;
  4208. inline void clear_packet_id();
  4209. static const int kPacketIdFieldNumber = 1;
  4210. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4211. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4212. // optional int32 id = 2;
  4213. inline bool has_id() const;
  4214. inline void clear_id();
  4215. static const int kIdFieldNumber = 2;
  4216. inline ::google::protobuf::int32 id() const;
  4217. inline void set_id(::google::protobuf::int32 value);
  4218. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_goldfish_lottery)
  4219. private:
  4220. inline void set_has_packet_id();
  4221. inline void clear_has_packet_id();
  4222. inline void set_has_id();
  4223. inline void clear_has_id();
  4224. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4225. int packet_id_;
  4226. ::google::protobuf::int32 id_;
  4227. mutable int _cached_size_;
  4228. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  4229. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4230. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4231. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4232. void InitAsDefaultInstance();
  4233. static packetc2l_goldfish_lottery* default_instance_;
  4234. };
  4235. // -------------------------------------------------------------------
  4236. class packetl2c_goldfish_lottery_result : public ::google::protobuf::Message {
  4237. public:
  4238. packetl2c_goldfish_lottery_result();
  4239. virtual ~packetl2c_goldfish_lottery_result();
  4240. packetl2c_goldfish_lottery_result(const packetl2c_goldfish_lottery_result& from);
  4241. inline packetl2c_goldfish_lottery_result& operator=(const packetl2c_goldfish_lottery_result& from) {
  4242. CopyFrom(from);
  4243. return *this;
  4244. }
  4245. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4246. return _unknown_fields_;
  4247. }
  4248. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4249. return &_unknown_fields_;
  4250. }
  4251. static const ::google::protobuf::Descriptor* descriptor();
  4252. static const packetl2c_goldfish_lottery_result& default_instance();
  4253. void Swap(packetl2c_goldfish_lottery_result* other);
  4254. // implements Message ----------------------------------------------
  4255. packetl2c_goldfish_lottery_result* New() const;
  4256. void CopyFrom(const ::google::protobuf::Message& from);
  4257. void MergeFrom(const ::google::protobuf::Message& from);
  4258. void CopyFrom(const packetl2c_goldfish_lottery_result& from);
  4259. void MergeFrom(const packetl2c_goldfish_lottery_result& from);
  4260. void Clear();
  4261. bool IsInitialized() const;
  4262. int ByteSize() const;
  4263. bool MergePartialFromCodedStream(
  4264. ::google::protobuf::io::CodedInputStream* input);
  4265. void SerializeWithCachedSizes(
  4266. ::google::protobuf::io::CodedOutputStream* output) const;
  4267. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4268. int GetCachedSize() const { return _cached_size_; }
  4269. private:
  4270. void SharedCtor();
  4271. void SharedDtor();
  4272. void SetCachedSize(int size) const;
  4273. public:
  4274. ::google::protobuf::Metadata GetMetadata() const;
  4275. // nested types ----------------------------------------------------
  4276. // accessors -------------------------------------------------------
  4277. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_goldfish_lottery_result];
  4278. inline bool has_packet_id() const;
  4279. inline void clear_packet_id();
  4280. static const int kPacketIdFieldNumber = 1;
  4281. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4282. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4283. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4284. inline bool has_result() const;
  4285. inline void clear_result();
  4286. static const int kResultFieldNumber = 2;
  4287. inline ::msg_type_def::e_msg_result_def result() const;
  4288. inline void set_result(::msg_type_def::e_msg_result_def value);
  4289. // optional int32 playerid = 3;
  4290. inline bool has_playerid() const;
  4291. inline void clear_playerid();
  4292. static const int kPlayeridFieldNumber = 3;
  4293. inline ::google::protobuf::int32 playerid() const;
  4294. inline void set_playerid(::google::protobuf::int32 value);
  4295. // optional int32 id = 4;
  4296. inline bool has_id() const;
  4297. inline void clear_id();
  4298. static const int kIdFieldNumber = 4;
  4299. inline ::google::protobuf::int32 id() const;
  4300. inline void set_id(::google::protobuf::int32 value);
  4301. // optional int32 rewardID = 5;
  4302. inline bool has_rewardid() const;
  4303. inline void clear_rewardid();
  4304. static const int kRewardIDFieldNumber = 5;
  4305. inline ::google::protobuf::int32 rewardid() const;
  4306. inline void set_rewardid(::google::protobuf::int32 value);
  4307. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_goldfish_lottery_result)
  4308. private:
  4309. inline void set_has_packet_id();
  4310. inline void clear_has_packet_id();
  4311. inline void set_has_result();
  4312. inline void clear_has_result();
  4313. inline void set_has_playerid();
  4314. inline void clear_has_playerid();
  4315. inline void set_has_id();
  4316. inline void clear_has_id();
  4317. inline void set_has_rewardid();
  4318. inline void clear_has_rewardid();
  4319. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4320. int packet_id_;
  4321. int result_;
  4322. ::google::protobuf::int32 playerid_;
  4323. ::google::protobuf::int32 id_;
  4324. ::google::protobuf::int32 rewardid_;
  4325. mutable int _cached_size_;
  4326. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  4327. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4328. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4329. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4330. void InitAsDefaultInstance();
  4331. static packetl2c_goldfish_lottery_result* default_instance_;
  4332. };
  4333. // -------------------------------------------------------------------
  4334. class packetl2c_bc_table_finish_turntablefish_balance : public ::google::protobuf::Message {
  4335. public:
  4336. packetl2c_bc_table_finish_turntablefish_balance();
  4337. virtual ~packetl2c_bc_table_finish_turntablefish_balance();
  4338. packetl2c_bc_table_finish_turntablefish_balance(const packetl2c_bc_table_finish_turntablefish_balance& from);
  4339. inline packetl2c_bc_table_finish_turntablefish_balance& operator=(const packetl2c_bc_table_finish_turntablefish_balance& from) {
  4340. CopyFrom(from);
  4341. return *this;
  4342. }
  4343. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4344. return _unknown_fields_;
  4345. }
  4346. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4347. return &_unknown_fields_;
  4348. }
  4349. static const ::google::protobuf::Descriptor* descriptor();
  4350. static const packetl2c_bc_table_finish_turntablefish_balance& default_instance();
  4351. void Swap(packetl2c_bc_table_finish_turntablefish_balance* other);
  4352. // implements Message ----------------------------------------------
  4353. packetl2c_bc_table_finish_turntablefish_balance* New() const;
  4354. void CopyFrom(const ::google::protobuf::Message& from);
  4355. void MergeFrom(const ::google::protobuf::Message& from);
  4356. void CopyFrom(const packetl2c_bc_table_finish_turntablefish_balance& from);
  4357. void MergeFrom(const packetl2c_bc_table_finish_turntablefish_balance& from);
  4358. void Clear();
  4359. bool IsInitialized() const;
  4360. int ByteSize() const;
  4361. bool MergePartialFromCodedStream(
  4362. ::google::protobuf::io::CodedInputStream* input);
  4363. void SerializeWithCachedSizes(
  4364. ::google::protobuf::io::CodedOutputStream* output) const;
  4365. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4366. int GetCachedSize() const { return _cached_size_; }
  4367. private:
  4368. void SharedCtor();
  4369. void SharedDtor();
  4370. void SetCachedSize(int size) const;
  4371. public:
  4372. ::google::protobuf::Metadata GetMetadata() const;
  4373. // nested types ----------------------------------------------------
  4374. // accessors -------------------------------------------------------
  4375. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_finish_turntablefish_balance];
  4376. inline bool has_packet_id() const;
  4377. inline void clear_packet_id();
  4378. static const int kPacketIdFieldNumber = 1;
  4379. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4380. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4381. // optional int32 playerId = 2;
  4382. inline bool has_playerid() const;
  4383. inline void clear_playerid();
  4384. static const int kPlayerIdFieldNumber = 2;
  4385. inline ::google::protobuf::int32 playerid() const;
  4386. inline void set_playerid(::google::protobuf::int32 value);
  4387. // optional int32 addGold = 3;
  4388. inline bool has_addgold() const;
  4389. inline void clear_addgold();
  4390. static const int kAddGoldFieldNumber = 3;
  4391. inline ::google::protobuf::int32 addgold() const;
  4392. inline void set_addgold(::google::protobuf::int32 value);
  4393. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_bc_table_finish_turntablefish_balance)
  4394. private:
  4395. inline void set_has_packet_id();
  4396. inline void clear_has_packet_id();
  4397. inline void set_has_playerid();
  4398. inline void clear_has_playerid();
  4399. inline void set_has_addgold();
  4400. inline void clear_has_addgold();
  4401. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4402. int packet_id_;
  4403. ::google::protobuf::int32 playerid_;
  4404. ::google::protobuf::int32 addgold_;
  4405. mutable int _cached_size_;
  4406. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  4407. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4408. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4409. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4410. void InitAsDefaultInstance();
  4411. static packetl2c_bc_table_finish_turntablefish_balance* default_instance_;
  4412. };
  4413. // -------------------------------------------------------------------
  4414. class packetc2l_exchange_dimensity : public ::google::protobuf::Message {
  4415. public:
  4416. packetc2l_exchange_dimensity();
  4417. virtual ~packetc2l_exchange_dimensity();
  4418. packetc2l_exchange_dimensity(const packetc2l_exchange_dimensity& from);
  4419. inline packetc2l_exchange_dimensity& operator=(const packetc2l_exchange_dimensity& from) {
  4420. CopyFrom(from);
  4421. return *this;
  4422. }
  4423. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4424. return _unknown_fields_;
  4425. }
  4426. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4427. return &_unknown_fields_;
  4428. }
  4429. static const ::google::protobuf::Descriptor* descriptor();
  4430. static const packetc2l_exchange_dimensity& default_instance();
  4431. void Swap(packetc2l_exchange_dimensity* other);
  4432. // implements Message ----------------------------------------------
  4433. packetc2l_exchange_dimensity* New() const;
  4434. void CopyFrom(const ::google::protobuf::Message& from);
  4435. void MergeFrom(const ::google::protobuf::Message& from);
  4436. void CopyFrom(const packetc2l_exchange_dimensity& from);
  4437. void MergeFrom(const packetc2l_exchange_dimensity& from);
  4438. void Clear();
  4439. bool IsInitialized() const;
  4440. int ByteSize() const;
  4441. bool MergePartialFromCodedStream(
  4442. ::google::protobuf::io::CodedInputStream* input);
  4443. void SerializeWithCachedSizes(
  4444. ::google::protobuf::io::CodedOutputStream* output) const;
  4445. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4446. int GetCachedSize() const { return _cached_size_; }
  4447. private:
  4448. void SharedCtor();
  4449. void SharedDtor();
  4450. void SetCachedSize(int size) const;
  4451. public:
  4452. ::google::protobuf::Metadata GetMetadata() const;
  4453. // nested types ----------------------------------------------------
  4454. // accessors -------------------------------------------------------
  4455. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_exchange_dimensity];
  4456. inline bool has_packet_id() const;
  4457. inline void clear_packet_id();
  4458. static const int kPacketIdFieldNumber = 1;
  4459. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4460. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4461. // optional int32 exchangeId = 2;
  4462. inline bool has_exchangeid() const;
  4463. inline void clear_exchangeid();
  4464. static const int kExchangeIdFieldNumber = 2;
  4465. inline ::google::protobuf::int32 exchangeid() const;
  4466. inline void set_exchangeid(::google::protobuf::int32 value);
  4467. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_exchange_dimensity)
  4468. private:
  4469. inline void set_has_packet_id();
  4470. inline void clear_has_packet_id();
  4471. inline void set_has_exchangeid();
  4472. inline void clear_has_exchangeid();
  4473. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4474. int packet_id_;
  4475. ::google::protobuf::int32 exchangeid_;
  4476. mutable int _cached_size_;
  4477. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  4478. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4479. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4480. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4481. void InitAsDefaultInstance();
  4482. static packetc2l_exchange_dimensity* default_instance_;
  4483. };
  4484. // -------------------------------------------------------------------
  4485. class packetl2c_exchange_dimensity_result : public ::google::protobuf::Message {
  4486. public:
  4487. packetl2c_exchange_dimensity_result();
  4488. virtual ~packetl2c_exchange_dimensity_result();
  4489. packetl2c_exchange_dimensity_result(const packetl2c_exchange_dimensity_result& from);
  4490. inline packetl2c_exchange_dimensity_result& operator=(const packetl2c_exchange_dimensity_result& from) {
  4491. CopyFrom(from);
  4492. return *this;
  4493. }
  4494. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4495. return _unknown_fields_;
  4496. }
  4497. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4498. return &_unknown_fields_;
  4499. }
  4500. static const ::google::protobuf::Descriptor* descriptor();
  4501. static const packetl2c_exchange_dimensity_result& default_instance();
  4502. void Swap(packetl2c_exchange_dimensity_result* other);
  4503. // implements Message ----------------------------------------------
  4504. packetl2c_exchange_dimensity_result* New() const;
  4505. void CopyFrom(const ::google::protobuf::Message& from);
  4506. void MergeFrom(const ::google::protobuf::Message& from);
  4507. void CopyFrom(const packetl2c_exchange_dimensity_result& from);
  4508. void MergeFrom(const packetl2c_exchange_dimensity_result& from);
  4509. void Clear();
  4510. bool IsInitialized() const;
  4511. int ByteSize() const;
  4512. bool MergePartialFromCodedStream(
  4513. ::google::protobuf::io::CodedInputStream* input);
  4514. void SerializeWithCachedSizes(
  4515. ::google::protobuf::io::CodedOutputStream* output) const;
  4516. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4517. int GetCachedSize() const { return _cached_size_; }
  4518. private:
  4519. void SharedCtor();
  4520. void SharedDtor();
  4521. void SetCachedSize(int size) const;
  4522. public:
  4523. ::google::protobuf::Metadata GetMetadata() const;
  4524. // nested types ----------------------------------------------------
  4525. // accessors -------------------------------------------------------
  4526. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_exchange_dimensity_result];
  4527. inline bool has_packet_id() const;
  4528. inline void clear_packet_id();
  4529. static const int kPacketIdFieldNumber = 1;
  4530. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4531. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4532. // optional int32 exchangeId = 2;
  4533. inline bool has_exchangeid() const;
  4534. inline void clear_exchangeid();
  4535. static const int kExchangeIdFieldNumber = 2;
  4536. inline ::google::protobuf::int32 exchangeid() const;
  4537. inline void set_exchangeid(::google::protobuf::int32 value);
  4538. // optional int32 result = 3;
  4539. inline bool has_result() const;
  4540. inline void clear_result();
  4541. static const int kResultFieldNumber = 3;
  4542. inline ::google::protobuf::int32 result() const;
  4543. inline void set_result(::google::protobuf::int32 value);
  4544. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_exchange_dimensity_result)
  4545. private:
  4546. inline void set_has_packet_id();
  4547. inline void clear_has_packet_id();
  4548. inline void set_has_exchangeid();
  4549. inline void clear_has_exchangeid();
  4550. inline void set_has_result();
  4551. inline void clear_has_result();
  4552. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4553. int packet_id_;
  4554. ::google::protobuf::int32 exchangeid_;
  4555. ::google::protobuf::int32 result_;
  4556. mutable int _cached_size_;
  4557. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  4558. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4559. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4560. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4561. void InitAsDefaultInstance();
  4562. static packetl2c_exchange_dimensity_result* default_instance_;
  4563. };
  4564. // -------------------------------------------------------------------
  4565. class packetc2l_lucky_lottery : public ::google::protobuf::Message {
  4566. public:
  4567. packetc2l_lucky_lottery();
  4568. virtual ~packetc2l_lucky_lottery();
  4569. packetc2l_lucky_lottery(const packetc2l_lucky_lottery& from);
  4570. inline packetc2l_lucky_lottery& operator=(const packetc2l_lucky_lottery& from) {
  4571. CopyFrom(from);
  4572. return *this;
  4573. }
  4574. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4575. return _unknown_fields_;
  4576. }
  4577. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4578. return &_unknown_fields_;
  4579. }
  4580. static const ::google::protobuf::Descriptor* descriptor();
  4581. static const packetc2l_lucky_lottery& default_instance();
  4582. void Swap(packetc2l_lucky_lottery* other);
  4583. // implements Message ----------------------------------------------
  4584. packetc2l_lucky_lottery* New() const;
  4585. void CopyFrom(const ::google::protobuf::Message& from);
  4586. void MergeFrom(const ::google::protobuf::Message& from);
  4587. void CopyFrom(const packetc2l_lucky_lottery& from);
  4588. void MergeFrom(const packetc2l_lucky_lottery& from);
  4589. void Clear();
  4590. bool IsInitialized() const;
  4591. int ByteSize() const;
  4592. bool MergePartialFromCodedStream(
  4593. ::google::protobuf::io::CodedInputStream* input);
  4594. void SerializeWithCachedSizes(
  4595. ::google::protobuf::io::CodedOutputStream* output) const;
  4596. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4597. int GetCachedSize() const { return _cached_size_; }
  4598. private:
  4599. void SharedCtor();
  4600. void SharedDtor();
  4601. void SetCachedSize(int size) const;
  4602. public:
  4603. ::google::protobuf::Metadata GetMetadata() const;
  4604. // nested types ----------------------------------------------------
  4605. // accessors -------------------------------------------------------
  4606. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lucky_lottery];
  4607. inline bool has_packet_id() const;
  4608. inline void clear_packet_id();
  4609. static const int kPacketIdFieldNumber = 1;
  4610. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4611. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4612. // optional bool all = 2;
  4613. inline bool has_all() const;
  4614. inline void clear_all();
  4615. static const int kAllFieldNumber = 2;
  4616. inline bool all() const;
  4617. inline void set_all(bool value);
  4618. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_lucky_lottery)
  4619. private:
  4620. inline void set_has_packet_id();
  4621. inline void clear_has_packet_id();
  4622. inline void set_has_all();
  4623. inline void clear_has_all();
  4624. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4625. int packet_id_;
  4626. bool all_;
  4627. mutable int _cached_size_;
  4628. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  4629. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4630. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4631. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4632. void InitAsDefaultInstance();
  4633. static packetc2l_lucky_lottery* default_instance_;
  4634. };
  4635. // -------------------------------------------------------------------
  4636. class packetl2c_lucky_lottery_result : public ::google::protobuf::Message {
  4637. public:
  4638. packetl2c_lucky_lottery_result();
  4639. virtual ~packetl2c_lucky_lottery_result();
  4640. packetl2c_lucky_lottery_result(const packetl2c_lucky_lottery_result& from);
  4641. inline packetl2c_lucky_lottery_result& operator=(const packetl2c_lucky_lottery_result& from) {
  4642. CopyFrom(from);
  4643. return *this;
  4644. }
  4645. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4646. return _unknown_fields_;
  4647. }
  4648. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4649. return &_unknown_fields_;
  4650. }
  4651. static const ::google::protobuf::Descriptor* descriptor();
  4652. static const packetl2c_lucky_lottery_result& default_instance();
  4653. void Swap(packetl2c_lucky_lottery_result* other);
  4654. // implements Message ----------------------------------------------
  4655. packetl2c_lucky_lottery_result* New() const;
  4656. void CopyFrom(const ::google::protobuf::Message& from);
  4657. void MergeFrom(const ::google::protobuf::Message& from);
  4658. void CopyFrom(const packetl2c_lucky_lottery_result& from);
  4659. void MergeFrom(const packetl2c_lucky_lottery_result& from);
  4660. void Clear();
  4661. bool IsInitialized() const;
  4662. int ByteSize() const;
  4663. bool MergePartialFromCodedStream(
  4664. ::google::protobuf::io::CodedInputStream* input);
  4665. void SerializeWithCachedSizes(
  4666. ::google::protobuf::io::CodedOutputStream* output) const;
  4667. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4668. int GetCachedSize() const { return _cached_size_; }
  4669. private:
  4670. void SharedCtor();
  4671. void SharedDtor();
  4672. void SetCachedSize(int size) const;
  4673. public:
  4674. ::google::protobuf::Metadata GetMetadata() const;
  4675. // nested types ----------------------------------------------------
  4676. // accessors -------------------------------------------------------
  4677. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_lucky_lottery_result];
  4678. inline bool has_packet_id() const;
  4679. inline void clear_packet_id();
  4680. static const int kPacketIdFieldNumber = 1;
  4681. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4682. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4683. // optional bool all = 2;
  4684. inline bool has_all() const;
  4685. inline void clear_all();
  4686. static const int kAllFieldNumber = 2;
  4687. inline bool all() const;
  4688. inline void set_all(bool value);
  4689. // optional int32 result = 3;
  4690. inline bool has_result() const;
  4691. inline void clear_result();
  4692. static const int kResultFieldNumber = 3;
  4693. inline ::google::protobuf::int32 result() const;
  4694. inline void set_result(::google::protobuf::int32 value);
  4695. // repeated int32 rewardIndex = 4;
  4696. inline int rewardindex_size() const;
  4697. inline void clear_rewardindex();
  4698. static const int kRewardIndexFieldNumber = 4;
  4699. inline ::google::protobuf::int32 rewardindex(int index) const;
  4700. inline void set_rewardindex(int index, ::google::protobuf::int32 value);
  4701. inline void add_rewardindex(::google::protobuf::int32 value);
  4702. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  4703. rewardindex() const;
  4704. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  4705. mutable_rewardindex();
  4706. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_lucky_lottery_result)
  4707. private:
  4708. inline void set_has_packet_id();
  4709. inline void clear_has_packet_id();
  4710. inline void set_has_all();
  4711. inline void clear_has_all();
  4712. inline void set_has_result();
  4713. inline void clear_has_result();
  4714. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4715. int packet_id_;
  4716. bool all_;
  4717. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rewardindex_;
  4718. ::google::protobuf::int32 result_;
  4719. mutable int _cached_size_;
  4720. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  4721. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4722. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4723. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4724. void InitAsDefaultInstance();
  4725. static packetl2c_lucky_lottery_result* default_instance_;
  4726. };
  4727. // -------------------------------------------------------------------
  4728. class recordInfo : public ::google::protobuf::Message {
  4729. public:
  4730. recordInfo();
  4731. virtual ~recordInfo();
  4732. recordInfo(const recordInfo& from);
  4733. inline recordInfo& operator=(const recordInfo& from) {
  4734. CopyFrom(from);
  4735. return *this;
  4736. }
  4737. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4738. return _unknown_fields_;
  4739. }
  4740. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4741. return &_unknown_fields_;
  4742. }
  4743. static const ::google::protobuf::Descriptor* descriptor();
  4744. static const recordInfo& default_instance();
  4745. void Swap(recordInfo* other);
  4746. // implements Message ----------------------------------------------
  4747. recordInfo* New() const;
  4748. void CopyFrom(const ::google::protobuf::Message& from);
  4749. void MergeFrom(const ::google::protobuf::Message& from);
  4750. void CopyFrom(const recordInfo& from);
  4751. void MergeFrom(const recordInfo& from);
  4752. void Clear();
  4753. bool IsInitialized() const;
  4754. int ByteSize() const;
  4755. bool MergePartialFromCodedStream(
  4756. ::google::protobuf::io::CodedInputStream* input);
  4757. void SerializeWithCachedSizes(
  4758. ::google::protobuf::io::CodedOutputStream* output) const;
  4759. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4760. int GetCachedSize() const { return _cached_size_; }
  4761. private:
  4762. void SharedCtor();
  4763. void SharedDtor();
  4764. void SetCachedSize(int size) const;
  4765. public:
  4766. ::google::protobuf::Metadata GetMetadata() const;
  4767. // nested types ----------------------------------------------------
  4768. // accessors -------------------------------------------------------
  4769. // optional int32 type = 1;
  4770. inline bool has_type() const;
  4771. inline void clear_type();
  4772. static const int kTypeFieldNumber = 1;
  4773. inline ::google::protobuf::int32 type() const;
  4774. inline void set_type(::google::protobuf::int32 value);
  4775. // optional int32 param = 2;
  4776. inline bool has_param() const;
  4777. inline void clear_param();
  4778. static const int kParamFieldNumber = 2;
  4779. inline ::google::protobuf::int32 param() const;
  4780. inline void set_param(::google::protobuf::int32 value);
  4781. // optional int32 count = 3;
  4782. inline bool has_count() const;
  4783. inline void clear_count();
  4784. static const int kCountFieldNumber = 3;
  4785. inline ::google::protobuf::int32 count() const;
  4786. inline void set_count(::google::protobuf::int32 value);
  4787. // @@protoc_insertion_point(class_scope:fish_protocols.recordInfo)
  4788. private:
  4789. inline void set_has_type();
  4790. inline void clear_has_type();
  4791. inline void set_has_param();
  4792. inline void clear_has_param();
  4793. inline void set_has_count();
  4794. inline void clear_has_count();
  4795. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4796. ::google::protobuf::int32 type_;
  4797. ::google::protobuf::int32 param_;
  4798. ::google::protobuf::int32 count_;
  4799. mutable int _cached_size_;
  4800. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  4801. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4802. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4803. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4804. void InitAsDefaultInstance();
  4805. static recordInfo* default_instance_;
  4806. };
  4807. // -------------------------------------------------------------------
  4808. class packetc2l_syn_record_info : public ::google::protobuf::Message {
  4809. public:
  4810. packetc2l_syn_record_info();
  4811. virtual ~packetc2l_syn_record_info();
  4812. packetc2l_syn_record_info(const packetc2l_syn_record_info& from);
  4813. inline packetc2l_syn_record_info& operator=(const packetc2l_syn_record_info& from) {
  4814. CopyFrom(from);
  4815. return *this;
  4816. }
  4817. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4818. return _unknown_fields_;
  4819. }
  4820. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4821. return &_unknown_fields_;
  4822. }
  4823. static const ::google::protobuf::Descriptor* descriptor();
  4824. static const packetc2l_syn_record_info& default_instance();
  4825. void Swap(packetc2l_syn_record_info* other);
  4826. // implements Message ----------------------------------------------
  4827. packetc2l_syn_record_info* New() const;
  4828. void CopyFrom(const ::google::protobuf::Message& from);
  4829. void MergeFrom(const ::google::protobuf::Message& from);
  4830. void CopyFrom(const packetc2l_syn_record_info& from);
  4831. void MergeFrom(const packetc2l_syn_record_info& from);
  4832. void Clear();
  4833. bool IsInitialized() const;
  4834. int ByteSize() const;
  4835. bool MergePartialFromCodedStream(
  4836. ::google::protobuf::io::CodedInputStream* input);
  4837. void SerializeWithCachedSizes(
  4838. ::google::protobuf::io::CodedOutputStream* output) const;
  4839. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4840. int GetCachedSize() const { return _cached_size_; }
  4841. private:
  4842. void SharedCtor();
  4843. void SharedDtor();
  4844. void SetCachedSize(int size) const;
  4845. public:
  4846. ::google::protobuf::Metadata GetMetadata() const;
  4847. // nested types ----------------------------------------------------
  4848. // accessors -------------------------------------------------------
  4849. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_record_info];
  4850. inline bool has_packet_id() const;
  4851. inline void clear_packet_id();
  4852. static const int kPacketIdFieldNumber = 1;
  4853. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4854. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4855. // repeated .fish_protocols.recordInfo recordList = 2;
  4856. inline int recordlist_size() const;
  4857. inline void clear_recordlist();
  4858. static const int kRecordListFieldNumber = 2;
  4859. inline const ::fish_protocols::recordInfo& recordlist(int index) const;
  4860. inline ::fish_protocols::recordInfo* mutable_recordlist(int index);
  4861. inline ::fish_protocols::recordInfo* add_recordlist();
  4862. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >&
  4863. recordlist() const;
  4864. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >*
  4865. mutable_recordlist();
  4866. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_syn_record_info)
  4867. private:
  4868. inline void set_has_packet_id();
  4869. inline void clear_has_packet_id();
  4870. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4871. ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo > recordlist_;
  4872. int packet_id_;
  4873. mutable int _cached_size_;
  4874. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  4875. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4876. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4877. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4878. void InitAsDefaultInstance();
  4879. static packetc2l_syn_record_info* default_instance_;
  4880. };
  4881. // -------------------------------------------------------------------
  4882. class packetc2l_auto_fire : public ::google::protobuf::Message {
  4883. public:
  4884. packetc2l_auto_fire();
  4885. virtual ~packetc2l_auto_fire();
  4886. packetc2l_auto_fire(const packetc2l_auto_fire& from);
  4887. inline packetc2l_auto_fire& operator=(const packetc2l_auto_fire& from) {
  4888. CopyFrom(from);
  4889. return *this;
  4890. }
  4891. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4892. return _unknown_fields_;
  4893. }
  4894. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4895. return &_unknown_fields_;
  4896. }
  4897. static const ::google::protobuf::Descriptor* descriptor();
  4898. static const packetc2l_auto_fire& default_instance();
  4899. void Swap(packetc2l_auto_fire* other);
  4900. // implements Message ----------------------------------------------
  4901. packetc2l_auto_fire* New() const;
  4902. void CopyFrom(const ::google::protobuf::Message& from);
  4903. void MergeFrom(const ::google::protobuf::Message& from);
  4904. void CopyFrom(const packetc2l_auto_fire& from);
  4905. void MergeFrom(const packetc2l_auto_fire& from);
  4906. void Clear();
  4907. bool IsInitialized() const;
  4908. int ByteSize() const;
  4909. bool MergePartialFromCodedStream(
  4910. ::google::protobuf::io::CodedInputStream* input);
  4911. void SerializeWithCachedSizes(
  4912. ::google::protobuf::io::CodedOutputStream* output) const;
  4913. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4914. int GetCachedSize() const { return _cached_size_; }
  4915. private:
  4916. void SharedCtor();
  4917. void SharedDtor();
  4918. void SetCachedSize(int size) const;
  4919. public:
  4920. ::google::protobuf::Metadata GetMetadata() const;
  4921. // nested types ----------------------------------------------------
  4922. // accessors -------------------------------------------------------
  4923. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_auto_fire];
  4924. inline bool has_packet_id() const;
  4925. inline void clear_packet_id();
  4926. static const int kPacketIdFieldNumber = 1;
  4927. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4928. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  4929. // optional int32 type = 2;
  4930. inline bool has_type() const;
  4931. inline void clear_type();
  4932. static const int kTypeFieldNumber = 2;
  4933. inline ::google::protobuf::int32 type() const;
  4934. inline void set_type(::google::protobuf::int32 value);
  4935. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_auto_fire)
  4936. private:
  4937. inline void set_has_packet_id();
  4938. inline void clear_has_packet_id();
  4939. inline void set_has_type();
  4940. inline void clear_has_type();
  4941. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4942. int packet_id_;
  4943. ::google::protobuf::int32 type_;
  4944. mutable int _cached_size_;
  4945. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  4946. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  4947. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  4948. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  4949. void InitAsDefaultInstance();
  4950. static packetc2l_auto_fire* default_instance_;
  4951. };
  4952. // -------------------------------------------------------------------
  4953. class packetc2l_change_headid : public ::google::protobuf::Message {
  4954. public:
  4955. packetc2l_change_headid();
  4956. virtual ~packetc2l_change_headid();
  4957. packetc2l_change_headid(const packetc2l_change_headid& from);
  4958. inline packetc2l_change_headid& operator=(const packetc2l_change_headid& from) {
  4959. CopyFrom(from);
  4960. return *this;
  4961. }
  4962. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4963. return _unknown_fields_;
  4964. }
  4965. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4966. return &_unknown_fields_;
  4967. }
  4968. static const ::google::protobuf::Descriptor* descriptor();
  4969. static const packetc2l_change_headid& default_instance();
  4970. void Swap(packetc2l_change_headid* other);
  4971. // implements Message ----------------------------------------------
  4972. packetc2l_change_headid* New() const;
  4973. void CopyFrom(const ::google::protobuf::Message& from);
  4974. void MergeFrom(const ::google::protobuf::Message& from);
  4975. void CopyFrom(const packetc2l_change_headid& from);
  4976. void MergeFrom(const packetc2l_change_headid& from);
  4977. void Clear();
  4978. bool IsInitialized() const;
  4979. int ByteSize() const;
  4980. bool MergePartialFromCodedStream(
  4981. ::google::protobuf::io::CodedInputStream* input);
  4982. void SerializeWithCachedSizes(
  4983. ::google::protobuf::io::CodedOutputStream* output) const;
  4984. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4985. int GetCachedSize() const { return _cached_size_; }
  4986. private:
  4987. void SharedCtor();
  4988. void SharedDtor();
  4989. void SetCachedSize(int size) const;
  4990. public:
  4991. ::google::protobuf::Metadata GetMetadata() const;
  4992. // nested types ----------------------------------------------------
  4993. // accessors -------------------------------------------------------
  4994. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_headid];
  4995. inline bool has_packet_id() const;
  4996. inline void clear_packet_id();
  4997. static const int kPacketIdFieldNumber = 1;
  4998. inline ::fish_protocols::e_server_msg_type packet_id() const;
  4999. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5000. // optional int32 headId = 2;
  5001. inline bool has_headid() const;
  5002. inline void clear_headid();
  5003. static const int kHeadIdFieldNumber = 2;
  5004. inline ::google::protobuf::int32 headid() const;
  5005. inline void set_headid(::google::protobuf::int32 value);
  5006. // optional int32 frameid = 3;
  5007. inline bool has_frameid() const;
  5008. inline void clear_frameid();
  5009. static const int kFrameidFieldNumber = 3;
  5010. inline ::google::protobuf::int32 frameid() const;
  5011. inline void set_frameid(::google::protobuf::int32 value);
  5012. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_change_headid)
  5013. private:
  5014. inline void set_has_packet_id();
  5015. inline void clear_has_packet_id();
  5016. inline void set_has_headid();
  5017. inline void clear_has_headid();
  5018. inline void set_has_frameid();
  5019. inline void clear_has_frameid();
  5020. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5021. int packet_id_;
  5022. ::google::protobuf::int32 headid_;
  5023. ::google::protobuf::int32 frameid_;
  5024. mutable int _cached_size_;
  5025. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  5026. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5027. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5028. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5029. void InitAsDefaultInstance();
  5030. static packetc2l_change_headid* default_instance_;
  5031. };
  5032. // -------------------------------------------------------------------
  5033. class packetl2c_change_headid_result : public ::google::protobuf::Message {
  5034. public:
  5035. packetl2c_change_headid_result();
  5036. virtual ~packetl2c_change_headid_result();
  5037. packetl2c_change_headid_result(const packetl2c_change_headid_result& from);
  5038. inline packetl2c_change_headid_result& operator=(const packetl2c_change_headid_result& from) {
  5039. CopyFrom(from);
  5040. return *this;
  5041. }
  5042. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5043. return _unknown_fields_;
  5044. }
  5045. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5046. return &_unknown_fields_;
  5047. }
  5048. static const ::google::protobuf::Descriptor* descriptor();
  5049. static const packetl2c_change_headid_result& default_instance();
  5050. void Swap(packetl2c_change_headid_result* other);
  5051. // implements Message ----------------------------------------------
  5052. packetl2c_change_headid_result* New() const;
  5053. void CopyFrom(const ::google::protobuf::Message& from);
  5054. void MergeFrom(const ::google::protobuf::Message& from);
  5055. void CopyFrom(const packetl2c_change_headid_result& from);
  5056. void MergeFrom(const packetl2c_change_headid_result& from);
  5057. void Clear();
  5058. bool IsInitialized() const;
  5059. int ByteSize() const;
  5060. bool MergePartialFromCodedStream(
  5061. ::google::protobuf::io::CodedInputStream* input);
  5062. void SerializeWithCachedSizes(
  5063. ::google::protobuf::io::CodedOutputStream* output) const;
  5064. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5065. int GetCachedSize() const { return _cached_size_; }
  5066. private:
  5067. void SharedCtor();
  5068. void SharedDtor();
  5069. void SetCachedSize(int size) const;
  5070. public:
  5071. ::google::protobuf::Metadata GetMetadata() const;
  5072. // nested types ----------------------------------------------------
  5073. // accessors -------------------------------------------------------
  5074. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_headid_result];
  5075. inline bool has_packet_id() const;
  5076. inline void clear_packet_id();
  5077. static const int kPacketIdFieldNumber = 1;
  5078. inline ::fish_protocols::e_server_msg_type packet_id() const;
  5079. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5080. // optional int32 playerId = 2;
  5081. inline bool has_playerid() const;
  5082. inline void clear_playerid();
  5083. static const int kPlayerIdFieldNumber = 2;
  5084. inline ::google::protobuf::int32 playerid() const;
  5085. inline void set_playerid(::google::protobuf::int32 value);
  5086. // optional int32 headId = 3;
  5087. inline bool has_headid() const;
  5088. inline void clear_headid();
  5089. static const int kHeadIdFieldNumber = 3;
  5090. inline ::google::protobuf::int32 headid() const;
  5091. inline void set_headid(::google::protobuf::int32 value);
  5092. // optional int32 frameid = 4;
  5093. inline bool has_frameid() const;
  5094. inline void clear_frameid();
  5095. static const int kFrameidFieldNumber = 4;
  5096. inline ::google::protobuf::int32 frameid() const;
  5097. inline void set_frameid(::google::protobuf::int32 value);
  5098. // optional int32 result = 5;
  5099. inline bool has_result() const;
  5100. inline void clear_result();
  5101. static const int kResultFieldNumber = 5;
  5102. inline ::google::protobuf::int32 result() const;
  5103. inline void set_result(::google::protobuf::int32 value);
  5104. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_change_headid_result)
  5105. private:
  5106. inline void set_has_packet_id();
  5107. inline void clear_has_packet_id();
  5108. inline void set_has_playerid();
  5109. inline void clear_has_playerid();
  5110. inline void set_has_headid();
  5111. inline void clear_has_headid();
  5112. inline void set_has_frameid();
  5113. inline void clear_has_frameid();
  5114. inline void set_has_result();
  5115. inline void clear_has_result();
  5116. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5117. int packet_id_;
  5118. ::google::protobuf::int32 playerid_;
  5119. ::google::protobuf::int32 headid_;
  5120. ::google::protobuf::int32 frameid_;
  5121. ::google::protobuf::int32 result_;
  5122. mutable int _cached_size_;
  5123. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  5124. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5125. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5126. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5127. void InitAsDefaultInstance();
  5128. static packetl2c_change_headid_result* default_instance_;
  5129. };
  5130. // -------------------------------------------------------------------
  5131. class packetc2l_rand_turret_addition : public ::google::protobuf::Message {
  5132. public:
  5133. packetc2l_rand_turret_addition();
  5134. virtual ~packetc2l_rand_turret_addition();
  5135. packetc2l_rand_turret_addition(const packetc2l_rand_turret_addition& from);
  5136. inline packetc2l_rand_turret_addition& operator=(const packetc2l_rand_turret_addition& from) {
  5137. CopyFrom(from);
  5138. return *this;
  5139. }
  5140. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5141. return _unknown_fields_;
  5142. }
  5143. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5144. return &_unknown_fields_;
  5145. }
  5146. static const ::google::protobuf::Descriptor* descriptor();
  5147. static const packetc2l_rand_turret_addition& default_instance();
  5148. void Swap(packetc2l_rand_turret_addition* other);
  5149. // implements Message ----------------------------------------------
  5150. packetc2l_rand_turret_addition* New() const;
  5151. void CopyFrom(const ::google::protobuf::Message& from);
  5152. void MergeFrom(const ::google::protobuf::Message& from);
  5153. void CopyFrom(const packetc2l_rand_turret_addition& from);
  5154. void MergeFrom(const packetc2l_rand_turret_addition& from);
  5155. void Clear();
  5156. bool IsInitialized() const;
  5157. int ByteSize() const;
  5158. bool MergePartialFromCodedStream(
  5159. ::google::protobuf::io::CodedInputStream* input);
  5160. void SerializeWithCachedSizes(
  5161. ::google::protobuf::io::CodedOutputStream* output) const;
  5162. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5163. int GetCachedSize() const { return _cached_size_; }
  5164. private:
  5165. void SharedCtor();
  5166. void SharedDtor();
  5167. void SetCachedSize(int size) const;
  5168. public:
  5169. ::google::protobuf::Metadata GetMetadata() const;
  5170. // nested types ----------------------------------------------------
  5171. // accessors -------------------------------------------------------
  5172. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_rand_turret_addition];
  5173. inline bool has_packet_id() const;
  5174. inline void clear_packet_id();
  5175. static const int kPacketIdFieldNumber = 1;
  5176. inline ::fish_protocols::e_server_msg_type packet_id() const;
  5177. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5178. // optional int32 type = 2;
  5179. inline bool has_type() const;
  5180. inline void clear_type();
  5181. static const int kTypeFieldNumber = 2;
  5182. inline ::google::protobuf::int32 type() const;
  5183. inline void set_type(::google::protobuf::int32 value);
  5184. // optional int32 id = 3;
  5185. inline bool has_id() const;
  5186. inline void clear_id();
  5187. static const int kIdFieldNumber = 3;
  5188. inline ::google::protobuf::int32 id() const;
  5189. inline void set_id(::google::protobuf::int32 value);
  5190. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_rand_turret_addition)
  5191. private:
  5192. inline void set_has_packet_id();
  5193. inline void clear_has_packet_id();
  5194. inline void set_has_type();
  5195. inline void clear_has_type();
  5196. inline void set_has_id();
  5197. inline void clear_has_id();
  5198. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5199. int packet_id_;
  5200. ::google::protobuf::int32 type_;
  5201. ::google::protobuf::int32 id_;
  5202. mutable int _cached_size_;
  5203. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  5204. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5205. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5206. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5207. void InitAsDefaultInstance();
  5208. static packetc2l_rand_turret_addition* default_instance_;
  5209. };
  5210. // -------------------------------------------------------------------
  5211. class packetl2c_rand_turret_addition_result : public ::google::protobuf::Message {
  5212. public:
  5213. packetl2c_rand_turret_addition_result();
  5214. virtual ~packetl2c_rand_turret_addition_result();
  5215. packetl2c_rand_turret_addition_result(const packetl2c_rand_turret_addition_result& from);
  5216. inline packetl2c_rand_turret_addition_result& operator=(const packetl2c_rand_turret_addition_result& from) {
  5217. CopyFrom(from);
  5218. return *this;
  5219. }
  5220. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5221. return _unknown_fields_;
  5222. }
  5223. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5224. return &_unknown_fields_;
  5225. }
  5226. static const ::google::protobuf::Descriptor* descriptor();
  5227. static const packetl2c_rand_turret_addition_result& default_instance();
  5228. void Swap(packetl2c_rand_turret_addition_result* other);
  5229. // implements Message ----------------------------------------------
  5230. packetl2c_rand_turret_addition_result* New() const;
  5231. void CopyFrom(const ::google::protobuf::Message& from);
  5232. void MergeFrom(const ::google::protobuf::Message& from);
  5233. void CopyFrom(const packetl2c_rand_turret_addition_result& from);
  5234. void MergeFrom(const packetl2c_rand_turret_addition_result& from);
  5235. void Clear();
  5236. bool IsInitialized() const;
  5237. int ByteSize() const;
  5238. bool MergePartialFromCodedStream(
  5239. ::google::protobuf::io::CodedInputStream* input);
  5240. void SerializeWithCachedSizes(
  5241. ::google::protobuf::io::CodedOutputStream* output) const;
  5242. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5243. int GetCachedSize() const { return _cached_size_; }
  5244. private:
  5245. void SharedCtor();
  5246. void SharedDtor();
  5247. void SetCachedSize(int size) const;
  5248. public:
  5249. ::google::protobuf::Metadata GetMetadata() const;
  5250. // nested types ----------------------------------------------------
  5251. // accessors -------------------------------------------------------
  5252. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_rand_turret_addition_result];
  5253. inline bool has_packet_id() const;
  5254. inline void clear_packet_id();
  5255. static const int kPacketIdFieldNumber = 1;
  5256. inline ::fish_protocols::e_server_msg_type packet_id() const;
  5257. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5258. // optional int32 type = 2;
  5259. inline bool has_type() const;
  5260. inline void clear_type();
  5261. static const int kTypeFieldNumber = 2;
  5262. inline ::google::protobuf::int32 type() const;
  5263. inline void set_type(::google::protobuf::int32 value);
  5264. // optional int32 id = 3;
  5265. inline bool has_id() const;
  5266. inline void clear_id();
  5267. static const int kIdFieldNumber = 3;
  5268. inline ::google::protobuf::int32 id() const;
  5269. inline void set_id(::google::protobuf::int32 value);
  5270. // optional int32 result = 4;
  5271. inline bool has_result() const;
  5272. inline void clear_result();
  5273. static const int kResultFieldNumber = 4;
  5274. inline ::google::protobuf::int32 result() const;
  5275. inline void set_result(::google::protobuf::int32 value);
  5276. // optional int32 leftTimes = 5;
  5277. inline bool has_lefttimes() const;
  5278. inline void clear_lefttimes();
  5279. static const int kLeftTimesFieldNumber = 5;
  5280. inline ::google::protobuf::int32 lefttimes() const;
  5281. inline void set_lefttimes(::google::protobuf::int32 value);
  5282. // optional int32 addId = 6;
  5283. inline bool has_addid() const;
  5284. inline void clear_addid();
  5285. static const int kAddIdFieldNumber = 6;
  5286. inline ::google::protobuf::int32 addid() const;
  5287. inline void set_addid(::google::protobuf::int32 value);
  5288. // optional int32 costItem = 7;
  5289. inline bool has_costitem() const;
  5290. inline void clear_costitem();
  5291. static const int kCostItemFieldNumber = 7;
  5292. inline ::google::protobuf::int32 costitem() const;
  5293. inline void set_costitem(::google::protobuf::int32 value);
  5294. // optional int32 costCount = 8;
  5295. inline bool has_costcount() const;
  5296. inline void clear_costcount();
  5297. static const int kCostCountFieldNumber = 8;
  5298. inline ::google::protobuf::int32 costcount() const;
  5299. inline void set_costcount(::google::protobuf::int32 value);
  5300. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_rand_turret_addition_result)
  5301. private:
  5302. inline void set_has_packet_id();
  5303. inline void clear_has_packet_id();
  5304. inline void set_has_type();
  5305. inline void clear_has_type();
  5306. inline void set_has_id();
  5307. inline void clear_has_id();
  5308. inline void set_has_result();
  5309. inline void clear_has_result();
  5310. inline void set_has_lefttimes();
  5311. inline void clear_has_lefttimes();
  5312. inline void set_has_addid();
  5313. inline void clear_has_addid();
  5314. inline void set_has_costitem();
  5315. inline void clear_has_costitem();
  5316. inline void set_has_costcount();
  5317. inline void clear_has_costcount();
  5318. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5319. int packet_id_;
  5320. ::google::protobuf::int32 type_;
  5321. ::google::protobuf::int32 id_;
  5322. ::google::protobuf::int32 result_;
  5323. ::google::protobuf::int32 lefttimes_;
  5324. ::google::protobuf::int32 addid_;
  5325. ::google::protobuf::int32 costitem_;
  5326. ::google::protobuf::int32 costcount_;
  5327. mutable int _cached_size_;
  5328. ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
  5329. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5330. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5331. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5332. void InitAsDefaultInstance();
  5333. static packetl2c_rand_turret_addition_result* default_instance_;
  5334. };
  5335. // -------------------------------------------------------------------
  5336. class packetc2l_turret_addition_confirm : public ::google::protobuf::Message {
  5337. public:
  5338. packetc2l_turret_addition_confirm();
  5339. virtual ~packetc2l_turret_addition_confirm();
  5340. packetc2l_turret_addition_confirm(const packetc2l_turret_addition_confirm& from);
  5341. inline packetc2l_turret_addition_confirm& operator=(const packetc2l_turret_addition_confirm& from) {
  5342. CopyFrom(from);
  5343. return *this;
  5344. }
  5345. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5346. return _unknown_fields_;
  5347. }
  5348. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5349. return &_unknown_fields_;
  5350. }
  5351. static const ::google::protobuf::Descriptor* descriptor();
  5352. static const packetc2l_turret_addition_confirm& default_instance();
  5353. void Swap(packetc2l_turret_addition_confirm* other);
  5354. // implements Message ----------------------------------------------
  5355. packetc2l_turret_addition_confirm* New() const;
  5356. void CopyFrom(const ::google::protobuf::Message& from);
  5357. void MergeFrom(const ::google::protobuf::Message& from);
  5358. void CopyFrom(const packetc2l_turret_addition_confirm& from);
  5359. void MergeFrom(const packetc2l_turret_addition_confirm& from);
  5360. void Clear();
  5361. bool IsInitialized() const;
  5362. int ByteSize() const;
  5363. bool MergePartialFromCodedStream(
  5364. ::google::protobuf::io::CodedInputStream* input);
  5365. void SerializeWithCachedSizes(
  5366. ::google::protobuf::io::CodedOutputStream* output) const;
  5367. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5368. int GetCachedSize() const { return _cached_size_; }
  5369. private:
  5370. void SharedCtor();
  5371. void SharedDtor();
  5372. void SetCachedSize(int size) const;
  5373. public:
  5374. ::google::protobuf::Metadata GetMetadata() const;
  5375. // nested types ----------------------------------------------------
  5376. // accessors -------------------------------------------------------
  5377. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_addition_confirm];
  5378. inline bool has_packet_id() const;
  5379. inline void clear_packet_id();
  5380. static const int kPacketIdFieldNumber = 1;
  5381. inline ::fish_protocols::e_server_msg_type packet_id() const;
  5382. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5383. // optional int32 type = 2;
  5384. inline bool has_type() const;
  5385. inline void clear_type();
  5386. static const int kTypeFieldNumber = 2;
  5387. inline ::google::protobuf::int32 type() const;
  5388. inline void set_type(::google::protobuf::int32 value);
  5389. // optional int32 id = 3;
  5390. inline bool has_id() const;
  5391. inline void clear_id();
  5392. static const int kIdFieldNumber = 3;
  5393. inline ::google::protobuf::int32 id() const;
  5394. inline void set_id(::google::protobuf::int32 value);
  5395. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_turret_addition_confirm)
  5396. private:
  5397. inline void set_has_packet_id();
  5398. inline void clear_has_packet_id();
  5399. inline void set_has_type();
  5400. inline void clear_has_type();
  5401. inline void set_has_id();
  5402. inline void clear_has_id();
  5403. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5404. int packet_id_;
  5405. ::google::protobuf::int32 type_;
  5406. ::google::protobuf::int32 id_;
  5407. mutable int _cached_size_;
  5408. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  5409. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5410. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5411. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5412. void InitAsDefaultInstance();
  5413. static packetc2l_turret_addition_confirm* default_instance_;
  5414. };
  5415. // -------------------------------------------------------------------
  5416. class packetl2c_turret_addition_confirm_result : public ::google::protobuf::Message {
  5417. public:
  5418. packetl2c_turret_addition_confirm_result();
  5419. virtual ~packetl2c_turret_addition_confirm_result();
  5420. packetl2c_turret_addition_confirm_result(const packetl2c_turret_addition_confirm_result& from);
  5421. inline packetl2c_turret_addition_confirm_result& operator=(const packetl2c_turret_addition_confirm_result& from) {
  5422. CopyFrom(from);
  5423. return *this;
  5424. }
  5425. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5426. return _unknown_fields_;
  5427. }
  5428. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5429. return &_unknown_fields_;
  5430. }
  5431. static const ::google::protobuf::Descriptor* descriptor();
  5432. static const packetl2c_turret_addition_confirm_result& default_instance();
  5433. void Swap(packetl2c_turret_addition_confirm_result* other);
  5434. // implements Message ----------------------------------------------
  5435. packetl2c_turret_addition_confirm_result* New() const;
  5436. void CopyFrom(const ::google::protobuf::Message& from);
  5437. void MergeFrom(const ::google::protobuf::Message& from);
  5438. void CopyFrom(const packetl2c_turret_addition_confirm_result& from);
  5439. void MergeFrom(const packetl2c_turret_addition_confirm_result& from);
  5440. void Clear();
  5441. bool IsInitialized() const;
  5442. int ByteSize() const;
  5443. bool MergePartialFromCodedStream(
  5444. ::google::protobuf::io::CodedInputStream* input);
  5445. void SerializeWithCachedSizes(
  5446. ::google::protobuf::io::CodedOutputStream* output) const;
  5447. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5448. int GetCachedSize() const { return _cached_size_; }
  5449. private:
  5450. void SharedCtor();
  5451. void SharedDtor();
  5452. void SetCachedSize(int size) const;
  5453. public:
  5454. ::google::protobuf::Metadata GetMetadata() const;
  5455. // nested types ----------------------------------------------------
  5456. // accessors -------------------------------------------------------
  5457. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_addition_confirm_result];
  5458. inline bool has_packet_id() const;
  5459. inline void clear_packet_id();
  5460. static const int kPacketIdFieldNumber = 1;
  5461. inline ::fish_protocols::e_server_msg_type packet_id() const;
  5462. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5463. // optional int32 type = 2;
  5464. inline bool has_type() const;
  5465. inline void clear_type();
  5466. static const int kTypeFieldNumber = 2;
  5467. inline ::google::protobuf::int32 type() const;
  5468. inline void set_type(::google::protobuf::int32 value);
  5469. // optional int32 id = 3;
  5470. inline bool has_id() const;
  5471. inline void clear_id();
  5472. static const int kIdFieldNumber = 3;
  5473. inline ::google::protobuf::int32 id() const;
  5474. inline void set_id(::google::protobuf::int32 value);
  5475. // optional int32 result = 4;
  5476. inline bool has_result() const;
  5477. inline void clear_result();
  5478. static const int kResultFieldNumber = 4;
  5479. inline ::google::protobuf::int32 result() const;
  5480. inline void set_result(::google::protobuf::int32 value);
  5481. // optional .fish_protocols.wing_unit wingdata = 5;
  5482. inline bool has_wingdata() const;
  5483. inline void clear_wingdata();
  5484. static const int kWingdataFieldNumber = 5;
  5485. inline const ::fish_protocols::wing_unit& wingdata() const;
  5486. inline ::fish_protocols::wing_unit* mutable_wingdata();
  5487. inline ::fish_protocols::wing_unit* release_wingdata();
  5488. inline void set_allocated_wingdata(::fish_protocols::wing_unit* wingdata);
  5489. // optional .fish_protocols.turret_unit turretdata = 6;
  5490. inline bool has_turretdata() const;
  5491. inline void clear_turretdata();
  5492. static const int kTurretdataFieldNumber = 6;
  5493. inline const ::fish_protocols::turret_unit& turretdata() const;
  5494. inline ::fish_protocols::turret_unit* mutable_turretdata();
  5495. inline ::fish_protocols::turret_unit* release_turretdata();
  5496. inline void set_allocated_turretdata(::fish_protocols::turret_unit* turretdata);
  5497. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_turret_addition_confirm_result)
  5498. private:
  5499. inline void set_has_packet_id();
  5500. inline void clear_has_packet_id();
  5501. inline void set_has_type();
  5502. inline void clear_has_type();
  5503. inline void set_has_id();
  5504. inline void clear_has_id();
  5505. inline void set_has_result();
  5506. inline void clear_has_result();
  5507. inline void set_has_wingdata();
  5508. inline void clear_has_wingdata();
  5509. inline void set_has_turretdata();
  5510. inline void clear_has_turretdata();
  5511. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5512. int packet_id_;
  5513. ::google::protobuf::int32 type_;
  5514. ::google::protobuf::int32 id_;
  5515. ::google::protobuf::int32 result_;
  5516. ::fish_protocols::wing_unit* wingdata_;
  5517. ::fish_protocols::turret_unit* turretdata_;
  5518. mutable int _cached_size_;
  5519. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  5520. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5521. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5522. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5523. void InitAsDefaultInstance();
  5524. static packetl2c_turret_addition_confirm_result* default_instance_;
  5525. };
  5526. // -------------------------------------------------------------------
  5527. class packetc2l_turret_addition_reset : public ::google::protobuf::Message {
  5528. public:
  5529. packetc2l_turret_addition_reset();
  5530. virtual ~packetc2l_turret_addition_reset();
  5531. packetc2l_turret_addition_reset(const packetc2l_turret_addition_reset& from);
  5532. inline packetc2l_turret_addition_reset& operator=(const packetc2l_turret_addition_reset& from) {
  5533. CopyFrom(from);
  5534. return *this;
  5535. }
  5536. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5537. return _unknown_fields_;
  5538. }
  5539. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5540. return &_unknown_fields_;
  5541. }
  5542. static const ::google::protobuf::Descriptor* descriptor();
  5543. static const packetc2l_turret_addition_reset& default_instance();
  5544. void Swap(packetc2l_turret_addition_reset* other);
  5545. // implements Message ----------------------------------------------
  5546. packetc2l_turret_addition_reset* New() const;
  5547. void CopyFrom(const ::google::protobuf::Message& from);
  5548. void MergeFrom(const ::google::protobuf::Message& from);
  5549. void CopyFrom(const packetc2l_turret_addition_reset& from);
  5550. void MergeFrom(const packetc2l_turret_addition_reset& from);
  5551. void Clear();
  5552. bool IsInitialized() const;
  5553. int ByteSize() const;
  5554. bool MergePartialFromCodedStream(
  5555. ::google::protobuf::io::CodedInputStream* input);
  5556. void SerializeWithCachedSizes(
  5557. ::google::protobuf::io::CodedOutputStream* output) const;
  5558. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5559. int GetCachedSize() const { return _cached_size_; }
  5560. private:
  5561. void SharedCtor();
  5562. void SharedDtor();
  5563. void SetCachedSize(int size) const;
  5564. public:
  5565. ::google::protobuf::Metadata GetMetadata() const;
  5566. // nested types ----------------------------------------------------
  5567. // accessors -------------------------------------------------------
  5568. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_addition_reset];
  5569. inline bool has_packet_id() const;
  5570. inline void clear_packet_id();
  5571. static const int kPacketIdFieldNumber = 1;
  5572. inline ::fish_protocols::e_server_msg_type packet_id() const;
  5573. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5574. // optional int32 type = 2;
  5575. inline bool has_type() const;
  5576. inline void clear_type();
  5577. static const int kTypeFieldNumber = 2;
  5578. inline ::google::protobuf::int32 type() const;
  5579. inline void set_type(::google::protobuf::int32 value);
  5580. // optional int32 id = 3;
  5581. inline bool has_id() const;
  5582. inline void clear_id();
  5583. static const int kIdFieldNumber = 3;
  5584. inline ::google::protobuf::int32 id() const;
  5585. inline void set_id(::google::protobuf::int32 value);
  5586. // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_turret_addition_reset)
  5587. private:
  5588. inline void set_has_packet_id();
  5589. inline void clear_has_packet_id();
  5590. inline void set_has_type();
  5591. inline void clear_has_type();
  5592. inline void set_has_id();
  5593. inline void clear_has_id();
  5594. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5595. int packet_id_;
  5596. ::google::protobuf::int32 type_;
  5597. ::google::protobuf::int32 id_;
  5598. mutable int _cached_size_;
  5599. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  5600. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5601. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5602. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5603. void InitAsDefaultInstance();
  5604. static packetc2l_turret_addition_reset* default_instance_;
  5605. };
  5606. // -------------------------------------------------------------------
  5607. class packetl2c_turret_addition_reset_result : public ::google::protobuf::Message {
  5608. public:
  5609. packetl2c_turret_addition_reset_result();
  5610. virtual ~packetl2c_turret_addition_reset_result();
  5611. packetl2c_turret_addition_reset_result(const packetl2c_turret_addition_reset_result& from);
  5612. inline packetl2c_turret_addition_reset_result& operator=(const packetl2c_turret_addition_reset_result& from) {
  5613. CopyFrom(from);
  5614. return *this;
  5615. }
  5616. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5617. return _unknown_fields_;
  5618. }
  5619. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5620. return &_unknown_fields_;
  5621. }
  5622. static const ::google::protobuf::Descriptor* descriptor();
  5623. static const packetl2c_turret_addition_reset_result& default_instance();
  5624. void Swap(packetl2c_turret_addition_reset_result* other);
  5625. // implements Message ----------------------------------------------
  5626. packetl2c_turret_addition_reset_result* New() const;
  5627. void CopyFrom(const ::google::protobuf::Message& from);
  5628. void MergeFrom(const ::google::protobuf::Message& from);
  5629. void CopyFrom(const packetl2c_turret_addition_reset_result& from);
  5630. void MergeFrom(const packetl2c_turret_addition_reset_result& from);
  5631. void Clear();
  5632. bool IsInitialized() const;
  5633. int ByteSize() const;
  5634. bool MergePartialFromCodedStream(
  5635. ::google::protobuf::io::CodedInputStream* input);
  5636. void SerializeWithCachedSizes(
  5637. ::google::protobuf::io::CodedOutputStream* output) const;
  5638. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5639. int GetCachedSize() const { return _cached_size_; }
  5640. private:
  5641. void SharedCtor();
  5642. void SharedDtor();
  5643. void SetCachedSize(int size) const;
  5644. public:
  5645. ::google::protobuf::Metadata GetMetadata() const;
  5646. // nested types ----------------------------------------------------
  5647. // accessors -------------------------------------------------------
  5648. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_addition_reset_result];
  5649. inline bool has_packet_id() const;
  5650. inline void clear_packet_id();
  5651. static const int kPacketIdFieldNumber = 1;
  5652. inline ::fish_protocols::e_server_msg_type packet_id() const;
  5653. inline void set_packet_id(::fish_protocols::e_server_msg_type value);
  5654. // optional int32 type = 2;
  5655. inline bool has_type() const;
  5656. inline void clear_type();
  5657. static const int kTypeFieldNumber = 2;
  5658. inline ::google::protobuf::int32 type() const;
  5659. inline void set_type(::google::protobuf::int32 value);
  5660. // optional int32 id = 3;
  5661. inline bool has_id() const;
  5662. inline void clear_id();
  5663. static const int kIdFieldNumber = 3;
  5664. inline ::google::protobuf::int32 id() const;
  5665. inline void set_id(::google::protobuf::int32 value);
  5666. // optional int32 result = 4;
  5667. inline bool has_result() const;
  5668. inline void clear_result();
  5669. static const int kResultFieldNumber = 4;
  5670. inline ::google::protobuf::int32 result() const;
  5671. inline void set_result(::google::protobuf::int32 value);
  5672. // optional int32 returnCount = 5;
  5673. inline bool has_returncount() const;
  5674. inline void clear_returncount();
  5675. static const int kReturnCountFieldNumber = 5;
  5676. inline ::google::protobuf::int32 returncount() const;
  5677. inline void set_returncount(::google::protobuf::int32 value);
  5678. // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_turret_addition_reset_result)
  5679. private:
  5680. inline void set_has_packet_id();
  5681. inline void clear_has_packet_id();
  5682. inline void set_has_type();
  5683. inline void clear_has_type();
  5684. inline void set_has_id();
  5685. inline void clear_has_id();
  5686. inline void set_has_result();
  5687. inline void clear_has_result();
  5688. inline void set_has_returncount();
  5689. inline void clear_has_returncount();
  5690. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5691. int packet_id_;
  5692. ::google::protobuf::int32 type_;
  5693. ::google::protobuf::int32 id_;
  5694. ::google::protobuf::int32 result_;
  5695. ::google::protobuf::int32 returncount_;
  5696. mutable int _cached_size_;
  5697. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  5698. friend void protobuf_AddDesc_fish_5fprotocol_2eproto();
  5699. friend void protobuf_AssignDesc_fish_5fprotocol_2eproto();
  5700. friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto();
  5701. void InitAsDefaultInstance();
  5702. static packetl2c_turret_addition_reset_result* default_instance_;
  5703. };
  5704. // ===================================================================
  5705. // ===================================================================
  5706. // packetc2l_get_room_info
  5707. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_room_info];
  5708. inline bool packetc2l_get_room_info::has_packet_id() const {
  5709. return (_has_bits_[0] & 0x00000001u) != 0;
  5710. }
  5711. inline void packetc2l_get_room_info::set_has_packet_id() {
  5712. _has_bits_[0] |= 0x00000001u;
  5713. }
  5714. inline void packetc2l_get_room_info::clear_has_packet_id() {
  5715. _has_bits_[0] &= ~0x00000001u;
  5716. }
  5717. inline void packetc2l_get_room_info::clear_packet_id() {
  5718. packet_id_ = 10001;
  5719. clear_has_packet_id();
  5720. }
  5721. inline ::fish_protocols::e_server_msg_type packetc2l_get_room_info::packet_id() const {
  5722. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  5723. }
  5724. inline void packetc2l_get_room_info::set_packet_id(::fish_protocols::e_server_msg_type value) {
  5725. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  5726. set_has_packet_id();
  5727. packet_id_ = value;
  5728. }
  5729. // -------------------------------------------------------------------
  5730. // msg_room_info
  5731. // optional int32 roomid = 1;
  5732. inline bool msg_room_info::has_roomid() const {
  5733. return (_has_bits_[0] & 0x00000001u) != 0;
  5734. }
  5735. inline void msg_room_info::set_has_roomid() {
  5736. _has_bits_[0] |= 0x00000001u;
  5737. }
  5738. inline void msg_room_info::clear_has_roomid() {
  5739. _has_bits_[0] &= ~0x00000001u;
  5740. }
  5741. inline void msg_room_info::clear_roomid() {
  5742. roomid_ = 0;
  5743. clear_has_roomid();
  5744. }
  5745. inline ::google::protobuf::int32 msg_room_info::roomid() const {
  5746. return roomid_;
  5747. }
  5748. inline void msg_room_info::set_roomid(::google::protobuf::int32 value) {
  5749. set_has_roomid();
  5750. roomid_ = value;
  5751. }
  5752. // optional int32 player_count = 2;
  5753. inline bool msg_room_info::has_player_count() const {
  5754. return (_has_bits_[0] & 0x00000002u) != 0;
  5755. }
  5756. inline void msg_room_info::set_has_player_count() {
  5757. _has_bits_[0] |= 0x00000002u;
  5758. }
  5759. inline void msg_room_info::clear_has_player_count() {
  5760. _has_bits_[0] &= ~0x00000002u;
  5761. }
  5762. inline void msg_room_info::clear_player_count() {
  5763. player_count_ = 0;
  5764. clear_has_player_count();
  5765. }
  5766. inline ::google::protobuf::int32 msg_room_info::player_count() const {
  5767. return player_count_;
  5768. }
  5769. inline void msg_room_info::set_player_count(::google::protobuf::int32 value) {
  5770. set_has_player_count();
  5771. player_count_ = value;
  5772. }
  5773. // optional int64 jackpot = 3;
  5774. inline bool msg_room_info::has_jackpot() const {
  5775. return (_has_bits_[0] & 0x00000004u) != 0;
  5776. }
  5777. inline void msg_room_info::set_has_jackpot() {
  5778. _has_bits_[0] |= 0x00000004u;
  5779. }
  5780. inline void msg_room_info::clear_has_jackpot() {
  5781. _has_bits_[0] &= ~0x00000004u;
  5782. }
  5783. inline void msg_room_info::clear_jackpot() {
  5784. jackpot_ = GOOGLE_LONGLONG(0);
  5785. clear_has_jackpot();
  5786. }
  5787. inline ::google::protobuf::int64 msg_room_info::jackpot() const {
  5788. return jackpot_;
  5789. }
  5790. inline void msg_room_info::set_jackpot(::google::protobuf::int64 value) {
  5791. set_has_jackpot();
  5792. jackpot_ = value;
  5793. }
  5794. // optional int32 leftSecond = 4;
  5795. inline bool msg_room_info::has_leftsecond() const {
  5796. return (_has_bits_[0] & 0x00000008u) != 0;
  5797. }
  5798. inline void msg_room_info::set_has_leftsecond() {
  5799. _has_bits_[0] |= 0x00000008u;
  5800. }
  5801. inline void msg_room_info::clear_has_leftsecond() {
  5802. _has_bits_[0] &= ~0x00000008u;
  5803. }
  5804. inline void msg_room_info::clear_leftsecond() {
  5805. leftsecond_ = 0;
  5806. clear_has_leftsecond();
  5807. }
  5808. inline ::google::protobuf::int32 msg_room_info::leftsecond() const {
  5809. return leftsecond_;
  5810. }
  5811. inline void msg_room_info::set_leftsecond(::google::protobuf::int32 value) {
  5812. set_has_leftsecond();
  5813. leftsecond_ = value;
  5814. }
  5815. // -------------------------------------------------------------------
  5816. // packetl2c_get_room_info_result
  5817. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_room_info_result];
  5818. inline bool packetl2c_get_room_info_result::has_packet_id() const {
  5819. return (_has_bits_[0] & 0x00000001u) != 0;
  5820. }
  5821. inline void packetl2c_get_room_info_result::set_has_packet_id() {
  5822. _has_bits_[0] |= 0x00000001u;
  5823. }
  5824. inline void packetl2c_get_room_info_result::clear_has_packet_id() {
  5825. _has_bits_[0] &= ~0x00000001u;
  5826. }
  5827. inline void packetl2c_get_room_info_result::clear_packet_id() {
  5828. packet_id_ = 15001;
  5829. clear_has_packet_id();
  5830. }
  5831. inline ::fish_protocols::e_server_msg_type packetl2c_get_room_info_result::packet_id() const {
  5832. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  5833. }
  5834. inline void packetl2c_get_room_info_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  5835. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  5836. set_has_packet_id();
  5837. packet_id_ = value;
  5838. }
  5839. // repeated .fish_protocols.msg_room_info rooms = 2;
  5840. inline int packetl2c_get_room_info_result::rooms_size() const {
  5841. return rooms_.size();
  5842. }
  5843. inline void packetl2c_get_room_info_result::clear_rooms() {
  5844. rooms_.Clear();
  5845. }
  5846. inline const ::fish_protocols::msg_room_info& packetl2c_get_room_info_result::rooms(int index) const {
  5847. return rooms_.Get(index);
  5848. }
  5849. inline ::fish_protocols::msg_room_info* packetl2c_get_room_info_result::mutable_rooms(int index) {
  5850. return rooms_.Mutable(index);
  5851. }
  5852. inline ::fish_protocols::msg_room_info* packetl2c_get_room_info_result::add_rooms() {
  5853. return rooms_.Add();
  5854. }
  5855. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >&
  5856. packetl2c_get_room_info_result::rooms() const {
  5857. return rooms_;
  5858. }
  5859. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >*
  5860. packetl2c_get_room_info_result::mutable_rooms() {
  5861. return &rooms_;
  5862. }
  5863. // -------------------------------------------------------------------
  5864. // packetc2l_enter_table
  5865. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_table];
  5866. inline bool packetc2l_enter_table::has_packet_id() const {
  5867. return (_has_bits_[0] & 0x00000001u) != 0;
  5868. }
  5869. inline void packetc2l_enter_table::set_has_packet_id() {
  5870. _has_bits_[0] |= 0x00000001u;
  5871. }
  5872. inline void packetc2l_enter_table::clear_has_packet_id() {
  5873. _has_bits_[0] &= ~0x00000001u;
  5874. }
  5875. inline void packetc2l_enter_table::clear_packet_id() {
  5876. packet_id_ = 10002;
  5877. clear_has_packet_id();
  5878. }
  5879. inline ::fish_protocols::e_server_msg_type packetc2l_enter_table::packet_id() const {
  5880. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  5881. }
  5882. inline void packetc2l_enter_table::set_packet_id(::fish_protocols::e_server_msg_type value) {
  5883. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  5884. set_has_packet_id();
  5885. packet_id_ = value;
  5886. }
  5887. // optional int32 roomid = 2 [default = 0];
  5888. inline bool packetc2l_enter_table::has_roomid() const {
  5889. return (_has_bits_[0] & 0x00000002u) != 0;
  5890. }
  5891. inline void packetc2l_enter_table::set_has_roomid() {
  5892. _has_bits_[0] |= 0x00000002u;
  5893. }
  5894. inline void packetc2l_enter_table::clear_has_roomid() {
  5895. _has_bits_[0] &= ~0x00000002u;
  5896. }
  5897. inline void packetc2l_enter_table::clear_roomid() {
  5898. roomid_ = 0;
  5899. clear_has_roomid();
  5900. }
  5901. inline ::google::protobuf::int32 packetc2l_enter_table::roomid() const {
  5902. return roomid_;
  5903. }
  5904. inline void packetc2l_enter_table::set_roomid(::google::protobuf::int32 value) {
  5905. set_has_roomid();
  5906. roomid_ = value;
  5907. }
  5908. // -------------------------------------------------------------------
  5909. // packetl2c_enter_table_result
  5910. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_table_result];
  5911. inline bool packetl2c_enter_table_result::has_packet_id() const {
  5912. return (_has_bits_[0] & 0x00000001u) != 0;
  5913. }
  5914. inline void packetl2c_enter_table_result::set_has_packet_id() {
  5915. _has_bits_[0] |= 0x00000001u;
  5916. }
  5917. inline void packetl2c_enter_table_result::clear_has_packet_id() {
  5918. _has_bits_[0] &= ~0x00000001u;
  5919. }
  5920. inline void packetl2c_enter_table_result::clear_packet_id() {
  5921. packet_id_ = 15002;
  5922. clear_has_packet_id();
  5923. }
  5924. inline ::fish_protocols::e_server_msg_type packetl2c_enter_table_result::packet_id() const {
  5925. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  5926. }
  5927. inline void packetl2c_enter_table_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  5928. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  5929. set_has_packet_id();
  5930. packet_id_ = value;
  5931. }
  5932. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  5933. inline bool packetl2c_enter_table_result::has_result() const {
  5934. return (_has_bits_[0] & 0x00000002u) != 0;
  5935. }
  5936. inline void packetl2c_enter_table_result::set_has_result() {
  5937. _has_bits_[0] |= 0x00000002u;
  5938. }
  5939. inline void packetl2c_enter_table_result::clear_has_result() {
  5940. _has_bits_[0] &= ~0x00000002u;
  5941. }
  5942. inline void packetl2c_enter_table_result::clear_result() {
  5943. result_ = 2;
  5944. clear_has_result();
  5945. }
  5946. inline ::msg_type_def::e_msg_result_def packetl2c_enter_table_result::result() const {
  5947. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  5948. }
  5949. inline void packetl2c_enter_table_result::set_result(::msg_type_def::e_msg_result_def value) {
  5950. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  5951. set_has_result();
  5952. result_ = value;
  5953. }
  5954. // optional int32 roomid = 3;
  5955. inline bool packetl2c_enter_table_result::has_roomid() const {
  5956. return (_has_bits_[0] & 0x00000004u) != 0;
  5957. }
  5958. inline void packetl2c_enter_table_result::set_has_roomid() {
  5959. _has_bits_[0] |= 0x00000004u;
  5960. }
  5961. inline void packetl2c_enter_table_result::clear_has_roomid() {
  5962. _has_bits_[0] &= ~0x00000004u;
  5963. }
  5964. inline void packetl2c_enter_table_result::clear_roomid() {
  5965. roomid_ = 0;
  5966. clear_has_roomid();
  5967. }
  5968. inline ::google::protobuf::int32 packetl2c_enter_table_result::roomid() const {
  5969. return roomid_;
  5970. }
  5971. inline void packetl2c_enter_table_result::set_roomid(::google::protobuf::int32 value) {
  5972. set_has_roomid();
  5973. roomid_ = value;
  5974. }
  5975. // optional bool isRecvGemReward = 4;
  5976. inline bool packetl2c_enter_table_result::has_isrecvgemreward() const {
  5977. return (_has_bits_[0] & 0x00000008u) != 0;
  5978. }
  5979. inline void packetl2c_enter_table_result::set_has_isrecvgemreward() {
  5980. _has_bits_[0] |= 0x00000008u;
  5981. }
  5982. inline void packetl2c_enter_table_result::clear_has_isrecvgemreward() {
  5983. _has_bits_[0] &= ~0x00000008u;
  5984. }
  5985. inline void packetl2c_enter_table_result::clear_isrecvgemreward() {
  5986. isrecvgemreward_ = false;
  5987. clear_has_isrecvgemreward();
  5988. }
  5989. inline bool packetl2c_enter_table_result::isrecvgemreward() const {
  5990. return isrecvgemreward_;
  5991. }
  5992. inline void packetl2c_enter_table_result::set_isrecvgemreward(bool value) {
  5993. set_has_isrecvgemreward();
  5994. isrecvgemreward_ = value;
  5995. }
  5996. // -------------------------------------------------------------------
  5997. // packetc2l_change_table
  5998. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_table];
  5999. inline bool packetc2l_change_table::has_packet_id() const {
  6000. return (_has_bits_[0] & 0x00000001u) != 0;
  6001. }
  6002. inline void packetc2l_change_table::set_has_packet_id() {
  6003. _has_bits_[0] |= 0x00000001u;
  6004. }
  6005. inline void packetc2l_change_table::clear_has_packet_id() {
  6006. _has_bits_[0] &= ~0x00000001u;
  6007. }
  6008. inline void packetc2l_change_table::clear_packet_id() {
  6009. packet_id_ = 10113;
  6010. clear_has_packet_id();
  6011. }
  6012. inline ::fish_protocols::e_server_msg_type packetc2l_change_table::packet_id() const {
  6013. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  6014. }
  6015. inline void packetc2l_change_table::set_packet_id(::fish_protocols::e_server_msg_type value) {
  6016. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  6017. set_has_packet_id();
  6018. packet_id_ = value;
  6019. }
  6020. // -------------------------------------------------------------------
  6021. // packetl2c_change_table_result
  6022. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_table_result];
  6023. inline bool packetl2c_change_table_result::has_packet_id() const {
  6024. return (_has_bits_[0] & 0x00000001u) != 0;
  6025. }
  6026. inline void packetl2c_change_table_result::set_has_packet_id() {
  6027. _has_bits_[0] |= 0x00000001u;
  6028. }
  6029. inline void packetl2c_change_table_result::clear_has_packet_id() {
  6030. _has_bits_[0] &= ~0x00000001u;
  6031. }
  6032. inline void packetl2c_change_table_result::clear_packet_id() {
  6033. packet_id_ = 15105;
  6034. clear_has_packet_id();
  6035. }
  6036. inline ::fish_protocols::e_server_msg_type packetl2c_change_table_result::packet_id() const {
  6037. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  6038. }
  6039. inline void packetl2c_change_table_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  6040. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  6041. set_has_packet_id();
  6042. packet_id_ = value;
  6043. }
  6044. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  6045. inline bool packetl2c_change_table_result::has_result() const {
  6046. return (_has_bits_[0] & 0x00000002u) != 0;
  6047. }
  6048. inline void packetl2c_change_table_result::set_has_result() {
  6049. _has_bits_[0] |= 0x00000002u;
  6050. }
  6051. inline void packetl2c_change_table_result::clear_has_result() {
  6052. _has_bits_[0] &= ~0x00000002u;
  6053. }
  6054. inline void packetl2c_change_table_result::clear_result() {
  6055. result_ = 2;
  6056. clear_has_result();
  6057. }
  6058. inline ::msg_type_def::e_msg_result_def packetl2c_change_table_result::result() const {
  6059. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  6060. }
  6061. inline void packetl2c_change_table_result::set_result(::msg_type_def::e_msg_result_def value) {
  6062. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  6063. set_has_result();
  6064. result_ = value;
  6065. }
  6066. // -------------------------------------------------------------------
  6067. // packetc2l_leave_table
  6068. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_leave_table];
  6069. inline bool packetc2l_leave_table::has_packet_id() const {
  6070. return (_has_bits_[0] & 0x00000001u) != 0;
  6071. }
  6072. inline void packetc2l_leave_table::set_has_packet_id() {
  6073. _has_bits_[0] |= 0x00000001u;
  6074. }
  6075. inline void packetc2l_leave_table::clear_has_packet_id() {
  6076. _has_bits_[0] &= ~0x00000001u;
  6077. }
  6078. inline void packetc2l_leave_table::clear_packet_id() {
  6079. packet_id_ = 10003;
  6080. clear_has_packet_id();
  6081. }
  6082. inline ::fish_protocols::e_server_msg_type packetc2l_leave_table::packet_id() const {
  6083. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  6084. }
  6085. inline void packetc2l_leave_table::set_packet_id(::fish_protocols::e_server_msg_type value) {
  6086. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  6087. set_has_packet_id();
  6088. packet_id_ = value;
  6089. }
  6090. // -------------------------------------------------------------------
  6091. // packetl2c_leave_table_result
  6092. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_leave_table_result];
  6093. inline bool packetl2c_leave_table_result::has_packet_id() const {
  6094. return (_has_bits_[0] & 0x00000001u) != 0;
  6095. }
  6096. inline void packetl2c_leave_table_result::set_has_packet_id() {
  6097. _has_bits_[0] |= 0x00000001u;
  6098. }
  6099. inline void packetl2c_leave_table_result::clear_has_packet_id() {
  6100. _has_bits_[0] &= ~0x00000001u;
  6101. }
  6102. inline void packetl2c_leave_table_result::clear_packet_id() {
  6103. packet_id_ = 15003;
  6104. clear_has_packet_id();
  6105. }
  6106. inline ::fish_protocols::e_server_msg_type packetl2c_leave_table_result::packet_id() const {
  6107. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  6108. }
  6109. inline void packetl2c_leave_table_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  6110. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  6111. set_has_packet_id();
  6112. packet_id_ = value;
  6113. }
  6114. // optional int64 sync_gold = 2;
  6115. inline bool packetl2c_leave_table_result::has_sync_gold() const {
  6116. return (_has_bits_[0] & 0x00000002u) != 0;
  6117. }
  6118. inline void packetl2c_leave_table_result::set_has_sync_gold() {
  6119. _has_bits_[0] |= 0x00000002u;
  6120. }
  6121. inline void packetl2c_leave_table_result::clear_has_sync_gold() {
  6122. _has_bits_[0] &= ~0x00000002u;
  6123. }
  6124. inline void packetl2c_leave_table_result::clear_sync_gold() {
  6125. sync_gold_ = GOOGLE_LONGLONG(0);
  6126. clear_has_sync_gold();
  6127. }
  6128. inline ::google::protobuf::int64 packetl2c_leave_table_result::sync_gold() const {
  6129. return sync_gold_;
  6130. }
  6131. inline void packetl2c_leave_table_result::set_sync_gold(::google::protobuf::int64 value) {
  6132. set_has_sync_gold();
  6133. sync_gold_ = value;
  6134. }
  6135. // optional int32 syncDbChip = 3;
  6136. inline bool packetl2c_leave_table_result::has_syncdbchip() const {
  6137. return (_has_bits_[0] & 0x00000004u) != 0;
  6138. }
  6139. inline void packetl2c_leave_table_result::set_has_syncdbchip() {
  6140. _has_bits_[0] |= 0x00000004u;
  6141. }
  6142. inline void packetl2c_leave_table_result::clear_has_syncdbchip() {
  6143. _has_bits_[0] &= ~0x00000004u;
  6144. }
  6145. inline void packetl2c_leave_table_result::clear_syncdbchip() {
  6146. syncdbchip_ = 0;
  6147. clear_has_syncdbchip();
  6148. }
  6149. inline ::google::protobuf::int32 packetl2c_leave_table_result::syncdbchip() const {
  6150. return syncdbchip_;
  6151. }
  6152. inline void packetl2c_leave_table_result::set_syncdbchip(::google::protobuf::int32 value) {
  6153. set_has_syncdbchip();
  6154. syncdbchip_ = value;
  6155. }
  6156. // optional int64 playerExp = 4;
  6157. inline bool packetl2c_leave_table_result::has_playerexp() const {
  6158. return (_has_bits_[0] & 0x00000008u) != 0;
  6159. }
  6160. inline void packetl2c_leave_table_result::set_has_playerexp() {
  6161. _has_bits_[0] |= 0x00000008u;
  6162. }
  6163. inline void packetl2c_leave_table_result::clear_has_playerexp() {
  6164. _has_bits_[0] &= ~0x00000008u;
  6165. }
  6166. inline void packetl2c_leave_table_result::clear_playerexp() {
  6167. playerexp_ = GOOGLE_LONGLONG(0);
  6168. clear_has_playerexp();
  6169. }
  6170. inline ::google::protobuf::int64 packetl2c_leave_table_result::playerexp() const {
  6171. return playerexp_;
  6172. }
  6173. inline void packetl2c_leave_table_result::set_playerexp(::google::protobuf::int64 value) {
  6174. set_has_playerexp();
  6175. playerexp_ = value;
  6176. }
  6177. // -------------------------------------------------------------------
  6178. // packetc2l_check_state
  6179. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_check_state];
  6180. inline bool packetc2l_check_state::has_packet_id() const {
  6181. return (_has_bits_[0] & 0x00000001u) != 0;
  6182. }
  6183. inline void packetc2l_check_state::set_has_packet_id() {
  6184. _has_bits_[0] |= 0x00000001u;
  6185. }
  6186. inline void packetc2l_check_state::clear_has_packet_id() {
  6187. _has_bits_[0] &= ~0x00000001u;
  6188. }
  6189. inline void packetc2l_check_state::clear_packet_id() {
  6190. packet_id_ = 10004;
  6191. clear_has_packet_id();
  6192. }
  6193. inline ::fish_protocols::e_server_msg_type packetc2l_check_state::packet_id() const {
  6194. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  6195. }
  6196. inline void packetc2l_check_state::set_packet_id(::fish_protocols::e_server_msg_type value) {
  6197. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  6198. set_has_packet_id();
  6199. packet_id_ = value;
  6200. }
  6201. // -------------------------------------------------------------------
  6202. // skill_unit
  6203. // optional int32 skillId = 1;
  6204. inline bool skill_unit::has_skillid() const {
  6205. return (_has_bits_[0] & 0x00000001u) != 0;
  6206. }
  6207. inline void skill_unit::set_has_skillid() {
  6208. _has_bits_[0] |= 0x00000001u;
  6209. }
  6210. inline void skill_unit::clear_has_skillid() {
  6211. _has_bits_[0] &= ~0x00000001u;
  6212. }
  6213. inline void skill_unit::clear_skillid() {
  6214. skillid_ = 0;
  6215. clear_has_skillid();
  6216. }
  6217. inline ::google::protobuf::int32 skill_unit::skillid() const {
  6218. return skillid_;
  6219. }
  6220. inline void skill_unit::set_skillid(::google::protobuf::int32 value) {
  6221. set_has_skillid();
  6222. skillid_ = value;
  6223. }
  6224. // optional int32 addTimes = 2;
  6225. inline bool skill_unit::has_addtimes() const {
  6226. return (_has_bits_[0] & 0x00000002u) != 0;
  6227. }
  6228. inline void skill_unit::set_has_addtimes() {
  6229. _has_bits_[0] |= 0x00000002u;
  6230. }
  6231. inline void skill_unit::clear_has_addtimes() {
  6232. _has_bits_[0] &= ~0x00000002u;
  6233. }
  6234. inline void skill_unit::clear_addtimes() {
  6235. addtimes_ = 0;
  6236. clear_has_addtimes();
  6237. }
  6238. inline ::google::protobuf::int32 skill_unit::addtimes() const {
  6239. return addtimes_;
  6240. }
  6241. inline void skill_unit::set_addtimes(::google::protobuf::int32 value) {
  6242. set_has_addtimes();
  6243. addtimes_ = value;
  6244. }
  6245. // -------------------------------------------------------------------
  6246. // turret_unit
  6247. // optional int32 turretId = 1;
  6248. inline bool turret_unit::has_turretid() const {
  6249. return (_has_bits_[0] & 0x00000001u) != 0;
  6250. }
  6251. inline void turret_unit::set_has_turretid() {
  6252. _has_bits_[0] |= 0x00000001u;
  6253. }
  6254. inline void turret_unit::clear_has_turretid() {
  6255. _has_bits_[0] &= ~0x00000001u;
  6256. }
  6257. inline void turret_unit::clear_turretid() {
  6258. turretid_ = 0;
  6259. clear_has_turretid();
  6260. }
  6261. inline ::google::protobuf::int32 turret_unit::turretid() const {
  6262. return turretid_;
  6263. }
  6264. inline void turret_unit::set_turretid(::google::protobuf::int32 value) {
  6265. set_has_turretid();
  6266. turretid_ = value;
  6267. }
  6268. // optional int32 additionLv = 2;
  6269. inline bool turret_unit::has_additionlv() const {
  6270. return (_has_bits_[0] & 0x00000002u) != 0;
  6271. }
  6272. inline void turret_unit::set_has_additionlv() {
  6273. _has_bits_[0] |= 0x00000002u;
  6274. }
  6275. inline void turret_unit::clear_has_additionlv() {
  6276. _has_bits_[0] &= ~0x00000002u;
  6277. }
  6278. inline void turret_unit::clear_additionlv() {
  6279. additionlv_ = 0;
  6280. clear_has_additionlv();
  6281. }
  6282. inline ::google::protobuf::int32 turret_unit::additionlv() const {
  6283. return additionlv_;
  6284. }
  6285. inline void turret_unit::set_additionlv(::google::protobuf::int32 value) {
  6286. set_has_additionlv();
  6287. additionlv_ = value;
  6288. }
  6289. // optional int32 endTime = 3;
  6290. inline bool turret_unit::has_endtime() const {
  6291. return (_has_bits_[0] & 0x00000004u) != 0;
  6292. }
  6293. inline void turret_unit::set_has_endtime() {
  6294. _has_bits_[0] |= 0x00000004u;
  6295. }
  6296. inline void turret_unit::clear_has_endtime() {
  6297. _has_bits_[0] &= ~0x00000004u;
  6298. }
  6299. inline void turret_unit::clear_endtime() {
  6300. endtime_ = 0;
  6301. clear_has_endtime();
  6302. }
  6303. inline ::google::protobuf::int32 turret_unit::endtime() const {
  6304. return endtime_;
  6305. }
  6306. inline void turret_unit::set_endtime(::google::protobuf::int32 value) {
  6307. set_has_endtime();
  6308. endtime_ = value;
  6309. }
  6310. // repeated .fish_protocols.skill_unit addtionList = 4;
  6311. inline int turret_unit::addtionlist_size() const {
  6312. return addtionlist_.size();
  6313. }
  6314. inline void turret_unit::clear_addtionlist() {
  6315. addtionlist_.Clear();
  6316. }
  6317. inline const ::fish_protocols::skill_unit& turret_unit::addtionlist(int index) const {
  6318. return addtionlist_.Get(index);
  6319. }
  6320. inline ::fish_protocols::skill_unit* turret_unit::mutable_addtionlist(int index) {
  6321. return addtionlist_.Mutable(index);
  6322. }
  6323. inline ::fish_protocols::skill_unit* turret_unit::add_addtionlist() {
  6324. return addtionlist_.Add();
  6325. }
  6326. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >&
  6327. turret_unit::addtionlist() const {
  6328. return addtionlist_;
  6329. }
  6330. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >*
  6331. turret_unit::mutable_addtionlist() {
  6332. return &addtionlist_;
  6333. }
  6334. // -------------------------------------------------------------------
  6335. // wing_unit
  6336. // optional int32 wingId = 1;
  6337. inline bool wing_unit::has_wingid() const {
  6338. return (_has_bits_[0] & 0x00000001u) != 0;
  6339. }
  6340. inline void wing_unit::set_has_wingid() {
  6341. _has_bits_[0] |= 0x00000001u;
  6342. }
  6343. inline void wing_unit::clear_has_wingid() {
  6344. _has_bits_[0] &= ~0x00000001u;
  6345. }
  6346. inline void wing_unit::clear_wingid() {
  6347. wingid_ = 0;
  6348. clear_has_wingid();
  6349. }
  6350. inline ::google::protobuf::int32 wing_unit::wingid() const {
  6351. return wingid_;
  6352. }
  6353. inline void wing_unit::set_wingid(::google::protobuf::int32 value) {
  6354. set_has_wingid();
  6355. wingid_ = value;
  6356. }
  6357. // optional int32 additionLv = 2;
  6358. inline bool wing_unit::has_additionlv() const {
  6359. return (_has_bits_[0] & 0x00000002u) != 0;
  6360. }
  6361. inline void wing_unit::set_has_additionlv() {
  6362. _has_bits_[0] |= 0x00000002u;
  6363. }
  6364. inline void wing_unit::clear_has_additionlv() {
  6365. _has_bits_[0] &= ~0x00000002u;
  6366. }
  6367. inline void wing_unit::clear_additionlv() {
  6368. additionlv_ = 0;
  6369. clear_has_additionlv();
  6370. }
  6371. inline ::google::protobuf::int32 wing_unit::additionlv() const {
  6372. return additionlv_;
  6373. }
  6374. inline void wing_unit::set_additionlv(::google::protobuf::int32 value) {
  6375. set_has_additionlv();
  6376. additionlv_ = value;
  6377. }
  6378. // optional int32 endTime = 3;
  6379. inline bool wing_unit::has_endtime() const {
  6380. return (_has_bits_[0] & 0x00000004u) != 0;
  6381. }
  6382. inline void wing_unit::set_has_endtime() {
  6383. _has_bits_[0] |= 0x00000004u;
  6384. }
  6385. inline void wing_unit::clear_has_endtime() {
  6386. _has_bits_[0] &= ~0x00000004u;
  6387. }
  6388. inline void wing_unit::clear_endtime() {
  6389. endtime_ = 0;
  6390. clear_has_endtime();
  6391. }
  6392. inline ::google::protobuf::int32 wing_unit::endtime() const {
  6393. return endtime_;
  6394. }
  6395. inline void wing_unit::set_endtime(::google::protobuf::int32 value) {
  6396. set_has_endtime();
  6397. endtime_ = value;
  6398. }
  6399. // optional int32 randTimes = 4;
  6400. inline bool wing_unit::has_randtimes() const {
  6401. return (_has_bits_[0] & 0x00000008u) != 0;
  6402. }
  6403. inline void wing_unit::set_has_randtimes() {
  6404. _has_bits_[0] |= 0x00000008u;
  6405. }
  6406. inline void wing_unit::clear_has_randtimes() {
  6407. _has_bits_[0] &= ~0x00000008u;
  6408. }
  6409. inline void wing_unit::clear_randtimes() {
  6410. randtimes_ = 0;
  6411. clear_has_randtimes();
  6412. }
  6413. inline ::google::protobuf::int32 wing_unit::randtimes() const {
  6414. return randtimes_;
  6415. }
  6416. inline void wing_unit::set_randtimes(::google::protobuf::int32 value) {
  6417. set_has_randtimes();
  6418. randtimes_ = value;
  6419. }
  6420. // optional int32 randId = 5;
  6421. inline bool wing_unit::has_randid() const {
  6422. return (_has_bits_[0] & 0x00000010u) != 0;
  6423. }
  6424. inline void wing_unit::set_has_randid() {
  6425. _has_bits_[0] |= 0x00000010u;
  6426. }
  6427. inline void wing_unit::clear_has_randid() {
  6428. _has_bits_[0] &= ~0x00000010u;
  6429. }
  6430. inline void wing_unit::clear_randid() {
  6431. randid_ = 0;
  6432. clear_has_randid();
  6433. }
  6434. inline ::google::protobuf::int32 wing_unit::randid() const {
  6435. return randid_;
  6436. }
  6437. inline void wing_unit::set_randid(::google::protobuf::int32 value) {
  6438. set_has_randid();
  6439. randid_ = value;
  6440. }
  6441. // repeated .fish_protocols.skill_unit addtionList = 6;
  6442. inline int wing_unit::addtionlist_size() const {
  6443. return addtionlist_.size();
  6444. }
  6445. inline void wing_unit::clear_addtionlist() {
  6446. addtionlist_.Clear();
  6447. }
  6448. inline const ::fish_protocols::skill_unit& wing_unit::addtionlist(int index) const {
  6449. return addtionlist_.Get(index);
  6450. }
  6451. inline ::fish_protocols::skill_unit* wing_unit::mutable_addtionlist(int index) {
  6452. return addtionlist_.Mutable(index);
  6453. }
  6454. inline ::fish_protocols::skill_unit* wing_unit::add_addtionlist() {
  6455. return addtionlist_.Add();
  6456. }
  6457. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >&
  6458. wing_unit::addtionlist() const {
  6459. return addtionlist_;
  6460. }
  6461. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >*
  6462. wing_unit::mutable_addtionlist() {
  6463. return &addtionlist_;
  6464. }
  6465. // -------------------------------------------------------------------
  6466. // packetl2c_check_state_result
  6467. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_check_state_result];
  6468. inline bool packetl2c_check_state_result::has_packet_id() const {
  6469. return (_has_bits_[0] & 0x00000001u) != 0;
  6470. }
  6471. inline void packetl2c_check_state_result::set_has_packet_id() {
  6472. _has_bits_[0] |= 0x00000001u;
  6473. }
  6474. inline void packetl2c_check_state_result::clear_has_packet_id() {
  6475. _has_bits_[0] &= ~0x00000001u;
  6476. }
  6477. inline void packetl2c_check_state_result::clear_packet_id() {
  6478. packet_id_ = 15004;
  6479. clear_has_packet_id();
  6480. }
  6481. inline ::fish_protocols::e_server_msg_type packetl2c_check_state_result::packet_id() const {
  6482. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  6483. }
  6484. inline void packetl2c_check_state_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  6485. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  6486. set_has_packet_id();
  6487. packet_id_ = value;
  6488. }
  6489. // optional bool is_intable = 2 [default = false];
  6490. inline bool packetl2c_check_state_result::has_is_intable() const {
  6491. return (_has_bits_[0] & 0x00000002u) != 0;
  6492. }
  6493. inline void packetl2c_check_state_result::set_has_is_intable() {
  6494. _has_bits_[0] |= 0x00000002u;
  6495. }
  6496. inline void packetl2c_check_state_result::clear_has_is_intable() {
  6497. _has_bits_[0] &= ~0x00000002u;
  6498. }
  6499. inline void packetl2c_check_state_result::clear_is_intable() {
  6500. is_intable_ = false;
  6501. clear_has_is_intable();
  6502. }
  6503. inline bool packetl2c_check_state_result::is_intable() const {
  6504. return is_intable_;
  6505. }
  6506. inline void packetl2c_check_state_result::set_is_intable(bool value) {
  6507. set_has_is_intable();
  6508. is_intable_ = value;
  6509. }
  6510. // repeated .fish_protocols.msg_item itemlist = 3;
  6511. inline int packetl2c_check_state_result::itemlist_size() const {
  6512. return itemlist_.size();
  6513. }
  6514. inline void packetl2c_check_state_result::clear_itemlist() {
  6515. itemlist_.Clear();
  6516. }
  6517. inline const ::fish_protocols::msg_item& packetl2c_check_state_result::itemlist(int index) const {
  6518. return itemlist_.Get(index);
  6519. }
  6520. inline ::fish_protocols::msg_item* packetl2c_check_state_result::mutable_itemlist(int index) {
  6521. return itemlist_.Mutable(index);
  6522. }
  6523. inline ::fish_protocols::msg_item* packetl2c_check_state_result::add_itemlist() {
  6524. return itemlist_.Add();
  6525. }
  6526. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  6527. packetl2c_check_state_result::itemlist() const {
  6528. return itemlist_;
  6529. }
  6530. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  6531. packetl2c_check_state_result::mutable_itemlist() {
  6532. return &itemlist_;
  6533. }
  6534. // repeated .fish_protocols.turret_unit turretlist = 4;
  6535. inline int packetl2c_check_state_result::turretlist_size() const {
  6536. return turretlist_.size();
  6537. }
  6538. inline void packetl2c_check_state_result::clear_turretlist() {
  6539. turretlist_.Clear();
  6540. }
  6541. inline const ::fish_protocols::turret_unit& packetl2c_check_state_result::turretlist(int index) const {
  6542. return turretlist_.Get(index);
  6543. }
  6544. inline ::fish_protocols::turret_unit* packetl2c_check_state_result::mutable_turretlist(int index) {
  6545. return turretlist_.Mutable(index);
  6546. }
  6547. inline ::fish_protocols::turret_unit* packetl2c_check_state_result::add_turretlist() {
  6548. return turretlist_.Add();
  6549. }
  6550. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >&
  6551. packetl2c_check_state_result::turretlist() const {
  6552. return turretlist_;
  6553. }
  6554. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >*
  6555. packetl2c_check_state_result::mutable_turretlist() {
  6556. return &turretlist_;
  6557. }
  6558. // repeated .fish_protocols.wing_unit winglist = 5;
  6559. inline int packetl2c_check_state_result::winglist_size() const {
  6560. return winglist_.size();
  6561. }
  6562. inline void packetl2c_check_state_result::clear_winglist() {
  6563. winglist_.Clear();
  6564. }
  6565. inline const ::fish_protocols::wing_unit& packetl2c_check_state_result::winglist(int index) const {
  6566. return winglist_.Get(index);
  6567. }
  6568. inline ::fish_protocols::wing_unit* packetl2c_check_state_result::mutable_winglist(int index) {
  6569. return winglist_.Mutable(index);
  6570. }
  6571. inline ::fish_protocols::wing_unit* packetl2c_check_state_result::add_winglist() {
  6572. return winglist_.Add();
  6573. }
  6574. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >&
  6575. packetl2c_check_state_result::winglist() const {
  6576. return winglist_;
  6577. }
  6578. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >*
  6579. packetl2c_check_state_result::mutable_winglist() {
  6580. return &winglist_;
  6581. }
  6582. // optional int32 turret_id = 6;
  6583. inline bool packetl2c_check_state_result::has_turret_id() const {
  6584. return (_has_bits_[0] & 0x00000020u) != 0;
  6585. }
  6586. inline void packetl2c_check_state_result::set_has_turret_id() {
  6587. _has_bits_[0] |= 0x00000020u;
  6588. }
  6589. inline void packetl2c_check_state_result::clear_has_turret_id() {
  6590. _has_bits_[0] &= ~0x00000020u;
  6591. }
  6592. inline void packetl2c_check_state_result::clear_turret_id() {
  6593. turret_id_ = 0;
  6594. clear_has_turret_id();
  6595. }
  6596. inline ::google::protobuf::int32 packetl2c_check_state_result::turret_id() const {
  6597. return turret_id_;
  6598. }
  6599. inline void packetl2c_check_state_result::set_turret_id(::google::protobuf::int32 value) {
  6600. set_has_turret_id();
  6601. turret_id_ = value;
  6602. }
  6603. // optional int32 wing_id = 7;
  6604. inline bool packetl2c_check_state_result::has_wing_id() const {
  6605. return (_has_bits_[0] & 0x00000040u) != 0;
  6606. }
  6607. inline void packetl2c_check_state_result::set_has_wing_id() {
  6608. _has_bits_[0] |= 0x00000040u;
  6609. }
  6610. inline void packetl2c_check_state_result::clear_has_wing_id() {
  6611. _has_bits_[0] &= ~0x00000040u;
  6612. }
  6613. inline void packetl2c_check_state_result::clear_wing_id() {
  6614. wing_id_ = 0;
  6615. clear_has_wing_id();
  6616. }
  6617. inline ::google::protobuf::int32 packetl2c_check_state_result::wing_id() const {
  6618. return wing_id_;
  6619. }
  6620. inline void packetl2c_check_state_result::set_wing_id(::google::protobuf::int32 value) {
  6621. set_has_wing_id();
  6622. wing_id_ = value;
  6623. }
  6624. // optional int32 headId = 8;
  6625. inline bool packetl2c_check_state_result::has_headid() const {
  6626. return (_has_bits_[0] & 0x00000080u) != 0;
  6627. }
  6628. inline void packetl2c_check_state_result::set_has_headid() {
  6629. _has_bits_[0] |= 0x00000080u;
  6630. }
  6631. inline void packetl2c_check_state_result::clear_has_headid() {
  6632. _has_bits_[0] &= ~0x00000080u;
  6633. }
  6634. inline void packetl2c_check_state_result::clear_headid() {
  6635. headid_ = 0;
  6636. clear_has_headid();
  6637. }
  6638. inline ::google::protobuf::int32 packetl2c_check_state_result::headid() const {
  6639. return headid_;
  6640. }
  6641. inline void packetl2c_check_state_result::set_headid(::google::protobuf::int32 value) {
  6642. set_has_headid();
  6643. headid_ = value;
  6644. }
  6645. // optional int32 frameId = 9;
  6646. inline bool packetl2c_check_state_result::has_frameid() const {
  6647. return (_has_bits_[0] & 0x00000100u) != 0;
  6648. }
  6649. inline void packetl2c_check_state_result::set_has_frameid() {
  6650. _has_bits_[0] |= 0x00000100u;
  6651. }
  6652. inline void packetl2c_check_state_result::clear_has_frameid() {
  6653. _has_bits_[0] &= ~0x00000100u;
  6654. }
  6655. inline void packetl2c_check_state_result::clear_frameid() {
  6656. frameid_ = 0;
  6657. clear_has_frameid();
  6658. }
  6659. inline ::google::protobuf::int32 packetl2c_check_state_result::frameid() const {
  6660. return frameid_;
  6661. }
  6662. inline void packetl2c_check_state_result::set_frameid(::google::protobuf::int32 value) {
  6663. set_has_frameid();
  6664. frameid_ = value;
  6665. }
  6666. // optional int32 playerlvl = 10;
  6667. inline bool packetl2c_check_state_result::has_playerlvl() const {
  6668. return (_has_bits_[0] & 0x00000200u) != 0;
  6669. }
  6670. inline void packetl2c_check_state_result::set_has_playerlvl() {
  6671. _has_bits_[0] |= 0x00000200u;
  6672. }
  6673. inline void packetl2c_check_state_result::clear_has_playerlvl() {
  6674. _has_bits_[0] &= ~0x00000200u;
  6675. }
  6676. inline void packetl2c_check_state_result::clear_playerlvl() {
  6677. playerlvl_ = 0;
  6678. clear_has_playerlvl();
  6679. }
  6680. inline ::google::protobuf::int32 packetl2c_check_state_result::playerlvl() const {
  6681. return playerlvl_;
  6682. }
  6683. inline void packetl2c_check_state_result::set_playerlvl(::google::protobuf::int32 value) {
  6684. set_has_playerlvl();
  6685. playerlvl_ = value;
  6686. }
  6687. // optional int32 turretlvl = 11;
  6688. inline bool packetl2c_check_state_result::has_turretlvl() const {
  6689. return (_has_bits_[0] & 0x00000400u) != 0;
  6690. }
  6691. inline void packetl2c_check_state_result::set_has_turretlvl() {
  6692. _has_bits_[0] |= 0x00000400u;
  6693. }
  6694. inline void packetl2c_check_state_result::clear_has_turretlvl() {
  6695. _has_bits_[0] &= ~0x00000400u;
  6696. }
  6697. inline void packetl2c_check_state_result::clear_turretlvl() {
  6698. turretlvl_ = 0;
  6699. clear_has_turretlvl();
  6700. }
  6701. inline ::google::protobuf::int32 packetl2c_check_state_result::turretlvl() const {
  6702. return turretlvl_;
  6703. }
  6704. inline void packetl2c_check_state_result::set_turretlvl(::google::protobuf::int32 value) {
  6705. set_has_turretlvl();
  6706. turretlvl_ = value;
  6707. }
  6708. // optional int64 gameexp = 12;
  6709. inline bool packetl2c_check_state_result::has_gameexp() const {
  6710. return (_has_bits_[0] & 0x00000800u) != 0;
  6711. }
  6712. inline void packetl2c_check_state_result::set_has_gameexp() {
  6713. _has_bits_[0] |= 0x00000800u;
  6714. }
  6715. inline void packetl2c_check_state_result::clear_has_gameexp() {
  6716. _has_bits_[0] &= ~0x00000800u;
  6717. }
  6718. inline void packetl2c_check_state_result::clear_gameexp() {
  6719. gameexp_ = GOOGLE_LONGLONG(0);
  6720. clear_has_gameexp();
  6721. }
  6722. inline ::google::protobuf::int64 packetl2c_check_state_result::gameexp() const {
  6723. return gameexp_;
  6724. }
  6725. inline void packetl2c_check_state_result::set_gameexp(::google::protobuf::int64 value) {
  6726. set_has_gameexp();
  6727. gameexp_ = value;
  6728. }
  6729. // optional int32 dimensity = 13;
  6730. inline bool packetl2c_check_state_result::has_dimensity() const {
  6731. return (_has_bits_[0] & 0x00001000u) != 0;
  6732. }
  6733. inline void packetl2c_check_state_result::set_has_dimensity() {
  6734. _has_bits_[0] |= 0x00001000u;
  6735. }
  6736. inline void packetl2c_check_state_result::clear_has_dimensity() {
  6737. _has_bits_[0] &= ~0x00001000u;
  6738. }
  6739. inline void packetl2c_check_state_result::clear_dimensity() {
  6740. dimensity_ = 0;
  6741. clear_has_dimensity();
  6742. }
  6743. inline ::google::protobuf::int32 packetl2c_check_state_result::dimensity() const {
  6744. return dimensity_;
  6745. }
  6746. inline void packetl2c_check_state_result::set_dimensity(::google::protobuf::int32 value) {
  6747. set_has_dimensity();
  6748. dimensity_ = value;
  6749. }
  6750. // optional int32 roomId = 14;
  6751. inline bool packetl2c_check_state_result::has_roomid() const {
  6752. return (_has_bits_[0] & 0x00002000u) != 0;
  6753. }
  6754. inline void packetl2c_check_state_result::set_has_roomid() {
  6755. _has_bits_[0] |= 0x00002000u;
  6756. }
  6757. inline void packetl2c_check_state_result::clear_has_roomid() {
  6758. _has_bits_[0] &= ~0x00002000u;
  6759. }
  6760. inline void packetl2c_check_state_result::clear_roomid() {
  6761. roomid_ = 0;
  6762. clear_has_roomid();
  6763. }
  6764. inline ::google::protobuf::int32 packetl2c_check_state_result::roomid() const {
  6765. return roomid_;
  6766. }
  6767. inline void packetl2c_check_state_result::set_roomid(::google::protobuf::int32 value) {
  6768. set_has_roomid();
  6769. roomid_ = value;
  6770. }
  6771. // optional int32 kill_goldfish_count = 15;
  6772. inline bool packetl2c_check_state_result::has_kill_goldfish_count() const {
  6773. return (_has_bits_[0] & 0x00004000u) != 0;
  6774. }
  6775. inline void packetl2c_check_state_result::set_has_kill_goldfish_count() {
  6776. _has_bits_[0] |= 0x00004000u;
  6777. }
  6778. inline void packetl2c_check_state_result::clear_has_kill_goldfish_count() {
  6779. _has_bits_[0] &= ~0x00004000u;
  6780. }
  6781. inline void packetl2c_check_state_result::clear_kill_goldfish_count() {
  6782. kill_goldfish_count_ = 0;
  6783. clear_has_kill_goldfish_count();
  6784. }
  6785. inline ::google::protobuf::int32 packetl2c_check_state_result::kill_goldfish_count() const {
  6786. return kill_goldfish_count_;
  6787. }
  6788. inline void packetl2c_check_state_result::set_kill_goldfish_count(::google::protobuf::int32 value) {
  6789. set_has_kill_goldfish_count();
  6790. kill_goldfish_count_ = value;
  6791. }
  6792. // optional int32 goldfish_pool = 16;
  6793. inline bool packetl2c_check_state_result::has_goldfish_pool() const {
  6794. return (_has_bits_[0] & 0x00008000u) != 0;
  6795. }
  6796. inline void packetl2c_check_state_result::set_has_goldfish_pool() {
  6797. _has_bits_[0] |= 0x00008000u;
  6798. }
  6799. inline void packetl2c_check_state_result::clear_has_goldfish_pool() {
  6800. _has_bits_[0] &= ~0x00008000u;
  6801. }
  6802. inline void packetl2c_check_state_result::clear_goldfish_pool() {
  6803. goldfish_pool_ = 0;
  6804. clear_has_goldfish_pool();
  6805. }
  6806. inline ::google::protobuf::int32 packetl2c_check_state_result::goldfish_pool() const {
  6807. return goldfish_pool_;
  6808. }
  6809. inline void packetl2c_check_state_result::set_goldfish_pool(::google::protobuf::int32 value) {
  6810. set_has_goldfish_pool();
  6811. goldfish_pool_ = value;
  6812. }
  6813. // optional int32 goldfish_lottery_count = 17;
  6814. inline bool packetl2c_check_state_result::has_goldfish_lottery_count() const {
  6815. return (_has_bits_[0] & 0x00010000u) != 0;
  6816. }
  6817. inline void packetl2c_check_state_result::set_has_goldfish_lottery_count() {
  6818. _has_bits_[0] |= 0x00010000u;
  6819. }
  6820. inline void packetl2c_check_state_result::clear_has_goldfish_lottery_count() {
  6821. _has_bits_[0] &= ~0x00010000u;
  6822. }
  6823. inline void packetl2c_check_state_result::clear_goldfish_lottery_count() {
  6824. goldfish_lottery_count_ = 0;
  6825. clear_has_goldfish_lottery_count();
  6826. }
  6827. inline ::google::protobuf::int32 packetl2c_check_state_result::goldfish_lottery_count() const {
  6828. return goldfish_lottery_count_;
  6829. }
  6830. inline void packetl2c_check_state_result::set_goldfish_lottery_count(::google::protobuf::int32 value) {
  6831. set_has_goldfish_lottery_count();
  6832. goldfish_lottery_count_ = value;
  6833. }
  6834. // optional int32 dailyAdTimes = 18;
  6835. inline bool packetl2c_check_state_result::has_dailyadtimes() const {
  6836. return (_has_bits_[0] & 0x00020000u) != 0;
  6837. }
  6838. inline void packetl2c_check_state_result::set_has_dailyadtimes() {
  6839. _has_bits_[0] |= 0x00020000u;
  6840. }
  6841. inline void packetl2c_check_state_result::clear_has_dailyadtimes() {
  6842. _has_bits_[0] &= ~0x00020000u;
  6843. }
  6844. inline void packetl2c_check_state_result::clear_dailyadtimes() {
  6845. dailyadtimes_ = 0;
  6846. clear_has_dailyadtimes();
  6847. }
  6848. inline ::google::protobuf::int32 packetl2c_check_state_result::dailyadtimes() const {
  6849. return dailyadtimes_;
  6850. }
  6851. inline void packetl2c_check_state_result::set_dailyadtimes(::google::protobuf::int32 value) {
  6852. set_has_dailyadtimes();
  6853. dailyadtimes_ = value;
  6854. }
  6855. // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 19;
  6856. inline int packetl2c_check_state_result::redenvlopeinfos_size() const {
  6857. return redenvlopeinfos_.size();
  6858. }
  6859. inline void packetl2c_check_state_result::clear_redenvlopeinfos() {
  6860. redenvlopeinfos_.Clear();
  6861. }
  6862. inline const ::fish_protocols::redEnvlopeInfo& packetl2c_check_state_result::redenvlopeinfos(int index) const {
  6863. return redenvlopeinfos_.Get(index);
  6864. }
  6865. inline ::fish_protocols::redEnvlopeInfo* packetl2c_check_state_result::mutable_redenvlopeinfos(int index) {
  6866. return redenvlopeinfos_.Mutable(index);
  6867. }
  6868. inline ::fish_protocols::redEnvlopeInfo* packetl2c_check_state_result::add_redenvlopeinfos() {
  6869. return redenvlopeinfos_.Add();
  6870. }
  6871. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >&
  6872. packetl2c_check_state_result::redenvlopeinfos() const {
  6873. return redenvlopeinfos_;
  6874. }
  6875. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >*
  6876. packetl2c_check_state_result::mutable_redenvlopeinfos() {
  6877. return &redenvlopeinfos_;
  6878. }
  6879. // optional int32 autofirelefttime = 20;
  6880. inline bool packetl2c_check_state_result::has_autofirelefttime() const {
  6881. return (_has_bits_[0] & 0x00080000u) != 0;
  6882. }
  6883. inline void packetl2c_check_state_result::set_has_autofirelefttime() {
  6884. _has_bits_[0] |= 0x00080000u;
  6885. }
  6886. inline void packetl2c_check_state_result::clear_has_autofirelefttime() {
  6887. _has_bits_[0] &= ~0x00080000u;
  6888. }
  6889. inline void packetl2c_check_state_result::clear_autofirelefttime() {
  6890. autofirelefttime_ = 0;
  6891. clear_has_autofirelefttime();
  6892. }
  6893. inline ::google::protobuf::int32 packetl2c_check_state_result::autofirelefttime() const {
  6894. return autofirelefttime_;
  6895. }
  6896. inline void packetl2c_check_state_result::set_autofirelefttime(::google::protobuf::int32 value) {
  6897. set_has_autofirelefttime();
  6898. autofirelefttime_ = value;
  6899. }
  6900. // optional int32 canReceiveTommorrowBuffCount = 21;
  6901. inline bool packetl2c_check_state_result::has_canreceivetommorrowbuffcount() const {
  6902. return (_has_bits_[0] & 0x00100000u) != 0;
  6903. }
  6904. inline void packetl2c_check_state_result::set_has_canreceivetommorrowbuffcount() {
  6905. _has_bits_[0] |= 0x00100000u;
  6906. }
  6907. inline void packetl2c_check_state_result::clear_has_canreceivetommorrowbuffcount() {
  6908. _has_bits_[0] &= ~0x00100000u;
  6909. }
  6910. inline void packetl2c_check_state_result::clear_canreceivetommorrowbuffcount() {
  6911. canreceivetommorrowbuffcount_ = 0;
  6912. clear_has_canreceivetommorrowbuffcount();
  6913. }
  6914. inline ::google::protobuf::int32 packetl2c_check_state_result::canreceivetommorrowbuffcount() const {
  6915. return canreceivetommorrowbuffcount_;
  6916. }
  6917. inline void packetl2c_check_state_result::set_canreceivetommorrowbuffcount(::google::protobuf::int32 value) {
  6918. set_has_canreceivetommorrowbuffcount();
  6919. canreceivetommorrowbuffcount_ = value;
  6920. }
  6921. // optional bool canReceiveTommorrowBuffToday = 22;
  6922. inline bool packetl2c_check_state_result::has_canreceivetommorrowbufftoday() const {
  6923. return (_has_bits_[0] & 0x00200000u) != 0;
  6924. }
  6925. inline void packetl2c_check_state_result::set_has_canreceivetommorrowbufftoday() {
  6926. _has_bits_[0] |= 0x00200000u;
  6927. }
  6928. inline void packetl2c_check_state_result::clear_has_canreceivetommorrowbufftoday() {
  6929. _has_bits_[0] &= ~0x00200000u;
  6930. }
  6931. inline void packetl2c_check_state_result::clear_canreceivetommorrowbufftoday() {
  6932. canreceivetommorrowbufftoday_ = false;
  6933. clear_has_canreceivetommorrowbufftoday();
  6934. }
  6935. inline bool packetl2c_check_state_result::canreceivetommorrowbufftoday() const {
  6936. return canreceivetommorrowbufftoday_;
  6937. }
  6938. inline void packetl2c_check_state_result::set_canreceivetommorrowbufftoday(bool value) {
  6939. set_has_canreceivetommorrowbufftoday();
  6940. canreceivetommorrowbufftoday_ = value;
  6941. }
  6942. // -------------------------------------------------------------------
  6943. // packetc2l_buy_item
  6944. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_item];
  6945. inline bool packetc2l_buy_item::has_packet_id() const {
  6946. return (_has_bits_[0] & 0x00000001u) != 0;
  6947. }
  6948. inline void packetc2l_buy_item::set_has_packet_id() {
  6949. _has_bits_[0] |= 0x00000001u;
  6950. }
  6951. inline void packetc2l_buy_item::clear_has_packet_id() {
  6952. _has_bits_[0] &= ~0x00000001u;
  6953. }
  6954. inline void packetc2l_buy_item::clear_packet_id() {
  6955. packet_id_ = 10105;
  6956. clear_has_packet_id();
  6957. }
  6958. inline ::fish_protocols::e_server_msg_type packetc2l_buy_item::packet_id() const {
  6959. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  6960. }
  6961. inline void packetc2l_buy_item::set_packet_id(::fish_protocols::e_server_msg_type value) {
  6962. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  6963. set_has_packet_id();
  6964. packet_id_ = value;
  6965. }
  6966. // optional bool isshop = 2;
  6967. inline bool packetc2l_buy_item::has_isshop() const {
  6968. return (_has_bits_[0] & 0x00000002u) != 0;
  6969. }
  6970. inline void packetc2l_buy_item::set_has_isshop() {
  6971. _has_bits_[0] |= 0x00000002u;
  6972. }
  6973. inline void packetc2l_buy_item::clear_has_isshop() {
  6974. _has_bits_[0] &= ~0x00000002u;
  6975. }
  6976. inline void packetc2l_buy_item::clear_isshop() {
  6977. isshop_ = false;
  6978. clear_has_isshop();
  6979. }
  6980. inline bool packetc2l_buy_item::isshop() const {
  6981. return isshop_;
  6982. }
  6983. inline void packetc2l_buy_item::set_isshop(bool value) {
  6984. set_has_isshop();
  6985. isshop_ = value;
  6986. }
  6987. // optional int32 shop_id = 3;
  6988. inline bool packetc2l_buy_item::has_shop_id() const {
  6989. return (_has_bits_[0] & 0x00000004u) != 0;
  6990. }
  6991. inline void packetc2l_buy_item::set_has_shop_id() {
  6992. _has_bits_[0] |= 0x00000004u;
  6993. }
  6994. inline void packetc2l_buy_item::clear_has_shop_id() {
  6995. _has_bits_[0] &= ~0x00000004u;
  6996. }
  6997. inline void packetc2l_buy_item::clear_shop_id() {
  6998. shop_id_ = 0;
  6999. clear_has_shop_id();
  7000. }
  7001. inline ::google::protobuf::int32 packetc2l_buy_item::shop_id() const {
  7002. return shop_id_;
  7003. }
  7004. inline void packetc2l_buy_item::set_shop_id(::google::protobuf::int32 value) {
  7005. set_has_shop_id();
  7006. shop_id_ = value;
  7007. }
  7008. // optional int32 shop_count = 4 [default = 1];
  7009. inline bool packetc2l_buy_item::has_shop_count() const {
  7010. return (_has_bits_[0] & 0x00000008u) != 0;
  7011. }
  7012. inline void packetc2l_buy_item::set_has_shop_count() {
  7013. _has_bits_[0] |= 0x00000008u;
  7014. }
  7015. inline void packetc2l_buy_item::clear_has_shop_count() {
  7016. _has_bits_[0] &= ~0x00000008u;
  7017. }
  7018. inline void packetc2l_buy_item::clear_shop_count() {
  7019. shop_count_ = 1;
  7020. clear_has_shop_count();
  7021. }
  7022. inline ::google::protobuf::int32 packetc2l_buy_item::shop_count() const {
  7023. return shop_count_;
  7024. }
  7025. inline void packetc2l_buy_item::set_shop_count(::google::protobuf::int32 value) {
  7026. set_has_shop_count();
  7027. shop_count_ = value;
  7028. }
  7029. // -------------------------------------------------------------------
  7030. // packetl2c_buy_item_result
  7031. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_item_result];
  7032. inline bool packetl2c_buy_item_result::has_packet_id() const {
  7033. return (_has_bits_[0] & 0x00000001u) != 0;
  7034. }
  7035. inline void packetl2c_buy_item_result::set_has_packet_id() {
  7036. _has_bits_[0] |= 0x00000001u;
  7037. }
  7038. inline void packetl2c_buy_item_result::clear_has_packet_id() {
  7039. _has_bits_[0] &= ~0x00000001u;
  7040. }
  7041. inline void packetl2c_buy_item_result::clear_packet_id() {
  7042. packet_id_ = 15210;
  7043. clear_has_packet_id();
  7044. }
  7045. inline ::fish_protocols::e_server_msg_type packetl2c_buy_item_result::packet_id() const {
  7046. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  7047. }
  7048. inline void packetl2c_buy_item_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  7049. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  7050. set_has_packet_id();
  7051. packet_id_ = value;
  7052. }
  7053. // optional int32 shop_id = 2;
  7054. inline bool packetl2c_buy_item_result::has_shop_id() const {
  7055. return (_has_bits_[0] & 0x00000002u) != 0;
  7056. }
  7057. inline void packetl2c_buy_item_result::set_has_shop_id() {
  7058. _has_bits_[0] |= 0x00000002u;
  7059. }
  7060. inline void packetl2c_buy_item_result::clear_has_shop_id() {
  7061. _has_bits_[0] &= ~0x00000002u;
  7062. }
  7063. inline void packetl2c_buy_item_result::clear_shop_id() {
  7064. shop_id_ = 0;
  7065. clear_has_shop_id();
  7066. }
  7067. inline ::google::protobuf::int32 packetl2c_buy_item_result::shop_id() const {
  7068. return shop_id_;
  7069. }
  7070. inline void packetl2c_buy_item_result::set_shop_id(::google::protobuf::int32 value) {
  7071. set_has_shop_id();
  7072. shop_id_ = value;
  7073. }
  7074. // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail];
  7075. inline bool packetl2c_buy_item_result::has_result() const {
  7076. return (_has_bits_[0] & 0x00000004u) != 0;
  7077. }
  7078. inline void packetl2c_buy_item_result::set_has_result() {
  7079. _has_bits_[0] |= 0x00000004u;
  7080. }
  7081. inline void packetl2c_buy_item_result::clear_has_result() {
  7082. _has_bits_[0] &= ~0x00000004u;
  7083. }
  7084. inline void packetl2c_buy_item_result::clear_result() {
  7085. result_ = 2;
  7086. clear_has_result();
  7087. }
  7088. inline ::msg_type_def::e_msg_result_def packetl2c_buy_item_result::result() const {
  7089. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  7090. }
  7091. inline void packetl2c_buy_item_result::set_result(::msg_type_def::e_msg_result_def value) {
  7092. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  7093. set_has_result();
  7094. result_ = value;
  7095. }
  7096. // optional int32 shop_count = 4 [default = 1];
  7097. inline bool packetl2c_buy_item_result::has_shop_count() const {
  7098. return (_has_bits_[0] & 0x00000008u) != 0;
  7099. }
  7100. inline void packetl2c_buy_item_result::set_has_shop_count() {
  7101. _has_bits_[0] |= 0x00000008u;
  7102. }
  7103. inline void packetl2c_buy_item_result::clear_has_shop_count() {
  7104. _has_bits_[0] &= ~0x00000008u;
  7105. }
  7106. inline void packetl2c_buy_item_result::clear_shop_count() {
  7107. shop_count_ = 1;
  7108. clear_has_shop_count();
  7109. }
  7110. inline ::google::protobuf::int32 packetl2c_buy_item_result::shop_count() const {
  7111. return shop_count_;
  7112. }
  7113. inline void packetl2c_buy_item_result::set_shop_count(::google::protobuf::int32 value) {
  7114. set_has_shop_count();
  7115. shop_count_ = value;
  7116. }
  7117. // -------------------------------------------------------------------
  7118. // packetc2l_use_item
  7119. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_use_item];
  7120. inline bool packetc2l_use_item::has_packet_id() const {
  7121. return (_has_bits_[0] & 0x00000001u) != 0;
  7122. }
  7123. inline void packetc2l_use_item::set_has_packet_id() {
  7124. _has_bits_[0] |= 0x00000001u;
  7125. }
  7126. inline void packetc2l_use_item::clear_has_packet_id() {
  7127. _has_bits_[0] &= ~0x00000001u;
  7128. }
  7129. inline void packetc2l_use_item::clear_packet_id() {
  7130. packet_id_ = 10106;
  7131. clear_has_packet_id();
  7132. }
  7133. inline ::fish_protocols::e_server_msg_type packetc2l_use_item::packet_id() const {
  7134. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  7135. }
  7136. inline void packetc2l_use_item::set_packet_id(::fish_protocols::e_server_msg_type value) {
  7137. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  7138. set_has_packet_id();
  7139. packet_id_ = value;
  7140. }
  7141. // optional int32 item_id = 2;
  7142. inline bool packetc2l_use_item::has_item_id() const {
  7143. return (_has_bits_[0] & 0x00000002u) != 0;
  7144. }
  7145. inline void packetc2l_use_item::set_has_item_id() {
  7146. _has_bits_[0] |= 0x00000002u;
  7147. }
  7148. inline void packetc2l_use_item::clear_has_item_id() {
  7149. _has_bits_[0] &= ~0x00000002u;
  7150. }
  7151. inline void packetc2l_use_item::clear_item_id() {
  7152. item_id_ = 0;
  7153. clear_has_item_id();
  7154. }
  7155. inline ::google::protobuf::int32 packetc2l_use_item::item_id() const {
  7156. return item_id_;
  7157. }
  7158. inline void packetc2l_use_item::set_item_id(::google::protobuf::int32 value) {
  7159. set_has_item_id();
  7160. item_id_ = value;
  7161. }
  7162. // optional int32 whereUse = 3;
  7163. inline bool packetc2l_use_item::has_whereuse() const {
  7164. return (_has_bits_[0] & 0x00000004u) != 0;
  7165. }
  7166. inline void packetc2l_use_item::set_has_whereuse() {
  7167. _has_bits_[0] |= 0x00000004u;
  7168. }
  7169. inline void packetc2l_use_item::clear_has_whereuse() {
  7170. _has_bits_[0] &= ~0x00000004u;
  7171. }
  7172. inline void packetc2l_use_item::clear_whereuse() {
  7173. whereuse_ = 0;
  7174. clear_has_whereuse();
  7175. }
  7176. inline ::google::protobuf::int32 packetc2l_use_item::whereuse() const {
  7177. return whereuse_;
  7178. }
  7179. inline void packetc2l_use_item::set_whereuse(::google::protobuf::int32 value) {
  7180. set_has_whereuse();
  7181. whereuse_ = value;
  7182. }
  7183. // -------------------------------------------------------------------
  7184. // getItemsInfo
  7185. // optional int32 itemid = 8;
  7186. inline bool getItemsInfo::has_itemid() const {
  7187. return (_has_bits_[0] & 0x00000001u) != 0;
  7188. }
  7189. inline void getItemsInfo::set_has_itemid() {
  7190. _has_bits_[0] |= 0x00000001u;
  7191. }
  7192. inline void getItemsInfo::clear_has_itemid() {
  7193. _has_bits_[0] &= ~0x00000001u;
  7194. }
  7195. inline void getItemsInfo::clear_itemid() {
  7196. itemid_ = 0;
  7197. clear_has_itemid();
  7198. }
  7199. inline ::google::protobuf::int32 getItemsInfo::itemid() const {
  7200. return itemid_;
  7201. }
  7202. inline void getItemsInfo::set_itemid(::google::protobuf::int32 value) {
  7203. set_has_itemid();
  7204. itemid_ = value;
  7205. }
  7206. // optional int32 itemcount = 9;
  7207. inline bool getItemsInfo::has_itemcount() const {
  7208. return (_has_bits_[0] & 0x00000002u) != 0;
  7209. }
  7210. inline void getItemsInfo::set_has_itemcount() {
  7211. _has_bits_[0] |= 0x00000002u;
  7212. }
  7213. inline void getItemsInfo::clear_has_itemcount() {
  7214. _has_bits_[0] &= ~0x00000002u;
  7215. }
  7216. inline void getItemsInfo::clear_itemcount() {
  7217. itemcount_ = 0;
  7218. clear_has_itemcount();
  7219. }
  7220. inline ::google::protobuf::int32 getItemsInfo::itemcount() const {
  7221. return itemcount_;
  7222. }
  7223. inline void getItemsInfo::set_itemcount(::google::protobuf::int32 value) {
  7224. set_has_itemcount();
  7225. itemcount_ = value;
  7226. }
  7227. // -------------------------------------------------------------------
  7228. // ItemInfo
  7229. // optional int32 itemId = 1;
  7230. inline bool ItemInfo::has_itemid() const {
  7231. return (_has_bits_[0] & 0x00000001u) != 0;
  7232. }
  7233. inline void ItemInfo::set_has_itemid() {
  7234. _has_bits_[0] |= 0x00000001u;
  7235. }
  7236. inline void ItemInfo::clear_has_itemid() {
  7237. _has_bits_[0] &= ~0x00000001u;
  7238. }
  7239. inline void ItemInfo::clear_itemid() {
  7240. itemid_ = 0;
  7241. clear_has_itemid();
  7242. }
  7243. inline ::google::protobuf::int32 ItemInfo::itemid() const {
  7244. return itemid_;
  7245. }
  7246. inline void ItemInfo::set_itemid(::google::protobuf::int32 value) {
  7247. set_has_itemid();
  7248. itemid_ = value;
  7249. }
  7250. // optional int32 count = 2;
  7251. inline bool ItemInfo::has_count() const {
  7252. return (_has_bits_[0] & 0x00000002u) != 0;
  7253. }
  7254. inline void ItemInfo::set_has_count() {
  7255. _has_bits_[0] |= 0x00000002u;
  7256. }
  7257. inline void ItemInfo::clear_has_count() {
  7258. _has_bits_[0] &= ~0x00000002u;
  7259. }
  7260. inline void ItemInfo::clear_count() {
  7261. count_ = 0;
  7262. clear_has_count();
  7263. }
  7264. inline ::google::protobuf::int32 ItemInfo::count() const {
  7265. return count_;
  7266. }
  7267. inline void ItemInfo::set_count(::google::protobuf::int32 value) {
  7268. set_has_count();
  7269. count_ = value;
  7270. }
  7271. // -------------------------------------------------------------------
  7272. // packetl2c_use_item_result
  7273. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_use_item_result];
  7274. inline bool packetl2c_use_item_result::has_packet_id() const {
  7275. return (_has_bits_[0] & 0x00000001u) != 0;
  7276. }
  7277. inline void packetl2c_use_item_result::set_has_packet_id() {
  7278. _has_bits_[0] |= 0x00000001u;
  7279. }
  7280. inline void packetl2c_use_item_result::clear_has_packet_id() {
  7281. _has_bits_[0] &= ~0x00000001u;
  7282. }
  7283. inline void packetl2c_use_item_result::clear_packet_id() {
  7284. packet_id_ = 15211;
  7285. clear_has_packet_id();
  7286. }
  7287. inline ::fish_protocols::e_server_msg_type packetl2c_use_item_result::packet_id() const {
  7288. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  7289. }
  7290. inline void packetl2c_use_item_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  7291. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  7292. set_has_packet_id();
  7293. packet_id_ = value;
  7294. }
  7295. // optional int32 pid = 2;
  7296. inline bool packetl2c_use_item_result::has_pid() const {
  7297. return (_has_bits_[0] & 0x00000002u) != 0;
  7298. }
  7299. inline void packetl2c_use_item_result::set_has_pid() {
  7300. _has_bits_[0] |= 0x00000002u;
  7301. }
  7302. inline void packetl2c_use_item_result::clear_has_pid() {
  7303. _has_bits_[0] &= ~0x00000002u;
  7304. }
  7305. inline void packetl2c_use_item_result::clear_pid() {
  7306. pid_ = 0;
  7307. clear_has_pid();
  7308. }
  7309. inline ::google::protobuf::int32 packetl2c_use_item_result::pid() const {
  7310. return pid_;
  7311. }
  7312. inline void packetl2c_use_item_result::set_pid(::google::protobuf::int32 value) {
  7313. set_has_pid();
  7314. pid_ = value;
  7315. }
  7316. // optional int32 item_id = 3;
  7317. inline bool packetl2c_use_item_result::has_item_id() const {
  7318. return (_has_bits_[0] & 0x00000004u) != 0;
  7319. }
  7320. inline void packetl2c_use_item_result::set_has_item_id() {
  7321. _has_bits_[0] |= 0x00000004u;
  7322. }
  7323. inline void packetl2c_use_item_result::clear_has_item_id() {
  7324. _has_bits_[0] &= ~0x00000004u;
  7325. }
  7326. inline void packetl2c_use_item_result::clear_item_id() {
  7327. item_id_ = 0;
  7328. clear_has_item_id();
  7329. }
  7330. inline ::google::protobuf::int32 packetl2c_use_item_result::item_id() const {
  7331. return item_id_;
  7332. }
  7333. inline void packetl2c_use_item_result::set_item_id(::google::protobuf::int32 value) {
  7334. set_has_item_id();
  7335. item_id_ = value;
  7336. }
  7337. // optional .msg_type_def.e_msg_result_def result = 4 [default = e_rmt_fail];
  7338. inline bool packetl2c_use_item_result::has_result() const {
  7339. return (_has_bits_[0] & 0x00000008u) != 0;
  7340. }
  7341. inline void packetl2c_use_item_result::set_has_result() {
  7342. _has_bits_[0] |= 0x00000008u;
  7343. }
  7344. inline void packetl2c_use_item_result::clear_has_result() {
  7345. _has_bits_[0] &= ~0x00000008u;
  7346. }
  7347. inline void packetl2c_use_item_result::clear_result() {
  7348. result_ = 2;
  7349. clear_has_result();
  7350. }
  7351. inline ::msg_type_def::e_msg_result_def packetl2c_use_item_result::result() const {
  7352. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  7353. }
  7354. inline void packetl2c_use_item_result::set_result(::msg_type_def::e_msg_result_def value) {
  7355. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  7356. set_has_result();
  7357. result_ = value;
  7358. }
  7359. // optional int32 item_count = 5 [default = 1];
  7360. inline bool packetl2c_use_item_result::has_item_count() const {
  7361. return (_has_bits_[0] & 0x00000010u) != 0;
  7362. }
  7363. inline void packetl2c_use_item_result::set_has_item_count() {
  7364. _has_bits_[0] |= 0x00000010u;
  7365. }
  7366. inline void packetl2c_use_item_result::clear_has_item_count() {
  7367. _has_bits_[0] &= ~0x00000010u;
  7368. }
  7369. inline void packetl2c_use_item_result::clear_item_count() {
  7370. item_count_ = 1;
  7371. clear_has_item_count();
  7372. }
  7373. inline ::google::protobuf::int32 packetl2c_use_item_result::item_count() const {
  7374. return item_count_;
  7375. }
  7376. inline void packetl2c_use_item_result::set_item_count(::google::protobuf::int32 value) {
  7377. set_has_item_count();
  7378. item_count_ = value;
  7379. }
  7380. // optional int32 whereUse = 6;
  7381. inline bool packetl2c_use_item_result::has_whereuse() const {
  7382. return (_has_bits_[0] & 0x00000020u) != 0;
  7383. }
  7384. inline void packetl2c_use_item_result::set_has_whereuse() {
  7385. _has_bits_[0] |= 0x00000020u;
  7386. }
  7387. inline void packetl2c_use_item_result::clear_has_whereuse() {
  7388. _has_bits_[0] &= ~0x00000020u;
  7389. }
  7390. inline void packetl2c_use_item_result::clear_whereuse() {
  7391. whereuse_ = 0;
  7392. clear_has_whereuse();
  7393. }
  7394. inline ::google::protobuf::int32 packetl2c_use_item_result::whereuse() const {
  7395. return whereuse_;
  7396. }
  7397. inline void packetl2c_use_item_result::set_whereuse(::google::protobuf::int32 value) {
  7398. set_has_whereuse();
  7399. whereuse_ = value;
  7400. }
  7401. // optional int32 score = 7;
  7402. inline bool packetl2c_use_item_result::has_score() const {
  7403. return (_has_bits_[0] & 0x00000040u) != 0;
  7404. }
  7405. inline void packetl2c_use_item_result::set_has_score() {
  7406. _has_bits_[0] |= 0x00000040u;
  7407. }
  7408. inline void packetl2c_use_item_result::clear_has_score() {
  7409. _has_bits_[0] &= ~0x00000040u;
  7410. }
  7411. inline void packetl2c_use_item_result::clear_score() {
  7412. score_ = 0;
  7413. clear_has_score();
  7414. }
  7415. inline ::google::protobuf::int32 packetl2c_use_item_result::score() const {
  7416. return score_;
  7417. }
  7418. inline void packetl2c_use_item_result::set_score(::google::protobuf::int32 value) {
  7419. set_has_score();
  7420. score_ = value;
  7421. }
  7422. // repeated .fish_protocols.ItemInfo items = 8;
  7423. inline int packetl2c_use_item_result::items_size() const {
  7424. return items_.size();
  7425. }
  7426. inline void packetl2c_use_item_result::clear_items() {
  7427. items_.Clear();
  7428. }
  7429. inline const ::fish_protocols::ItemInfo& packetl2c_use_item_result::items(int index) const {
  7430. return items_.Get(index);
  7431. }
  7432. inline ::fish_protocols::ItemInfo* packetl2c_use_item_result::mutable_items(int index) {
  7433. return items_.Mutable(index);
  7434. }
  7435. inline ::fish_protocols::ItemInfo* packetl2c_use_item_result::add_items() {
  7436. return items_.Add();
  7437. }
  7438. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >&
  7439. packetl2c_use_item_result::items() const {
  7440. return items_;
  7441. }
  7442. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >*
  7443. packetl2c_use_item_result::mutable_items() {
  7444. return &items_;
  7445. }
  7446. // -------------------------------------------------------------------
  7447. // packetc2l_change_turret
  7448. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_turret];
  7449. inline bool packetc2l_change_turret::has_packet_id() const {
  7450. return (_has_bits_[0] & 0x00000001u) != 0;
  7451. }
  7452. inline void packetc2l_change_turret::set_has_packet_id() {
  7453. _has_bits_[0] |= 0x00000001u;
  7454. }
  7455. inline void packetc2l_change_turret::clear_has_packet_id() {
  7456. _has_bits_[0] &= ~0x00000001u;
  7457. }
  7458. inline void packetc2l_change_turret::clear_packet_id() {
  7459. packet_id_ = 10214;
  7460. clear_has_packet_id();
  7461. }
  7462. inline ::fish_protocols::e_server_msg_type packetc2l_change_turret::packet_id() const {
  7463. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  7464. }
  7465. inline void packetc2l_change_turret::set_packet_id(::fish_protocols::e_server_msg_type value) {
  7466. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  7467. set_has_packet_id();
  7468. packet_id_ = value;
  7469. }
  7470. // optional int32 turret_id = 2;
  7471. inline bool packetc2l_change_turret::has_turret_id() const {
  7472. return (_has_bits_[0] & 0x00000002u) != 0;
  7473. }
  7474. inline void packetc2l_change_turret::set_has_turret_id() {
  7475. _has_bits_[0] |= 0x00000002u;
  7476. }
  7477. inline void packetc2l_change_turret::clear_has_turret_id() {
  7478. _has_bits_[0] &= ~0x00000002u;
  7479. }
  7480. inline void packetc2l_change_turret::clear_turret_id() {
  7481. turret_id_ = 0;
  7482. clear_has_turret_id();
  7483. }
  7484. inline ::google::protobuf::int32 packetc2l_change_turret::turret_id() const {
  7485. return turret_id_;
  7486. }
  7487. inline void packetc2l_change_turret::set_turret_id(::google::protobuf::int32 value) {
  7488. set_has_turret_id();
  7489. turret_id_ = value;
  7490. }
  7491. // optional int32 wing_id = 3;
  7492. inline bool packetc2l_change_turret::has_wing_id() const {
  7493. return (_has_bits_[0] & 0x00000004u) != 0;
  7494. }
  7495. inline void packetc2l_change_turret::set_has_wing_id() {
  7496. _has_bits_[0] |= 0x00000004u;
  7497. }
  7498. inline void packetc2l_change_turret::clear_has_wing_id() {
  7499. _has_bits_[0] &= ~0x00000004u;
  7500. }
  7501. inline void packetc2l_change_turret::clear_wing_id() {
  7502. wing_id_ = 0;
  7503. clear_has_wing_id();
  7504. }
  7505. inline ::google::protobuf::int32 packetc2l_change_turret::wing_id() const {
  7506. return wing_id_;
  7507. }
  7508. inline void packetc2l_change_turret::set_wing_id(::google::protobuf::int32 value) {
  7509. set_has_wing_id();
  7510. wing_id_ = value;
  7511. }
  7512. // -------------------------------------------------------------------
  7513. // packetl2c_change_turret_result
  7514. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_turret_result];
  7515. inline bool packetl2c_change_turret_result::has_packet_id() const {
  7516. return (_has_bits_[0] & 0x00000001u) != 0;
  7517. }
  7518. inline void packetl2c_change_turret_result::set_has_packet_id() {
  7519. _has_bits_[0] |= 0x00000001u;
  7520. }
  7521. inline void packetl2c_change_turret_result::clear_has_packet_id() {
  7522. _has_bits_[0] &= ~0x00000001u;
  7523. }
  7524. inline void packetl2c_change_turret_result::clear_packet_id() {
  7525. packet_id_ = 16217;
  7526. clear_has_packet_id();
  7527. }
  7528. inline ::fish_protocols::e_server_msg_type packetl2c_change_turret_result::packet_id() const {
  7529. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  7530. }
  7531. inline void packetl2c_change_turret_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  7532. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  7533. set_has_packet_id();
  7534. packet_id_ = value;
  7535. }
  7536. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  7537. inline bool packetl2c_change_turret_result::has_result() const {
  7538. return (_has_bits_[0] & 0x00000002u) != 0;
  7539. }
  7540. inline void packetl2c_change_turret_result::set_has_result() {
  7541. _has_bits_[0] |= 0x00000002u;
  7542. }
  7543. inline void packetl2c_change_turret_result::clear_has_result() {
  7544. _has_bits_[0] &= ~0x00000002u;
  7545. }
  7546. inline void packetl2c_change_turret_result::clear_result() {
  7547. result_ = 2;
  7548. clear_has_result();
  7549. }
  7550. inline ::msg_type_def::e_msg_result_def packetl2c_change_turret_result::result() const {
  7551. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  7552. }
  7553. inline void packetl2c_change_turret_result::set_result(::msg_type_def::e_msg_result_def value) {
  7554. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  7555. set_has_result();
  7556. result_ = value;
  7557. }
  7558. // optional int32 player_id = 3;
  7559. inline bool packetl2c_change_turret_result::has_player_id() const {
  7560. return (_has_bits_[0] & 0x00000004u) != 0;
  7561. }
  7562. inline void packetl2c_change_turret_result::set_has_player_id() {
  7563. _has_bits_[0] |= 0x00000004u;
  7564. }
  7565. inline void packetl2c_change_turret_result::clear_has_player_id() {
  7566. _has_bits_[0] &= ~0x00000004u;
  7567. }
  7568. inline void packetl2c_change_turret_result::clear_player_id() {
  7569. player_id_ = 0;
  7570. clear_has_player_id();
  7571. }
  7572. inline ::google::protobuf::int32 packetl2c_change_turret_result::player_id() const {
  7573. return player_id_;
  7574. }
  7575. inline void packetl2c_change_turret_result::set_player_id(::google::protobuf::int32 value) {
  7576. set_has_player_id();
  7577. player_id_ = value;
  7578. }
  7579. // optional int32 turret_id = 4;
  7580. inline bool packetl2c_change_turret_result::has_turret_id() const {
  7581. return (_has_bits_[0] & 0x00000008u) != 0;
  7582. }
  7583. inline void packetl2c_change_turret_result::set_has_turret_id() {
  7584. _has_bits_[0] |= 0x00000008u;
  7585. }
  7586. inline void packetl2c_change_turret_result::clear_has_turret_id() {
  7587. _has_bits_[0] &= ~0x00000008u;
  7588. }
  7589. inline void packetl2c_change_turret_result::clear_turret_id() {
  7590. turret_id_ = 0;
  7591. clear_has_turret_id();
  7592. }
  7593. inline ::google::protobuf::int32 packetl2c_change_turret_result::turret_id() const {
  7594. return turret_id_;
  7595. }
  7596. inline void packetl2c_change_turret_result::set_turret_id(::google::protobuf::int32 value) {
  7597. set_has_turret_id();
  7598. turret_id_ = value;
  7599. }
  7600. // optional int32 turret_lv = 5;
  7601. inline bool packetl2c_change_turret_result::has_turret_lv() const {
  7602. return (_has_bits_[0] & 0x00000010u) != 0;
  7603. }
  7604. inline void packetl2c_change_turret_result::set_has_turret_lv() {
  7605. _has_bits_[0] |= 0x00000010u;
  7606. }
  7607. inline void packetl2c_change_turret_result::clear_has_turret_lv() {
  7608. _has_bits_[0] &= ~0x00000010u;
  7609. }
  7610. inline void packetl2c_change_turret_result::clear_turret_lv() {
  7611. turret_lv_ = 0;
  7612. clear_has_turret_lv();
  7613. }
  7614. inline ::google::protobuf::int32 packetl2c_change_turret_result::turret_lv() const {
  7615. return turret_lv_;
  7616. }
  7617. inline void packetl2c_change_turret_result::set_turret_lv(::google::protobuf::int32 value) {
  7618. set_has_turret_lv();
  7619. turret_lv_ = value;
  7620. }
  7621. // optional int32 wing_id = 6;
  7622. inline bool packetl2c_change_turret_result::has_wing_id() const {
  7623. return (_has_bits_[0] & 0x00000020u) != 0;
  7624. }
  7625. inline void packetl2c_change_turret_result::set_has_wing_id() {
  7626. _has_bits_[0] |= 0x00000020u;
  7627. }
  7628. inline void packetl2c_change_turret_result::clear_has_wing_id() {
  7629. _has_bits_[0] &= ~0x00000020u;
  7630. }
  7631. inline void packetl2c_change_turret_result::clear_wing_id() {
  7632. wing_id_ = 0;
  7633. clear_has_wing_id();
  7634. }
  7635. inline ::google::protobuf::int32 packetl2c_change_turret_result::wing_id() const {
  7636. return wing_id_;
  7637. }
  7638. inline void packetl2c_change_turret_result::set_wing_id(::google::protobuf::int32 value) {
  7639. set_has_wing_id();
  7640. wing_id_ = value;
  7641. }
  7642. // optional int32 wing_lv = 7;
  7643. inline bool packetl2c_change_turret_result::has_wing_lv() const {
  7644. return (_has_bits_[0] & 0x00000040u) != 0;
  7645. }
  7646. inline void packetl2c_change_turret_result::set_has_wing_lv() {
  7647. _has_bits_[0] |= 0x00000040u;
  7648. }
  7649. inline void packetl2c_change_turret_result::clear_has_wing_lv() {
  7650. _has_bits_[0] &= ~0x00000040u;
  7651. }
  7652. inline void packetl2c_change_turret_result::clear_wing_lv() {
  7653. wing_lv_ = 0;
  7654. clear_has_wing_lv();
  7655. }
  7656. inline ::google::protobuf::int32 packetl2c_change_turret_result::wing_lv() const {
  7657. return wing_lv_;
  7658. }
  7659. inline void packetl2c_change_turret_result::set_wing_lv(::google::protobuf::int32 value) {
  7660. set_has_wing_lv();
  7661. wing_lv_ = value;
  7662. }
  7663. // -------------------------------------------------------------------
  7664. // PointsRankInfo
  7665. // optional int32 rank = 1;
  7666. inline bool PointsRankInfo::has_rank() const {
  7667. return (_has_bits_[0] & 0x00000001u) != 0;
  7668. }
  7669. inline void PointsRankInfo::set_has_rank() {
  7670. _has_bits_[0] |= 0x00000001u;
  7671. }
  7672. inline void PointsRankInfo::clear_has_rank() {
  7673. _has_bits_[0] &= ~0x00000001u;
  7674. }
  7675. inline void PointsRankInfo::clear_rank() {
  7676. rank_ = 0;
  7677. clear_has_rank();
  7678. }
  7679. inline ::google::protobuf::int32 PointsRankInfo::rank() const {
  7680. return rank_;
  7681. }
  7682. inline void PointsRankInfo::set_rank(::google::protobuf::int32 value) {
  7683. set_has_rank();
  7684. rank_ = value;
  7685. }
  7686. // optional int32 playerId = 2;
  7687. inline bool PointsRankInfo::has_playerid() const {
  7688. return (_has_bits_[0] & 0x00000002u) != 0;
  7689. }
  7690. inline void PointsRankInfo::set_has_playerid() {
  7691. _has_bits_[0] |= 0x00000002u;
  7692. }
  7693. inline void PointsRankInfo::clear_has_playerid() {
  7694. _has_bits_[0] &= ~0x00000002u;
  7695. }
  7696. inline void PointsRankInfo::clear_playerid() {
  7697. playerid_ = 0;
  7698. clear_has_playerid();
  7699. }
  7700. inline ::google::protobuf::int32 PointsRankInfo::playerid() const {
  7701. return playerid_;
  7702. }
  7703. inline void PointsRankInfo::set_playerid(::google::protobuf::int32 value) {
  7704. set_has_playerid();
  7705. playerid_ = value;
  7706. }
  7707. // optional string nickName = 3;
  7708. inline bool PointsRankInfo::has_nickname() const {
  7709. return (_has_bits_[0] & 0x00000004u) != 0;
  7710. }
  7711. inline void PointsRankInfo::set_has_nickname() {
  7712. _has_bits_[0] |= 0x00000004u;
  7713. }
  7714. inline void PointsRankInfo::clear_has_nickname() {
  7715. _has_bits_[0] &= ~0x00000004u;
  7716. }
  7717. inline void PointsRankInfo::clear_nickname() {
  7718. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  7719. nickname_->clear();
  7720. }
  7721. clear_has_nickname();
  7722. }
  7723. inline const ::std::string& PointsRankInfo::nickname() const {
  7724. return *nickname_;
  7725. }
  7726. inline void PointsRankInfo::set_nickname(const ::std::string& value) {
  7727. set_has_nickname();
  7728. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7729. nickname_ = new ::std::string;
  7730. }
  7731. nickname_->assign(value);
  7732. }
  7733. inline void PointsRankInfo::set_nickname(const char* value) {
  7734. set_has_nickname();
  7735. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7736. nickname_ = new ::std::string;
  7737. }
  7738. nickname_->assign(value);
  7739. }
  7740. inline void PointsRankInfo::set_nickname(const char* value, size_t size) {
  7741. set_has_nickname();
  7742. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7743. nickname_ = new ::std::string;
  7744. }
  7745. nickname_->assign(reinterpret_cast<const char*>(value), size);
  7746. }
  7747. inline ::std::string* PointsRankInfo::mutable_nickname() {
  7748. set_has_nickname();
  7749. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7750. nickname_ = new ::std::string;
  7751. }
  7752. return nickname_;
  7753. }
  7754. inline ::std::string* PointsRankInfo::release_nickname() {
  7755. clear_has_nickname();
  7756. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7757. return NULL;
  7758. } else {
  7759. ::std::string* temp = nickname_;
  7760. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7761. return temp;
  7762. }
  7763. }
  7764. inline void PointsRankInfo::set_allocated_nickname(::std::string* nickname) {
  7765. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  7766. delete nickname_;
  7767. }
  7768. if (nickname) {
  7769. set_has_nickname();
  7770. nickname_ = nickname;
  7771. } else {
  7772. clear_has_nickname();
  7773. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7774. }
  7775. }
  7776. // optional int64 points = 4;
  7777. inline bool PointsRankInfo::has_points() const {
  7778. return (_has_bits_[0] & 0x00000008u) != 0;
  7779. }
  7780. inline void PointsRankInfo::set_has_points() {
  7781. _has_bits_[0] |= 0x00000008u;
  7782. }
  7783. inline void PointsRankInfo::clear_has_points() {
  7784. _has_bits_[0] &= ~0x00000008u;
  7785. }
  7786. inline void PointsRankInfo::clear_points() {
  7787. points_ = GOOGLE_LONGLONG(0);
  7788. clear_has_points();
  7789. }
  7790. inline ::google::protobuf::int64 PointsRankInfo::points() const {
  7791. return points_;
  7792. }
  7793. inline void PointsRankInfo::set_points(::google::protobuf::int64 value) {
  7794. set_has_points();
  7795. points_ = value;
  7796. }
  7797. // optional int32 singleMax = 5;
  7798. inline bool PointsRankInfo::has_singlemax() const {
  7799. return (_has_bits_[0] & 0x00000010u) != 0;
  7800. }
  7801. inline void PointsRankInfo::set_has_singlemax() {
  7802. _has_bits_[0] |= 0x00000010u;
  7803. }
  7804. inline void PointsRankInfo::clear_has_singlemax() {
  7805. _has_bits_[0] &= ~0x00000010u;
  7806. }
  7807. inline void PointsRankInfo::clear_singlemax() {
  7808. singlemax_ = 0;
  7809. clear_has_singlemax();
  7810. }
  7811. inline ::google::protobuf::int32 PointsRankInfo::singlemax() const {
  7812. return singlemax_;
  7813. }
  7814. inline void PointsRankInfo::set_singlemax(::google::protobuf::int32 value) {
  7815. set_has_singlemax();
  7816. singlemax_ = value;
  7817. }
  7818. // optional int32 viplv = 6;
  7819. inline bool PointsRankInfo::has_viplv() const {
  7820. return (_has_bits_[0] & 0x00000020u) != 0;
  7821. }
  7822. inline void PointsRankInfo::set_has_viplv() {
  7823. _has_bits_[0] |= 0x00000020u;
  7824. }
  7825. inline void PointsRankInfo::clear_has_viplv() {
  7826. _has_bits_[0] &= ~0x00000020u;
  7827. }
  7828. inline void PointsRankInfo::clear_viplv() {
  7829. viplv_ = 0;
  7830. clear_has_viplv();
  7831. }
  7832. inline ::google::protobuf::int32 PointsRankInfo::viplv() const {
  7833. return viplv_;
  7834. }
  7835. inline void PointsRankInfo::set_viplv(::google::protobuf::int32 value) {
  7836. set_has_viplv();
  7837. viplv_ = value;
  7838. }
  7839. // optional int32 headid = 7;
  7840. inline bool PointsRankInfo::has_headid() const {
  7841. return (_has_bits_[0] & 0x00000040u) != 0;
  7842. }
  7843. inline void PointsRankInfo::set_has_headid() {
  7844. _has_bits_[0] |= 0x00000040u;
  7845. }
  7846. inline void PointsRankInfo::clear_has_headid() {
  7847. _has_bits_[0] &= ~0x00000040u;
  7848. }
  7849. inline void PointsRankInfo::clear_headid() {
  7850. headid_ = 0;
  7851. clear_has_headid();
  7852. }
  7853. inline ::google::protobuf::int32 PointsRankInfo::headid() const {
  7854. return headid_;
  7855. }
  7856. inline void PointsRankInfo::set_headid(::google::protobuf::int32 value) {
  7857. set_has_headid();
  7858. headid_ = value;
  7859. }
  7860. // optional int32 frameid = 8;
  7861. inline bool PointsRankInfo::has_frameid() const {
  7862. return (_has_bits_[0] & 0x00000080u) != 0;
  7863. }
  7864. inline void PointsRankInfo::set_has_frameid() {
  7865. _has_bits_[0] |= 0x00000080u;
  7866. }
  7867. inline void PointsRankInfo::clear_has_frameid() {
  7868. _has_bits_[0] &= ~0x00000080u;
  7869. }
  7870. inline void PointsRankInfo::clear_frameid() {
  7871. frameid_ = 0;
  7872. clear_has_frameid();
  7873. }
  7874. inline ::google::protobuf::int32 PointsRankInfo::frameid() const {
  7875. return frameid_;
  7876. }
  7877. inline void PointsRankInfo::set_frameid(::google::protobuf::int32 value) {
  7878. set_has_frameid();
  7879. frameid_ = value;
  7880. }
  7881. // -------------------------------------------------------------------
  7882. // packetc2l_get_points_rank
  7883. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_points_rank];
  7884. inline bool packetc2l_get_points_rank::has_packet_id() const {
  7885. return (_has_bits_[0] & 0x00000001u) != 0;
  7886. }
  7887. inline void packetc2l_get_points_rank::set_has_packet_id() {
  7888. _has_bits_[0] |= 0x00000001u;
  7889. }
  7890. inline void packetc2l_get_points_rank::clear_has_packet_id() {
  7891. _has_bits_[0] &= ~0x00000001u;
  7892. }
  7893. inline void packetc2l_get_points_rank::clear_packet_id() {
  7894. packet_id_ = 10160;
  7895. clear_has_packet_id();
  7896. }
  7897. inline ::fish_protocols::e_server_msg_type packetc2l_get_points_rank::packet_id() const {
  7898. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  7899. }
  7900. inline void packetc2l_get_points_rank::set_packet_id(::fish_protocols::e_server_msg_type value) {
  7901. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  7902. set_has_packet_id();
  7903. packet_id_ = value;
  7904. }
  7905. // -------------------------------------------------------------------
  7906. // packetl2c_get_points_rank_result
  7907. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_points_rank_result];
  7908. inline bool packetl2c_get_points_rank_result::has_packet_id() const {
  7909. return (_has_bits_[0] & 0x00000001u) != 0;
  7910. }
  7911. inline void packetl2c_get_points_rank_result::set_has_packet_id() {
  7912. _has_bits_[0] |= 0x00000001u;
  7913. }
  7914. inline void packetl2c_get_points_rank_result::clear_has_packet_id() {
  7915. _has_bits_[0] &= ~0x00000001u;
  7916. }
  7917. inline void packetl2c_get_points_rank_result::clear_packet_id() {
  7918. packet_id_ = 16151;
  7919. clear_has_packet_id();
  7920. }
  7921. inline ::fish_protocols::e_server_msg_type packetl2c_get_points_rank_result::packet_id() const {
  7922. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  7923. }
  7924. inline void packetl2c_get_points_rank_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  7925. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  7926. set_has_packet_id();
  7927. packet_id_ = value;
  7928. }
  7929. // optional int64 mypoint = 2;
  7930. inline bool packetl2c_get_points_rank_result::has_mypoint() const {
  7931. return (_has_bits_[0] & 0x00000002u) != 0;
  7932. }
  7933. inline void packetl2c_get_points_rank_result::set_has_mypoint() {
  7934. _has_bits_[0] |= 0x00000002u;
  7935. }
  7936. inline void packetl2c_get_points_rank_result::clear_has_mypoint() {
  7937. _has_bits_[0] &= ~0x00000002u;
  7938. }
  7939. inline void packetl2c_get_points_rank_result::clear_mypoint() {
  7940. mypoint_ = GOOGLE_LONGLONG(0);
  7941. clear_has_mypoint();
  7942. }
  7943. inline ::google::protobuf::int64 packetl2c_get_points_rank_result::mypoint() const {
  7944. return mypoint_;
  7945. }
  7946. inline void packetl2c_get_points_rank_result::set_mypoint(::google::protobuf::int64 value) {
  7947. set_has_mypoint();
  7948. mypoint_ = value;
  7949. }
  7950. // optional int32 mysinglepoint = 3;
  7951. inline bool packetl2c_get_points_rank_result::has_mysinglepoint() const {
  7952. return (_has_bits_[0] & 0x00000004u) != 0;
  7953. }
  7954. inline void packetl2c_get_points_rank_result::set_has_mysinglepoint() {
  7955. _has_bits_[0] |= 0x00000004u;
  7956. }
  7957. inline void packetl2c_get_points_rank_result::clear_has_mysinglepoint() {
  7958. _has_bits_[0] &= ~0x00000004u;
  7959. }
  7960. inline void packetl2c_get_points_rank_result::clear_mysinglepoint() {
  7961. mysinglepoint_ = 0;
  7962. clear_has_mysinglepoint();
  7963. }
  7964. inline ::google::protobuf::int32 packetl2c_get_points_rank_result::mysinglepoint() const {
  7965. return mysinglepoint_;
  7966. }
  7967. inline void packetl2c_get_points_rank_result::set_mysinglepoint(::google::protobuf::int32 value) {
  7968. set_has_mysinglepoint();
  7969. mysinglepoint_ = value;
  7970. }
  7971. // repeated .fish_protocols.PointsRankInfo PointRankList = 4;
  7972. inline int packetl2c_get_points_rank_result::pointranklist_size() const {
  7973. return pointranklist_.size();
  7974. }
  7975. inline void packetl2c_get_points_rank_result::clear_pointranklist() {
  7976. pointranklist_.Clear();
  7977. }
  7978. inline const ::fish_protocols::PointsRankInfo& packetl2c_get_points_rank_result::pointranklist(int index) const {
  7979. return pointranklist_.Get(index);
  7980. }
  7981. inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::mutable_pointranklist(int index) {
  7982. return pointranklist_.Mutable(index);
  7983. }
  7984. inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::add_pointranklist() {
  7985. return pointranklist_.Add();
  7986. }
  7987. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >&
  7988. packetl2c_get_points_rank_result::pointranklist() const {
  7989. return pointranklist_;
  7990. }
  7991. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >*
  7992. packetl2c_get_points_rank_result::mutable_pointranklist() {
  7993. return &pointranklist_;
  7994. }
  7995. // repeated .fish_protocols.PointsRankInfo LuckyRankList = 5;
  7996. inline int packetl2c_get_points_rank_result::luckyranklist_size() const {
  7997. return luckyranklist_.size();
  7998. }
  7999. inline void packetl2c_get_points_rank_result::clear_luckyranklist() {
  8000. luckyranklist_.Clear();
  8001. }
  8002. inline const ::fish_protocols::PointsRankInfo& packetl2c_get_points_rank_result::luckyranklist(int index) const {
  8003. return luckyranklist_.Get(index);
  8004. }
  8005. inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::mutable_luckyranklist(int index) {
  8006. return luckyranklist_.Mutable(index);
  8007. }
  8008. inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::add_luckyranklist() {
  8009. return luckyranklist_.Add();
  8010. }
  8011. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >&
  8012. packetl2c_get_points_rank_result::luckyranklist() const {
  8013. return luckyranklist_;
  8014. }
  8015. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >*
  8016. packetl2c_get_points_rank_result::mutable_luckyranklist() {
  8017. return &luckyranklist_;
  8018. }
  8019. // repeated int32 PointThresholdvalue = 6;
  8020. inline int packetl2c_get_points_rank_result::pointthresholdvalue_size() const {
  8021. return pointthresholdvalue_.size();
  8022. }
  8023. inline void packetl2c_get_points_rank_result::clear_pointthresholdvalue() {
  8024. pointthresholdvalue_.Clear();
  8025. }
  8026. inline ::google::protobuf::int32 packetl2c_get_points_rank_result::pointthresholdvalue(int index) const {
  8027. return pointthresholdvalue_.Get(index);
  8028. }
  8029. inline void packetl2c_get_points_rank_result::set_pointthresholdvalue(int index, ::google::protobuf::int32 value) {
  8030. pointthresholdvalue_.Set(index, value);
  8031. }
  8032. inline void packetl2c_get_points_rank_result::add_pointthresholdvalue(::google::protobuf::int32 value) {
  8033. pointthresholdvalue_.Add(value);
  8034. }
  8035. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  8036. packetl2c_get_points_rank_result::pointthresholdvalue() const {
  8037. return pointthresholdvalue_;
  8038. }
  8039. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  8040. packetl2c_get_points_rank_result::mutable_pointthresholdvalue() {
  8041. return &pointthresholdvalue_;
  8042. }
  8043. // repeated int32 luckyThresholdvalue = 7;
  8044. inline int packetl2c_get_points_rank_result::luckythresholdvalue_size() const {
  8045. return luckythresholdvalue_.size();
  8046. }
  8047. inline void packetl2c_get_points_rank_result::clear_luckythresholdvalue() {
  8048. luckythresholdvalue_.Clear();
  8049. }
  8050. inline ::google::protobuf::int32 packetl2c_get_points_rank_result::luckythresholdvalue(int index) const {
  8051. return luckythresholdvalue_.Get(index);
  8052. }
  8053. inline void packetl2c_get_points_rank_result::set_luckythresholdvalue(int index, ::google::protobuf::int32 value) {
  8054. luckythresholdvalue_.Set(index, value);
  8055. }
  8056. inline void packetl2c_get_points_rank_result::add_luckythresholdvalue(::google::protobuf::int32 value) {
  8057. luckythresholdvalue_.Add(value);
  8058. }
  8059. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  8060. packetl2c_get_points_rank_result::luckythresholdvalue() const {
  8061. return luckythresholdvalue_;
  8062. }
  8063. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  8064. packetl2c_get_points_rank_result::mutable_luckythresholdvalue() {
  8065. return &luckythresholdvalue_;
  8066. }
  8067. // optional int64 myPointRank = 8;
  8068. inline bool packetl2c_get_points_rank_result::has_mypointrank() const {
  8069. return (_has_bits_[0] & 0x00000080u) != 0;
  8070. }
  8071. inline void packetl2c_get_points_rank_result::set_has_mypointrank() {
  8072. _has_bits_[0] |= 0x00000080u;
  8073. }
  8074. inline void packetl2c_get_points_rank_result::clear_has_mypointrank() {
  8075. _has_bits_[0] &= ~0x00000080u;
  8076. }
  8077. inline void packetl2c_get_points_rank_result::clear_mypointrank() {
  8078. mypointrank_ = GOOGLE_LONGLONG(0);
  8079. clear_has_mypointrank();
  8080. }
  8081. inline ::google::protobuf::int64 packetl2c_get_points_rank_result::mypointrank() const {
  8082. return mypointrank_;
  8083. }
  8084. inline void packetl2c_get_points_rank_result::set_mypointrank(::google::protobuf::int64 value) {
  8085. set_has_mypointrank();
  8086. mypointrank_ = value;
  8087. }
  8088. // optional int64 myLuckyRank = 9;
  8089. inline bool packetl2c_get_points_rank_result::has_myluckyrank() const {
  8090. return (_has_bits_[0] & 0x00000100u) != 0;
  8091. }
  8092. inline void packetl2c_get_points_rank_result::set_has_myluckyrank() {
  8093. _has_bits_[0] |= 0x00000100u;
  8094. }
  8095. inline void packetl2c_get_points_rank_result::clear_has_myluckyrank() {
  8096. _has_bits_[0] &= ~0x00000100u;
  8097. }
  8098. inline void packetl2c_get_points_rank_result::clear_myluckyrank() {
  8099. myluckyrank_ = GOOGLE_LONGLONG(0);
  8100. clear_has_myluckyrank();
  8101. }
  8102. inline ::google::protobuf::int64 packetl2c_get_points_rank_result::myluckyrank() const {
  8103. return myluckyrank_;
  8104. }
  8105. inline void packetl2c_get_points_rank_result::set_myluckyrank(::google::protobuf::int64 value) {
  8106. set_has_myluckyrank();
  8107. myluckyrank_ = value;
  8108. }
  8109. // -------------------------------------------------------------------
  8110. // exItemInfo
  8111. // optional int32 ex_item_id = 1;
  8112. inline bool exItemInfo::has_ex_item_id() const {
  8113. return (_has_bits_[0] & 0x00000001u) != 0;
  8114. }
  8115. inline void exItemInfo::set_has_ex_item_id() {
  8116. _has_bits_[0] |= 0x00000001u;
  8117. }
  8118. inline void exItemInfo::clear_has_ex_item_id() {
  8119. _has_bits_[0] &= ~0x00000001u;
  8120. }
  8121. inline void exItemInfo::clear_ex_item_id() {
  8122. ex_item_id_ = 0;
  8123. clear_has_ex_item_id();
  8124. }
  8125. inline ::google::protobuf::int32 exItemInfo::ex_item_id() const {
  8126. return ex_item_id_;
  8127. }
  8128. inline void exItemInfo::set_ex_item_id(::google::protobuf::int32 value) {
  8129. set_has_ex_item_id();
  8130. ex_item_id_ = value;
  8131. }
  8132. // optional int32 ex_item_count = 2;
  8133. inline bool exItemInfo::has_ex_item_count() const {
  8134. return (_has_bits_[0] & 0x00000002u) != 0;
  8135. }
  8136. inline void exItemInfo::set_has_ex_item_count() {
  8137. _has_bits_[0] |= 0x00000002u;
  8138. }
  8139. inline void exItemInfo::clear_has_ex_item_count() {
  8140. _has_bits_[0] &= ~0x00000002u;
  8141. }
  8142. inline void exItemInfo::clear_ex_item_count() {
  8143. ex_item_count_ = 0;
  8144. clear_has_ex_item_count();
  8145. }
  8146. inline ::google::protobuf::int32 exItemInfo::ex_item_count() const {
  8147. return ex_item_count_;
  8148. }
  8149. inline void exItemInfo::set_ex_item_count(::google::protobuf::int32 value) {
  8150. set_has_ex_item_count();
  8151. ex_item_count_ = value;
  8152. }
  8153. // -------------------------------------------------------------------
  8154. // packetc2l_medium_grade_exchange
  8155. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_medium_grade_exchange];
  8156. inline bool packetc2l_medium_grade_exchange::has_packet_id() const {
  8157. return (_has_bits_[0] & 0x00000001u) != 0;
  8158. }
  8159. inline void packetc2l_medium_grade_exchange::set_has_packet_id() {
  8160. _has_bits_[0] |= 0x00000001u;
  8161. }
  8162. inline void packetc2l_medium_grade_exchange::clear_has_packet_id() {
  8163. _has_bits_[0] &= ~0x00000001u;
  8164. }
  8165. inline void packetc2l_medium_grade_exchange::clear_packet_id() {
  8166. packet_id_ = 10161;
  8167. clear_has_packet_id();
  8168. }
  8169. inline ::fish_protocols::e_server_msg_type packetc2l_medium_grade_exchange::packet_id() const {
  8170. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8171. }
  8172. inline void packetc2l_medium_grade_exchange::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8173. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8174. set_has_packet_id();
  8175. packet_id_ = value;
  8176. }
  8177. // optional int32 exchange_id = 2;
  8178. inline bool packetc2l_medium_grade_exchange::has_exchange_id() const {
  8179. return (_has_bits_[0] & 0x00000002u) != 0;
  8180. }
  8181. inline void packetc2l_medium_grade_exchange::set_has_exchange_id() {
  8182. _has_bits_[0] |= 0x00000002u;
  8183. }
  8184. inline void packetc2l_medium_grade_exchange::clear_has_exchange_id() {
  8185. _has_bits_[0] &= ~0x00000002u;
  8186. }
  8187. inline void packetc2l_medium_grade_exchange::clear_exchange_id() {
  8188. exchange_id_ = 0;
  8189. clear_has_exchange_id();
  8190. }
  8191. inline ::google::protobuf::int32 packetc2l_medium_grade_exchange::exchange_id() const {
  8192. return exchange_id_;
  8193. }
  8194. inline void packetc2l_medium_grade_exchange::set_exchange_id(::google::protobuf::int32 value) {
  8195. set_has_exchange_id();
  8196. exchange_id_ = value;
  8197. }
  8198. // optional int32 ex_reward_id = 3;
  8199. inline bool packetc2l_medium_grade_exchange::has_ex_reward_id() const {
  8200. return (_has_bits_[0] & 0x00000004u) != 0;
  8201. }
  8202. inline void packetc2l_medium_grade_exchange::set_has_ex_reward_id() {
  8203. _has_bits_[0] |= 0x00000004u;
  8204. }
  8205. inline void packetc2l_medium_grade_exchange::clear_has_ex_reward_id() {
  8206. _has_bits_[0] &= ~0x00000004u;
  8207. }
  8208. inline void packetc2l_medium_grade_exchange::clear_ex_reward_id() {
  8209. ex_reward_id_ = 0;
  8210. clear_has_ex_reward_id();
  8211. }
  8212. inline ::google::protobuf::int32 packetc2l_medium_grade_exchange::ex_reward_id() const {
  8213. return ex_reward_id_;
  8214. }
  8215. inline void packetc2l_medium_grade_exchange::set_ex_reward_id(::google::protobuf::int32 value) {
  8216. set_has_ex_reward_id();
  8217. ex_reward_id_ = value;
  8218. }
  8219. // -------------------------------------------------------------------
  8220. // pointsInfo
  8221. // optional int32 points = 1;
  8222. inline bool pointsInfo::has_points() const {
  8223. return (_has_bits_[0] & 0x00000001u) != 0;
  8224. }
  8225. inline void pointsInfo::set_has_points() {
  8226. _has_bits_[0] |= 0x00000001u;
  8227. }
  8228. inline void pointsInfo::clear_has_points() {
  8229. _has_bits_[0] &= ~0x00000001u;
  8230. }
  8231. inline void pointsInfo::clear_points() {
  8232. points_ = 0;
  8233. clear_has_points();
  8234. }
  8235. inline ::google::protobuf::int32 pointsInfo::points() const {
  8236. return points_;
  8237. }
  8238. inline void pointsInfo::set_points(::google::protobuf::int32 value) {
  8239. set_has_points();
  8240. points_ = value;
  8241. }
  8242. // optional int32 pointsEx = 2;
  8243. inline bool pointsInfo::has_pointsex() const {
  8244. return (_has_bits_[0] & 0x00000002u) != 0;
  8245. }
  8246. inline void pointsInfo::set_has_pointsex() {
  8247. _has_bits_[0] |= 0x00000002u;
  8248. }
  8249. inline void pointsInfo::clear_has_pointsex() {
  8250. _has_bits_[0] &= ~0x00000002u;
  8251. }
  8252. inline void pointsInfo::clear_pointsex() {
  8253. pointsex_ = 0;
  8254. clear_has_pointsex();
  8255. }
  8256. inline ::google::protobuf::int32 pointsInfo::pointsex() const {
  8257. return pointsex_;
  8258. }
  8259. inline void pointsInfo::set_pointsex(::google::protobuf::int32 value) {
  8260. set_has_pointsex();
  8261. pointsex_ = value;
  8262. }
  8263. // -------------------------------------------------------------------
  8264. // packetl2c_medium_grade_exchange_result
  8265. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_medium_grade_exchange_result];
  8266. inline bool packetl2c_medium_grade_exchange_result::has_packet_id() const {
  8267. return (_has_bits_[0] & 0x00000001u) != 0;
  8268. }
  8269. inline void packetl2c_medium_grade_exchange_result::set_has_packet_id() {
  8270. _has_bits_[0] |= 0x00000001u;
  8271. }
  8272. inline void packetl2c_medium_grade_exchange_result::clear_has_packet_id() {
  8273. _has_bits_[0] &= ~0x00000001u;
  8274. }
  8275. inline void packetl2c_medium_grade_exchange_result::clear_packet_id() {
  8276. packet_id_ = 16152;
  8277. clear_has_packet_id();
  8278. }
  8279. inline ::fish_protocols::e_server_msg_type packetl2c_medium_grade_exchange_result::packet_id() const {
  8280. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8281. }
  8282. inline void packetl2c_medium_grade_exchange_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8283. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8284. set_has_packet_id();
  8285. packet_id_ = value;
  8286. }
  8287. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  8288. inline bool packetl2c_medium_grade_exchange_result::has_result() const {
  8289. return (_has_bits_[0] & 0x00000002u) != 0;
  8290. }
  8291. inline void packetl2c_medium_grade_exchange_result::set_has_result() {
  8292. _has_bits_[0] |= 0x00000002u;
  8293. }
  8294. inline void packetl2c_medium_grade_exchange_result::clear_has_result() {
  8295. _has_bits_[0] &= ~0x00000002u;
  8296. }
  8297. inline void packetl2c_medium_grade_exchange_result::clear_result() {
  8298. result_ = 2;
  8299. clear_has_result();
  8300. }
  8301. inline ::msg_type_def::e_msg_result_def packetl2c_medium_grade_exchange_result::result() const {
  8302. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  8303. }
  8304. inline void packetl2c_medium_grade_exchange_result::set_result(::msg_type_def::e_msg_result_def value) {
  8305. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  8306. set_has_result();
  8307. result_ = value;
  8308. }
  8309. // repeated int32 exchange_id = 3;
  8310. inline int packetl2c_medium_grade_exchange_result::exchange_id_size() const {
  8311. return exchange_id_.size();
  8312. }
  8313. inline void packetl2c_medium_grade_exchange_result::clear_exchange_id() {
  8314. exchange_id_.Clear();
  8315. }
  8316. inline ::google::protobuf::int32 packetl2c_medium_grade_exchange_result::exchange_id(int index) const {
  8317. return exchange_id_.Get(index);
  8318. }
  8319. inline void packetl2c_medium_grade_exchange_result::set_exchange_id(int index, ::google::protobuf::int32 value) {
  8320. exchange_id_.Set(index, value);
  8321. }
  8322. inline void packetl2c_medium_grade_exchange_result::add_exchange_id(::google::protobuf::int32 value) {
  8323. exchange_id_.Add(value);
  8324. }
  8325. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  8326. packetl2c_medium_grade_exchange_result::exchange_id() const {
  8327. return exchange_id_;
  8328. }
  8329. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  8330. packetl2c_medium_grade_exchange_result::mutable_exchange_id() {
  8331. return &exchange_id_;
  8332. }
  8333. // repeated .fish_protocols.exItemInfo ex_item = 4;
  8334. inline int packetl2c_medium_grade_exchange_result::ex_item_size() const {
  8335. return ex_item_.size();
  8336. }
  8337. inline void packetl2c_medium_grade_exchange_result::clear_ex_item() {
  8338. ex_item_.Clear();
  8339. }
  8340. inline const ::fish_protocols::exItemInfo& packetl2c_medium_grade_exchange_result::ex_item(int index) const {
  8341. return ex_item_.Get(index);
  8342. }
  8343. inline ::fish_protocols::exItemInfo* packetl2c_medium_grade_exchange_result::mutable_ex_item(int index) {
  8344. return ex_item_.Mutable(index);
  8345. }
  8346. inline ::fish_protocols::exItemInfo* packetl2c_medium_grade_exchange_result::add_ex_item() {
  8347. return ex_item_.Add();
  8348. }
  8349. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >&
  8350. packetl2c_medium_grade_exchange_result::ex_item() const {
  8351. return ex_item_;
  8352. }
  8353. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >*
  8354. packetl2c_medium_grade_exchange_result::mutable_ex_item() {
  8355. return &ex_item_;
  8356. }
  8357. // repeated .fish_protocols.pointsInfo points = 5;
  8358. inline int packetl2c_medium_grade_exchange_result::points_size() const {
  8359. return points_.size();
  8360. }
  8361. inline void packetl2c_medium_grade_exchange_result::clear_points() {
  8362. points_.Clear();
  8363. }
  8364. inline const ::fish_protocols::pointsInfo& packetl2c_medium_grade_exchange_result::points(int index) const {
  8365. return points_.Get(index);
  8366. }
  8367. inline ::fish_protocols::pointsInfo* packetl2c_medium_grade_exchange_result::mutable_points(int index) {
  8368. return points_.Mutable(index);
  8369. }
  8370. inline ::fish_protocols::pointsInfo* packetl2c_medium_grade_exchange_result::add_points() {
  8371. return points_.Add();
  8372. }
  8373. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >&
  8374. packetl2c_medium_grade_exchange_result::points() const {
  8375. return points_;
  8376. }
  8377. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >*
  8378. packetl2c_medium_grade_exchange_result::mutable_points() {
  8379. return &points_;
  8380. }
  8381. // -------------------------------------------------------------------
  8382. // packetc2l_get_shoplist
  8383. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_shoplist];
  8384. inline bool packetc2l_get_shoplist::has_packet_id() const {
  8385. return (_has_bits_[0] & 0x00000001u) != 0;
  8386. }
  8387. inline void packetc2l_get_shoplist::set_has_packet_id() {
  8388. _has_bits_[0] |= 0x00000001u;
  8389. }
  8390. inline void packetc2l_get_shoplist::clear_has_packet_id() {
  8391. _has_bits_[0] &= ~0x00000001u;
  8392. }
  8393. inline void packetc2l_get_shoplist::clear_packet_id() {
  8394. packet_id_ = 10107;
  8395. clear_has_packet_id();
  8396. }
  8397. inline ::fish_protocols::e_server_msg_type packetc2l_get_shoplist::packet_id() const {
  8398. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8399. }
  8400. inline void packetc2l_get_shoplist::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8401. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8402. set_has_packet_id();
  8403. packet_id_ = value;
  8404. }
  8405. // -------------------------------------------------------------------
  8406. // msg_shopitem
  8407. // optional int32 shop_id = 1;
  8408. inline bool msg_shopitem::has_shop_id() const {
  8409. return (_has_bits_[0] & 0x00000001u) != 0;
  8410. }
  8411. inline void msg_shopitem::set_has_shop_id() {
  8412. _has_bits_[0] |= 0x00000001u;
  8413. }
  8414. inline void msg_shopitem::clear_has_shop_id() {
  8415. _has_bits_[0] &= ~0x00000001u;
  8416. }
  8417. inline void msg_shopitem::clear_shop_id() {
  8418. shop_id_ = 0;
  8419. clear_has_shop_id();
  8420. }
  8421. inline ::google::protobuf::int32 msg_shopitem::shop_id() const {
  8422. return shop_id_;
  8423. }
  8424. inline void msg_shopitem::set_shop_id(::google::protobuf::int32 value) {
  8425. set_has_shop_id();
  8426. shop_id_ = value;
  8427. }
  8428. // optional int32 item_id = 2;
  8429. inline bool msg_shopitem::has_item_id() const {
  8430. return (_has_bits_[0] & 0x00000002u) != 0;
  8431. }
  8432. inline void msg_shopitem::set_has_item_id() {
  8433. _has_bits_[0] |= 0x00000002u;
  8434. }
  8435. inline void msg_shopitem::clear_has_item_id() {
  8436. _has_bits_[0] &= ~0x00000002u;
  8437. }
  8438. inline void msg_shopitem::clear_item_id() {
  8439. item_id_ = 0;
  8440. clear_has_item_id();
  8441. }
  8442. inline ::google::protobuf::int32 msg_shopitem::item_id() const {
  8443. return item_id_;
  8444. }
  8445. inline void msg_shopitem::set_item_id(::google::protobuf::int32 value) {
  8446. set_has_item_id();
  8447. item_id_ = value;
  8448. }
  8449. // optional int32 item_count = 3;
  8450. inline bool msg_shopitem::has_item_count() const {
  8451. return (_has_bits_[0] & 0x00000004u) != 0;
  8452. }
  8453. inline void msg_shopitem::set_has_item_count() {
  8454. _has_bits_[0] |= 0x00000004u;
  8455. }
  8456. inline void msg_shopitem::clear_has_item_count() {
  8457. _has_bits_[0] &= ~0x00000004u;
  8458. }
  8459. inline void msg_shopitem::clear_item_count() {
  8460. item_count_ = 0;
  8461. clear_has_item_count();
  8462. }
  8463. inline ::google::protobuf::int32 msg_shopitem::item_count() const {
  8464. return item_count_;
  8465. }
  8466. inline void msg_shopitem::set_item_count(::google::protobuf::int32 value) {
  8467. set_has_item_count();
  8468. item_count_ = value;
  8469. }
  8470. // optional int32 consume_type = 4;
  8471. inline bool msg_shopitem::has_consume_type() const {
  8472. return (_has_bits_[0] & 0x00000008u) != 0;
  8473. }
  8474. inline void msg_shopitem::set_has_consume_type() {
  8475. _has_bits_[0] |= 0x00000008u;
  8476. }
  8477. inline void msg_shopitem::clear_has_consume_type() {
  8478. _has_bits_[0] &= ~0x00000008u;
  8479. }
  8480. inline void msg_shopitem::clear_consume_type() {
  8481. consume_type_ = 0;
  8482. clear_has_consume_type();
  8483. }
  8484. inline ::google::protobuf::int32 msg_shopitem::consume_type() const {
  8485. return consume_type_;
  8486. }
  8487. inline void msg_shopitem::set_consume_type(::google::protobuf::int32 value) {
  8488. set_has_consume_type();
  8489. consume_type_ = value;
  8490. }
  8491. // optional int32 consume_count = 5;
  8492. inline bool msg_shopitem::has_consume_count() const {
  8493. return (_has_bits_[0] & 0x00000010u) != 0;
  8494. }
  8495. inline void msg_shopitem::set_has_consume_count() {
  8496. _has_bits_[0] |= 0x00000010u;
  8497. }
  8498. inline void msg_shopitem::clear_has_consume_count() {
  8499. _has_bits_[0] &= ~0x00000010u;
  8500. }
  8501. inline void msg_shopitem::clear_consume_count() {
  8502. consume_count_ = 0;
  8503. clear_has_consume_count();
  8504. }
  8505. inline ::google::protobuf::int32 msg_shopitem::consume_count() const {
  8506. return consume_count_;
  8507. }
  8508. inline void msg_shopitem::set_consume_count(::google::protobuf::int32 value) {
  8509. set_has_consume_count();
  8510. consume_count_ = value;
  8511. }
  8512. // optional int32 show_type = 6;
  8513. inline bool msg_shopitem::has_show_type() const {
  8514. return (_has_bits_[0] & 0x00000020u) != 0;
  8515. }
  8516. inline void msg_shopitem::set_has_show_type() {
  8517. _has_bits_[0] |= 0x00000020u;
  8518. }
  8519. inline void msg_shopitem::clear_has_show_type() {
  8520. _has_bits_[0] &= ~0x00000020u;
  8521. }
  8522. inline void msg_shopitem::clear_show_type() {
  8523. show_type_ = 0;
  8524. clear_has_show_type();
  8525. }
  8526. inline ::google::protobuf::int32 msg_shopitem::show_type() const {
  8527. return show_type_;
  8528. }
  8529. inline void msg_shopitem::set_show_type(::google::protobuf::int32 value) {
  8530. set_has_show_type();
  8531. show_type_ = value;
  8532. }
  8533. // optional int32 need_vip = 7;
  8534. inline bool msg_shopitem::has_need_vip() const {
  8535. return (_has_bits_[0] & 0x00000040u) != 0;
  8536. }
  8537. inline void msg_shopitem::set_has_need_vip() {
  8538. _has_bits_[0] |= 0x00000040u;
  8539. }
  8540. inline void msg_shopitem::clear_has_need_vip() {
  8541. _has_bits_[0] &= ~0x00000040u;
  8542. }
  8543. inline void msg_shopitem::clear_need_vip() {
  8544. need_vip_ = 0;
  8545. clear_has_need_vip();
  8546. }
  8547. inline ::google::protobuf::int32 msg_shopitem::need_vip() const {
  8548. return need_vip_;
  8549. }
  8550. inline void msg_shopitem::set_need_vip(::google::protobuf::int32 value) {
  8551. set_has_need_vip();
  8552. need_vip_ = value;
  8553. }
  8554. // optional int32 show_tab = 8;
  8555. inline bool msg_shopitem::has_show_tab() const {
  8556. return (_has_bits_[0] & 0x00000080u) != 0;
  8557. }
  8558. inline void msg_shopitem::set_has_show_tab() {
  8559. _has_bits_[0] |= 0x00000080u;
  8560. }
  8561. inline void msg_shopitem::clear_has_show_tab() {
  8562. _has_bits_[0] &= ~0x00000080u;
  8563. }
  8564. inline void msg_shopitem::clear_show_tab() {
  8565. show_tab_ = 0;
  8566. clear_has_show_tab();
  8567. }
  8568. inline ::google::protobuf::int32 msg_shopitem::show_tab() const {
  8569. return show_tab_;
  8570. }
  8571. inline void msg_shopitem::set_show_tab(::google::protobuf::int32 value) {
  8572. set_has_show_tab();
  8573. show_tab_ = value;
  8574. }
  8575. // -------------------------------------------------------------------
  8576. // packetl2c_get_shoplist_result
  8577. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_shoplist_result];
  8578. inline bool packetl2c_get_shoplist_result::has_packet_id() const {
  8579. return (_has_bits_[0] & 0x00000001u) != 0;
  8580. }
  8581. inline void packetl2c_get_shoplist_result::set_has_packet_id() {
  8582. _has_bits_[0] |= 0x00000001u;
  8583. }
  8584. inline void packetl2c_get_shoplist_result::clear_has_packet_id() {
  8585. _has_bits_[0] &= ~0x00000001u;
  8586. }
  8587. inline void packetl2c_get_shoplist_result::clear_packet_id() {
  8588. packet_id_ = 15212;
  8589. clear_has_packet_id();
  8590. }
  8591. inline ::fish_protocols::e_server_msg_type packetl2c_get_shoplist_result::packet_id() const {
  8592. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8593. }
  8594. inline void packetl2c_get_shoplist_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8595. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8596. set_has_packet_id();
  8597. packet_id_ = value;
  8598. }
  8599. // repeated .fish_protocols.msg_shopitem shoplist = 2;
  8600. inline int packetl2c_get_shoplist_result::shoplist_size() const {
  8601. return shoplist_.size();
  8602. }
  8603. inline void packetl2c_get_shoplist_result::clear_shoplist() {
  8604. shoplist_.Clear();
  8605. }
  8606. inline const ::fish_protocols::msg_shopitem& packetl2c_get_shoplist_result::shoplist(int index) const {
  8607. return shoplist_.Get(index);
  8608. }
  8609. inline ::fish_protocols::msg_shopitem* packetl2c_get_shoplist_result::mutable_shoplist(int index) {
  8610. return shoplist_.Mutable(index);
  8611. }
  8612. inline ::fish_protocols::msg_shopitem* packetl2c_get_shoplist_result::add_shoplist() {
  8613. return shoplist_.Add();
  8614. }
  8615. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >&
  8616. packetl2c_get_shoplist_result::shoplist() const {
  8617. return shoplist_;
  8618. }
  8619. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >*
  8620. packetl2c_get_shoplist_result::mutable_shoplist() {
  8621. return &shoplist_;
  8622. }
  8623. // -------------------------------------------------------------------
  8624. // packetc2l_turret_levelup
  8625. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_levelup];
  8626. inline bool packetc2l_turret_levelup::has_packet_id() const {
  8627. return (_has_bits_[0] & 0x00000001u) != 0;
  8628. }
  8629. inline void packetc2l_turret_levelup::set_has_packet_id() {
  8630. _has_bits_[0] |= 0x00000001u;
  8631. }
  8632. inline void packetc2l_turret_levelup::clear_has_packet_id() {
  8633. _has_bits_[0] &= ~0x00000001u;
  8634. }
  8635. inline void packetc2l_turret_levelup::clear_packet_id() {
  8636. packet_id_ = 10111;
  8637. clear_has_packet_id();
  8638. }
  8639. inline ::fish_protocols::e_server_msg_type packetc2l_turret_levelup::packet_id() const {
  8640. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8641. }
  8642. inline void packetc2l_turret_levelup::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8643. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8644. set_has_packet_id();
  8645. packet_id_ = value;
  8646. }
  8647. // optional bool uselucky = 2 [default = false];
  8648. inline bool packetc2l_turret_levelup::has_uselucky() const {
  8649. return (_has_bits_[0] & 0x00000002u) != 0;
  8650. }
  8651. inline void packetc2l_turret_levelup::set_has_uselucky() {
  8652. _has_bits_[0] |= 0x00000002u;
  8653. }
  8654. inline void packetc2l_turret_levelup::clear_has_uselucky() {
  8655. _has_bits_[0] &= ~0x00000002u;
  8656. }
  8657. inline void packetc2l_turret_levelup::clear_uselucky() {
  8658. uselucky_ = false;
  8659. clear_has_uselucky();
  8660. }
  8661. inline bool packetc2l_turret_levelup::uselucky() const {
  8662. return uselucky_;
  8663. }
  8664. inline void packetc2l_turret_levelup::set_uselucky(bool value) {
  8665. set_has_uselucky();
  8666. uselucky_ = value;
  8667. }
  8668. // -------------------------------------------------------------------
  8669. // packetl2c_turret_levelup_result
  8670. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_levelup_result];
  8671. inline bool packetl2c_turret_levelup_result::has_packet_id() const {
  8672. return (_has_bits_[0] & 0x00000001u) != 0;
  8673. }
  8674. inline void packetl2c_turret_levelup_result::set_has_packet_id() {
  8675. _has_bits_[0] |= 0x00000001u;
  8676. }
  8677. inline void packetl2c_turret_levelup_result::clear_has_packet_id() {
  8678. _has_bits_[0] &= ~0x00000001u;
  8679. }
  8680. inline void packetl2c_turret_levelup_result::clear_packet_id() {
  8681. packet_id_ = 15103;
  8682. clear_has_packet_id();
  8683. }
  8684. inline ::fish_protocols::e_server_msg_type packetl2c_turret_levelup_result::packet_id() const {
  8685. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8686. }
  8687. inline void packetl2c_turret_levelup_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8688. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8689. set_has_packet_id();
  8690. packet_id_ = value;
  8691. }
  8692. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  8693. inline bool packetl2c_turret_levelup_result::has_result() const {
  8694. return (_has_bits_[0] & 0x00000002u) != 0;
  8695. }
  8696. inline void packetl2c_turret_levelup_result::set_has_result() {
  8697. _has_bits_[0] |= 0x00000002u;
  8698. }
  8699. inline void packetl2c_turret_levelup_result::clear_has_result() {
  8700. _has_bits_[0] &= ~0x00000002u;
  8701. }
  8702. inline void packetl2c_turret_levelup_result::clear_result() {
  8703. result_ = 2;
  8704. clear_has_result();
  8705. }
  8706. inline ::msg_type_def::e_msg_result_def packetl2c_turret_levelup_result::result() const {
  8707. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  8708. }
  8709. inline void packetl2c_turret_levelup_result::set_result(::msg_type_def::e_msg_result_def value) {
  8710. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  8711. set_has_result();
  8712. result_ = value;
  8713. }
  8714. // optional bool usediamond = 3;
  8715. inline bool packetl2c_turret_levelup_result::has_usediamond() const {
  8716. return (_has_bits_[0] & 0x00000004u) != 0;
  8717. }
  8718. inline void packetl2c_turret_levelup_result::set_has_usediamond() {
  8719. _has_bits_[0] |= 0x00000004u;
  8720. }
  8721. inline void packetl2c_turret_levelup_result::clear_has_usediamond() {
  8722. _has_bits_[0] &= ~0x00000004u;
  8723. }
  8724. inline void packetl2c_turret_levelup_result::clear_usediamond() {
  8725. usediamond_ = false;
  8726. clear_has_usediamond();
  8727. }
  8728. inline bool packetl2c_turret_levelup_result::usediamond() const {
  8729. return usediamond_;
  8730. }
  8731. inline void packetl2c_turret_levelup_result::set_usediamond(bool value) {
  8732. set_has_usediamond();
  8733. usediamond_ = value;
  8734. }
  8735. // optional bool uselucky = 4;
  8736. inline bool packetl2c_turret_levelup_result::has_uselucky() const {
  8737. return (_has_bits_[0] & 0x00000008u) != 0;
  8738. }
  8739. inline void packetl2c_turret_levelup_result::set_has_uselucky() {
  8740. _has_bits_[0] |= 0x00000008u;
  8741. }
  8742. inline void packetl2c_turret_levelup_result::clear_has_uselucky() {
  8743. _has_bits_[0] &= ~0x00000008u;
  8744. }
  8745. inline void packetl2c_turret_levelup_result::clear_uselucky() {
  8746. uselucky_ = false;
  8747. clear_has_uselucky();
  8748. }
  8749. inline bool packetl2c_turret_levelup_result::uselucky() const {
  8750. return uselucky_;
  8751. }
  8752. inline void packetl2c_turret_levelup_result::set_uselucky(bool value) {
  8753. set_has_uselucky();
  8754. uselucky_ = value;
  8755. }
  8756. // optional int32 cur_lv = 5 [default = 0];
  8757. inline bool packetl2c_turret_levelup_result::has_cur_lv() const {
  8758. return (_has_bits_[0] & 0x00000010u) != 0;
  8759. }
  8760. inline void packetl2c_turret_levelup_result::set_has_cur_lv() {
  8761. _has_bits_[0] |= 0x00000010u;
  8762. }
  8763. inline void packetl2c_turret_levelup_result::clear_has_cur_lv() {
  8764. _has_bits_[0] &= ~0x00000010u;
  8765. }
  8766. inline void packetl2c_turret_levelup_result::clear_cur_lv() {
  8767. cur_lv_ = 0;
  8768. clear_has_cur_lv();
  8769. }
  8770. inline ::google::protobuf::int32 packetl2c_turret_levelup_result::cur_lv() const {
  8771. return cur_lv_;
  8772. }
  8773. inline void packetl2c_turret_levelup_result::set_cur_lv(::google::protobuf::int32 value) {
  8774. set_has_cur_lv();
  8775. cur_lv_ = value;
  8776. }
  8777. // optional int32 cur_lucky = 6 [default = 0];
  8778. inline bool packetl2c_turret_levelup_result::has_cur_lucky() const {
  8779. return (_has_bits_[0] & 0x00000020u) != 0;
  8780. }
  8781. inline void packetl2c_turret_levelup_result::set_has_cur_lucky() {
  8782. _has_bits_[0] |= 0x00000020u;
  8783. }
  8784. inline void packetl2c_turret_levelup_result::clear_has_cur_lucky() {
  8785. _has_bits_[0] &= ~0x00000020u;
  8786. }
  8787. inline void packetl2c_turret_levelup_result::clear_cur_lucky() {
  8788. cur_lucky_ = 0;
  8789. clear_has_cur_lucky();
  8790. }
  8791. inline ::google::protobuf::int32 packetl2c_turret_levelup_result::cur_lucky() const {
  8792. return cur_lucky_;
  8793. }
  8794. inline void packetl2c_turret_levelup_result::set_cur_lucky(::google::protobuf::int32 value) {
  8795. set_has_cur_lucky();
  8796. cur_lucky_ = value;
  8797. }
  8798. // -------------------------------------------------------------------
  8799. // packetl2c_player_auto_levelup
  8800. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_player_auto_levelup];
  8801. inline bool packetl2c_player_auto_levelup::has_packet_id() const {
  8802. return (_has_bits_[0] & 0x00000001u) != 0;
  8803. }
  8804. inline void packetl2c_player_auto_levelup::set_has_packet_id() {
  8805. _has_bits_[0] |= 0x00000001u;
  8806. }
  8807. inline void packetl2c_player_auto_levelup::clear_has_packet_id() {
  8808. _has_bits_[0] &= ~0x00000001u;
  8809. }
  8810. inline void packetl2c_player_auto_levelup::clear_packet_id() {
  8811. packet_id_ = 15110;
  8812. clear_has_packet_id();
  8813. }
  8814. inline ::fish_protocols::e_server_msg_type packetl2c_player_auto_levelup::packet_id() const {
  8815. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8816. }
  8817. inline void packetl2c_player_auto_levelup::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8818. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8819. set_has_packet_id();
  8820. packet_id_ = value;
  8821. }
  8822. // optional int32 uplevel = 2;
  8823. inline bool packetl2c_player_auto_levelup::has_uplevel() const {
  8824. return (_has_bits_[0] & 0x00000002u) != 0;
  8825. }
  8826. inline void packetl2c_player_auto_levelup::set_has_uplevel() {
  8827. _has_bits_[0] |= 0x00000002u;
  8828. }
  8829. inline void packetl2c_player_auto_levelup::clear_has_uplevel() {
  8830. _has_bits_[0] &= ~0x00000002u;
  8831. }
  8832. inline void packetl2c_player_auto_levelup::clear_uplevel() {
  8833. uplevel_ = 0;
  8834. clear_has_uplevel();
  8835. }
  8836. inline ::google::protobuf::int32 packetl2c_player_auto_levelup::uplevel() const {
  8837. return uplevel_;
  8838. }
  8839. inline void packetl2c_player_auto_levelup::set_uplevel(::google::protobuf::int32 value) {
  8840. set_has_uplevel();
  8841. uplevel_ = value;
  8842. }
  8843. // optional int32 award_gold = 3;
  8844. inline bool packetl2c_player_auto_levelup::has_award_gold() const {
  8845. return (_has_bits_[0] & 0x00000004u) != 0;
  8846. }
  8847. inline void packetl2c_player_auto_levelup::set_has_award_gold() {
  8848. _has_bits_[0] |= 0x00000004u;
  8849. }
  8850. inline void packetl2c_player_auto_levelup::clear_has_award_gold() {
  8851. _has_bits_[0] &= ~0x00000004u;
  8852. }
  8853. inline void packetl2c_player_auto_levelup::clear_award_gold() {
  8854. award_gold_ = 0;
  8855. clear_has_award_gold();
  8856. }
  8857. inline ::google::protobuf::int32 packetl2c_player_auto_levelup::award_gold() const {
  8858. return award_gold_;
  8859. }
  8860. inline void packetl2c_player_auto_levelup::set_award_gold(::google::protobuf::int32 value) {
  8861. set_has_award_gold();
  8862. award_gold_ = value;
  8863. }
  8864. // optional int32 award_ticket = 4;
  8865. inline bool packetl2c_player_auto_levelup::has_award_ticket() const {
  8866. return (_has_bits_[0] & 0x00000008u) != 0;
  8867. }
  8868. inline void packetl2c_player_auto_levelup::set_has_award_ticket() {
  8869. _has_bits_[0] |= 0x00000008u;
  8870. }
  8871. inline void packetl2c_player_auto_levelup::clear_has_award_ticket() {
  8872. _has_bits_[0] &= ~0x00000008u;
  8873. }
  8874. inline void packetl2c_player_auto_levelup::clear_award_ticket() {
  8875. award_ticket_ = 0;
  8876. clear_has_award_ticket();
  8877. }
  8878. inline ::google::protobuf::int32 packetl2c_player_auto_levelup::award_ticket() const {
  8879. return award_ticket_;
  8880. }
  8881. inline void packetl2c_player_auto_levelup::set_award_ticket(::google::protobuf::int32 value) {
  8882. set_has_award_ticket();
  8883. award_ticket_ = value;
  8884. }
  8885. // optional int32 unlock_rate = 5 [default = 0];
  8886. inline bool packetl2c_player_auto_levelup::has_unlock_rate() const {
  8887. return (_has_bits_[0] & 0x00000010u) != 0;
  8888. }
  8889. inline void packetl2c_player_auto_levelup::set_has_unlock_rate() {
  8890. _has_bits_[0] |= 0x00000010u;
  8891. }
  8892. inline void packetl2c_player_auto_levelup::clear_has_unlock_rate() {
  8893. _has_bits_[0] &= ~0x00000010u;
  8894. }
  8895. inline void packetl2c_player_auto_levelup::clear_unlock_rate() {
  8896. unlock_rate_ = 0;
  8897. clear_has_unlock_rate();
  8898. }
  8899. inline ::google::protobuf::int32 packetl2c_player_auto_levelup::unlock_rate() const {
  8900. return unlock_rate_;
  8901. }
  8902. inline void packetl2c_player_auto_levelup::set_unlock_rate(::google::protobuf::int32 value) {
  8903. set_has_unlock_rate();
  8904. unlock_rate_ = value;
  8905. }
  8906. // repeated .fish_protocols.msg_item award_item = 6;
  8907. inline int packetl2c_player_auto_levelup::award_item_size() const {
  8908. return award_item_.size();
  8909. }
  8910. inline void packetl2c_player_auto_levelup::clear_award_item() {
  8911. award_item_.Clear();
  8912. }
  8913. inline const ::fish_protocols::msg_item& packetl2c_player_auto_levelup::award_item(int index) const {
  8914. return award_item_.Get(index);
  8915. }
  8916. inline ::fish_protocols::msg_item* packetl2c_player_auto_levelup::mutable_award_item(int index) {
  8917. return award_item_.Mutable(index);
  8918. }
  8919. inline ::fish_protocols::msg_item* packetl2c_player_auto_levelup::add_award_item() {
  8920. return award_item_.Add();
  8921. }
  8922. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >&
  8923. packetl2c_player_auto_levelup::award_item() const {
  8924. return award_item_;
  8925. }
  8926. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >*
  8927. packetl2c_player_auto_levelup::mutable_award_item() {
  8928. return &award_item_;
  8929. }
  8930. // -------------------------------------------------------------------
  8931. // packetl2c_give_item_result
  8932. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_give_item_result];
  8933. inline bool packetl2c_give_item_result::has_packet_id() const {
  8934. return (_has_bits_[0] & 0x00000001u) != 0;
  8935. }
  8936. inline void packetl2c_give_item_result::set_has_packet_id() {
  8937. _has_bits_[0] |= 0x00000001u;
  8938. }
  8939. inline void packetl2c_give_item_result::clear_has_packet_id() {
  8940. _has_bits_[0] &= ~0x00000001u;
  8941. }
  8942. inline void packetl2c_give_item_result::clear_packet_id() {
  8943. packet_id_ = 15109;
  8944. clear_has_packet_id();
  8945. }
  8946. inline ::fish_protocols::e_server_msg_type packetl2c_give_item_result::packet_id() const {
  8947. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  8948. }
  8949. inline void packetl2c_give_item_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  8950. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  8951. set_has_packet_id();
  8952. packet_id_ = value;
  8953. }
  8954. // optional int32 itemid = 2;
  8955. inline bool packetl2c_give_item_result::has_itemid() const {
  8956. return (_has_bits_[0] & 0x00000002u) != 0;
  8957. }
  8958. inline void packetl2c_give_item_result::set_has_itemid() {
  8959. _has_bits_[0] |= 0x00000002u;
  8960. }
  8961. inline void packetl2c_give_item_result::clear_has_itemid() {
  8962. _has_bits_[0] &= ~0x00000002u;
  8963. }
  8964. inline void packetl2c_give_item_result::clear_itemid() {
  8965. itemid_ = 0;
  8966. clear_has_itemid();
  8967. }
  8968. inline ::google::protobuf::int32 packetl2c_give_item_result::itemid() const {
  8969. return itemid_;
  8970. }
  8971. inline void packetl2c_give_item_result::set_itemid(::google::protobuf::int32 value) {
  8972. set_has_itemid();
  8973. itemid_ = value;
  8974. }
  8975. // optional int32 itemcount = 3 [default = 1];
  8976. inline bool packetl2c_give_item_result::has_itemcount() const {
  8977. return (_has_bits_[0] & 0x00000004u) != 0;
  8978. }
  8979. inline void packetl2c_give_item_result::set_has_itemcount() {
  8980. _has_bits_[0] |= 0x00000004u;
  8981. }
  8982. inline void packetl2c_give_item_result::clear_has_itemcount() {
  8983. _has_bits_[0] &= ~0x00000004u;
  8984. }
  8985. inline void packetl2c_give_item_result::clear_itemcount() {
  8986. itemcount_ = 1;
  8987. clear_has_itemcount();
  8988. }
  8989. inline ::google::protobuf::int32 packetl2c_give_item_result::itemcount() const {
  8990. return itemcount_;
  8991. }
  8992. inline void packetl2c_give_item_result::set_itemcount(::google::protobuf::int32 value) {
  8993. set_has_itemcount();
  8994. itemcount_ = value;
  8995. }
  8996. // -------------------------------------------------------------------
  8997. // packetc2l_buy_func_item
  8998. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_func_item];
  8999. inline bool packetc2l_buy_func_item::has_packet_id() const {
  9000. return (_has_bits_[0] & 0x00000001u) != 0;
  9001. }
  9002. inline void packetc2l_buy_func_item::set_has_packet_id() {
  9003. _has_bits_[0] |= 0x00000001u;
  9004. }
  9005. inline void packetc2l_buy_func_item::clear_has_packet_id() {
  9006. _has_bits_[0] &= ~0x00000001u;
  9007. }
  9008. inline void packetc2l_buy_func_item::clear_packet_id() {
  9009. packet_id_ = 10124;
  9010. clear_has_packet_id();
  9011. }
  9012. inline ::fish_protocols::e_server_msg_type packetc2l_buy_func_item::packet_id() const {
  9013. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9014. }
  9015. inline void packetc2l_buy_func_item::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9016. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9017. set_has_packet_id();
  9018. packet_id_ = value;
  9019. }
  9020. // optional int32 item_id = 2;
  9021. inline bool packetc2l_buy_func_item::has_item_id() const {
  9022. return (_has_bits_[0] & 0x00000002u) != 0;
  9023. }
  9024. inline void packetc2l_buy_func_item::set_has_item_id() {
  9025. _has_bits_[0] |= 0x00000002u;
  9026. }
  9027. inline void packetc2l_buy_func_item::clear_has_item_id() {
  9028. _has_bits_[0] &= ~0x00000002u;
  9029. }
  9030. inline void packetc2l_buy_func_item::clear_item_id() {
  9031. item_id_ = 0;
  9032. clear_has_item_id();
  9033. }
  9034. inline ::google::protobuf::int32 packetc2l_buy_func_item::item_id() const {
  9035. return item_id_;
  9036. }
  9037. inline void packetc2l_buy_func_item::set_item_id(::google::protobuf::int32 value) {
  9038. set_has_item_id();
  9039. item_id_ = value;
  9040. }
  9041. // optional int32 item_count = 3 [default = 1];
  9042. inline bool packetc2l_buy_func_item::has_item_count() const {
  9043. return (_has_bits_[0] & 0x00000004u) != 0;
  9044. }
  9045. inline void packetc2l_buy_func_item::set_has_item_count() {
  9046. _has_bits_[0] |= 0x00000004u;
  9047. }
  9048. inline void packetc2l_buy_func_item::clear_has_item_count() {
  9049. _has_bits_[0] &= ~0x00000004u;
  9050. }
  9051. inline void packetc2l_buy_func_item::clear_item_count() {
  9052. item_count_ = 1;
  9053. clear_has_item_count();
  9054. }
  9055. inline ::google::protobuf::int32 packetc2l_buy_func_item::item_count() const {
  9056. return item_count_;
  9057. }
  9058. inline void packetc2l_buy_func_item::set_item_count(::google::protobuf::int32 value) {
  9059. set_has_item_count();
  9060. item_count_ = value;
  9061. }
  9062. // -------------------------------------------------------------------
  9063. // packetl2c_buy_func_item_result
  9064. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_func_item_result];
  9065. inline bool packetl2c_buy_func_item_result::has_packet_id() const {
  9066. return (_has_bits_[0] & 0x00000001u) != 0;
  9067. }
  9068. inline void packetl2c_buy_func_item_result::set_has_packet_id() {
  9069. _has_bits_[0] |= 0x00000001u;
  9070. }
  9071. inline void packetl2c_buy_func_item_result::clear_has_packet_id() {
  9072. _has_bits_[0] &= ~0x00000001u;
  9073. }
  9074. inline void packetl2c_buy_func_item_result::clear_packet_id() {
  9075. packet_id_ = 16107;
  9076. clear_has_packet_id();
  9077. }
  9078. inline ::fish_protocols::e_server_msg_type packetl2c_buy_func_item_result::packet_id() const {
  9079. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9080. }
  9081. inline void packetl2c_buy_func_item_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9082. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9083. set_has_packet_id();
  9084. packet_id_ = value;
  9085. }
  9086. // optional int32 item_id = 2;
  9087. inline bool packetl2c_buy_func_item_result::has_item_id() const {
  9088. return (_has_bits_[0] & 0x00000002u) != 0;
  9089. }
  9090. inline void packetl2c_buy_func_item_result::set_has_item_id() {
  9091. _has_bits_[0] |= 0x00000002u;
  9092. }
  9093. inline void packetl2c_buy_func_item_result::clear_has_item_id() {
  9094. _has_bits_[0] &= ~0x00000002u;
  9095. }
  9096. inline void packetl2c_buy_func_item_result::clear_item_id() {
  9097. item_id_ = 0;
  9098. clear_has_item_id();
  9099. }
  9100. inline ::google::protobuf::int32 packetl2c_buy_func_item_result::item_id() const {
  9101. return item_id_;
  9102. }
  9103. inline void packetl2c_buy_func_item_result::set_item_id(::google::protobuf::int32 value) {
  9104. set_has_item_id();
  9105. item_id_ = value;
  9106. }
  9107. // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail];
  9108. inline bool packetl2c_buy_func_item_result::has_result() const {
  9109. return (_has_bits_[0] & 0x00000004u) != 0;
  9110. }
  9111. inline void packetl2c_buy_func_item_result::set_has_result() {
  9112. _has_bits_[0] |= 0x00000004u;
  9113. }
  9114. inline void packetl2c_buy_func_item_result::clear_has_result() {
  9115. _has_bits_[0] &= ~0x00000004u;
  9116. }
  9117. inline void packetl2c_buy_func_item_result::clear_result() {
  9118. result_ = 2;
  9119. clear_has_result();
  9120. }
  9121. inline ::msg_type_def::e_msg_result_def packetl2c_buy_func_item_result::result() const {
  9122. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  9123. }
  9124. inline void packetl2c_buy_func_item_result::set_result(::msg_type_def::e_msg_result_def value) {
  9125. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  9126. set_has_result();
  9127. result_ = value;
  9128. }
  9129. // optional int32 item_count = 4 [default = 1];
  9130. inline bool packetl2c_buy_func_item_result::has_item_count() const {
  9131. return (_has_bits_[0] & 0x00000008u) != 0;
  9132. }
  9133. inline void packetl2c_buy_func_item_result::set_has_item_count() {
  9134. _has_bits_[0] |= 0x00000008u;
  9135. }
  9136. inline void packetl2c_buy_func_item_result::clear_has_item_count() {
  9137. _has_bits_[0] &= ~0x00000008u;
  9138. }
  9139. inline void packetl2c_buy_func_item_result::clear_item_count() {
  9140. item_count_ = 1;
  9141. clear_has_item_count();
  9142. }
  9143. inline ::google::protobuf::int32 packetl2c_buy_func_item_result::item_count() const {
  9144. return item_count_;
  9145. }
  9146. inline void packetl2c_buy_func_item_result::set_item_count(::google::protobuf::int32 value) {
  9147. set_has_item_count();
  9148. item_count_ = value;
  9149. }
  9150. // -------------------------------------------------------------------
  9151. // packetc2l_torpedo_exchange
  9152. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_torpedo_exchange];
  9153. inline bool packetc2l_torpedo_exchange::has_packet_id() const {
  9154. return (_has_bits_[0] & 0x00000001u) != 0;
  9155. }
  9156. inline void packetc2l_torpedo_exchange::set_has_packet_id() {
  9157. _has_bits_[0] |= 0x00000001u;
  9158. }
  9159. inline void packetc2l_torpedo_exchange::clear_has_packet_id() {
  9160. _has_bits_[0] &= ~0x00000001u;
  9161. }
  9162. inline void packetc2l_torpedo_exchange::clear_packet_id() {
  9163. packet_id_ = 10127;
  9164. clear_has_packet_id();
  9165. }
  9166. inline ::fish_protocols::e_server_msg_type packetc2l_torpedo_exchange::packet_id() const {
  9167. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9168. }
  9169. inline void packetc2l_torpedo_exchange::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9170. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9171. set_has_packet_id();
  9172. packet_id_ = value;
  9173. }
  9174. // optional int32 type = 2;
  9175. inline bool packetc2l_torpedo_exchange::has_type() const {
  9176. return (_has_bits_[0] & 0x00000002u) != 0;
  9177. }
  9178. inline void packetc2l_torpedo_exchange::set_has_type() {
  9179. _has_bits_[0] |= 0x00000002u;
  9180. }
  9181. inline void packetc2l_torpedo_exchange::clear_has_type() {
  9182. _has_bits_[0] &= ~0x00000002u;
  9183. }
  9184. inline void packetc2l_torpedo_exchange::clear_type() {
  9185. type_ = 0;
  9186. clear_has_type();
  9187. }
  9188. inline ::google::protobuf::int32 packetc2l_torpedo_exchange::type() const {
  9189. return type_;
  9190. }
  9191. inline void packetc2l_torpedo_exchange::set_type(::google::protobuf::int32 value) {
  9192. set_has_type();
  9193. type_ = value;
  9194. }
  9195. // optional int32 torpedo_id = 3;
  9196. inline bool packetc2l_torpedo_exchange::has_torpedo_id() const {
  9197. return (_has_bits_[0] & 0x00000004u) != 0;
  9198. }
  9199. inline void packetc2l_torpedo_exchange::set_has_torpedo_id() {
  9200. _has_bits_[0] |= 0x00000004u;
  9201. }
  9202. inline void packetc2l_torpedo_exchange::clear_has_torpedo_id() {
  9203. _has_bits_[0] &= ~0x00000004u;
  9204. }
  9205. inline void packetc2l_torpedo_exchange::clear_torpedo_id() {
  9206. torpedo_id_ = 0;
  9207. clear_has_torpedo_id();
  9208. }
  9209. inline ::google::protobuf::int32 packetc2l_torpedo_exchange::torpedo_id() const {
  9210. return torpedo_id_;
  9211. }
  9212. inline void packetc2l_torpedo_exchange::set_torpedo_id(::google::protobuf::int32 value) {
  9213. set_has_torpedo_id();
  9214. torpedo_id_ = value;
  9215. }
  9216. // optional int32 torpedo_count = 4;
  9217. inline bool packetc2l_torpedo_exchange::has_torpedo_count() const {
  9218. return (_has_bits_[0] & 0x00000008u) != 0;
  9219. }
  9220. inline void packetc2l_torpedo_exchange::set_has_torpedo_count() {
  9221. _has_bits_[0] |= 0x00000008u;
  9222. }
  9223. inline void packetc2l_torpedo_exchange::clear_has_torpedo_count() {
  9224. _has_bits_[0] &= ~0x00000008u;
  9225. }
  9226. inline void packetc2l_torpedo_exchange::clear_torpedo_count() {
  9227. torpedo_count_ = 0;
  9228. clear_has_torpedo_count();
  9229. }
  9230. inline ::google::protobuf::int32 packetc2l_torpedo_exchange::torpedo_count() const {
  9231. return torpedo_count_;
  9232. }
  9233. inline void packetc2l_torpedo_exchange::set_torpedo_count(::google::protobuf::int32 value) {
  9234. set_has_torpedo_count();
  9235. torpedo_count_ = value;
  9236. }
  9237. // -------------------------------------------------------------------
  9238. // packetl2c_torpedo_exchange_result
  9239. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_torpedo_exchange_result];
  9240. inline bool packetl2c_torpedo_exchange_result::has_packet_id() const {
  9241. return (_has_bits_[0] & 0x00000001u) != 0;
  9242. }
  9243. inline void packetl2c_torpedo_exchange_result::set_has_packet_id() {
  9244. _has_bits_[0] |= 0x00000001u;
  9245. }
  9246. inline void packetl2c_torpedo_exchange_result::clear_has_packet_id() {
  9247. _has_bits_[0] &= ~0x00000001u;
  9248. }
  9249. inline void packetl2c_torpedo_exchange_result::clear_packet_id() {
  9250. packet_id_ = 15111;
  9251. clear_has_packet_id();
  9252. }
  9253. inline ::fish_protocols::e_server_msg_type packetl2c_torpedo_exchange_result::packet_id() const {
  9254. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9255. }
  9256. inline void packetl2c_torpedo_exchange_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9257. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9258. set_has_packet_id();
  9259. packet_id_ = value;
  9260. }
  9261. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  9262. inline bool packetl2c_torpedo_exchange_result::has_result() const {
  9263. return (_has_bits_[0] & 0x00000002u) != 0;
  9264. }
  9265. inline void packetl2c_torpedo_exchange_result::set_has_result() {
  9266. _has_bits_[0] |= 0x00000002u;
  9267. }
  9268. inline void packetl2c_torpedo_exchange_result::clear_has_result() {
  9269. _has_bits_[0] &= ~0x00000002u;
  9270. }
  9271. inline void packetl2c_torpedo_exchange_result::clear_result() {
  9272. result_ = 2;
  9273. clear_has_result();
  9274. }
  9275. inline ::msg_type_def::e_msg_result_def packetl2c_torpedo_exchange_result::result() const {
  9276. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  9277. }
  9278. inline void packetl2c_torpedo_exchange_result::set_result(::msg_type_def::e_msg_result_def value) {
  9279. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  9280. set_has_result();
  9281. result_ = value;
  9282. }
  9283. // optional int32 type = 3;
  9284. inline bool packetl2c_torpedo_exchange_result::has_type() const {
  9285. return (_has_bits_[0] & 0x00000004u) != 0;
  9286. }
  9287. inline void packetl2c_torpedo_exchange_result::set_has_type() {
  9288. _has_bits_[0] |= 0x00000004u;
  9289. }
  9290. inline void packetl2c_torpedo_exchange_result::clear_has_type() {
  9291. _has_bits_[0] &= ~0x00000004u;
  9292. }
  9293. inline void packetl2c_torpedo_exchange_result::clear_type() {
  9294. type_ = 0;
  9295. clear_has_type();
  9296. }
  9297. inline ::google::protobuf::int32 packetl2c_torpedo_exchange_result::type() const {
  9298. return type_;
  9299. }
  9300. inline void packetl2c_torpedo_exchange_result::set_type(::google::protobuf::int32 value) {
  9301. set_has_type();
  9302. type_ = value;
  9303. }
  9304. // optional int32 torpedo_id = 4;
  9305. inline bool packetl2c_torpedo_exchange_result::has_torpedo_id() const {
  9306. return (_has_bits_[0] & 0x00000008u) != 0;
  9307. }
  9308. inline void packetl2c_torpedo_exchange_result::set_has_torpedo_id() {
  9309. _has_bits_[0] |= 0x00000008u;
  9310. }
  9311. inline void packetl2c_torpedo_exchange_result::clear_has_torpedo_id() {
  9312. _has_bits_[0] &= ~0x00000008u;
  9313. }
  9314. inline void packetl2c_torpedo_exchange_result::clear_torpedo_id() {
  9315. torpedo_id_ = 0;
  9316. clear_has_torpedo_id();
  9317. }
  9318. inline ::google::protobuf::int32 packetl2c_torpedo_exchange_result::torpedo_id() const {
  9319. return torpedo_id_;
  9320. }
  9321. inline void packetl2c_torpedo_exchange_result::set_torpedo_id(::google::protobuf::int32 value) {
  9322. set_has_torpedo_id();
  9323. torpedo_id_ = value;
  9324. }
  9325. // optional int32 torpedo_count = 5;
  9326. inline bool packetl2c_torpedo_exchange_result::has_torpedo_count() const {
  9327. return (_has_bits_[0] & 0x00000010u) != 0;
  9328. }
  9329. inline void packetl2c_torpedo_exchange_result::set_has_torpedo_count() {
  9330. _has_bits_[0] |= 0x00000010u;
  9331. }
  9332. inline void packetl2c_torpedo_exchange_result::clear_has_torpedo_count() {
  9333. _has_bits_[0] &= ~0x00000010u;
  9334. }
  9335. inline void packetl2c_torpedo_exchange_result::clear_torpedo_count() {
  9336. torpedo_count_ = 0;
  9337. clear_has_torpedo_count();
  9338. }
  9339. inline ::google::protobuf::int32 packetl2c_torpedo_exchange_result::torpedo_count() const {
  9340. return torpedo_count_;
  9341. }
  9342. inline void packetl2c_torpedo_exchange_result::set_torpedo_count(::google::protobuf::int32 value) {
  9343. set_has_torpedo_count();
  9344. torpedo_count_ = value;
  9345. }
  9346. // -------------------------------------------------------------------
  9347. // packetc2l_torpedo_compose
  9348. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_torpedo_compose];
  9349. inline bool packetc2l_torpedo_compose::has_packet_id() const {
  9350. return (_has_bits_[0] & 0x00000001u) != 0;
  9351. }
  9352. inline void packetc2l_torpedo_compose::set_has_packet_id() {
  9353. _has_bits_[0] |= 0x00000001u;
  9354. }
  9355. inline void packetc2l_torpedo_compose::clear_has_packet_id() {
  9356. _has_bits_[0] &= ~0x00000001u;
  9357. }
  9358. inline void packetc2l_torpedo_compose::clear_packet_id() {
  9359. packet_id_ = 10163;
  9360. clear_has_packet_id();
  9361. }
  9362. inline ::fish_protocols::e_server_msg_type packetc2l_torpedo_compose::packet_id() const {
  9363. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9364. }
  9365. inline void packetc2l_torpedo_compose::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9366. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9367. set_has_packet_id();
  9368. packet_id_ = value;
  9369. }
  9370. // optional int32 type = 2;
  9371. inline bool packetc2l_torpedo_compose::has_type() const {
  9372. return (_has_bits_[0] & 0x00000002u) != 0;
  9373. }
  9374. inline void packetc2l_torpedo_compose::set_has_type() {
  9375. _has_bits_[0] |= 0x00000002u;
  9376. }
  9377. inline void packetc2l_torpedo_compose::clear_has_type() {
  9378. _has_bits_[0] &= ~0x00000002u;
  9379. }
  9380. inline void packetc2l_torpedo_compose::clear_type() {
  9381. type_ = 0;
  9382. clear_has_type();
  9383. }
  9384. inline ::google::protobuf::int32 packetc2l_torpedo_compose::type() const {
  9385. return type_;
  9386. }
  9387. inline void packetc2l_torpedo_compose::set_type(::google::protobuf::int32 value) {
  9388. set_has_type();
  9389. type_ = value;
  9390. }
  9391. // optional int32 compose_id = 3;
  9392. inline bool packetc2l_torpedo_compose::has_compose_id() const {
  9393. return (_has_bits_[0] & 0x00000004u) != 0;
  9394. }
  9395. inline void packetc2l_torpedo_compose::set_has_compose_id() {
  9396. _has_bits_[0] |= 0x00000004u;
  9397. }
  9398. inline void packetc2l_torpedo_compose::clear_has_compose_id() {
  9399. _has_bits_[0] &= ~0x00000004u;
  9400. }
  9401. inline void packetc2l_torpedo_compose::clear_compose_id() {
  9402. compose_id_ = 0;
  9403. clear_has_compose_id();
  9404. }
  9405. inline ::google::protobuf::int32 packetc2l_torpedo_compose::compose_id() const {
  9406. return compose_id_;
  9407. }
  9408. inline void packetc2l_torpedo_compose::set_compose_id(::google::protobuf::int32 value) {
  9409. set_has_compose_id();
  9410. compose_id_ = value;
  9411. }
  9412. // optional int32 compose_count = 4;
  9413. inline bool packetc2l_torpedo_compose::has_compose_count() const {
  9414. return (_has_bits_[0] & 0x00000008u) != 0;
  9415. }
  9416. inline void packetc2l_torpedo_compose::set_has_compose_count() {
  9417. _has_bits_[0] |= 0x00000008u;
  9418. }
  9419. inline void packetc2l_torpedo_compose::clear_has_compose_count() {
  9420. _has_bits_[0] &= ~0x00000008u;
  9421. }
  9422. inline void packetc2l_torpedo_compose::clear_compose_count() {
  9423. compose_count_ = 0;
  9424. clear_has_compose_count();
  9425. }
  9426. inline ::google::protobuf::int32 packetc2l_torpedo_compose::compose_count() const {
  9427. return compose_count_;
  9428. }
  9429. inline void packetc2l_torpedo_compose::set_compose_count(::google::protobuf::int32 value) {
  9430. set_has_compose_count();
  9431. compose_count_ = value;
  9432. }
  9433. // -------------------------------------------------------------------
  9434. // packetl2c_torpedo_compose_result
  9435. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_torpedo_compose_result];
  9436. inline bool packetl2c_torpedo_compose_result::has_packet_id() const {
  9437. return (_has_bits_[0] & 0x00000001u) != 0;
  9438. }
  9439. inline void packetl2c_torpedo_compose_result::set_has_packet_id() {
  9440. _has_bits_[0] |= 0x00000001u;
  9441. }
  9442. inline void packetl2c_torpedo_compose_result::clear_has_packet_id() {
  9443. _has_bits_[0] &= ~0x00000001u;
  9444. }
  9445. inline void packetl2c_torpedo_compose_result::clear_packet_id() {
  9446. packet_id_ = 16155;
  9447. clear_has_packet_id();
  9448. }
  9449. inline ::fish_protocols::e_server_msg_type packetl2c_torpedo_compose_result::packet_id() const {
  9450. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9451. }
  9452. inline void packetl2c_torpedo_compose_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9453. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9454. set_has_packet_id();
  9455. packet_id_ = value;
  9456. }
  9457. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  9458. inline bool packetl2c_torpedo_compose_result::has_result() const {
  9459. return (_has_bits_[0] & 0x00000002u) != 0;
  9460. }
  9461. inline void packetl2c_torpedo_compose_result::set_has_result() {
  9462. _has_bits_[0] |= 0x00000002u;
  9463. }
  9464. inline void packetl2c_torpedo_compose_result::clear_has_result() {
  9465. _has_bits_[0] &= ~0x00000002u;
  9466. }
  9467. inline void packetl2c_torpedo_compose_result::clear_result() {
  9468. result_ = 2;
  9469. clear_has_result();
  9470. }
  9471. inline ::msg_type_def::e_msg_result_def packetl2c_torpedo_compose_result::result() const {
  9472. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  9473. }
  9474. inline void packetl2c_torpedo_compose_result::set_result(::msg_type_def::e_msg_result_def value) {
  9475. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  9476. set_has_result();
  9477. result_ = value;
  9478. }
  9479. // optional int32 compose_id = 3;
  9480. inline bool packetl2c_torpedo_compose_result::has_compose_id() const {
  9481. return (_has_bits_[0] & 0x00000004u) != 0;
  9482. }
  9483. inline void packetl2c_torpedo_compose_result::set_has_compose_id() {
  9484. _has_bits_[0] |= 0x00000004u;
  9485. }
  9486. inline void packetl2c_torpedo_compose_result::clear_has_compose_id() {
  9487. _has_bits_[0] &= ~0x00000004u;
  9488. }
  9489. inline void packetl2c_torpedo_compose_result::clear_compose_id() {
  9490. compose_id_ = 0;
  9491. clear_has_compose_id();
  9492. }
  9493. inline ::google::protobuf::int32 packetl2c_torpedo_compose_result::compose_id() const {
  9494. return compose_id_;
  9495. }
  9496. inline void packetl2c_torpedo_compose_result::set_compose_id(::google::protobuf::int32 value) {
  9497. set_has_compose_id();
  9498. compose_id_ = value;
  9499. }
  9500. // optional int32 compose_count = 4;
  9501. inline bool packetl2c_torpedo_compose_result::has_compose_count() const {
  9502. return (_has_bits_[0] & 0x00000008u) != 0;
  9503. }
  9504. inline void packetl2c_torpedo_compose_result::set_has_compose_count() {
  9505. _has_bits_[0] |= 0x00000008u;
  9506. }
  9507. inline void packetl2c_torpedo_compose_result::clear_has_compose_count() {
  9508. _has_bits_[0] &= ~0x00000008u;
  9509. }
  9510. inline void packetl2c_torpedo_compose_result::clear_compose_count() {
  9511. compose_count_ = 0;
  9512. clear_has_compose_count();
  9513. }
  9514. inline ::google::protobuf::int32 packetl2c_torpedo_compose_result::compose_count() const {
  9515. return compose_count_;
  9516. }
  9517. inline void packetl2c_torpedo_compose_result::set_compose_count(::google::protobuf::int32 value) {
  9518. set_has_compose_count();
  9519. compose_count_ = value;
  9520. }
  9521. // -------------------------------------------------------------------
  9522. // msg_airdropitem
  9523. // optional int32 uuid = 1;
  9524. inline bool msg_airdropitem::has_uuid() const {
  9525. return (_has_bits_[0] & 0x00000001u) != 0;
  9526. }
  9527. inline void msg_airdropitem::set_has_uuid() {
  9528. _has_bits_[0] |= 0x00000001u;
  9529. }
  9530. inline void msg_airdropitem::clear_has_uuid() {
  9531. _has_bits_[0] &= ~0x00000001u;
  9532. }
  9533. inline void msg_airdropitem::clear_uuid() {
  9534. uuid_ = 0;
  9535. clear_has_uuid();
  9536. }
  9537. inline ::google::protobuf::int32 msg_airdropitem::uuid() const {
  9538. return uuid_;
  9539. }
  9540. inline void msg_airdropitem::set_uuid(::google::protobuf::int32 value) {
  9541. set_has_uuid();
  9542. uuid_ = value;
  9543. }
  9544. // optional int32 playerid = 2;
  9545. inline bool msg_airdropitem::has_playerid() const {
  9546. return (_has_bits_[0] & 0x00000002u) != 0;
  9547. }
  9548. inline void msg_airdropitem::set_has_playerid() {
  9549. _has_bits_[0] |= 0x00000002u;
  9550. }
  9551. inline void msg_airdropitem::clear_has_playerid() {
  9552. _has_bits_[0] &= ~0x00000002u;
  9553. }
  9554. inline void msg_airdropitem::clear_playerid() {
  9555. playerid_ = 0;
  9556. clear_has_playerid();
  9557. }
  9558. inline ::google::protobuf::int32 msg_airdropitem::playerid() const {
  9559. return playerid_;
  9560. }
  9561. inline void msg_airdropitem::set_playerid(::google::protobuf::int32 value) {
  9562. set_has_playerid();
  9563. playerid_ = value;
  9564. }
  9565. // optional int32 itemid = 3;
  9566. inline bool msg_airdropitem::has_itemid() const {
  9567. return (_has_bits_[0] & 0x00000004u) != 0;
  9568. }
  9569. inline void msg_airdropitem::set_has_itemid() {
  9570. _has_bits_[0] |= 0x00000004u;
  9571. }
  9572. inline void msg_airdropitem::clear_has_itemid() {
  9573. _has_bits_[0] &= ~0x00000004u;
  9574. }
  9575. inline void msg_airdropitem::clear_itemid() {
  9576. itemid_ = 0;
  9577. clear_has_itemid();
  9578. }
  9579. inline ::google::protobuf::int32 msg_airdropitem::itemid() const {
  9580. return itemid_;
  9581. }
  9582. inline void msg_airdropitem::set_itemid(::google::protobuf::int32 value) {
  9583. set_has_itemid();
  9584. itemid_ = value;
  9585. }
  9586. // optional int32 itemcount = 4;
  9587. inline bool msg_airdropitem::has_itemcount() const {
  9588. return (_has_bits_[0] & 0x00000008u) != 0;
  9589. }
  9590. inline void msg_airdropitem::set_has_itemcount() {
  9591. _has_bits_[0] |= 0x00000008u;
  9592. }
  9593. inline void msg_airdropitem::clear_has_itemcount() {
  9594. _has_bits_[0] &= ~0x00000008u;
  9595. }
  9596. inline void msg_airdropitem::clear_itemcount() {
  9597. itemcount_ = 0;
  9598. clear_has_itemcount();
  9599. }
  9600. inline ::google::protobuf::int32 msg_airdropitem::itemcount() const {
  9601. return itemcount_;
  9602. }
  9603. inline void msg_airdropitem::set_itemcount(::google::protobuf::int32 value) {
  9604. set_has_itemcount();
  9605. itemcount_ = value;
  9606. }
  9607. // optional string nickname = 5;
  9608. inline bool msg_airdropitem::has_nickname() const {
  9609. return (_has_bits_[0] & 0x00000010u) != 0;
  9610. }
  9611. inline void msg_airdropitem::set_has_nickname() {
  9612. _has_bits_[0] |= 0x00000010u;
  9613. }
  9614. inline void msg_airdropitem::clear_has_nickname() {
  9615. _has_bits_[0] &= ~0x00000010u;
  9616. }
  9617. inline void msg_airdropitem::clear_nickname() {
  9618. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  9619. nickname_->clear();
  9620. }
  9621. clear_has_nickname();
  9622. }
  9623. inline const ::std::string& msg_airdropitem::nickname() const {
  9624. return *nickname_;
  9625. }
  9626. inline void msg_airdropitem::set_nickname(const ::std::string& value) {
  9627. set_has_nickname();
  9628. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  9629. nickname_ = new ::std::string;
  9630. }
  9631. nickname_->assign(value);
  9632. }
  9633. inline void msg_airdropitem::set_nickname(const char* value) {
  9634. set_has_nickname();
  9635. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  9636. nickname_ = new ::std::string;
  9637. }
  9638. nickname_->assign(value);
  9639. }
  9640. inline void msg_airdropitem::set_nickname(const char* value, size_t size) {
  9641. set_has_nickname();
  9642. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  9643. nickname_ = new ::std::string;
  9644. }
  9645. nickname_->assign(reinterpret_cast<const char*>(value), size);
  9646. }
  9647. inline ::std::string* msg_airdropitem::mutable_nickname() {
  9648. set_has_nickname();
  9649. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  9650. nickname_ = new ::std::string;
  9651. }
  9652. return nickname_;
  9653. }
  9654. inline ::std::string* msg_airdropitem::release_nickname() {
  9655. clear_has_nickname();
  9656. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  9657. return NULL;
  9658. } else {
  9659. ::std::string* temp = nickname_;
  9660. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9661. return temp;
  9662. }
  9663. }
  9664. inline void msg_airdropitem::set_allocated_nickname(::std::string* nickname) {
  9665. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  9666. delete nickname_;
  9667. }
  9668. if (nickname) {
  9669. set_has_nickname();
  9670. nickname_ = nickname;
  9671. } else {
  9672. clear_has_nickname();
  9673. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9674. }
  9675. }
  9676. // optional string headurl = 6;
  9677. inline bool msg_airdropitem::has_headurl() const {
  9678. return (_has_bits_[0] & 0x00000020u) != 0;
  9679. }
  9680. inline void msg_airdropitem::set_has_headurl() {
  9681. _has_bits_[0] |= 0x00000020u;
  9682. }
  9683. inline void msg_airdropitem::clear_has_headurl() {
  9684. _has_bits_[0] &= ~0x00000020u;
  9685. }
  9686. inline void msg_airdropitem::clear_headurl() {
  9687. if (headurl_ != &::google::protobuf::internal::kEmptyString) {
  9688. headurl_->clear();
  9689. }
  9690. clear_has_headurl();
  9691. }
  9692. inline const ::std::string& msg_airdropitem::headurl() const {
  9693. return *headurl_;
  9694. }
  9695. inline void msg_airdropitem::set_headurl(const ::std::string& value) {
  9696. set_has_headurl();
  9697. if (headurl_ == &::google::protobuf::internal::kEmptyString) {
  9698. headurl_ = new ::std::string;
  9699. }
  9700. headurl_->assign(value);
  9701. }
  9702. inline void msg_airdropitem::set_headurl(const char* value) {
  9703. set_has_headurl();
  9704. if (headurl_ == &::google::protobuf::internal::kEmptyString) {
  9705. headurl_ = new ::std::string;
  9706. }
  9707. headurl_->assign(value);
  9708. }
  9709. inline void msg_airdropitem::set_headurl(const char* value, size_t size) {
  9710. set_has_headurl();
  9711. if (headurl_ == &::google::protobuf::internal::kEmptyString) {
  9712. headurl_ = new ::std::string;
  9713. }
  9714. headurl_->assign(reinterpret_cast<const char*>(value), size);
  9715. }
  9716. inline ::std::string* msg_airdropitem::mutable_headurl() {
  9717. set_has_headurl();
  9718. if (headurl_ == &::google::protobuf::internal::kEmptyString) {
  9719. headurl_ = new ::std::string;
  9720. }
  9721. return headurl_;
  9722. }
  9723. inline ::std::string* msg_airdropitem::release_headurl() {
  9724. clear_has_headurl();
  9725. if (headurl_ == &::google::protobuf::internal::kEmptyString) {
  9726. return NULL;
  9727. } else {
  9728. ::std::string* temp = headurl_;
  9729. headurl_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9730. return temp;
  9731. }
  9732. }
  9733. inline void msg_airdropitem::set_allocated_headurl(::std::string* headurl) {
  9734. if (headurl_ != &::google::protobuf::internal::kEmptyString) {
  9735. delete headurl_;
  9736. }
  9737. if (headurl) {
  9738. set_has_headurl();
  9739. headurl_ = headurl;
  9740. } else {
  9741. clear_has_headurl();
  9742. headurl_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9743. }
  9744. }
  9745. // optional string pwd = 7;
  9746. inline bool msg_airdropitem::has_pwd() const {
  9747. return (_has_bits_[0] & 0x00000040u) != 0;
  9748. }
  9749. inline void msg_airdropitem::set_has_pwd() {
  9750. _has_bits_[0] |= 0x00000040u;
  9751. }
  9752. inline void msg_airdropitem::clear_has_pwd() {
  9753. _has_bits_[0] &= ~0x00000040u;
  9754. }
  9755. inline void msg_airdropitem::clear_pwd() {
  9756. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  9757. pwd_->clear();
  9758. }
  9759. clear_has_pwd();
  9760. }
  9761. inline const ::std::string& msg_airdropitem::pwd() const {
  9762. return *pwd_;
  9763. }
  9764. inline void msg_airdropitem::set_pwd(const ::std::string& value) {
  9765. set_has_pwd();
  9766. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  9767. pwd_ = new ::std::string;
  9768. }
  9769. pwd_->assign(value);
  9770. }
  9771. inline void msg_airdropitem::set_pwd(const char* value) {
  9772. set_has_pwd();
  9773. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  9774. pwd_ = new ::std::string;
  9775. }
  9776. pwd_->assign(value);
  9777. }
  9778. inline void msg_airdropitem::set_pwd(const char* value, size_t size) {
  9779. set_has_pwd();
  9780. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  9781. pwd_ = new ::std::string;
  9782. }
  9783. pwd_->assign(reinterpret_cast<const char*>(value), size);
  9784. }
  9785. inline ::std::string* msg_airdropitem::mutable_pwd() {
  9786. set_has_pwd();
  9787. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  9788. pwd_ = new ::std::string;
  9789. }
  9790. return pwd_;
  9791. }
  9792. inline ::std::string* msg_airdropitem::release_pwd() {
  9793. clear_has_pwd();
  9794. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  9795. return NULL;
  9796. } else {
  9797. ::std::string* temp = pwd_;
  9798. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9799. return temp;
  9800. }
  9801. }
  9802. inline void msg_airdropitem::set_allocated_pwd(::std::string* pwd) {
  9803. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  9804. delete pwd_;
  9805. }
  9806. if (pwd) {
  9807. set_has_pwd();
  9808. pwd_ = pwd;
  9809. } else {
  9810. clear_has_pwd();
  9811. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9812. }
  9813. }
  9814. // optional int32 leftsecond = 8;
  9815. inline bool msg_airdropitem::has_leftsecond() const {
  9816. return (_has_bits_[0] & 0x00000080u) != 0;
  9817. }
  9818. inline void msg_airdropitem::set_has_leftsecond() {
  9819. _has_bits_[0] |= 0x00000080u;
  9820. }
  9821. inline void msg_airdropitem::clear_has_leftsecond() {
  9822. _has_bits_[0] &= ~0x00000080u;
  9823. }
  9824. inline void msg_airdropitem::clear_leftsecond() {
  9825. leftsecond_ = 0;
  9826. clear_has_leftsecond();
  9827. }
  9828. inline ::google::protobuf::int32 msg_airdropitem::leftsecond() const {
  9829. return leftsecond_;
  9830. }
  9831. inline void msg_airdropitem::set_leftsecond(::google::protobuf::int32 value) {
  9832. set_has_leftsecond();
  9833. leftsecond_ = value;
  9834. }
  9835. // optional int32 receiveId = 9;
  9836. inline bool msg_airdropitem::has_receiveid() const {
  9837. return (_has_bits_[0] & 0x00000100u) != 0;
  9838. }
  9839. inline void msg_airdropitem::set_has_receiveid() {
  9840. _has_bits_[0] |= 0x00000100u;
  9841. }
  9842. inline void msg_airdropitem::clear_has_receiveid() {
  9843. _has_bits_[0] &= ~0x00000100u;
  9844. }
  9845. inline void msg_airdropitem::clear_receiveid() {
  9846. receiveid_ = 0;
  9847. clear_has_receiveid();
  9848. }
  9849. inline ::google::protobuf::int32 msg_airdropitem::receiveid() const {
  9850. return receiveid_;
  9851. }
  9852. inline void msg_airdropitem::set_receiveid(::google::protobuf::int32 value) {
  9853. set_has_receiveid();
  9854. receiveid_ = value;
  9855. }
  9856. // -------------------------------------------------------------------
  9857. // packetl2c_get_airdrop_list_result
  9858. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_airdrop_list_result];
  9859. inline bool packetl2c_get_airdrop_list_result::has_packet_id() const {
  9860. return (_has_bits_[0] & 0x00000001u) != 0;
  9861. }
  9862. inline void packetl2c_get_airdrop_list_result::set_has_packet_id() {
  9863. _has_bits_[0] |= 0x00000001u;
  9864. }
  9865. inline void packetl2c_get_airdrop_list_result::clear_has_packet_id() {
  9866. _has_bits_[0] &= ~0x00000001u;
  9867. }
  9868. inline void packetl2c_get_airdrop_list_result::clear_packet_id() {
  9869. packet_id_ = 16157;
  9870. clear_has_packet_id();
  9871. }
  9872. inline ::fish_protocols::e_server_msg_type packetl2c_get_airdrop_list_result::packet_id() const {
  9873. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9874. }
  9875. inline void packetl2c_get_airdrop_list_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9876. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9877. set_has_packet_id();
  9878. packet_id_ = value;
  9879. }
  9880. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  9881. inline bool packetl2c_get_airdrop_list_result::has_result() const {
  9882. return (_has_bits_[0] & 0x00000002u) != 0;
  9883. }
  9884. inline void packetl2c_get_airdrop_list_result::set_has_result() {
  9885. _has_bits_[0] |= 0x00000002u;
  9886. }
  9887. inline void packetl2c_get_airdrop_list_result::clear_has_result() {
  9888. _has_bits_[0] &= ~0x00000002u;
  9889. }
  9890. inline void packetl2c_get_airdrop_list_result::clear_result() {
  9891. result_ = 2;
  9892. clear_has_result();
  9893. }
  9894. inline ::msg_type_def::e_msg_result_def packetl2c_get_airdrop_list_result::result() const {
  9895. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  9896. }
  9897. inline void packetl2c_get_airdrop_list_result::set_result(::msg_type_def::e_msg_result_def value) {
  9898. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  9899. set_has_result();
  9900. result_ = value;
  9901. }
  9902. // optional bool bplayerairdrop = 3;
  9903. inline bool packetl2c_get_airdrop_list_result::has_bplayerairdrop() const {
  9904. return (_has_bits_[0] & 0x00000004u) != 0;
  9905. }
  9906. inline void packetl2c_get_airdrop_list_result::set_has_bplayerairdrop() {
  9907. _has_bits_[0] |= 0x00000004u;
  9908. }
  9909. inline void packetl2c_get_airdrop_list_result::clear_has_bplayerairdrop() {
  9910. _has_bits_[0] &= ~0x00000004u;
  9911. }
  9912. inline void packetl2c_get_airdrop_list_result::clear_bplayerairdrop() {
  9913. bplayerairdrop_ = false;
  9914. clear_has_bplayerairdrop();
  9915. }
  9916. inline bool packetl2c_get_airdrop_list_result::bplayerairdrop() const {
  9917. return bplayerairdrop_;
  9918. }
  9919. inline void packetl2c_get_airdrop_list_result::set_bplayerairdrop(bool value) {
  9920. set_has_bplayerairdrop();
  9921. bplayerairdrop_ = value;
  9922. }
  9923. // repeated .fish_protocols.msg_airdropitem items = 4;
  9924. inline int packetl2c_get_airdrop_list_result::items_size() const {
  9925. return items_.size();
  9926. }
  9927. inline void packetl2c_get_airdrop_list_result::clear_items() {
  9928. items_.Clear();
  9929. }
  9930. inline const ::fish_protocols::msg_airdropitem& packetl2c_get_airdrop_list_result::items(int index) const {
  9931. return items_.Get(index);
  9932. }
  9933. inline ::fish_protocols::msg_airdropitem* packetl2c_get_airdrop_list_result::mutable_items(int index) {
  9934. return items_.Mutable(index);
  9935. }
  9936. inline ::fish_protocols::msg_airdropitem* packetl2c_get_airdrop_list_result::add_items() {
  9937. return items_.Add();
  9938. }
  9939. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >&
  9940. packetl2c_get_airdrop_list_result::items() const {
  9941. return items_;
  9942. }
  9943. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >*
  9944. packetl2c_get_airdrop_list_result::mutable_items() {
  9945. return &items_;
  9946. }
  9947. // optional int32 errorcount = 5;
  9948. inline bool packetl2c_get_airdrop_list_result::has_errorcount() const {
  9949. return (_has_bits_[0] & 0x00000010u) != 0;
  9950. }
  9951. inline void packetl2c_get_airdrop_list_result::set_has_errorcount() {
  9952. _has_bits_[0] |= 0x00000010u;
  9953. }
  9954. inline void packetl2c_get_airdrop_list_result::clear_has_errorcount() {
  9955. _has_bits_[0] &= ~0x00000010u;
  9956. }
  9957. inline void packetl2c_get_airdrop_list_result::clear_errorcount() {
  9958. errorcount_ = 0;
  9959. clear_has_errorcount();
  9960. }
  9961. inline ::google::protobuf::int32 packetl2c_get_airdrop_list_result::errorcount() const {
  9962. return errorcount_;
  9963. }
  9964. inline void packetl2c_get_airdrop_list_result::set_errorcount(::google::protobuf::int32 value) {
  9965. set_has_errorcount();
  9966. errorcount_ = value;
  9967. }
  9968. // -------------------------------------------------------------------
  9969. // packetc2l_goldfish_lottery
  9970. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_goldfish_lottery];
  9971. inline bool packetc2l_goldfish_lottery::has_packet_id() const {
  9972. return (_has_bits_[0] & 0x00000001u) != 0;
  9973. }
  9974. inline void packetc2l_goldfish_lottery::set_has_packet_id() {
  9975. _has_bits_[0] |= 0x00000001u;
  9976. }
  9977. inline void packetc2l_goldfish_lottery::clear_has_packet_id() {
  9978. _has_bits_[0] &= ~0x00000001u;
  9979. }
  9980. inline void packetc2l_goldfish_lottery::clear_packet_id() {
  9981. packet_id_ = 10169;
  9982. clear_has_packet_id();
  9983. }
  9984. inline ::fish_protocols::e_server_msg_type packetc2l_goldfish_lottery::packet_id() const {
  9985. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  9986. }
  9987. inline void packetc2l_goldfish_lottery::set_packet_id(::fish_protocols::e_server_msg_type value) {
  9988. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  9989. set_has_packet_id();
  9990. packet_id_ = value;
  9991. }
  9992. // optional int32 id = 2;
  9993. inline bool packetc2l_goldfish_lottery::has_id() const {
  9994. return (_has_bits_[0] & 0x00000002u) != 0;
  9995. }
  9996. inline void packetc2l_goldfish_lottery::set_has_id() {
  9997. _has_bits_[0] |= 0x00000002u;
  9998. }
  9999. inline void packetc2l_goldfish_lottery::clear_has_id() {
  10000. _has_bits_[0] &= ~0x00000002u;
  10001. }
  10002. inline void packetc2l_goldfish_lottery::clear_id() {
  10003. id_ = 0;
  10004. clear_has_id();
  10005. }
  10006. inline ::google::protobuf::int32 packetc2l_goldfish_lottery::id() const {
  10007. return id_;
  10008. }
  10009. inline void packetc2l_goldfish_lottery::set_id(::google::protobuf::int32 value) {
  10010. set_has_id();
  10011. id_ = value;
  10012. }
  10013. // -------------------------------------------------------------------
  10014. // packetl2c_goldfish_lottery_result
  10015. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_goldfish_lottery_result];
  10016. inline bool packetl2c_goldfish_lottery_result::has_packet_id() const {
  10017. return (_has_bits_[0] & 0x00000001u) != 0;
  10018. }
  10019. inline void packetl2c_goldfish_lottery_result::set_has_packet_id() {
  10020. _has_bits_[0] |= 0x00000001u;
  10021. }
  10022. inline void packetl2c_goldfish_lottery_result::clear_has_packet_id() {
  10023. _has_bits_[0] &= ~0x00000001u;
  10024. }
  10025. inline void packetl2c_goldfish_lottery_result::clear_packet_id() {
  10026. packet_id_ = 16161;
  10027. clear_has_packet_id();
  10028. }
  10029. inline ::fish_protocols::e_server_msg_type packetl2c_goldfish_lottery_result::packet_id() const {
  10030. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10031. }
  10032. inline void packetl2c_goldfish_lottery_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10033. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10034. set_has_packet_id();
  10035. packet_id_ = value;
  10036. }
  10037. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  10038. inline bool packetl2c_goldfish_lottery_result::has_result() const {
  10039. return (_has_bits_[0] & 0x00000002u) != 0;
  10040. }
  10041. inline void packetl2c_goldfish_lottery_result::set_has_result() {
  10042. _has_bits_[0] |= 0x00000002u;
  10043. }
  10044. inline void packetl2c_goldfish_lottery_result::clear_has_result() {
  10045. _has_bits_[0] &= ~0x00000002u;
  10046. }
  10047. inline void packetl2c_goldfish_lottery_result::clear_result() {
  10048. result_ = 2;
  10049. clear_has_result();
  10050. }
  10051. inline ::msg_type_def::e_msg_result_def packetl2c_goldfish_lottery_result::result() const {
  10052. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  10053. }
  10054. inline void packetl2c_goldfish_lottery_result::set_result(::msg_type_def::e_msg_result_def value) {
  10055. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  10056. set_has_result();
  10057. result_ = value;
  10058. }
  10059. // optional int32 playerid = 3;
  10060. inline bool packetl2c_goldfish_lottery_result::has_playerid() const {
  10061. return (_has_bits_[0] & 0x00000004u) != 0;
  10062. }
  10063. inline void packetl2c_goldfish_lottery_result::set_has_playerid() {
  10064. _has_bits_[0] |= 0x00000004u;
  10065. }
  10066. inline void packetl2c_goldfish_lottery_result::clear_has_playerid() {
  10067. _has_bits_[0] &= ~0x00000004u;
  10068. }
  10069. inline void packetl2c_goldfish_lottery_result::clear_playerid() {
  10070. playerid_ = 0;
  10071. clear_has_playerid();
  10072. }
  10073. inline ::google::protobuf::int32 packetl2c_goldfish_lottery_result::playerid() const {
  10074. return playerid_;
  10075. }
  10076. inline void packetl2c_goldfish_lottery_result::set_playerid(::google::protobuf::int32 value) {
  10077. set_has_playerid();
  10078. playerid_ = value;
  10079. }
  10080. // optional int32 id = 4;
  10081. inline bool packetl2c_goldfish_lottery_result::has_id() const {
  10082. return (_has_bits_[0] & 0x00000008u) != 0;
  10083. }
  10084. inline void packetl2c_goldfish_lottery_result::set_has_id() {
  10085. _has_bits_[0] |= 0x00000008u;
  10086. }
  10087. inline void packetl2c_goldfish_lottery_result::clear_has_id() {
  10088. _has_bits_[0] &= ~0x00000008u;
  10089. }
  10090. inline void packetl2c_goldfish_lottery_result::clear_id() {
  10091. id_ = 0;
  10092. clear_has_id();
  10093. }
  10094. inline ::google::protobuf::int32 packetl2c_goldfish_lottery_result::id() const {
  10095. return id_;
  10096. }
  10097. inline void packetl2c_goldfish_lottery_result::set_id(::google::protobuf::int32 value) {
  10098. set_has_id();
  10099. id_ = value;
  10100. }
  10101. // optional int32 rewardID = 5;
  10102. inline bool packetl2c_goldfish_lottery_result::has_rewardid() const {
  10103. return (_has_bits_[0] & 0x00000010u) != 0;
  10104. }
  10105. inline void packetl2c_goldfish_lottery_result::set_has_rewardid() {
  10106. _has_bits_[0] |= 0x00000010u;
  10107. }
  10108. inline void packetl2c_goldfish_lottery_result::clear_has_rewardid() {
  10109. _has_bits_[0] &= ~0x00000010u;
  10110. }
  10111. inline void packetl2c_goldfish_lottery_result::clear_rewardid() {
  10112. rewardid_ = 0;
  10113. clear_has_rewardid();
  10114. }
  10115. inline ::google::protobuf::int32 packetl2c_goldfish_lottery_result::rewardid() const {
  10116. return rewardid_;
  10117. }
  10118. inline void packetl2c_goldfish_lottery_result::set_rewardid(::google::protobuf::int32 value) {
  10119. set_has_rewardid();
  10120. rewardid_ = value;
  10121. }
  10122. // -------------------------------------------------------------------
  10123. // packetl2c_bc_table_finish_turntablefish_balance
  10124. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_finish_turntablefish_balance];
  10125. inline bool packetl2c_bc_table_finish_turntablefish_balance::has_packet_id() const {
  10126. return (_has_bits_[0] & 0x00000001u) != 0;
  10127. }
  10128. inline void packetl2c_bc_table_finish_turntablefish_balance::set_has_packet_id() {
  10129. _has_bits_[0] |= 0x00000001u;
  10130. }
  10131. inline void packetl2c_bc_table_finish_turntablefish_balance::clear_has_packet_id() {
  10132. _has_bits_[0] &= ~0x00000001u;
  10133. }
  10134. inline void packetl2c_bc_table_finish_turntablefish_balance::clear_packet_id() {
  10135. packet_id_ = 16149;
  10136. clear_has_packet_id();
  10137. }
  10138. inline ::fish_protocols::e_server_msg_type packetl2c_bc_table_finish_turntablefish_balance::packet_id() const {
  10139. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10140. }
  10141. inline void packetl2c_bc_table_finish_turntablefish_balance::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10142. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10143. set_has_packet_id();
  10144. packet_id_ = value;
  10145. }
  10146. // optional int32 playerId = 2;
  10147. inline bool packetl2c_bc_table_finish_turntablefish_balance::has_playerid() const {
  10148. return (_has_bits_[0] & 0x00000002u) != 0;
  10149. }
  10150. inline void packetl2c_bc_table_finish_turntablefish_balance::set_has_playerid() {
  10151. _has_bits_[0] |= 0x00000002u;
  10152. }
  10153. inline void packetl2c_bc_table_finish_turntablefish_balance::clear_has_playerid() {
  10154. _has_bits_[0] &= ~0x00000002u;
  10155. }
  10156. inline void packetl2c_bc_table_finish_turntablefish_balance::clear_playerid() {
  10157. playerid_ = 0;
  10158. clear_has_playerid();
  10159. }
  10160. inline ::google::protobuf::int32 packetl2c_bc_table_finish_turntablefish_balance::playerid() const {
  10161. return playerid_;
  10162. }
  10163. inline void packetl2c_bc_table_finish_turntablefish_balance::set_playerid(::google::protobuf::int32 value) {
  10164. set_has_playerid();
  10165. playerid_ = value;
  10166. }
  10167. // optional int32 addGold = 3;
  10168. inline bool packetl2c_bc_table_finish_turntablefish_balance::has_addgold() const {
  10169. return (_has_bits_[0] & 0x00000004u) != 0;
  10170. }
  10171. inline void packetl2c_bc_table_finish_turntablefish_balance::set_has_addgold() {
  10172. _has_bits_[0] |= 0x00000004u;
  10173. }
  10174. inline void packetl2c_bc_table_finish_turntablefish_balance::clear_has_addgold() {
  10175. _has_bits_[0] &= ~0x00000004u;
  10176. }
  10177. inline void packetl2c_bc_table_finish_turntablefish_balance::clear_addgold() {
  10178. addgold_ = 0;
  10179. clear_has_addgold();
  10180. }
  10181. inline ::google::protobuf::int32 packetl2c_bc_table_finish_turntablefish_balance::addgold() const {
  10182. return addgold_;
  10183. }
  10184. inline void packetl2c_bc_table_finish_turntablefish_balance::set_addgold(::google::protobuf::int32 value) {
  10185. set_has_addgold();
  10186. addgold_ = value;
  10187. }
  10188. // -------------------------------------------------------------------
  10189. // packetc2l_exchange_dimensity
  10190. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_exchange_dimensity];
  10191. inline bool packetc2l_exchange_dimensity::has_packet_id() const {
  10192. return (_has_bits_[0] & 0x00000001u) != 0;
  10193. }
  10194. inline void packetc2l_exchange_dimensity::set_has_packet_id() {
  10195. _has_bits_[0] |= 0x00000001u;
  10196. }
  10197. inline void packetc2l_exchange_dimensity::clear_has_packet_id() {
  10198. _has_bits_[0] &= ~0x00000001u;
  10199. }
  10200. inline void packetc2l_exchange_dimensity::clear_packet_id() {
  10201. packet_id_ = 10170;
  10202. clear_has_packet_id();
  10203. }
  10204. inline ::fish_protocols::e_server_msg_type packetc2l_exchange_dimensity::packet_id() const {
  10205. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10206. }
  10207. inline void packetc2l_exchange_dimensity::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10208. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10209. set_has_packet_id();
  10210. packet_id_ = value;
  10211. }
  10212. // optional int32 exchangeId = 2;
  10213. inline bool packetc2l_exchange_dimensity::has_exchangeid() const {
  10214. return (_has_bits_[0] & 0x00000002u) != 0;
  10215. }
  10216. inline void packetc2l_exchange_dimensity::set_has_exchangeid() {
  10217. _has_bits_[0] |= 0x00000002u;
  10218. }
  10219. inline void packetc2l_exchange_dimensity::clear_has_exchangeid() {
  10220. _has_bits_[0] &= ~0x00000002u;
  10221. }
  10222. inline void packetc2l_exchange_dimensity::clear_exchangeid() {
  10223. exchangeid_ = 0;
  10224. clear_has_exchangeid();
  10225. }
  10226. inline ::google::protobuf::int32 packetc2l_exchange_dimensity::exchangeid() const {
  10227. return exchangeid_;
  10228. }
  10229. inline void packetc2l_exchange_dimensity::set_exchangeid(::google::protobuf::int32 value) {
  10230. set_has_exchangeid();
  10231. exchangeid_ = value;
  10232. }
  10233. // -------------------------------------------------------------------
  10234. // packetl2c_exchange_dimensity_result
  10235. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_exchange_dimensity_result];
  10236. inline bool packetl2c_exchange_dimensity_result::has_packet_id() const {
  10237. return (_has_bits_[0] & 0x00000001u) != 0;
  10238. }
  10239. inline void packetl2c_exchange_dimensity_result::set_has_packet_id() {
  10240. _has_bits_[0] |= 0x00000001u;
  10241. }
  10242. inline void packetl2c_exchange_dimensity_result::clear_has_packet_id() {
  10243. _has_bits_[0] &= ~0x00000001u;
  10244. }
  10245. inline void packetl2c_exchange_dimensity_result::clear_packet_id() {
  10246. packet_id_ = 16163;
  10247. clear_has_packet_id();
  10248. }
  10249. inline ::fish_protocols::e_server_msg_type packetl2c_exchange_dimensity_result::packet_id() const {
  10250. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10251. }
  10252. inline void packetl2c_exchange_dimensity_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10253. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10254. set_has_packet_id();
  10255. packet_id_ = value;
  10256. }
  10257. // optional int32 exchangeId = 2;
  10258. inline bool packetl2c_exchange_dimensity_result::has_exchangeid() const {
  10259. return (_has_bits_[0] & 0x00000002u) != 0;
  10260. }
  10261. inline void packetl2c_exchange_dimensity_result::set_has_exchangeid() {
  10262. _has_bits_[0] |= 0x00000002u;
  10263. }
  10264. inline void packetl2c_exchange_dimensity_result::clear_has_exchangeid() {
  10265. _has_bits_[0] &= ~0x00000002u;
  10266. }
  10267. inline void packetl2c_exchange_dimensity_result::clear_exchangeid() {
  10268. exchangeid_ = 0;
  10269. clear_has_exchangeid();
  10270. }
  10271. inline ::google::protobuf::int32 packetl2c_exchange_dimensity_result::exchangeid() const {
  10272. return exchangeid_;
  10273. }
  10274. inline void packetl2c_exchange_dimensity_result::set_exchangeid(::google::protobuf::int32 value) {
  10275. set_has_exchangeid();
  10276. exchangeid_ = value;
  10277. }
  10278. // optional int32 result = 3;
  10279. inline bool packetl2c_exchange_dimensity_result::has_result() const {
  10280. return (_has_bits_[0] & 0x00000004u) != 0;
  10281. }
  10282. inline void packetl2c_exchange_dimensity_result::set_has_result() {
  10283. _has_bits_[0] |= 0x00000004u;
  10284. }
  10285. inline void packetl2c_exchange_dimensity_result::clear_has_result() {
  10286. _has_bits_[0] &= ~0x00000004u;
  10287. }
  10288. inline void packetl2c_exchange_dimensity_result::clear_result() {
  10289. result_ = 0;
  10290. clear_has_result();
  10291. }
  10292. inline ::google::protobuf::int32 packetl2c_exchange_dimensity_result::result() const {
  10293. return result_;
  10294. }
  10295. inline void packetl2c_exchange_dimensity_result::set_result(::google::protobuf::int32 value) {
  10296. set_has_result();
  10297. result_ = value;
  10298. }
  10299. // -------------------------------------------------------------------
  10300. // packetc2l_lucky_lottery
  10301. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lucky_lottery];
  10302. inline bool packetc2l_lucky_lottery::has_packet_id() const {
  10303. return (_has_bits_[0] & 0x00000001u) != 0;
  10304. }
  10305. inline void packetc2l_lucky_lottery::set_has_packet_id() {
  10306. _has_bits_[0] |= 0x00000001u;
  10307. }
  10308. inline void packetc2l_lucky_lottery::clear_has_packet_id() {
  10309. _has_bits_[0] &= ~0x00000001u;
  10310. }
  10311. inline void packetc2l_lucky_lottery::clear_packet_id() {
  10312. packet_id_ = 10207;
  10313. clear_has_packet_id();
  10314. }
  10315. inline ::fish_protocols::e_server_msg_type packetc2l_lucky_lottery::packet_id() const {
  10316. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10317. }
  10318. inline void packetc2l_lucky_lottery::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10319. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10320. set_has_packet_id();
  10321. packet_id_ = value;
  10322. }
  10323. // optional bool all = 2;
  10324. inline bool packetc2l_lucky_lottery::has_all() const {
  10325. return (_has_bits_[0] & 0x00000002u) != 0;
  10326. }
  10327. inline void packetc2l_lucky_lottery::set_has_all() {
  10328. _has_bits_[0] |= 0x00000002u;
  10329. }
  10330. inline void packetc2l_lucky_lottery::clear_has_all() {
  10331. _has_bits_[0] &= ~0x00000002u;
  10332. }
  10333. inline void packetc2l_lucky_lottery::clear_all() {
  10334. all_ = false;
  10335. clear_has_all();
  10336. }
  10337. inline bool packetc2l_lucky_lottery::all() const {
  10338. return all_;
  10339. }
  10340. inline void packetc2l_lucky_lottery::set_all(bool value) {
  10341. set_has_all();
  10342. all_ = value;
  10343. }
  10344. // -------------------------------------------------------------------
  10345. // packetl2c_lucky_lottery_result
  10346. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_lucky_lottery_result];
  10347. inline bool packetl2c_lucky_lottery_result::has_packet_id() const {
  10348. return (_has_bits_[0] & 0x00000001u) != 0;
  10349. }
  10350. inline void packetl2c_lucky_lottery_result::set_has_packet_id() {
  10351. _has_bits_[0] |= 0x00000001u;
  10352. }
  10353. inline void packetl2c_lucky_lottery_result::clear_has_packet_id() {
  10354. _has_bits_[0] &= ~0x00000001u;
  10355. }
  10356. inline void packetl2c_lucky_lottery_result::clear_packet_id() {
  10357. packet_id_ = 16206;
  10358. clear_has_packet_id();
  10359. }
  10360. inline ::fish_protocols::e_server_msg_type packetl2c_lucky_lottery_result::packet_id() const {
  10361. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10362. }
  10363. inline void packetl2c_lucky_lottery_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10364. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10365. set_has_packet_id();
  10366. packet_id_ = value;
  10367. }
  10368. // optional bool all = 2;
  10369. inline bool packetl2c_lucky_lottery_result::has_all() const {
  10370. return (_has_bits_[0] & 0x00000002u) != 0;
  10371. }
  10372. inline void packetl2c_lucky_lottery_result::set_has_all() {
  10373. _has_bits_[0] |= 0x00000002u;
  10374. }
  10375. inline void packetl2c_lucky_lottery_result::clear_has_all() {
  10376. _has_bits_[0] &= ~0x00000002u;
  10377. }
  10378. inline void packetl2c_lucky_lottery_result::clear_all() {
  10379. all_ = false;
  10380. clear_has_all();
  10381. }
  10382. inline bool packetl2c_lucky_lottery_result::all() const {
  10383. return all_;
  10384. }
  10385. inline void packetl2c_lucky_lottery_result::set_all(bool value) {
  10386. set_has_all();
  10387. all_ = value;
  10388. }
  10389. // optional int32 result = 3;
  10390. inline bool packetl2c_lucky_lottery_result::has_result() const {
  10391. return (_has_bits_[0] & 0x00000004u) != 0;
  10392. }
  10393. inline void packetl2c_lucky_lottery_result::set_has_result() {
  10394. _has_bits_[0] |= 0x00000004u;
  10395. }
  10396. inline void packetl2c_lucky_lottery_result::clear_has_result() {
  10397. _has_bits_[0] &= ~0x00000004u;
  10398. }
  10399. inline void packetl2c_lucky_lottery_result::clear_result() {
  10400. result_ = 0;
  10401. clear_has_result();
  10402. }
  10403. inline ::google::protobuf::int32 packetl2c_lucky_lottery_result::result() const {
  10404. return result_;
  10405. }
  10406. inline void packetl2c_lucky_lottery_result::set_result(::google::protobuf::int32 value) {
  10407. set_has_result();
  10408. result_ = value;
  10409. }
  10410. // repeated int32 rewardIndex = 4;
  10411. inline int packetl2c_lucky_lottery_result::rewardindex_size() const {
  10412. return rewardindex_.size();
  10413. }
  10414. inline void packetl2c_lucky_lottery_result::clear_rewardindex() {
  10415. rewardindex_.Clear();
  10416. }
  10417. inline ::google::protobuf::int32 packetl2c_lucky_lottery_result::rewardindex(int index) const {
  10418. return rewardindex_.Get(index);
  10419. }
  10420. inline void packetl2c_lucky_lottery_result::set_rewardindex(int index, ::google::protobuf::int32 value) {
  10421. rewardindex_.Set(index, value);
  10422. }
  10423. inline void packetl2c_lucky_lottery_result::add_rewardindex(::google::protobuf::int32 value) {
  10424. rewardindex_.Add(value);
  10425. }
  10426. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  10427. packetl2c_lucky_lottery_result::rewardindex() const {
  10428. return rewardindex_;
  10429. }
  10430. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  10431. packetl2c_lucky_lottery_result::mutable_rewardindex() {
  10432. return &rewardindex_;
  10433. }
  10434. // -------------------------------------------------------------------
  10435. // recordInfo
  10436. // optional int32 type = 1;
  10437. inline bool recordInfo::has_type() const {
  10438. return (_has_bits_[0] & 0x00000001u) != 0;
  10439. }
  10440. inline void recordInfo::set_has_type() {
  10441. _has_bits_[0] |= 0x00000001u;
  10442. }
  10443. inline void recordInfo::clear_has_type() {
  10444. _has_bits_[0] &= ~0x00000001u;
  10445. }
  10446. inline void recordInfo::clear_type() {
  10447. type_ = 0;
  10448. clear_has_type();
  10449. }
  10450. inline ::google::protobuf::int32 recordInfo::type() const {
  10451. return type_;
  10452. }
  10453. inline void recordInfo::set_type(::google::protobuf::int32 value) {
  10454. set_has_type();
  10455. type_ = value;
  10456. }
  10457. // optional int32 param = 2;
  10458. inline bool recordInfo::has_param() const {
  10459. return (_has_bits_[0] & 0x00000002u) != 0;
  10460. }
  10461. inline void recordInfo::set_has_param() {
  10462. _has_bits_[0] |= 0x00000002u;
  10463. }
  10464. inline void recordInfo::clear_has_param() {
  10465. _has_bits_[0] &= ~0x00000002u;
  10466. }
  10467. inline void recordInfo::clear_param() {
  10468. param_ = 0;
  10469. clear_has_param();
  10470. }
  10471. inline ::google::protobuf::int32 recordInfo::param() const {
  10472. return param_;
  10473. }
  10474. inline void recordInfo::set_param(::google::protobuf::int32 value) {
  10475. set_has_param();
  10476. param_ = value;
  10477. }
  10478. // optional int32 count = 3;
  10479. inline bool recordInfo::has_count() const {
  10480. return (_has_bits_[0] & 0x00000004u) != 0;
  10481. }
  10482. inline void recordInfo::set_has_count() {
  10483. _has_bits_[0] |= 0x00000004u;
  10484. }
  10485. inline void recordInfo::clear_has_count() {
  10486. _has_bits_[0] &= ~0x00000004u;
  10487. }
  10488. inline void recordInfo::clear_count() {
  10489. count_ = 0;
  10490. clear_has_count();
  10491. }
  10492. inline ::google::protobuf::int32 recordInfo::count() const {
  10493. return count_;
  10494. }
  10495. inline void recordInfo::set_count(::google::protobuf::int32 value) {
  10496. set_has_count();
  10497. count_ = value;
  10498. }
  10499. // -------------------------------------------------------------------
  10500. // packetc2l_syn_record_info
  10501. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_record_info];
  10502. inline bool packetc2l_syn_record_info::has_packet_id() const {
  10503. return (_has_bits_[0] & 0x00000001u) != 0;
  10504. }
  10505. inline void packetc2l_syn_record_info::set_has_packet_id() {
  10506. _has_bits_[0] |= 0x00000001u;
  10507. }
  10508. inline void packetc2l_syn_record_info::clear_has_packet_id() {
  10509. _has_bits_[0] &= ~0x00000001u;
  10510. }
  10511. inline void packetc2l_syn_record_info::clear_packet_id() {
  10512. packet_id_ = 10208;
  10513. clear_has_packet_id();
  10514. }
  10515. inline ::fish_protocols::e_server_msg_type packetc2l_syn_record_info::packet_id() const {
  10516. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10517. }
  10518. inline void packetc2l_syn_record_info::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10519. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10520. set_has_packet_id();
  10521. packet_id_ = value;
  10522. }
  10523. // repeated .fish_protocols.recordInfo recordList = 2;
  10524. inline int packetc2l_syn_record_info::recordlist_size() const {
  10525. return recordlist_.size();
  10526. }
  10527. inline void packetc2l_syn_record_info::clear_recordlist() {
  10528. recordlist_.Clear();
  10529. }
  10530. inline const ::fish_protocols::recordInfo& packetc2l_syn_record_info::recordlist(int index) const {
  10531. return recordlist_.Get(index);
  10532. }
  10533. inline ::fish_protocols::recordInfo* packetc2l_syn_record_info::mutable_recordlist(int index) {
  10534. return recordlist_.Mutable(index);
  10535. }
  10536. inline ::fish_protocols::recordInfo* packetc2l_syn_record_info::add_recordlist() {
  10537. return recordlist_.Add();
  10538. }
  10539. inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >&
  10540. packetc2l_syn_record_info::recordlist() const {
  10541. return recordlist_;
  10542. }
  10543. inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >*
  10544. packetc2l_syn_record_info::mutable_recordlist() {
  10545. return &recordlist_;
  10546. }
  10547. // -------------------------------------------------------------------
  10548. // packetc2l_auto_fire
  10549. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_auto_fire];
  10550. inline bool packetc2l_auto_fire::has_packet_id() const {
  10551. return (_has_bits_[0] & 0x00000001u) != 0;
  10552. }
  10553. inline void packetc2l_auto_fire::set_has_packet_id() {
  10554. _has_bits_[0] |= 0x00000001u;
  10555. }
  10556. inline void packetc2l_auto_fire::clear_has_packet_id() {
  10557. _has_bits_[0] &= ~0x00000001u;
  10558. }
  10559. inline void packetc2l_auto_fire::clear_packet_id() {
  10560. packet_id_ = 10209;
  10561. clear_has_packet_id();
  10562. }
  10563. inline ::fish_protocols::e_server_msg_type packetc2l_auto_fire::packet_id() const {
  10564. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10565. }
  10566. inline void packetc2l_auto_fire::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10567. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10568. set_has_packet_id();
  10569. packet_id_ = value;
  10570. }
  10571. // optional int32 type = 2;
  10572. inline bool packetc2l_auto_fire::has_type() const {
  10573. return (_has_bits_[0] & 0x00000002u) != 0;
  10574. }
  10575. inline void packetc2l_auto_fire::set_has_type() {
  10576. _has_bits_[0] |= 0x00000002u;
  10577. }
  10578. inline void packetc2l_auto_fire::clear_has_type() {
  10579. _has_bits_[0] &= ~0x00000002u;
  10580. }
  10581. inline void packetc2l_auto_fire::clear_type() {
  10582. type_ = 0;
  10583. clear_has_type();
  10584. }
  10585. inline ::google::protobuf::int32 packetc2l_auto_fire::type() const {
  10586. return type_;
  10587. }
  10588. inline void packetc2l_auto_fire::set_type(::google::protobuf::int32 value) {
  10589. set_has_type();
  10590. type_ = value;
  10591. }
  10592. // -------------------------------------------------------------------
  10593. // packetc2l_change_headid
  10594. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_headid];
  10595. inline bool packetc2l_change_headid::has_packet_id() const {
  10596. return (_has_bits_[0] & 0x00000001u) != 0;
  10597. }
  10598. inline void packetc2l_change_headid::set_has_packet_id() {
  10599. _has_bits_[0] |= 0x00000001u;
  10600. }
  10601. inline void packetc2l_change_headid::clear_has_packet_id() {
  10602. _has_bits_[0] &= ~0x00000001u;
  10603. }
  10604. inline void packetc2l_change_headid::clear_packet_id() {
  10605. packet_id_ = 10225;
  10606. clear_has_packet_id();
  10607. }
  10608. inline ::fish_protocols::e_server_msg_type packetc2l_change_headid::packet_id() const {
  10609. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10610. }
  10611. inline void packetc2l_change_headid::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10612. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10613. set_has_packet_id();
  10614. packet_id_ = value;
  10615. }
  10616. // optional int32 headId = 2;
  10617. inline bool packetc2l_change_headid::has_headid() const {
  10618. return (_has_bits_[0] & 0x00000002u) != 0;
  10619. }
  10620. inline void packetc2l_change_headid::set_has_headid() {
  10621. _has_bits_[0] |= 0x00000002u;
  10622. }
  10623. inline void packetc2l_change_headid::clear_has_headid() {
  10624. _has_bits_[0] &= ~0x00000002u;
  10625. }
  10626. inline void packetc2l_change_headid::clear_headid() {
  10627. headid_ = 0;
  10628. clear_has_headid();
  10629. }
  10630. inline ::google::protobuf::int32 packetc2l_change_headid::headid() const {
  10631. return headid_;
  10632. }
  10633. inline void packetc2l_change_headid::set_headid(::google::protobuf::int32 value) {
  10634. set_has_headid();
  10635. headid_ = value;
  10636. }
  10637. // optional int32 frameid = 3;
  10638. inline bool packetc2l_change_headid::has_frameid() const {
  10639. return (_has_bits_[0] & 0x00000004u) != 0;
  10640. }
  10641. inline void packetc2l_change_headid::set_has_frameid() {
  10642. _has_bits_[0] |= 0x00000004u;
  10643. }
  10644. inline void packetc2l_change_headid::clear_has_frameid() {
  10645. _has_bits_[0] &= ~0x00000004u;
  10646. }
  10647. inline void packetc2l_change_headid::clear_frameid() {
  10648. frameid_ = 0;
  10649. clear_has_frameid();
  10650. }
  10651. inline ::google::protobuf::int32 packetc2l_change_headid::frameid() const {
  10652. return frameid_;
  10653. }
  10654. inline void packetc2l_change_headid::set_frameid(::google::protobuf::int32 value) {
  10655. set_has_frameid();
  10656. frameid_ = value;
  10657. }
  10658. // -------------------------------------------------------------------
  10659. // packetl2c_change_headid_result
  10660. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_headid_result];
  10661. inline bool packetl2c_change_headid_result::has_packet_id() const {
  10662. return (_has_bits_[0] & 0x00000001u) != 0;
  10663. }
  10664. inline void packetl2c_change_headid_result::set_has_packet_id() {
  10665. _has_bits_[0] |= 0x00000001u;
  10666. }
  10667. inline void packetl2c_change_headid_result::clear_has_packet_id() {
  10668. _has_bits_[0] &= ~0x00000001u;
  10669. }
  10670. inline void packetl2c_change_headid_result::clear_packet_id() {
  10671. packet_id_ = 16231;
  10672. clear_has_packet_id();
  10673. }
  10674. inline ::fish_protocols::e_server_msg_type packetl2c_change_headid_result::packet_id() const {
  10675. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10676. }
  10677. inline void packetl2c_change_headid_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10678. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10679. set_has_packet_id();
  10680. packet_id_ = value;
  10681. }
  10682. // optional int32 playerId = 2;
  10683. inline bool packetl2c_change_headid_result::has_playerid() const {
  10684. return (_has_bits_[0] & 0x00000002u) != 0;
  10685. }
  10686. inline void packetl2c_change_headid_result::set_has_playerid() {
  10687. _has_bits_[0] |= 0x00000002u;
  10688. }
  10689. inline void packetl2c_change_headid_result::clear_has_playerid() {
  10690. _has_bits_[0] &= ~0x00000002u;
  10691. }
  10692. inline void packetl2c_change_headid_result::clear_playerid() {
  10693. playerid_ = 0;
  10694. clear_has_playerid();
  10695. }
  10696. inline ::google::protobuf::int32 packetl2c_change_headid_result::playerid() const {
  10697. return playerid_;
  10698. }
  10699. inline void packetl2c_change_headid_result::set_playerid(::google::protobuf::int32 value) {
  10700. set_has_playerid();
  10701. playerid_ = value;
  10702. }
  10703. // optional int32 headId = 3;
  10704. inline bool packetl2c_change_headid_result::has_headid() const {
  10705. return (_has_bits_[0] & 0x00000004u) != 0;
  10706. }
  10707. inline void packetl2c_change_headid_result::set_has_headid() {
  10708. _has_bits_[0] |= 0x00000004u;
  10709. }
  10710. inline void packetl2c_change_headid_result::clear_has_headid() {
  10711. _has_bits_[0] &= ~0x00000004u;
  10712. }
  10713. inline void packetl2c_change_headid_result::clear_headid() {
  10714. headid_ = 0;
  10715. clear_has_headid();
  10716. }
  10717. inline ::google::protobuf::int32 packetl2c_change_headid_result::headid() const {
  10718. return headid_;
  10719. }
  10720. inline void packetl2c_change_headid_result::set_headid(::google::protobuf::int32 value) {
  10721. set_has_headid();
  10722. headid_ = value;
  10723. }
  10724. // optional int32 frameid = 4;
  10725. inline bool packetl2c_change_headid_result::has_frameid() const {
  10726. return (_has_bits_[0] & 0x00000008u) != 0;
  10727. }
  10728. inline void packetl2c_change_headid_result::set_has_frameid() {
  10729. _has_bits_[0] |= 0x00000008u;
  10730. }
  10731. inline void packetl2c_change_headid_result::clear_has_frameid() {
  10732. _has_bits_[0] &= ~0x00000008u;
  10733. }
  10734. inline void packetl2c_change_headid_result::clear_frameid() {
  10735. frameid_ = 0;
  10736. clear_has_frameid();
  10737. }
  10738. inline ::google::protobuf::int32 packetl2c_change_headid_result::frameid() const {
  10739. return frameid_;
  10740. }
  10741. inline void packetl2c_change_headid_result::set_frameid(::google::protobuf::int32 value) {
  10742. set_has_frameid();
  10743. frameid_ = value;
  10744. }
  10745. // optional int32 result = 5;
  10746. inline bool packetl2c_change_headid_result::has_result() const {
  10747. return (_has_bits_[0] & 0x00000010u) != 0;
  10748. }
  10749. inline void packetl2c_change_headid_result::set_has_result() {
  10750. _has_bits_[0] |= 0x00000010u;
  10751. }
  10752. inline void packetl2c_change_headid_result::clear_has_result() {
  10753. _has_bits_[0] &= ~0x00000010u;
  10754. }
  10755. inline void packetl2c_change_headid_result::clear_result() {
  10756. result_ = 0;
  10757. clear_has_result();
  10758. }
  10759. inline ::google::protobuf::int32 packetl2c_change_headid_result::result() const {
  10760. return result_;
  10761. }
  10762. inline void packetl2c_change_headid_result::set_result(::google::protobuf::int32 value) {
  10763. set_has_result();
  10764. result_ = value;
  10765. }
  10766. // -------------------------------------------------------------------
  10767. // packetc2l_rand_turret_addition
  10768. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_rand_turret_addition];
  10769. inline bool packetc2l_rand_turret_addition::has_packet_id() const {
  10770. return (_has_bits_[0] & 0x00000001u) != 0;
  10771. }
  10772. inline void packetc2l_rand_turret_addition::set_has_packet_id() {
  10773. _has_bits_[0] |= 0x00000001u;
  10774. }
  10775. inline void packetc2l_rand_turret_addition::clear_has_packet_id() {
  10776. _has_bits_[0] &= ~0x00000001u;
  10777. }
  10778. inline void packetc2l_rand_turret_addition::clear_packet_id() {
  10779. packet_id_ = 10226;
  10780. clear_has_packet_id();
  10781. }
  10782. inline ::fish_protocols::e_server_msg_type packetc2l_rand_turret_addition::packet_id() const {
  10783. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10784. }
  10785. inline void packetc2l_rand_turret_addition::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10786. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10787. set_has_packet_id();
  10788. packet_id_ = value;
  10789. }
  10790. // optional int32 type = 2;
  10791. inline bool packetc2l_rand_turret_addition::has_type() const {
  10792. return (_has_bits_[0] & 0x00000002u) != 0;
  10793. }
  10794. inline void packetc2l_rand_turret_addition::set_has_type() {
  10795. _has_bits_[0] |= 0x00000002u;
  10796. }
  10797. inline void packetc2l_rand_turret_addition::clear_has_type() {
  10798. _has_bits_[0] &= ~0x00000002u;
  10799. }
  10800. inline void packetc2l_rand_turret_addition::clear_type() {
  10801. type_ = 0;
  10802. clear_has_type();
  10803. }
  10804. inline ::google::protobuf::int32 packetc2l_rand_turret_addition::type() const {
  10805. return type_;
  10806. }
  10807. inline void packetc2l_rand_turret_addition::set_type(::google::protobuf::int32 value) {
  10808. set_has_type();
  10809. type_ = value;
  10810. }
  10811. // optional int32 id = 3;
  10812. inline bool packetc2l_rand_turret_addition::has_id() const {
  10813. return (_has_bits_[0] & 0x00000004u) != 0;
  10814. }
  10815. inline void packetc2l_rand_turret_addition::set_has_id() {
  10816. _has_bits_[0] |= 0x00000004u;
  10817. }
  10818. inline void packetc2l_rand_turret_addition::clear_has_id() {
  10819. _has_bits_[0] &= ~0x00000004u;
  10820. }
  10821. inline void packetc2l_rand_turret_addition::clear_id() {
  10822. id_ = 0;
  10823. clear_has_id();
  10824. }
  10825. inline ::google::protobuf::int32 packetc2l_rand_turret_addition::id() const {
  10826. return id_;
  10827. }
  10828. inline void packetc2l_rand_turret_addition::set_id(::google::protobuf::int32 value) {
  10829. set_has_id();
  10830. id_ = value;
  10831. }
  10832. // -------------------------------------------------------------------
  10833. // packetl2c_rand_turret_addition_result
  10834. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_rand_turret_addition_result];
  10835. inline bool packetl2c_rand_turret_addition_result::has_packet_id() const {
  10836. return (_has_bits_[0] & 0x00000001u) != 0;
  10837. }
  10838. inline void packetl2c_rand_turret_addition_result::set_has_packet_id() {
  10839. _has_bits_[0] |= 0x00000001u;
  10840. }
  10841. inline void packetl2c_rand_turret_addition_result::clear_has_packet_id() {
  10842. _has_bits_[0] &= ~0x00000001u;
  10843. }
  10844. inline void packetl2c_rand_turret_addition_result::clear_packet_id() {
  10845. packet_id_ = 16232;
  10846. clear_has_packet_id();
  10847. }
  10848. inline ::fish_protocols::e_server_msg_type packetl2c_rand_turret_addition_result::packet_id() const {
  10849. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  10850. }
  10851. inline void packetl2c_rand_turret_addition_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  10852. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  10853. set_has_packet_id();
  10854. packet_id_ = value;
  10855. }
  10856. // optional int32 type = 2;
  10857. inline bool packetl2c_rand_turret_addition_result::has_type() const {
  10858. return (_has_bits_[0] & 0x00000002u) != 0;
  10859. }
  10860. inline void packetl2c_rand_turret_addition_result::set_has_type() {
  10861. _has_bits_[0] |= 0x00000002u;
  10862. }
  10863. inline void packetl2c_rand_turret_addition_result::clear_has_type() {
  10864. _has_bits_[0] &= ~0x00000002u;
  10865. }
  10866. inline void packetl2c_rand_turret_addition_result::clear_type() {
  10867. type_ = 0;
  10868. clear_has_type();
  10869. }
  10870. inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::type() const {
  10871. return type_;
  10872. }
  10873. inline void packetl2c_rand_turret_addition_result::set_type(::google::protobuf::int32 value) {
  10874. set_has_type();
  10875. type_ = value;
  10876. }
  10877. // optional int32 id = 3;
  10878. inline bool packetl2c_rand_turret_addition_result::has_id() const {
  10879. return (_has_bits_[0] & 0x00000004u) != 0;
  10880. }
  10881. inline void packetl2c_rand_turret_addition_result::set_has_id() {
  10882. _has_bits_[0] |= 0x00000004u;
  10883. }
  10884. inline void packetl2c_rand_turret_addition_result::clear_has_id() {
  10885. _has_bits_[0] &= ~0x00000004u;
  10886. }
  10887. inline void packetl2c_rand_turret_addition_result::clear_id() {
  10888. id_ = 0;
  10889. clear_has_id();
  10890. }
  10891. inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::id() const {
  10892. return id_;
  10893. }
  10894. inline void packetl2c_rand_turret_addition_result::set_id(::google::protobuf::int32 value) {
  10895. set_has_id();
  10896. id_ = value;
  10897. }
  10898. // optional int32 result = 4;
  10899. inline bool packetl2c_rand_turret_addition_result::has_result() const {
  10900. return (_has_bits_[0] & 0x00000008u) != 0;
  10901. }
  10902. inline void packetl2c_rand_turret_addition_result::set_has_result() {
  10903. _has_bits_[0] |= 0x00000008u;
  10904. }
  10905. inline void packetl2c_rand_turret_addition_result::clear_has_result() {
  10906. _has_bits_[0] &= ~0x00000008u;
  10907. }
  10908. inline void packetl2c_rand_turret_addition_result::clear_result() {
  10909. result_ = 0;
  10910. clear_has_result();
  10911. }
  10912. inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::result() const {
  10913. return result_;
  10914. }
  10915. inline void packetl2c_rand_turret_addition_result::set_result(::google::protobuf::int32 value) {
  10916. set_has_result();
  10917. result_ = value;
  10918. }
  10919. // optional int32 leftTimes = 5;
  10920. inline bool packetl2c_rand_turret_addition_result::has_lefttimes() const {
  10921. return (_has_bits_[0] & 0x00000010u) != 0;
  10922. }
  10923. inline void packetl2c_rand_turret_addition_result::set_has_lefttimes() {
  10924. _has_bits_[0] |= 0x00000010u;
  10925. }
  10926. inline void packetl2c_rand_turret_addition_result::clear_has_lefttimes() {
  10927. _has_bits_[0] &= ~0x00000010u;
  10928. }
  10929. inline void packetl2c_rand_turret_addition_result::clear_lefttimes() {
  10930. lefttimes_ = 0;
  10931. clear_has_lefttimes();
  10932. }
  10933. inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::lefttimes() const {
  10934. return lefttimes_;
  10935. }
  10936. inline void packetl2c_rand_turret_addition_result::set_lefttimes(::google::protobuf::int32 value) {
  10937. set_has_lefttimes();
  10938. lefttimes_ = value;
  10939. }
  10940. // optional int32 addId = 6;
  10941. inline bool packetl2c_rand_turret_addition_result::has_addid() const {
  10942. return (_has_bits_[0] & 0x00000020u) != 0;
  10943. }
  10944. inline void packetl2c_rand_turret_addition_result::set_has_addid() {
  10945. _has_bits_[0] |= 0x00000020u;
  10946. }
  10947. inline void packetl2c_rand_turret_addition_result::clear_has_addid() {
  10948. _has_bits_[0] &= ~0x00000020u;
  10949. }
  10950. inline void packetl2c_rand_turret_addition_result::clear_addid() {
  10951. addid_ = 0;
  10952. clear_has_addid();
  10953. }
  10954. inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::addid() const {
  10955. return addid_;
  10956. }
  10957. inline void packetl2c_rand_turret_addition_result::set_addid(::google::protobuf::int32 value) {
  10958. set_has_addid();
  10959. addid_ = value;
  10960. }
  10961. // optional int32 costItem = 7;
  10962. inline bool packetl2c_rand_turret_addition_result::has_costitem() const {
  10963. return (_has_bits_[0] & 0x00000040u) != 0;
  10964. }
  10965. inline void packetl2c_rand_turret_addition_result::set_has_costitem() {
  10966. _has_bits_[0] |= 0x00000040u;
  10967. }
  10968. inline void packetl2c_rand_turret_addition_result::clear_has_costitem() {
  10969. _has_bits_[0] &= ~0x00000040u;
  10970. }
  10971. inline void packetl2c_rand_turret_addition_result::clear_costitem() {
  10972. costitem_ = 0;
  10973. clear_has_costitem();
  10974. }
  10975. inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::costitem() const {
  10976. return costitem_;
  10977. }
  10978. inline void packetl2c_rand_turret_addition_result::set_costitem(::google::protobuf::int32 value) {
  10979. set_has_costitem();
  10980. costitem_ = value;
  10981. }
  10982. // optional int32 costCount = 8;
  10983. inline bool packetl2c_rand_turret_addition_result::has_costcount() const {
  10984. return (_has_bits_[0] & 0x00000080u) != 0;
  10985. }
  10986. inline void packetl2c_rand_turret_addition_result::set_has_costcount() {
  10987. _has_bits_[0] |= 0x00000080u;
  10988. }
  10989. inline void packetl2c_rand_turret_addition_result::clear_has_costcount() {
  10990. _has_bits_[0] &= ~0x00000080u;
  10991. }
  10992. inline void packetl2c_rand_turret_addition_result::clear_costcount() {
  10993. costcount_ = 0;
  10994. clear_has_costcount();
  10995. }
  10996. inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::costcount() const {
  10997. return costcount_;
  10998. }
  10999. inline void packetl2c_rand_turret_addition_result::set_costcount(::google::protobuf::int32 value) {
  11000. set_has_costcount();
  11001. costcount_ = value;
  11002. }
  11003. // -------------------------------------------------------------------
  11004. // packetc2l_turret_addition_confirm
  11005. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_addition_confirm];
  11006. inline bool packetc2l_turret_addition_confirm::has_packet_id() const {
  11007. return (_has_bits_[0] & 0x00000001u) != 0;
  11008. }
  11009. inline void packetc2l_turret_addition_confirm::set_has_packet_id() {
  11010. _has_bits_[0] |= 0x00000001u;
  11011. }
  11012. inline void packetc2l_turret_addition_confirm::clear_has_packet_id() {
  11013. _has_bits_[0] &= ~0x00000001u;
  11014. }
  11015. inline void packetc2l_turret_addition_confirm::clear_packet_id() {
  11016. packet_id_ = 10227;
  11017. clear_has_packet_id();
  11018. }
  11019. inline ::fish_protocols::e_server_msg_type packetc2l_turret_addition_confirm::packet_id() const {
  11020. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  11021. }
  11022. inline void packetc2l_turret_addition_confirm::set_packet_id(::fish_protocols::e_server_msg_type value) {
  11023. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  11024. set_has_packet_id();
  11025. packet_id_ = value;
  11026. }
  11027. // optional int32 type = 2;
  11028. inline bool packetc2l_turret_addition_confirm::has_type() const {
  11029. return (_has_bits_[0] & 0x00000002u) != 0;
  11030. }
  11031. inline void packetc2l_turret_addition_confirm::set_has_type() {
  11032. _has_bits_[0] |= 0x00000002u;
  11033. }
  11034. inline void packetc2l_turret_addition_confirm::clear_has_type() {
  11035. _has_bits_[0] &= ~0x00000002u;
  11036. }
  11037. inline void packetc2l_turret_addition_confirm::clear_type() {
  11038. type_ = 0;
  11039. clear_has_type();
  11040. }
  11041. inline ::google::protobuf::int32 packetc2l_turret_addition_confirm::type() const {
  11042. return type_;
  11043. }
  11044. inline void packetc2l_turret_addition_confirm::set_type(::google::protobuf::int32 value) {
  11045. set_has_type();
  11046. type_ = value;
  11047. }
  11048. // optional int32 id = 3;
  11049. inline bool packetc2l_turret_addition_confirm::has_id() const {
  11050. return (_has_bits_[0] & 0x00000004u) != 0;
  11051. }
  11052. inline void packetc2l_turret_addition_confirm::set_has_id() {
  11053. _has_bits_[0] |= 0x00000004u;
  11054. }
  11055. inline void packetc2l_turret_addition_confirm::clear_has_id() {
  11056. _has_bits_[0] &= ~0x00000004u;
  11057. }
  11058. inline void packetc2l_turret_addition_confirm::clear_id() {
  11059. id_ = 0;
  11060. clear_has_id();
  11061. }
  11062. inline ::google::protobuf::int32 packetc2l_turret_addition_confirm::id() const {
  11063. return id_;
  11064. }
  11065. inline void packetc2l_turret_addition_confirm::set_id(::google::protobuf::int32 value) {
  11066. set_has_id();
  11067. id_ = value;
  11068. }
  11069. // -------------------------------------------------------------------
  11070. // packetl2c_turret_addition_confirm_result
  11071. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_addition_confirm_result];
  11072. inline bool packetl2c_turret_addition_confirm_result::has_packet_id() const {
  11073. return (_has_bits_[0] & 0x00000001u) != 0;
  11074. }
  11075. inline void packetl2c_turret_addition_confirm_result::set_has_packet_id() {
  11076. _has_bits_[0] |= 0x00000001u;
  11077. }
  11078. inline void packetl2c_turret_addition_confirm_result::clear_has_packet_id() {
  11079. _has_bits_[0] &= ~0x00000001u;
  11080. }
  11081. inline void packetl2c_turret_addition_confirm_result::clear_packet_id() {
  11082. packet_id_ = 16233;
  11083. clear_has_packet_id();
  11084. }
  11085. inline ::fish_protocols::e_server_msg_type packetl2c_turret_addition_confirm_result::packet_id() const {
  11086. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  11087. }
  11088. inline void packetl2c_turret_addition_confirm_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  11089. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  11090. set_has_packet_id();
  11091. packet_id_ = value;
  11092. }
  11093. // optional int32 type = 2;
  11094. inline bool packetl2c_turret_addition_confirm_result::has_type() const {
  11095. return (_has_bits_[0] & 0x00000002u) != 0;
  11096. }
  11097. inline void packetl2c_turret_addition_confirm_result::set_has_type() {
  11098. _has_bits_[0] |= 0x00000002u;
  11099. }
  11100. inline void packetl2c_turret_addition_confirm_result::clear_has_type() {
  11101. _has_bits_[0] &= ~0x00000002u;
  11102. }
  11103. inline void packetl2c_turret_addition_confirm_result::clear_type() {
  11104. type_ = 0;
  11105. clear_has_type();
  11106. }
  11107. inline ::google::protobuf::int32 packetl2c_turret_addition_confirm_result::type() const {
  11108. return type_;
  11109. }
  11110. inline void packetl2c_turret_addition_confirm_result::set_type(::google::protobuf::int32 value) {
  11111. set_has_type();
  11112. type_ = value;
  11113. }
  11114. // optional int32 id = 3;
  11115. inline bool packetl2c_turret_addition_confirm_result::has_id() const {
  11116. return (_has_bits_[0] & 0x00000004u) != 0;
  11117. }
  11118. inline void packetl2c_turret_addition_confirm_result::set_has_id() {
  11119. _has_bits_[0] |= 0x00000004u;
  11120. }
  11121. inline void packetl2c_turret_addition_confirm_result::clear_has_id() {
  11122. _has_bits_[0] &= ~0x00000004u;
  11123. }
  11124. inline void packetl2c_turret_addition_confirm_result::clear_id() {
  11125. id_ = 0;
  11126. clear_has_id();
  11127. }
  11128. inline ::google::protobuf::int32 packetl2c_turret_addition_confirm_result::id() const {
  11129. return id_;
  11130. }
  11131. inline void packetl2c_turret_addition_confirm_result::set_id(::google::protobuf::int32 value) {
  11132. set_has_id();
  11133. id_ = value;
  11134. }
  11135. // optional int32 result = 4;
  11136. inline bool packetl2c_turret_addition_confirm_result::has_result() const {
  11137. return (_has_bits_[0] & 0x00000008u) != 0;
  11138. }
  11139. inline void packetl2c_turret_addition_confirm_result::set_has_result() {
  11140. _has_bits_[0] |= 0x00000008u;
  11141. }
  11142. inline void packetl2c_turret_addition_confirm_result::clear_has_result() {
  11143. _has_bits_[0] &= ~0x00000008u;
  11144. }
  11145. inline void packetl2c_turret_addition_confirm_result::clear_result() {
  11146. result_ = 0;
  11147. clear_has_result();
  11148. }
  11149. inline ::google::protobuf::int32 packetl2c_turret_addition_confirm_result::result() const {
  11150. return result_;
  11151. }
  11152. inline void packetl2c_turret_addition_confirm_result::set_result(::google::protobuf::int32 value) {
  11153. set_has_result();
  11154. result_ = value;
  11155. }
  11156. // optional .fish_protocols.wing_unit wingdata = 5;
  11157. inline bool packetl2c_turret_addition_confirm_result::has_wingdata() const {
  11158. return (_has_bits_[0] & 0x00000010u) != 0;
  11159. }
  11160. inline void packetl2c_turret_addition_confirm_result::set_has_wingdata() {
  11161. _has_bits_[0] |= 0x00000010u;
  11162. }
  11163. inline void packetl2c_turret_addition_confirm_result::clear_has_wingdata() {
  11164. _has_bits_[0] &= ~0x00000010u;
  11165. }
  11166. inline void packetl2c_turret_addition_confirm_result::clear_wingdata() {
  11167. if (wingdata_ != NULL) wingdata_->::fish_protocols::wing_unit::Clear();
  11168. clear_has_wingdata();
  11169. }
  11170. inline const ::fish_protocols::wing_unit& packetl2c_turret_addition_confirm_result::wingdata() const {
  11171. return wingdata_ != NULL ? *wingdata_ : *default_instance_->wingdata_;
  11172. }
  11173. inline ::fish_protocols::wing_unit* packetl2c_turret_addition_confirm_result::mutable_wingdata() {
  11174. set_has_wingdata();
  11175. if (wingdata_ == NULL) wingdata_ = new ::fish_protocols::wing_unit;
  11176. return wingdata_;
  11177. }
  11178. inline ::fish_protocols::wing_unit* packetl2c_turret_addition_confirm_result::release_wingdata() {
  11179. clear_has_wingdata();
  11180. ::fish_protocols::wing_unit* temp = wingdata_;
  11181. wingdata_ = NULL;
  11182. return temp;
  11183. }
  11184. inline void packetl2c_turret_addition_confirm_result::set_allocated_wingdata(::fish_protocols::wing_unit* wingdata) {
  11185. delete wingdata_;
  11186. wingdata_ = wingdata;
  11187. if (wingdata) {
  11188. set_has_wingdata();
  11189. } else {
  11190. clear_has_wingdata();
  11191. }
  11192. }
  11193. // optional .fish_protocols.turret_unit turretdata = 6;
  11194. inline bool packetl2c_turret_addition_confirm_result::has_turretdata() const {
  11195. return (_has_bits_[0] & 0x00000020u) != 0;
  11196. }
  11197. inline void packetl2c_turret_addition_confirm_result::set_has_turretdata() {
  11198. _has_bits_[0] |= 0x00000020u;
  11199. }
  11200. inline void packetl2c_turret_addition_confirm_result::clear_has_turretdata() {
  11201. _has_bits_[0] &= ~0x00000020u;
  11202. }
  11203. inline void packetl2c_turret_addition_confirm_result::clear_turretdata() {
  11204. if (turretdata_ != NULL) turretdata_->::fish_protocols::turret_unit::Clear();
  11205. clear_has_turretdata();
  11206. }
  11207. inline const ::fish_protocols::turret_unit& packetl2c_turret_addition_confirm_result::turretdata() const {
  11208. return turretdata_ != NULL ? *turretdata_ : *default_instance_->turretdata_;
  11209. }
  11210. inline ::fish_protocols::turret_unit* packetl2c_turret_addition_confirm_result::mutable_turretdata() {
  11211. set_has_turretdata();
  11212. if (turretdata_ == NULL) turretdata_ = new ::fish_protocols::turret_unit;
  11213. return turretdata_;
  11214. }
  11215. inline ::fish_protocols::turret_unit* packetl2c_turret_addition_confirm_result::release_turretdata() {
  11216. clear_has_turretdata();
  11217. ::fish_protocols::turret_unit* temp = turretdata_;
  11218. turretdata_ = NULL;
  11219. return temp;
  11220. }
  11221. inline void packetl2c_turret_addition_confirm_result::set_allocated_turretdata(::fish_protocols::turret_unit* turretdata) {
  11222. delete turretdata_;
  11223. turretdata_ = turretdata;
  11224. if (turretdata) {
  11225. set_has_turretdata();
  11226. } else {
  11227. clear_has_turretdata();
  11228. }
  11229. }
  11230. // -------------------------------------------------------------------
  11231. // packetc2l_turret_addition_reset
  11232. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_addition_reset];
  11233. inline bool packetc2l_turret_addition_reset::has_packet_id() const {
  11234. return (_has_bits_[0] & 0x00000001u) != 0;
  11235. }
  11236. inline void packetc2l_turret_addition_reset::set_has_packet_id() {
  11237. _has_bits_[0] |= 0x00000001u;
  11238. }
  11239. inline void packetc2l_turret_addition_reset::clear_has_packet_id() {
  11240. _has_bits_[0] &= ~0x00000001u;
  11241. }
  11242. inline void packetc2l_turret_addition_reset::clear_packet_id() {
  11243. packet_id_ = 10228;
  11244. clear_has_packet_id();
  11245. }
  11246. inline ::fish_protocols::e_server_msg_type packetc2l_turret_addition_reset::packet_id() const {
  11247. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  11248. }
  11249. inline void packetc2l_turret_addition_reset::set_packet_id(::fish_protocols::e_server_msg_type value) {
  11250. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  11251. set_has_packet_id();
  11252. packet_id_ = value;
  11253. }
  11254. // optional int32 type = 2;
  11255. inline bool packetc2l_turret_addition_reset::has_type() const {
  11256. return (_has_bits_[0] & 0x00000002u) != 0;
  11257. }
  11258. inline void packetc2l_turret_addition_reset::set_has_type() {
  11259. _has_bits_[0] |= 0x00000002u;
  11260. }
  11261. inline void packetc2l_turret_addition_reset::clear_has_type() {
  11262. _has_bits_[0] &= ~0x00000002u;
  11263. }
  11264. inline void packetc2l_turret_addition_reset::clear_type() {
  11265. type_ = 0;
  11266. clear_has_type();
  11267. }
  11268. inline ::google::protobuf::int32 packetc2l_turret_addition_reset::type() const {
  11269. return type_;
  11270. }
  11271. inline void packetc2l_turret_addition_reset::set_type(::google::protobuf::int32 value) {
  11272. set_has_type();
  11273. type_ = value;
  11274. }
  11275. // optional int32 id = 3;
  11276. inline bool packetc2l_turret_addition_reset::has_id() const {
  11277. return (_has_bits_[0] & 0x00000004u) != 0;
  11278. }
  11279. inline void packetc2l_turret_addition_reset::set_has_id() {
  11280. _has_bits_[0] |= 0x00000004u;
  11281. }
  11282. inline void packetc2l_turret_addition_reset::clear_has_id() {
  11283. _has_bits_[0] &= ~0x00000004u;
  11284. }
  11285. inline void packetc2l_turret_addition_reset::clear_id() {
  11286. id_ = 0;
  11287. clear_has_id();
  11288. }
  11289. inline ::google::protobuf::int32 packetc2l_turret_addition_reset::id() const {
  11290. return id_;
  11291. }
  11292. inline void packetc2l_turret_addition_reset::set_id(::google::protobuf::int32 value) {
  11293. set_has_id();
  11294. id_ = value;
  11295. }
  11296. // -------------------------------------------------------------------
  11297. // packetl2c_turret_addition_reset_result
  11298. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_addition_reset_result];
  11299. inline bool packetl2c_turret_addition_reset_result::has_packet_id() const {
  11300. return (_has_bits_[0] & 0x00000001u) != 0;
  11301. }
  11302. inline void packetl2c_turret_addition_reset_result::set_has_packet_id() {
  11303. _has_bits_[0] |= 0x00000001u;
  11304. }
  11305. inline void packetl2c_turret_addition_reset_result::clear_has_packet_id() {
  11306. _has_bits_[0] &= ~0x00000001u;
  11307. }
  11308. inline void packetl2c_turret_addition_reset_result::clear_packet_id() {
  11309. packet_id_ = 16234;
  11310. clear_has_packet_id();
  11311. }
  11312. inline ::fish_protocols::e_server_msg_type packetl2c_turret_addition_reset_result::packet_id() const {
  11313. return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
  11314. }
  11315. inline void packetl2c_turret_addition_reset_result::set_packet_id(::fish_protocols::e_server_msg_type value) {
  11316. assert(::fish_protocols::e_server_msg_type_IsValid(value));
  11317. set_has_packet_id();
  11318. packet_id_ = value;
  11319. }
  11320. // optional int32 type = 2;
  11321. inline bool packetl2c_turret_addition_reset_result::has_type() const {
  11322. return (_has_bits_[0] & 0x00000002u) != 0;
  11323. }
  11324. inline void packetl2c_turret_addition_reset_result::set_has_type() {
  11325. _has_bits_[0] |= 0x00000002u;
  11326. }
  11327. inline void packetl2c_turret_addition_reset_result::clear_has_type() {
  11328. _has_bits_[0] &= ~0x00000002u;
  11329. }
  11330. inline void packetl2c_turret_addition_reset_result::clear_type() {
  11331. type_ = 0;
  11332. clear_has_type();
  11333. }
  11334. inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::type() const {
  11335. return type_;
  11336. }
  11337. inline void packetl2c_turret_addition_reset_result::set_type(::google::protobuf::int32 value) {
  11338. set_has_type();
  11339. type_ = value;
  11340. }
  11341. // optional int32 id = 3;
  11342. inline bool packetl2c_turret_addition_reset_result::has_id() const {
  11343. return (_has_bits_[0] & 0x00000004u) != 0;
  11344. }
  11345. inline void packetl2c_turret_addition_reset_result::set_has_id() {
  11346. _has_bits_[0] |= 0x00000004u;
  11347. }
  11348. inline void packetl2c_turret_addition_reset_result::clear_has_id() {
  11349. _has_bits_[0] &= ~0x00000004u;
  11350. }
  11351. inline void packetl2c_turret_addition_reset_result::clear_id() {
  11352. id_ = 0;
  11353. clear_has_id();
  11354. }
  11355. inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::id() const {
  11356. return id_;
  11357. }
  11358. inline void packetl2c_turret_addition_reset_result::set_id(::google::protobuf::int32 value) {
  11359. set_has_id();
  11360. id_ = value;
  11361. }
  11362. // optional int32 result = 4;
  11363. inline bool packetl2c_turret_addition_reset_result::has_result() const {
  11364. return (_has_bits_[0] & 0x00000008u) != 0;
  11365. }
  11366. inline void packetl2c_turret_addition_reset_result::set_has_result() {
  11367. _has_bits_[0] |= 0x00000008u;
  11368. }
  11369. inline void packetl2c_turret_addition_reset_result::clear_has_result() {
  11370. _has_bits_[0] &= ~0x00000008u;
  11371. }
  11372. inline void packetl2c_turret_addition_reset_result::clear_result() {
  11373. result_ = 0;
  11374. clear_has_result();
  11375. }
  11376. inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::result() const {
  11377. return result_;
  11378. }
  11379. inline void packetl2c_turret_addition_reset_result::set_result(::google::protobuf::int32 value) {
  11380. set_has_result();
  11381. result_ = value;
  11382. }
  11383. // optional int32 returnCount = 5;
  11384. inline bool packetl2c_turret_addition_reset_result::has_returncount() const {
  11385. return (_has_bits_[0] & 0x00000010u) != 0;
  11386. }
  11387. inline void packetl2c_turret_addition_reset_result::set_has_returncount() {
  11388. _has_bits_[0] |= 0x00000010u;
  11389. }
  11390. inline void packetl2c_turret_addition_reset_result::clear_has_returncount() {
  11391. _has_bits_[0] &= ~0x00000010u;
  11392. }
  11393. inline void packetl2c_turret_addition_reset_result::clear_returncount() {
  11394. returncount_ = 0;
  11395. clear_has_returncount();
  11396. }
  11397. inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::returncount() const {
  11398. return returncount_;
  11399. }
  11400. inline void packetl2c_turret_addition_reset_result::set_returncount(::google::protobuf::int32 value) {
  11401. set_has_returncount();
  11402. returncount_ = value;
  11403. }
  11404. // @@protoc_insertion_point(namespace_scope)
  11405. } // namespace fish_protocols
  11406. #ifndef SWIG
  11407. namespace google {
  11408. namespace protobuf {
  11409. } // namespace google
  11410. } // namespace protobuf
  11411. #endif // SWIG
  11412. // @@protoc_insertion_point(global_scope)
  11413. #endif // PROTOBUF_fish_5fprotocol_2eproto__INCLUDED