client2world_protocol.pb.h 451 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_protocol.proto
  3. #ifndef PROTOBUF_client2world_5fprotocol_2eproto__INCLUDED
  4. #define PROTOBUF_client2world_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 "client2world_msg_type.pb.h"
  23. #include "msg_type_def.pb.h"
  24. #include "msg_info_def.pb.h"
  25. // @@protoc_insertion_point(includes)
  26. namespace client2world_protocols {
  27. // Internal implementation detail -- do not call these.
  28. void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  29. void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  30. void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  31. class packet_c2w_timesync;
  32. class packet_w2c_timesync_result;
  33. class packetc2w_ask_login;
  34. class msg_game_info;
  35. class packetw2c_ask_login_result;
  36. class packetc2w_enter_game;
  37. class packetw2c_enter_game_result;
  38. class packetc2w_gm_command;
  39. class packetw2c_gm_command_result;
  40. class packetc2w_ask_for_pay;
  41. class packetw2c_ask_for_pay_result;
  42. class packetc2w_ask_check_payment;
  43. class packetc2w_ask_test_payment;
  44. class packetw2c_ask_check_payment_result;
  45. class packetc2w_free_gift_payment;
  46. class packetc2w_open_gift;
  47. class packetw2c_open_gift_result;
  48. class packetc2w_leave_game;
  49. class packetw2c_leave_game_result;
  50. class packetw2c_player_kick;
  51. class packetc2w_get_gamelist;
  52. class packetw2c_get_gamelist_result;
  53. class packetc2w_first_login;
  54. class packetw2c_first_login_result;
  55. class packetc2w_enter_fish_game;
  56. class packetw2c_enter_fish_game_result;
  57. class msg_airdropitem;
  58. class packetc2w_create_airdrop;
  59. class packetw2c_create_airdrop_result;
  60. class packetc2w_get_airdrop_list;
  61. class packetw2c_get_airdrop_list_result;
  62. class packetc2w_get_airdrop_info;
  63. class packetw2c_get_airdrop_info_result;
  64. class packetc2w_draw_airdrop;
  65. class packetw2c_draw_airdrop_result;
  66. class packetc2w_receive_vip_reward;
  67. class packetw2c_receive_vip_reward_result;
  68. class packetw2c_check_vip_money_result;
  69. class packetw2c_timer_update;
  70. class recordInfo;
  71. class packetc2w_syn_record_info;
  72. class packetc2w_pay_by_diamond;
  73. class packetw2c_pay_by_diamond_result;
  74. class packetc2w_exchange_vip_item;
  75. class packetw2c_exchange_vip_item_result;
  76. class storeInfo;
  77. class packet_c2w_sync_global_data;
  78. class packet_w2c_sync_global_data_result;
  79. class packet_w2c_trigger_seven_day_rechage;
  80. class treasureItem;
  81. class packetw2c_trigger_daily_treasure;
  82. class packetc2w_daily_treasure_lottery;
  83. class packetw2c_daily_treasure_lottery_result;
  84. class packetc2w_receive_treasure_lottery;
  85. class packetw2c_receive_treasure_lottery_result;
  86. class packetc2w_receive_sail_reward;
  87. class packetw2c_receive_sail_result;
  88. class packetc2w_syn_sail_piggy_gold;
  89. class packetw2c_syn_sail_piggy_gold_result;
  90. class packetc2w_sail_achieve_lottery;
  91. class packetw2c_sail_achieve_lottery_result;
  92. class packetw2c_trigger_sail_achieve;
  93. class sailLotteryInfo;
  94. class packetc2w_sail_get_lottery_history;
  95. class packetw2c_sail_get_lottery_history_result;
  96. class packetc2w_recv_return_login_reward;
  97. class packetw2c_recv_return_login_reward_result;
  98. class packetc2w_recv_return_recharge_reward;
  99. class packetw2c_recv_return_recharge_reward_result;
  100. class packetc2w_abysm_sign;
  101. class packetw2c_abysm_sign_result;
  102. class packetc2w_dragonball_lottery;
  103. class packetw2c_dragonball_lottery_result;
  104. // ===================================================================
  105. class packet_c2w_timesync : public ::google::protobuf::Message {
  106. public:
  107. packet_c2w_timesync();
  108. virtual ~packet_c2w_timesync();
  109. packet_c2w_timesync(const packet_c2w_timesync& from);
  110. inline packet_c2w_timesync& operator=(const packet_c2w_timesync& from) {
  111. CopyFrom(from);
  112. return *this;
  113. }
  114. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  115. return _unknown_fields_;
  116. }
  117. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  118. return &_unknown_fields_;
  119. }
  120. static const ::google::protobuf::Descriptor* descriptor();
  121. static const packet_c2w_timesync& default_instance();
  122. void Swap(packet_c2w_timesync* other);
  123. // implements Message ----------------------------------------------
  124. packet_c2w_timesync* New() const;
  125. void CopyFrom(const ::google::protobuf::Message& from);
  126. void MergeFrom(const ::google::protobuf::Message& from);
  127. void CopyFrom(const packet_c2w_timesync& from);
  128. void MergeFrom(const packet_c2w_timesync& from);
  129. void Clear();
  130. bool IsInitialized() const;
  131. int ByteSize() const;
  132. bool MergePartialFromCodedStream(
  133. ::google::protobuf::io::CodedInputStream* input);
  134. void SerializeWithCachedSizes(
  135. ::google::protobuf::io::CodedOutputStream* output) const;
  136. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  137. int GetCachedSize() const { return _cached_size_; }
  138. private:
  139. void SharedCtor();
  140. void SharedDtor();
  141. void SetCachedSize(int size) const;
  142. public:
  143. ::google::protobuf::Metadata GetMetadata() const;
  144. // nested types ----------------------------------------------------
  145. // accessors -------------------------------------------------------
  146. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  147. inline bool has_packet_id() const;
  148. inline void clear_packet_id();
  149. static const int kPacketIdFieldNumber = 1;
  150. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  151. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  152. // @@protoc_insertion_point(class_scope:client2world_protocols.packet_c2w_timesync)
  153. private:
  154. inline void set_has_packet_id();
  155. inline void clear_has_packet_id();
  156. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  157. int packet_id_;
  158. mutable int _cached_size_;
  159. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  160. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  161. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  162. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  163. void InitAsDefaultInstance();
  164. static packet_c2w_timesync* default_instance_;
  165. };
  166. // -------------------------------------------------------------------
  167. class packet_w2c_timesync_result : public ::google::protobuf::Message {
  168. public:
  169. packet_w2c_timesync_result();
  170. virtual ~packet_w2c_timesync_result();
  171. packet_w2c_timesync_result(const packet_w2c_timesync_result& from);
  172. inline packet_w2c_timesync_result& operator=(const packet_w2c_timesync_result& from) {
  173. CopyFrom(from);
  174. return *this;
  175. }
  176. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  177. return _unknown_fields_;
  178. }
  179. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  180. return &_unknown_fields_;
  181. }
  182. static const ::google::protobuf::Descriptor* descriptor();
  183. static const packet_w2c_timesync_result& default_instance();
  184. void Swap(packet_w2c_timesync_result* other);
  185. // implements Message ----------------------------------------------
  186. packet_w2c_timesync_result* New() const;
  187. void CopyFrom(const ::google::protobuf::Message& from);
  188. void MergeFrom(const ::google::protobuf::Message& from);
  189. void CopyFrom(const packet_w2c_timesync_result& from);
  190. void MergeFrom(const packet_w2c_timesync_result& from);
  191. void Clear();
  192. bool IsInitialized() const;
  193. int ByteSize() const;
  194. bool MergePartialFromCodedStream(
  195. ::google::protobuf::io::CodedInputStream* input);
  196. void SerializeWithCachedSizes(
  197. ::google::protobuf::io::CodedOutputStream* output) const;
  198. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  199. int GetCachedSize() const { return _cached_size_; }
  200. private:
  201. void SharedCtor();
  202. void SharedDtor();
  203. void SetCachedSize(int size) const;
  204. public:
  205. ::google::protobuf::Metadata GetMetadata() const;
  206. // nested types ----------------------------------------------------
  207. // accessors -------------------------------------------------------
  208. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_result];
  209. inline bool has_packet_id() const;
  210. inline void clear_packet_id();
  211. static const int kPacketIdFieldNumber = 1;
  212. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  213. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  214. // optional int32 server_time = 2;
  215. inline bool has_server_time() const;
  216. inline void clear_server_time();
  217. static const int kServerTimeFieldNumber = 2;
  218. inline ::google::protobuf::int32 server_time() const;
  219. inline void set_server_time(::google::protobuf::int32 value);
  220. // @@protoc_insertion_point(class_scope:client2world_protocols.packet_w2c_timesync_result)
  221. private:
  222. inline void set_has_packet_id();
  223. inline void clear_has_packet_id();
  224. inline void set_has_server_time();
  225. inline void clear_has_server_time();
  226. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  227. int packet_id_;
  228. ::google::protobuf::int32 server_time_;
  229. mutable int _cached_size_;
  230. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  231. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  232. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  233. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  234. void InitAsDefaultInstance();
  235. static packet_w2c_timesync_result* default_instance_;
  236. };
  237. // -------------------------------------------------------------------
  238. class packetc2w_ask_login : public ::google::protobuf::Message {
  239. public:
  240. packetc2w_ask_login();
  241. virtual ~packetc2w_ask_login();
  242. packetc2w_ask_login(const packetc2w_ask_login& from);
  243. inline packetc2w_ask_login& operator=(const packetc2w_ask_login& from) {
  244. CopyFrom(from);
  245. return *this;
  246. }
  247. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  248. return _unknown_fields_;
  249. }
  250. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  251. return &_unknown_fields_;
  252. }
  253. static const ::google::protobuf::Descriptor* descriptor();
  254. static const packetc2w_ask_login& default_instance();
  255. void Swap(packetc2w_ask_login* other);
  256. // implements Message ----------------------------------------------
  257. packetc2w_ask_login* New() const;
  258. void CopyFrom(const ::google::protobuf::Message& from);
  259. void MergeFrom(const ::google::protobuf::Message& from);
  260. void CopyFrom(const packetc2w_ask_login& from);
  261. void MergeFrom(const packetc2w_ask_login& from);
  262. void Clear();
  263. bool IsInitialized() const;
  264. int ByteSize() const;
  265. bool MergePartialFromCodedStream(
  266. ::google::protobuf::io::CodedInputStream* input);
  267. void SerializeWithCachedSizes(
  268. ::google::protobuf::io::CodedOutputStream* output) const;
  269. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  270. int GetCachedSize() const { return _cached_size_; }
  271. private:
  272. void SharedCtor();
  273. void SharedDtor();
  274. void SetCachedSize(int size) const;
  275. public:
  276. ::google::protobuf::Metadata GetMetadata() const;
  277. // nested types ----------------------------------------------------
  278. // accessors -------------------------------------------------------
  279. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  280. inline bool has_packet_id() const;
  281. inline void clear_packet_id();
  282. static const int kPacketIdFieldNumber = 1;
  283. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  284. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  285. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_ask_login)
  286. private:
  287. inline void set_has_packet_id();
  288. inline void clear_has_packet_id();
  289. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  290. int packet_id_;
  291. mutable int _cached_size_;
  292. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  293. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  294. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  295. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  296. void InitAsDefaultInstance();
  297. static packetc2w_ask_login* default_instance_;
  298. };
  299. // -------------------------------------------------------------------
  300. class msg_game_info : public ::google::protobuf::Message {
  301. public:
  302. msg_game_info();
  303. virtual ~msg_game_info();
  304. msg_game_info(const msg_game_info& from);
  305. inline msg_game_info& operator=(const msg_game_info& from) {
  306. CopyFrom(from);
  307. return *this;
  308. }
  309. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  310. return _unknown_fields_;
  311. }
  312. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  313. return &_unknown_fields_;
  314. }
  315. static const ::google::protobuf::Descriptor* descriptor();
  316. static const msg_game_info& default_instance();
  317. void Swap(msg_game_info* other);
  318. // implements Message ----------------------------------------------
  319. msg_game_info* New() const;
  320. void CopyFrom(const ::google::protobuf::Message& from);
  321. void MergeFrom(const ::google::protobuf::Message& from);
  322. void CopyFrom(const msg_game_info& from);
  323. void MergeFrom(const msg_game_info& from);
  324. void Clear();
  325. bool IsInitialized() const;
  326. int ByteSize() const;
  327. bool MergePartialFromCodedStream(
  328. ::google::protobuf::io::CodedInputStream* input);
  329. void SerializeWithCachedSizes(
  330. ::google::protobuf::io::CodedOutputStream* output) const;
  331. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  332. int GetCachedSize() const { return _cached_size_; }
  333. private:
  334. void SharedCtor();
  335. void SharedDtor();
  336. void SetCachedSize(int size) const;
  337. public:
  338. ::google::protobuf::Metadata GetMetadata() const;
  339. // nested types ----------------------------------------------------
  340. // accessors -------------------------------------------------------
  341. // optional int32 gameid = 1;
  342. inline bool has_gameid() const;
  343. inline void clear_gameid();
  344. static const int kGameidFieldNumber = 1;
  345. inline ::google::protobuf::int32 gameid() const;
  346. inline void set_gameid(::google::protobuf::int32 value);
  347. // optional int32 gamever = 2;
  348. inline bool has_gamever() const;
  349. inline void clear_gamever();
  350. static const int kGameverFieldNumber = 2;
  351. inline ::google::protobuf::int32 gamever() const;
  352. inline void set_gamever(::google::protobuf::int32 value);
  353. // optional int32 curOnlineNum = 3;
  354. inline bool has_curonlinenum() const;
  355. inline void clear_curonlinenum();
  356. static const int kCurOnlineNumFieldNumber = 3;
  357. inline ::google::protobuf::int32 curonlinenum() const;
  358. inline void set_curonlinenum(::google::protobuf::int32 value);
  359. // @@protoc_insertion_point(class_scope:client2world_protocols.msg_game_info)
  360. private:
  361. inline void set_has_gameid();
  362. inline void clear_has_gameid();
  363. inline void set_has_gamever();
  364. inline void clear_has_gamever();
  365. inline void set_has_curonlinenum();
  366. inline void clear_has_curonlinenum();
  367. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  368. ::google::protobuf::int32 gameid_;
  369. ::google::protobuf::int32 gamever_;
  370. ::google::protobuf::int32 curonlinenum_;
  371. mutable int _cached_size_;
  372. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  373. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  374. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  375. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  376. void InitAsDefaultInstance();
  377. static msg_game_info* default_instance_;
  378. };
  379. // -------------------------------------------------------------------
  380. class packetw2c_ask_login_result : public ::google::protobuf::Message {
  381. public:
  382. packetw2c_ask_login_result();
  383. virtual ~packetw2c_ask_login_result();
  384. packetw2c_ask_login_result(const packetw2c_ask_login_result& from);
  385. inline packetw2c_ask_login_result& operator=(const packetw2c_ask_login_result& from) {
  386. CopyFrom(from);
  387. return *this;
  388. }
  389. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  390. return _unknown_fields_;
  391. }
  392. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  393. return &_unknown_fields_;
  394. }
  395. static const ::google::protobuf::Descriptor* descriptor();
  396. static const packetw2c_ask_login_result& default_instance();
  397. void Swap(packetw2c_ask_login_result* other);
  398. // implements Message ----------------------------------------------
  399. packetw2c_ask_login_result* New() const;
  400. void CopyFrom(const ::google::protobuf::Message& from);
  401. void MergeFrom(const ::google::protobuf::Message& from);
  402. void CopyFrom(const packetw2c_ask_login_result& from);
  403. void MergeFrom(const packetw2c_ask_login_result& from);
  404. void Clear();
  405. bool IsInitialized() const;
  406. int ByteSize() const;
  407. bool MergePartialFromCodedStream(
  408. ::google::protobuf::io::CodedInputStream* input);
  409. void SerializeWithCachedSizes(
  410. ::google::protobuf::io::CodedOutputStream* output) const;
  411. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  412. int GetCachedSize() const { return _cached_size_; }
  413. private:
  414. void SharedCtor();
  415. void SharedDtor();
  416. void SetCachedSize(int size) const;
  417. public:
  418. ::google::protobuf::Metadata GetMetadata() const;
  419. // nested types ----------------------------------------------------
  420. // accessors -------------------------------------------------------
  421. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_result];
  422. inline bool has_packet_id() const;
  423. inline void clear_packet_id();
  424. static const int kPacketIdFieldNumber = 1;
  425. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  426. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  427. // optional .msg_info_def.msg_account_info account_info = 2;
  428. inline bool has_account_info() const;
  429. inline void clear_account_info();
  430. static const int kAccountInfoFieldNumber = 2;
  431. inline const ::msg_info_def::msg_account_info& account_info() const;
  432. inline ::msg_info_def::msg_account_info* mutable_account_info();
  433. inline ::msg_info_def::msg_account_info* release_account_info();
  434. inline void set_allocated_account_info(::msg_info_def::msg_account_info* account_info);
  435. // repeated .client2world_protocols.msg_game_info game_list = 3;
  436. inline int game_list_size() const;
  437. inline void clear_game_list();
  438. static const int kGameListFieldNumber = 3;
  439. inline const ::client2world_protocols::msg_game_info& game_list(int index) const;
  440. inline ::client2world_protocols::msg_game_info* mutable_game_list(int index);
  441. inline ::client2world_protocols::msg_game_info* add_game_list();
  442. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >&
  443. game_list() const;
  444. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >*
  445. mutable_game_list();
  446. // optional int32 gaming = 4 [default = 0];
  447. inline bool has_gaming() const;
  448. inline void clear_gaming();
  449. static const int kGamingFieldNumber = 4;
  450. inline ::google::protobuf::int32 gaming() const;
  451. inline void set_gaming(::google::protobuf::int32 value);
  452. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_ask_login_result)
  453. private:
  454. inline void set_has_packet_id();
  455. inline void clear_has_packet_id();
  456. inline void set_has_account_info();
  457. inline void clear_has_account_info();
  458. inline void set_has_gaming();
  459. inline void clear_has_gaming();
  460. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  461. ::msg_info_def::msg_account_info* account_info_;
  462. int packet_id_;
  463. ::google::protobuf::int32 gaming_;
  464. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info > game_list_;
  465. mutable int _cached_size_;
  466. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  467. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  468. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  469. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  470. void InitAsDefaultInstance();
  471. static packetw2c_ask_login_result* default_instance_;
  472. };
  473. // -------------------------------------------------------------------
  474. class packetc2w_enter_game : public ::google::protobuf::Message {
  475. public:
  476. packetc2w_enter_game();
  477. virtual ~packetc2w_enter_game();
  478. packetc2w_enter_game(const packetc2w_enter_game& from);
  479. inline packetc2w_enter_game& operator=(const packetc2w_enter_game& from) {
  480. CopyFrom(from);
  481. return *this;
  482. }
  483. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  484. return _unknown_fields_;
  485. }
  486. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  487. return &_unknown_fields_;
  488. }
  489. static const ::google::protobuf::Descriptor* descriptor();
  490. static const packetc2w_enter_game& default_instance();
  491. void Swap(packetc2w_enter_game* other);
  492. // implements Message ----------------------------------------------
  493. packetc2w_enter_game* New() const;
  494. void CopyFrom(const ::google::protobuf::Message& from);
  495. void MergeFrom(const ::google::protobuf::Message& from);
  496. void CopyFrom(const packetc2w_enter_game& from);
  497. void MergeFrom(const packetc2w_enter_game& from);
  498. void Clear();
  499. bool IsInitialized() const;
  500. int ByteSize() const;
  501. bool MergePartialFromCodedStream(
  502. ::google::protobuf::io::CodedInputStream* input);
  503. void SerializeWithCachedSizes(
  504. ::google::protobuf::io::CodedOutputStream* output) const;
  505. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  506. int GetCachedSize() const { return _cached_size_; }
  507. private:
  508. void SharedCtor();
  509. void SharedDtor();
  510. void SetCachedSize(int size) const;
  511. public:
  512. ::google::protobuf::Metadata GetMetadata() const;
  513. // nested types ----------------------------------------------------
  514. // accessors -------------------------------------------------------
  515. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
  516. inline bool has_packet_id() const;
  517. inline void clear_packet_id();
  518. static const int kPacketIdFieldNumber = 1;
  519. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  520. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  521. // optional int32 gameid = 2;
  522. inline bool has_gameid() const;
  523. inline void clear_gameid();
  524. static const int kGameidFieldNumber = 2;
  525. inline ::google::protobuf::int32 gameid() const;
  526. inline void set_gameid(::google::protobuf::int32 value);
  527. // optional int32 gamever = 3;
  528. inline bool has_gamever() const;
  529. inline void clear_gamever();
  530. static const int kGameverFieldNumber = 3;
  531. inline ::google::protobuf::int32 gamever() const;
  532. inline void set_gamever(::google::protobuf::int32 value);
  533. // optional int32 roomId = 4;
  534. inline bool has_roomid() const;
  535. inline void clear_roomid();
  536. static const int kRoomIdFieldNumber = 4;
  537. inline ::google::protobuf::int32 roomid() const;
  538. inline void set_roomid(::google::protobuf::int32 value);
  539. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_enter_game)
  540. private:
  541. inline void set_has_packet_id();
  542. inline void clear_has_packet_id();
  543. inline void set_has_gameid();
  544. inline void clear_has_gameid();
  545. inline void set_has_gamever();
  546. inline void clear_has_gamever();
  547. inline void set_has_roomid();
  548. inline void clear_has_roomid();
  549. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  550. int packet_id_;
  551. ::google::protobuf::int32 gameid_;
  552. ::google::protobuf::int32 gamever_;
  553. ::google::protobuf::int32 roomid_;
  554. mutable int _cached_size_;
  555. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  556. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  557. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  558. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  559. void InitAsDefaultInstance();
  560. static packetc2w_enter_game* default_instance_;
  561. };
  562. // -------------------------------------------------------------------
  563. class packetw2c_enter_game_result : public ::google::protobuf::Message {
  564. public:
  565. packetw2c_enter_game_result();
  566. virtual ~packetw2c_enter_game_result();
  567. packetw2c_enter_game_result(const packetw2c_enter_game_result& from);
  568. inline packetw2c_enter_game_result& operator=(const packetw2c_enter_game_result& from) {
  569. CopyFrom(from);
  570. return *this;
  571. }
  572. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  573. return _unknown_fields_;
  574. }
  575. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  576. return &_unknown_fields_;
  577. }
  578. static const ::google::protobuf::Descriptor* descriptor();
  579. static const packetw2c_enter_game_result& default_instance();
  580. void Swap(packetw2c_enter_game_result* other);
  581. // implements Message ----------------------------------------------
  582. packetw2c_enter_game_result* New() const;
  583. void CopyFrom(const ::google::protobuf::Message& from);
  584. void MergeFrom(const ::google::protobuf::Message& from);
  585. void CopyFrom(const packetw2c_enter_game_result& from);
  586. void MergeFrom(const packetw2c_enter_game_result& from);
  587. void Clear();
  588. bool IsInitialized() const;
  589. int ByteSize() const;
  590. bool MergePartialFromCodedStream(
  591. ::google::protobuf::io::CodedInputStream* input);
  592. void SerializeWithCachedSizes(
  593. ::google::protobuf::io::CodedOutputStream* output) const;
  594. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  595. int GetCachedSize() const { return _cached_size_; }
  596. private:
  597. void SharedCtor();
  598. void SharedDtor();
  599. void SetCachedSize(int size) const;
  600. public:
  601. ::google::protobuf::Metadata GetMetadata() const;
  602. // nested types ----------------------------------------------------
  603. // accessors -------------------------------------------------------
  604. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_result];
  605. inline bool has_packet_id() const;
  606. inline void clear_packet_id();
  607. static const int kPacketIdFieldNumber = 1;
  608. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  609. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  610. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  611. inline bool has_result() const;
  612. inline void clear_result();
  613. static const int kResultFieldNumber = 2;
  614. inline ::msg_type_def::e_msg_result_def result() const;
  615. inline void set_result(::msg_type_def::e_msg_result_def value);
  616. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_enter_game_result)
  617. private:
  618. inline void set_has_packet_id();
  619. inline void clear_has_packet_id();
  620. inline void set_has_result();
  621. inline void clear_has_result();
  622. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  623. int packet_id_;
  624. int result_;
  625. mutable int _cached_size_;
  626. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  627. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  628. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  629. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  630. void InitAsDefaultInstance();
  631. static packetw2c_enter_game_result* default_instance_;
  632. };
  633. // -------------------------------------------------------------------
  634. class packetc2w_gm_command : public ::google::protobuf::Message {
  635. public:
  636. packetc2w_gm_command();
  637. virtual ~packetc2w_gm_command();
  638. packetc2w_gm_command(const packetc2w_gm_command& from);
  639. inline packetc2w_gm_command& operator=(const packetc2w_gm_command& from) {
  640. CopyFrom(from);
  641. return *this;
  642. }
  643. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  644. return _unknown_fields_;
  645. }
  646. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  647. return &_unknown_fields_;
  648. }
  649. static const ::google::protobuf::Descriptor* descriptor();
  650. static const packetc2w_gm_command& default_instance();
  651. void Swap(packetc2w_gm_command* other);
  652. // implements Message ----------------------------------------------
  653. packetc2w_gm_command* New() const;
  654. void CopyFrom(const ::google::protobuf::Message& from);
  655. void MergeFrom(const ::google::protobuf::Message& from);
  656. void CopyFrom(const packetc2w_gm_command& from);
  657. void MergeFrom(const packetc2w_gm_command& from);
  658. void Clear();
  659. bool IsInitialized() const;
  660. int ByteSize() const;
  661. bool MergePartialFromCodedStream(
  662. ::google::protobuf::io::CodedInputStream* input);
  663. void SerializeWithCachedSizes(
  664. ::google::protobuf::io::CodedOutputStream* output) const;
  665. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  666. int GetCachedSize() const { return _cached_size_; }
  667. private:
  668. void SharedCtor();
  669. void SharedDtor();
  670. void SetCachedSize(int size) const;
  671. public:
  672. ::google::protobuf::Metadata GetMetadata() const;
  673. // nested types ----------------------------------------------------
  674. // accessors -------------------------------------------------------
  675. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
  676. inline bool has_packet_id() const;
  677. inline void clear_packet_id();
  678. static const int kPacketIdFieldNumber = 1;
  679. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  680. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  681. // optional string command = 2;
  682. inline bool has_command() const;
  683. inline void clear_command();
  684. static const int kCommandFieldNumber = 2;
  685. inline const ::std::string& command() const;
  686. inline void set_command(const ::std::string& value);
  687. inline void set_command(const char* value);
  688. inline void set_command(const char* value, size_t size);
  689. inline ::std::string* mutable_command();
  690. inline ::std::string* release_command();
  691. inline void set_allocated_command(::std::string* command);
  692. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_gm_command)
  693. private:
  694. inline void set_has_packet_id();
  695. inline void clear_has_packet_id();
  696. inline void set_has_command();
  697. inline void clear_has_command();
  698. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  699. ::std::string* command_;
  700. int packet_id_;
  701. mutable int _cached_size_;
  702. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  703. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  704. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  705. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  706. void InitAsDefaultInstance();
  707. static packetc2w_gm_command* default_instance_;
  708. };
  709. // -------------------------------------------------------------------
  710. class packetw2c_gm_command_result : public ::google::protobuf::Message {
  711. public:
  712. packetw2c_gm_command_result();
  713. virtual ~packetw2c_gm_command_result();
  714. packetw2c_gm_command_result(const packetw2c_gm_command_result& from);
  715. inline packetw2c_gm_command_result& operator=(const packetw2c_gm_command_result& from) {
  716. CopyFrom(from);
  717. return *this;
  718. }
  719. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  720. return _unknown_fields_;
  721. }
  722. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  723. return &_unknown_fields_;
  724. }
  725. static const ::google::protobuf::Descriptor* descriptor();
  726. static const packetw2c_gm_command_result& default_instance();
  727. void Swap(packetw2c_gm_command_result* other);
  728. // implements Message ----------------------------------------------
  729. packetw2c_gm_command_result* New() const;
  730. void CopyFrom(const ::google::protobuf::Message& from);
  731. void MergeFrom(const ::google::protobuf::Message& from);
  732. void CopyFrom(const packetw2c_gm_command_result& from);
  733. void MergeFrom(const packetw2c_gm_command_result& from);
  734. void Clear();
  735. bool IsInitialized() const;
  736. int ByteSize() const;
  737. bool MergePartialFromCodedStream(
  738. ::google::protobuf::io::CodedInputStream* input);
  739. void SerializeWithCachedSizes(
  740. ::google::protobuf::io::CodedOutputStream* output) const;
  741. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  742. int GetCachedSize() const { return _cached_size_; }
  743. private:
  744. void SharedCtor();
  745. void SharedDtor();
  746. void SetCachedSize(int size) const;
  747. public:
  748. ::google::protobuf::Metadata GetMetadata() const;
  749. // nested types ----------------------------------------------------
  750. // accessors -------------------------------------------------------
  751. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_result];
  752. inline bool has_packet_id() const;
  753. inline void clear_packet_id();
  754. static const int kPacketIdFieldNumber = 1;
  755. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  756. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  757. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  758. inline bool has_result() const;
  759. inline void clear_result();
  760. static const int kResultFieldNumber = 2;
  761. inline ::msg_type_def::e_msg_result_def result() const;
  762. inline void set_result(::msg_type_def::e_msg_result_def value);
  763. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_gm_command_result)
  764. private:
  765. inline void set_has_packet_id();
  766. inline void clear_has_packet_id();
  767. inline void set_has_result();
  768. inline void clear_has_result();
  769. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  770. int packet_id_;
  771. int result_;
  772. mutable int _cached_size_;
  773. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  774. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  775. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  776. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  777. void InitAsDefaultInstance();
  778. static packetw2c_gm_command_result* default_instance_;
  779. };
  780. // -------------------------------------------------------------------
  781. class packetc2w_ask_for_pay : public ::google::protobuf::Message {
  782. public:
  783. packetc2w_ask_for_pay();
  784. virtual ~packetc2w_ask_for_pay();
  785. packetc2w_ask_for_pay(const packetc2w_ask_for_pay& from);
  786. inline packetc2w_ask_for_pay& operator=(const packetc2w_ask_for_pay& from) {
  787. CopyFrom(from);
  788. return *this;
  789. }
  790. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  791. return _unknown_fields_;
  792. }
  793. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  794. return &_unknown_fields_;
  795. }
  796. static const ::google::protobuf::Descriptor* descriptor();
  797. static const packetc2w_ask_for_pay& default_instance();
  798. void Swap(packetc2w_ask_for_pay* other);
  799. // implements Message ----------------------------------------------
  800. packetc2w_ask_for_pay* New() const;
  801. void CopyFrom(const ::google::protobuf::Message& from);
  802. void MergeFrom(const ::google::protobuf::Message& from);
  803. void CopyFrom(const packetc2w_ask_for_pay& from);
  804. void MergeFrom(const packetc2w_ask_for_pay& from);
  805. void Clear();
  806. bool IsInitialized() const;
  807. int ByteSize() const;
  808. bool MergePartialFromCodedStream(
  809. ::google::protobuf::io::CodedInputStream* input);
  810. void SerializeWithCachedSizes(
  811. ::google::protobuf::io::CodedOutputStream* output) const;
  812. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  813. int GetCachedSize() const { return _cached_size_; }
  814. private:
  815. void SharedCtor();
  816. void SharedDtor();
  817. void SetCachedSize(int size) const;
  818. public:
  819. ::google::protobuf::Metadata GetMetadata() const;
  820. // nested types ----------------------------------------------------
  821. // accessors -------------------------------------------------------
  822. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
  823. inline bool has_packet_id() const;
  824. inline void clear_packet_id();
  825. static const int kPacketIdFieldNumber = 1;
  826. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  827. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  828. // optional string channel = 2;
  829. inline bool has_channel() const;
  830. inline void clear_channel();
  831. static const int kChannelFieldNumber = 2;
  832. inline const ::std::string& channel() const;
  833. inline void set_channel(const ::std::string& value);
  834. inline void set_channel(const char* value);
  835. inline void set_channel(const char* value, size_t size);
  836. inline ::std::string* mutable_channel();
  837. inline ::std::string* release_channel();
  838. inline void set_allocated_channel(::std::string* channel);
  839. // optional int32 pay_code = 3;
  840. inline bool has_pay_code() const;
  841. inline void clear_pay_code();
  842. static const int kPayCodeFieldNumber = 3;
  843. inline ::google::protobuf::int32 pay_code() const;
  844. inline void set_pay_code(::google::protobuf::int32 value);
  845. // optional string pay_type = 4;
  846. inline bool has_pay_type() const;
  847. inline void clear_pay_type();
  848. static const int kPayTypeFieldNumber = 4;
  849. inline const ::std::string& pay_type() const;
  850. inline void set_pay_type(const ::std::string& value);
  851. inline void set_pay_type(const char* value);
  852. inline void set_pay_type(const char* value, size_t size);
  853. inline ::std::string* mutable_pay_type();
  854. inline ::std::string* release_pay_type();
  855. inline void set_allocated_pay_type(::std::string* pay_type);
  856. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_ask_for_pay)
  857. private:
  858. inline void set_has_packet_id();
  859. inline void clear_has_packet_id();
  860. inline void set_has_channel();
  861. inline void clear_has_channel();
  862. inline void set_has_pay_code();
  863. inline void clear_has_pay_code();
  864. inline void set_has_pay_type();
  865. inline void clear_has_pay_type();
  866. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  867. ::std::string* channel_;
  868. int packet_id_;
  869. ::google::protobuf::int32 pay_code_;
  870. ::std::string* pay_type_;
  871. mutable int _cached_size_;
  872. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  873. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  874. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  875. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  876. void InitAsDefaultInstance();
  877. static packetc2w_ask_for_pay* default_instance_;
  878. };
  879. // -------------------------------------------------------------------
  880. class packetw2c_ask_for_pay_result : public ::google::protobuf::Message {
  881. public:
  882. packetw2c_ask_for_pay_result();
  883. virtual ~packetw2c_ask_for_pay_result();
  884. packetw2c_ask_for_pay_result(const packetw2c_ask_for_pay_result& from);
  885. inline packetw2c_ask_for_pay_result& operator=(const packetw2c_ask_for_pay_result& from) {
  886. CopyFrom(from);
  887. return *this;
  888. }
  889. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  890. return _unknown_fields_;
  891. }
  892. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  893. return &_unknown_fields_;
  894. }
  895. static const ::google::protobuf::Descriptor* descriptor();
  896. static const packetw2c_ask_for_pay_result& default_instance();
  897. void Swap(packetw2c_ask_for_pay_result* other);
  898. // implements Message ----------------------------------------------
  899. packetw2c_ask_for_pay_result* New() const;
  900. void CopyFrom(const ::google::protobuf::Message& from);
  901. void MergeFrom(const ::google::protobuf::Message& from);
  902. void CopyFrom(const packetw2c_ask_for_pay_result& from);
  903. void MergeFrom(const packetw2c_ask_for_pay_result& from);
  904. void Clear();
  905. bool IsInitialized() const;
  906. int ByteSize() const;
  907. bool MergePartialFromCodedStream(
  908. ::google::protobuf::io::CodedInputStream* input);
  909. void SerializeWithCachedSizes(
  910. ::google::protobuf::io::CodedOutputStream* output) const;
  911. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  912. int GetCachedSize() const { return _cached_size_; }
  913. private:
  914. void SharedCtor();
  915. void SharedDtor();
  916. void SetCachedSize(int size) const;
  917. public:
  918. ::google::protobuf::Metadata GetMetadata() const;
  919. // nested types ----------------------------------------------------
  920. // accessors -------------------------------------------------------
  921. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_result];
  922. inline bool has_packet_id() const;
  923. inline void clear_packet_id();
  924. static const int kPacketIdFieldNumber = 1;
  925. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  926. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  927. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  928. inline bool has_result() const;
  929. inline void clear_result();
  930. static const int kResultFieldNumber = 2;
  931. inline ::msg_type_def::e_msg_result_def result() const;
  932. inline void set_result(::msg_type_def::e_msg_result_def value);
  933. // optional string order_id = 3;
  934. inline bool has_order_id() const;
  935. inline void clear_order_id();
  936. static const int kOrderIdFieldNumber = 3;
  937. inline const ::std::string& order_id() const;
  938. inline void set_order_id(const ::std::string& value);
  939. inline void set_order_id(const char* value);
  940. inline void set_order_id(const char* value, size_t size);
  941. inline ::std::string* mutable_order_id();
  942. inline ::std::string* release_order_id();
  943. inline void set_allocated_order_id(::std::string* order_id);
  944. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_ask_for_pay_result)
  945. private:
  946. inline void set_has_packet_id();
  947. inline void clear_has_packet_id();
  948. inline void set_has_result();
  949. inline void clear_has_result();
  950. inline void set_has_order_id();
  951. inline void clear_has_order_id();
  952. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  953. int packet_id_;
  954. int result_;
  955. ::std::string* order_id_;
  956. mutable int _cached_size_;
  957. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  958. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  959. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  960. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  961. void InitAsDefaultInstance();
  962. static packetw2c_ask_for_pay_result* default_instance_;
  963. };
  964. // -------------------------------------------------------------------
  965. class packetc2w_ask_check_payment : public ::google::protobuf::Message {
  966. public:
  967. packetc2w_ask_check_payment();
  968. virtual ~packetc2w_ask_check_payment();
  969. packetc2w_ask_check_payment(const packetc2w_ask_check_payment& from);
  970. inline packetc2w_ask_check_payment& operator=(const packetc2w_ask_check_payment& from) {
  971. CopyFrom(from);
  972. return *this;
  973. }
  974. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  975. return _unknown_fields_;
  976. }
  977. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  978. return &_unknown_fields_;
  979. }
  980. static const ::google::protobuf::Descriptor* descriptor();
  981. static const packetc2w_ask_check_payment& default_instance();
  982. void Swap(packetc2w_ask_check_payment* other);
  983. // implements Message ----------------------------------------------
  984. packetc2w_ask_check_payment* New() const;
  985. void CopyFrom(const ::google::protobuf::Message& from);
  986. void MergeFrom(const ::google::protobuf::Message& from);
  987. void CopyFrom(const packetc2w_ask_check_payment& from);
  988. void MergeFrom(const packetc2w_ask_check_payment& from);
  989. void Clear();
  990. bool IsInitialized() const;
  991. int ByteSize() const;
  992. bool MergePartialFromCodedStream(
  993. ::google::protobuf::io::CodedInputStream* input);
  994. void SerializeWithCachedSizes(
  995. ::google::protobuf::io::CodedOutputStream* output) const;
  996. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  997. int GetCachedSize() const { return _cached_size_; }
  998. private:
  999. void SharedCtor();
  1000. void SharedDtor();
  1001. void SetCachedSize(int size) const;
  1002. public:
  1003. ::google::protobuf::Metadata GetMetadata() const;
  1004. // nested types ----------------------------------------------------
  1005. // accessors -------------------------------------------------------
  1006. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
  1007. inline bool has_packet_id() const;
  1008. inline void clear_packet_id();
  1009. static const int kPacketIdFieldNumber = 1;
  1010. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1011. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1012. // optional string orderid = 2;
  1013. inline bool has_orderid() const;
  1014. inline void clear_orderid();
  1015. static const int kOrderidFieldNumber = 2;
  1016. inline const ::std::string& orderid() const;
  1017. inline void set_orderid(const ::std::string& value);
  1018. inline void set_orderid(const char* value);
  1019. inline void set_orderid(const char* value, size_t size);
  1020. inline ::std::string* mutable_orderid();
  1021. inline ::std::string* release_orderid();
  1022. inline void set_allocated_orderid(::std::string* orderid);
  1023. // optional bool ex_mark = 3 [default = false];
  1024. inline bool has_ex_mark() const;
  1025. inline void clear_ex_mark();
  1026. static const int kExMarkFieldNumber = 3;
  1027. inline bool ex_mark() const;
  1028. inline void set_ex_mark(bool value);
  1029. // optional string payType = 4;
  1030. inline bool has_paytype() const;
  1031. inline void clear_paytype();
  1032. static const int kPayTypeFieldNumber = 4;
  1033. inline const ::std::string& paytype() const;
  1034. inline void set_paytype(const ::std::string& value);
  1035. inline void set_paytype(const char* value);
  1036. inline void set_paytype(const char* value, size_t size);
  1037. inline ::std::string* mutable_paytype();
  1038. inline ::std::string* release_paytype();
  1039. inline void set_allocated_paytype(::std::string* paytype);
  1040. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_ask_check_payment)
  1041. private:
  1042. inline void set_has_packet_id();
  1043. inline void clear_has_packet_id();
  1044. inline void set_has_orderid();
  1045. inline void clear_has_orderid();
  1046. inline void set_has_ex_mark();
  1047. inline void clear_has_ex_mark();
  1048. inline void set_has_paytype();
  1049. inline void clear_has_paytype();
  1050. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1051. ::std::string* orderid_;
  1052. int packet_id_;
  1053. bool ex_mark_;
  1054. ::std::string* paytype_;
  1055. mutable int _cached_size_;
  1056. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  1057. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1058. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1059. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1060. void InitAsDefaultInstance();
  1061. static packetc2w_ask_check_payment* default_instance_;
  1062. };
  1063. // -------------------------------------------------------------------
  1064. class packetc2w_ask_test_payment : public ::google::protobuf::Message {
  1065. public:
  1066. packetc2w_ask_test_payment();
  1067. virtual ~packetc2w_ask_test_payment();
  1068. packetc2w_ask_test_payment(const packetc2w_ask_test_payment& from);
  1069. inline packetc2w_ask_test_payment& operator=(const packetc2w_ask_test_payment& from) {
  1070. CopyFrom(from);
  1071. return *this;
  1072. }
  1073. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1074. return _unknown_fields_;
  1075. }
  1076. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1077. return &_unknown_fields_;
  1078. }
  1079. static const ::google::protobuf::Descriptor* descriptor();
  1080. static const packetc2w_ask_test_payment& default_instance();
  1081. void Swap(packetc2w_ask_test_payment* other);
  1082. // implements Message ----------------------------------------------
  1083. packetc2w_ask_test_payment* New() const;
  1084. void CopyFrom(const ::google::protobuf::Message& from);
  1085. void MergeFrom(const ::google::protobuf::Message& from);
  1086. void CopyFrom(const packetc2w_ask_test_payment& from);
  1087. void MergeFrom(const packetc2w_ask_test_payment& from);
  1088. void Clear();
  1089. bool IsInitialized() const;
  1090. int ByteSize() const;
  1091. bool MergePartialFromCodedStream(
  1092. ::google::protobuf::io::CodedInputStream* input);
  1093. void SerializeWithCachedSizes(
  1094. ::google::protobuf::io::CodedOutputStream* output) const;
  1095. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1096. int GetCachedSize() const { return _cached_size_; }
  1097. private:
  1098. void SharedCtor();
  1099. void SharedDtor();
  1100. void SetCachedSize(int size) const;
  1101. public:
  1102. ::google::protobuf::Metadata GetMetadata() const;
  1103. // nested types ----------------------------------------------------
  1104. // accessors -------------------------------------------------------
  1105. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
  1106. inline bool has_packet_id() const;
  1107. inline void clear_packet_id();
  1108. static const int kPacketIdFieldNumber = 1;
  1109. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1110. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1111. // optional int32 payid = 2;
  1112. inline bool has_payid() const;
  1113. inline void clear_payid();
  1114. static const int kPayidFieldNumber = 2;
  1115. inline ::google::protobuf::int32 payid() const;
  1116. inline void set_payid(::google::protobuf::int32 value);
  1117. // optional bool ex_mark = 3 [default = false];
  1118. inline bool has_ex_mark() const;
  1119. inline void clear_ex_mark();
  1120. static const int kExMarkFieldNumber = 3;
  1121. inline bool ex_mark() const;
  1122. inline void set_ex_mark(bool value);
  1123. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_ask_test_payment)
  1124. private:
  1125. inline void set_has_packet_id();
  1126. inline void clear_has_packet_id();
  1127. inline void set_has_payid();
  1128. inline void clear_has_payid();
  1129. inline void set_has_ex_mark();
  1130. inline void clear_has_ex_mark();
  1131. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1132. int packet_id_;
  1133. ::google::protobuf::int32 payid_;
  1134. bool ex_mark_;
  1135. mutable int _cached_size_;
  1136. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1137. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1138. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1139. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1140. void InitAsDefaultInstance();
  1141. static packetc2w_ask_test_payment* default_instance_;
  1142. };
  1143. // -------------------------------------------------------------------
  1144. class packetw2c_ask_check_payment_result : public ::google::protobuf::Message {
  1145. public:
  1146. packetw2c_ask_check_payment_result();
  1147. virtual ~packetw2c_ask_check_payment_result();
  1148. packetw2c_ask_check_payment_result(const packetw2c_ask_check_payment_result& from);
  1149. inline packetw2c_ask_check_payment_result& operator=(const packetw2c_ask_check_payment_result& from) {
  1150. CopyFrom(from);
  1151. return *this;
  1152. }
  1153. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1154. return _unknown_fields_;
  1155. }
  1156. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1157. return &_unknown_fields_;
  1158. }
  1159. static const ::google::protobuf::Descriptor* descriptor();
  1160. static const packetw2c_ask_check_payment_result& default_instance();
  1161. void Swap(packetw2c_ask_check_payment_result* other);
  1162. // implements Message ----------------------------------------------
  1163. packetw2c_ask_check_payment_result* New() const;
  1164. void CopyFrom(const ::google::protobuf::Message& from);
  1165. void MergeFrom(const ::google::protobuf::Message& from);
  1166. void CopyFrom(const packetw2c_ask_check_payment_result& from);
  1167. void MergeFrom(const packetw2c_ask_check_payment_result& from);
  1168. void Clear();
  1169. bool IsInitialized() const;
  1170. int ByteSize() const;
  1171. bool MergePartialFromCodedStream(
  1172. ::google::protobuf::io::CodedInputStream* input);
  1173. void SerializeWithCachedSizes(
  1174. ::google::protobuf::io::CodedOutputStream* output) const;
  1175. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1176. int GetCachedSize() const { return _cached_size_; }
  1177. private:
  1178. void SharedCtor();
  1179. void SharedDtor();
  1180. void SetCachedSize(int size) const;
  1181. public:
  1182. ::google::protobuf::Metadata GetMetadata() const;
  1183. // nested types ----------------------------------------------------
  1184. // accessors -------------------------------------------------------
  1185. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_result];
  1186. inline bool has_packet_id() const;
  1187. inline void clear_packet_id();
  1188. static const int kPacketIdFieldNumber = 1;
  1189. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1190. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1191. // optional int32 payid = 2;
  1192. inline bool has_payid() const;
  1193. inline void clear_payid();
  1194. static const int kPayidFieldNumber = 2;
  1195. inline ::google::protobuf::int32 payid() const;
  1196. inline void set_payid(::google::protobuf::int32 value);
  1197. // optional bool result = 3 [default = true];
  1198. inline bool has_result() const;
  1199. inline void clear_result();
  1200. static const int kResultFieldNumber = 3;
  1201. inline bool result() const;
  1202. inline void set_result(bool value);
  1203. // optional int32 gold_count = 4 [default = 0];
  1204. inline bool has_gold_count() const;
  1205. inline void clear_gold_count();
  1206. static const int kGoldCountFieldNumber = 4;
  1207. inline ::google::protobuf::int32 gold_count() const;
  1208. inline void set_gold_count(::google::protobuf::int32 value);
  1209. // optional int32 ticket_count = 5 [default = 0];
  1210. inline bool has_ticket_count() const;
  1211. inline void clear_ticket_count();
  1212. static const int kTicketCountFieldNumber = 5;
  1213. inline ::google::protobuf::int32 ticket_count() const;
  1214. inline void set_ticket_count(::google::protobuf::int32 value);
  1215. // repeated .msg_info_def.ItemInfo rewardItem = 9;
  1216. inline int rewarditem_size() const;
  1217. inline void clear_rewarditem();
  1218. static const int kRewardItemFieldNumber = 9;
  1219. inline const ::msg_info_def::ItemInfo& rewarditem(int index) const;
  1220. inline ::msg_info_def::ItemInfo* mutable_rewarditem(int index);
  1221. inline ::msg_info_def::ItemInfo* add_rewarditem();
  1222. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  1223. rewarditem() const;
  1224. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  1225. mutable_rewarditem();
  1226. // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  1227. inline int activityitem_size() const;
  1228. inline void clear_activityitem();
  1229. static const int kActivityItemFieldNumber = 10;
  1230. inline const ::msg_info_def::ActivityItemInfo& activityitem(int index) const;
  1231. inline ::msg_info_def::ActivityItemInfo* mutable_activityitem(int index);
  1232. inline ::msg_info_def::ActivityItemInfo* add_activityitem();
  1233. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityItemInfo >&
  1234. activityitem() const;
  1235. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityItemInfo >*
  1236. mutable_activityitem();
  1237. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_ask_check_payment_result)
  1238. private:
  1239. inline void set_has_packet_id();
  1240. inline void clear_has_packet_id();
  1241. inline void set_has_payid();
  1242. inline void clear_has_payid();
  1243. inline void set_has_result();
  1244. inline void clear_has_result();
  1245. inline void set_has_gold_count();
  1246. inline void clear_has_gold_count();
  1247. inline void set_has_ticket_count();
  1248. inline void clear_has_ticket_count();
  1249. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1250. int packet_id_;
  1251. ::google::protobuf::int32 payid_;
  1252. bool result_;
  1253. ::google::protobuf::int32 gold_count_;
  1254. ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > rewarditem_;
  1255. ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityItemInfo > activityitem_;
  1256. ::google::protobuf::int32 ticket_count_;
  1257. mutable int _cached_size_;
  1258. ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
  1259. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1260. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1261. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1262. void InitAsDefaultInstance();
  1263. static packetw2c_ask_check_payment_result* default_instance_;
  1264. };
  1265. // -------------------------------------------------------------------
  1266. class packetc2w_free_gift_payment : public ::google::protobuf::Message {
  1267. public:
  1268. packetc2w_free_gift_payment();
  1269. virtual ~packetc2w_free_gift_payment();
  1270. packetc2w_free_gift_payment(const packetc2w_free_gift_payment& from);
  1271. inline packetc2w_free_gift_payment& operator=(const packetc2w_free_gift_payment& from) {
  1272. CopyFrom(from);
  1273. return *this;
  1274. }
  1275. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1276. return _unknown_fields_;
  1277. }
  1278. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1279. return &_unknown_fields_;
  1280. }
  1281. static const ::google::protobuf::Descriptor* descriptor();
  1282. static const packetc2w_free_gift_payment& default_instance();
  1283. void Swap(packetc2w_free_gift_payment* other);
  1284. // implements Message ----------------------------------------------
  1285. packetc2w_free_gift_payment* New() const;
  1286. void CopyFrom(const ::google::protobuf::Message& from);
  1287. void MergeFrom(const ::google::protobuf::Message& from);
  1288. void CopyFrom(const packetc2w_free_gift_payment& from);
  1289. void MergeFrom(const packetc2w_free_gift_payment& from);
  1290. void Clear();
  1291. bool IsInitialized() const;
  1292. int ByteSize() const;
  1293. bool MergePartialFromCodedStream(
  1294. ::google::protobuf::io::CodedInputStream* input);
  1295. void SerializeWithCachedSizes(
  1296. ::google::protobuf::io::CodedOutputStream* output) const;
  1297. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1298. int GetCachedSize() const { return _cached_size_; }
  1299. private:
  1300. void SharedCtor();
  1301. void SharedDtor();
  1302. void SetCachedSize(int size) const;
  1303. public:
  1304. ::google::protobuf::Metadata GetMetadata() const;
  1305. // nested types ----------------------------------------------------
  1306. // accessors -------------------------------------------------------
  1307. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
  1308. inline bool has_packet_id() const;
  1309. inline void clear_packet_id();
  1310. static const int kPacketIdFieldNumber = 1;
  1311. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1312. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1313. // optional int32 payid = 2;
  1314. inline bool has_payid() const;
  1315. inline void clear_payid();
  1316. static const int kPayidFieldNumber = 2;
  1317. inline ::google::protobuf::int32 payid() const;
  1318. inline void set_payid(::google::protobuf::int32 value);
  1319. // optional bool ex_mark = 3 [default = false];
  1320. inline bool has_ex_mark() const;
  1321. inline void clear_ex_mark();
  1322. static const int kExMarkFieldNumber = 3;
  1323. inline bool ex_mark() const;
  1324. inline void set_ex_mark(bool value);
  1325. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_free_gift_payment)
  1326. private:
  1327. inline void set_has_packet_id();
  1328. inline void clear_has_packet_id();
  1329. inline void set_has_payid();
  1330. inline void clear_has_payid();
  1331. inline void set_has_ex_mark();
  1332. inline void clear_has_ex_mark();
  1333. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1334. int packet_id_;
  1335. ::google::protobuf::int32 payid_;
  1336. bool ex_mark_;
  1337. mutable int _cached_size_;
  1338. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1339. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1340. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1341. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1342. void InitAsDefaultInstance();
  1343. static packetc2w_free_gift_payment* default_instance_;
  1344. };
  1345. // -------------------------------------------------------------------
  1346. class packetc2w_open_gift : public ::google::protobuf::Message {
  1347. public:
  1348. packetc2w_open_gift();
  1349. virtual ~packetc2w_open_gift();
  1350. packetc2w_open_gift(const packetc2w_open_gift& from);
  1351. inline packetc2w_open_gift& operator=(const packetc2w_open_gift& from) {
  1352. CopyFrom(from);
  1353. return *this;
  1354. }
  1355. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1356. return _unknown_fields_;
  1357. }
  1358. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1359. return &_unknown_fields_;
  1360. }
  1361. static const ::google::protobuf::Descriptor* descriptor();
  1362. static const packetc2w_open_gift& default_instance();
  1363. void Swap(packetc2w_open_gift* other);
  1364. // implements Message ----------------------------------------------
  1365. packetc2w_open_gift* New() const;
  1366. void CopyFrom(const ::google::protobuf::Message& from);
  1367. void MergeFrom(const ::google::protobuf::Message& from);
  1368. void CopyFrom(const packetc2w_open_gift& from);
  1369. void MergeFrom(const packetc2w_open_gift& from);
  1370. void Clear();
  1371. bool IsInitialized() const;
  1372. int ByteSize() const;
  1373. bool MergePartialFromCodedStream(
  1374. ::google::protobuf::io::CodedInputStream* input);
  1375. void SerializeWithCachedSizes(
  1376. ::google::protobuf::io::CodedOutputStream* output) const;
  1377. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1378. int GetCachedSize() const { return _cached_size_; }
  1379. private:
  1380. void SharedCtor();
  1381. void SharedDtor();
  1382. void SetCachedSize(int size) const;
  1383. public:
  1384. ::google::protobuf::Metadata GetMetadata() const;
  1385. // nested types ----------------------------------------------------
  1386. // accessors -------------------------------------------------------
  1387. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
  1388. inline bool has_packet_id() const;
  1389. inline void clear_packet_id();
  1390. static const int kPacketIdFieldNumber = 1;
  1391. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1392. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1393. // optional int32 giftId = 2;
  1394. inline bool has_giftid() const;
  1395. inline void clear_giftid();
  1396. static const int kGiftIdFieldNumber = 2;
  1397. inline ::google::protobuf::int32 giftid() const;
  1398. inline void set_giftid(::google::protobuf::int32 value);
  1399. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_open_gift)
  1400. private:
  1401. inline void set_has_packet_id();
  1402. inline void clear_has_packet_id();
  1403. inline void set_has_giftid();
  1404. inline void clear_has_giftid();
  1405. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1406. int packet_id_;
  1407. ::google::protobuf::int32 giftid_;
  1408. mutable int _cached_size_;
  1409. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1410. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1411. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1412. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1413. void InitAsDefaultInstance();
  1414. static packetc2w_open_gift* default_instance_;
  1415. };
  1416. // -------------------------------------------------------------------
  1417. class packetw2c_open_gift_result : public ::google::protobuf::Message {
  1418. public:
  1419. packetw2c_open_gift_result();
  1420. virtual ~packetw2c_open_gift_result();
  1421. packetw2c_open_gift_result(const packetw2c_open_gift_result& from);
  1422. inline packetw2c_open_gift_result& operator=(const packetw2c_open_gift_result& from) {
  1423. CopyFrom(from);
  1424. return *this;
  1425. }
  1426. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1427. return _unknown_fields_;
  1428. }
  1429. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1430. return &_unknown_fields_;
  1431. }
  1432. static const ::google::protobuf::Descriptor* descriptor();
  1433. static const packetw2c_open_gift_result& default_instance();
  1434. void Swap(packetw2c_open_gift_result* other);
  1435. // implements Message ----------------------------------------------
  1436. packetw2c_open_gift_result* New() const;
  1437. void CopyFrom(const ::google::protobuf::Message& from);
  1438. void MergeFrom(const ::google::protobuf::Message& from);
  1439. void CopyFrom(const packetw2c_open_gift_result& from);
  1440. void MergeFrom(const packetw2c_open_gift_result& from);
  1441. void Clear();
  1442. bool IsInitialized() const;
  1443. int ByteSize() const;
  1444. bool MergePartialFromCodedStream(
  1445. ::google::protobuf::io::CodedInputStream* input);
  1446. void SerializeWithCachedSizes(
  1447. ::google::protobuf::io::CodedOutputStream* output) const;
  1448. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1449. int GetCachedSize() const { return _cached_size_; }
  1450. private:
  1451. void SharedCtor();
  1452. void SharedDtor();
  1453. void SetCachedSize(int size) const;
  1454. public:
  1455. ::google::protobuf::Metadata GetMetadata() const;
  1456. // nested types ----------------------------------------------------
  1457. // accessors -------------------------------------------------------
  1458. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_result];
  1459. inline bool has_packet_id() const;
  1460. inline void clear_packet_id();
  1461. static const int kPacketIdFieldNumber = 1;
  1462. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1463. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1464. // optional int32 result = 2;
  1465. inline bool has_result() const;
  1466. inline void clear_result();
  1467. static const int kResultFieldNumber = 2;
  1468. inline ::google::protobuf::int32 result() const;
  1469. inline void set_result(::google::protobuf::int32 value);
  1470. // optional int32 giftId = 3;
  1471. inline bool has_giftid() const;
  1472. inline void clear_giftid();
  1473. static const int kGiftIdFieldNumber = 3;
  1474. inline ::google::protobuf::int32 giftid() const;
  1475. inline void set_giftid(::google::protobuf::int32 value);
  1476. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_open_gift_result)
  1477. private:
  1478. inline void set_has_packet_id();
  1479. inline void clear_has_packet_id();
  1480. inline void set_has_result();
  1481. inline void clear_has_result();
  1482. inline void set_has_giftid();
  1483. inline void clear_has_giftid();
  1484. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1485. int packet_id_;
  1486. ::google::protobuf::int32 result_;
  1487. ::google::protobuf::int32 giftid_;
  1488. mutable int _cached_size_;
  1489. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1490. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1491. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1492. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1493. void InitAsDefaultInstance();
  1494. static packetw2c_open_gift_result* default_instance_;
  1495. };
  1496. // -------------------------------------------------------------------
  1497. class packetc2w_leave_game : public ::google::protobuf::Message {
  1498. public:
  1499. packetc2w_leave_game();
  1500. virtual ~packetc2w_leave_game();
  1501. packetc2w_leave_game(const packetc2w_leave_game& from);
  1502. inline packetc2w_leave_game& operator=(const packetc2w_leave_game& from) {
  1503. CopyFrom(from);
  1504. return *this;
  1505. }
  1506. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1507. return _unknown_fields_;
  1508. }
  1509. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1510. return &_unknown_fields_;
  1511. }
  1512. static const ::google::protobuf::Descriptor* descriptor();
  1513. static const packetc2w_leave_game& default_instance();
  1514. void Swap(packetc2w_leave_game* other);
  1515. // implements Message ----------------------------------------------
  1516. packetc2w_leave_game* New() const;
  1517. void CopyFrom(const ::google::protobuf::Message& from);
  1518. void MergeFrom(const ::google::protobuf::Message& from);
  1519. void CopyFrom(const packetc2w_leave_game& from);
  1520. void MergeFrom(const packetc2w_leave_game& from);
  1521. void Clear();
  1522. bool IsInitialized() const;
  1523. int ByteSize() const;
  1524. bool MergePartialFromCodedStream(
  1525. ::google::protobuf::io::CodedInputStream* input);
  1526. void SerializeWithCachedSizes(
  1527. ::google::protobuf::io::CodedOutputStream* output) const;
  1528. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1529. int GetCachedSize() const { return _cached_size_; }
  1530. private:
  1531. void SharedCtor();
  1532. void SharedDtor();
  1533. void SetCachedSize(int size) const;
  1534. public:
  1535. ::google::protobuf::Metadata GetMetadata() const;
  1536. // nested types ----------------------------------------------------
  1537. // accessors -------------------------------------------------------
  1538. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  1539. inline bool has_packet_id() const;
  1540. inline void clear_packet_id();
  1541. static const int kPacketIdFieldNumber = 1;
  1542. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1543. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1544. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_leave_game)
  1545. private:
  1546. inline void set_has_packet_id();
  1547. inline void clear_has_packet_id();
  1548. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1549. int packet_id_;
  1550. mutable int _cached_size_;
  1551. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1552. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1553. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1554. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1555. void InitAsDefaultInstance();
  1556. static packetc2w_leave_game* default_instance_;
  1557. };
  1558. // -------------------------------------------------------------------
  1559. class packetw2c_leave_game_result : public ::google::protobuf::Message {
  1560. public:
  1561. packetw2c_leave_game_result();
  1562. virtual ~packetw2c_leave_game_result();
  1563. packetw2c_leave_game_result(const packetw2c_leave_game_result& from);
  1564. inline packetw2c_leave_game_result& operator=(const packetw2c_leave_game_result& from) {
  1565. CopyFrom(from);
  1566. return *this;
  1567. }
  1568. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1569. return _unknown_fields_;
  1570. }
  1571. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1572. return &_unknown_fields_;
  1573. }
  1574. static const ::google::protobuf::Descriptor* descriptor();
  1575. static const packetw2c_leave_game_result& default_instance();
  1576. void Swap(packetw2c_leave_game_result* other);
  1577. // implements Message ----------------------------------------------
  1578. packetw2c_leave_game_result* New() const;
  1579. void CopyFrom(const ::google::protobuf::Message& from);
  1580. void MergeFrom(const ::google::protobuf::Message& from);
  1581. void CopyFrom(const packetw2c_leave_game_result& from);
  1582. void MergeFrom(const packetw2c_leave_game_result& from);
  1583. void Clear();
  1584. bool IsInitialized() const;
  1585. int ByteSize() const;
  1586. bool MergePartialFromCodedStream(
  1587. ::google::protobuf::io::CodedInputStream* input);
  1588. void SerializeWithCachedSizes(
  1589. ::google::protobuf::io::CodedOutputStream* output) const;
  1590. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1591. int GetCachedSize() const { return _cached_size_; }
  1592. private:
  1593. void SharedCtor();
  1594. void SharedDtor();
  1595. void SetCachedSize(int size) const;
  1596. public:
  1597. ::google::protobuf::Metadata GetMetadata() const;
  1598. // nested types ----------------------------------------------------
  1599. // accessors -------------------------------------------------------
  1600. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  1601. inline bool has_packet_id() const;
  1602. inline void clear_packet_id();
  1603. static const int kPacketIdFieldNumber = 1;
  1604. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1605. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1606. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_leave_game_result)
  1607. private:
  1608. inline void set_has_packet_id();
  1609. inline void clear_has_packet_id();
  1610. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1611. int packet_id_;
  1612. mutable int _cached_size_;
  1613. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1614. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1615. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1616. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1617. void InitAsDefaultInstance();
  1618. static packetw2c_leave_game_result* default_instance_;
  1619. };
  1620. // -------------------------------------------------------------------
  1621. class packetw2c_player_kick : public ::google::protobuf::Message {
  1622. public:
  1623. packetw2c_player_kick();
  1624. virtual ~packetw2c_player_kick();
  1625. packetw2c_player_kick(const packetw2c_player_kick& from);
  1626. inline packetw2c_player_kick& operator=(const packetw2c_player_kick& from) {
  1627. CopyFrom(from);
  1628. return *this;
  1629. }
  1630. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1631. return _unknown_fields_;
  1632. }
  1633. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1634. return &_unknown_fields_;
  1635. }
  1636. static const ::google::protobuf::Descriptor* descriptor();
  1637. static const packetw2c_player_kick& default_instance();
  1638. void Swap(packetw2c_player_kick* other);
  1639. // implements Message ----------------------------------------------
  1640. packetw2c_player_kick* New() const;
  1641. void CopyFrom(const ::google::protobuf::Message& from);
  1642. void MergeFrom(const ::google::protobuf::Message& from);
  1643. void CopyFrom(const packetw2c_player_kick& from);
  1644. void MergeFrom(const packetw2c_player_kick& from);
  1645. void Clear();
  1646. bool IsInitialized() const;
  1647. int ByteSize() const;
  1648. bool MergePartialFromCodedStream(
  1649. ::google::protobuf::io::CodedInputStream* input);
  1650. void SerializeWithCachedSizes(
  1651. ::google::protobuf::io::CodedOutputStream* output) const;
  1652. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1653. int GetCachedSize() const { return _cached_size_; }
  1654. private:
  1655. void SharedCtor();
  1656. void SharedDtor();
  1657. void SetCachedSize(int size) const;
  1658. public:
  1659. ::google::protobuf::Metadata GetMetadata() const;
  1660. // nested types ----------------------------------------------------
  1661. // accessors -------------------------------------------------------
  1662. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  1663. inline bool has_packet_id() const;
  1664. inline void clear_packet_id();
  1665. static const int kPacketIdFieldNumber = 1;
  1666. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1667. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1668. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_player_kick)
  1669. private:
  1670. inline void set_has_packet_id();
  1671. inline void clear_has_packet_id();
  1672. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1673. int packet_id_;
  1674. mutable int _cached_size_;
  1675. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1676. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1677. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1678. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1679. void InitAsDefaultInstance();
  1680. static packetw2c_player_kick* default_instance_;
  1681. };
  1682. // -------------------------------------------------------------------
  1683. class packetc2w_get_gamelist : public ::google::protobuf::Message {
  1684. public:
  1685. packetc2w_get_gamelist();
  1686. virtual ~packetc2w_get_gamelist();
  1687. packetc2w_get_gamelist(const packetc2w_get_gamelist& from);
  1688. inline packetc2w_get_gamelist& operator=(const packetc2w_get_gamelist& from) {
  1689. CopyFrom(from);
  1690. return *this;
  1691. }
  1692. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1693. return _unknown_fields_;
  1694. }
  1695. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1696. return &_unknown_fields_;
  1697. }
  1698. static const ::google::protobuf::Descriptor* descriptor();
  1699. static const packetc2w_get_gamelist& default_instance();
  1700. void Swap(packetc2w_get_gamelist* other);
  1701. // implements Message ----------------------------------------------
  1702. packetc2w_get_gamelist* New() const;
  1703. void CopyFrom(const ::google::protobuf::Message& from);
  1704. void MergeFrom(const ::google::protobuf::Message& from);
  1705. void CopyFrom(const packetc2w_get_gamelist& from);
  1706. void MergeFrom(const packetc2w_get_gamelist& from);
  1707. void Clear();
  1708. bool IsInitialized() const;
  1709. int ByteSize() const;
  1710. bool MergePartialFromCodedStream(
  1711. ::google::protobuf::io::CodedInputStream* input);
  1712. void SerializeWithCachedSizes(
  1713. ::google::protobuf::io::CodedOutputStream* output) const;
  1714. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1715. int GetCachedSize() const { return _cached_size_; }
  1716. private:
  1717. void SharedCtor();
  1718. void SharedDtor();
  1719. void SetCachedSize(int size) const;
  1720. public:
  1721. ::google::protobuf::Metadata GetMetadata() const;
  1722. // nested types ----------------------------------------------------
  1723. // accessors -------------------------------------------------------
  1724. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  1725. inline bool has_packet_id() const;
  1726. inline void clear_packet_id();
  1727. static const int kPacketIdFieldNumber = 1;
  1728. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1729. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1730. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_get_gamelist)
  1731. private:
  1732. inline void set_has_packet_id();
  1733. inline void clear_has_packet_id();
  1734. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1735. int packet_id_;
  1736. mutable int _cached_size_;
  1737. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1738. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1739. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1740. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1741. void InitAsDefaultInstance();
  1742. static packetc2w_get_gamelist* default_instance_;
  1743. };
  1744. // -------------------------------------------------------------------
  1745. class packetw2c_get_gamelist_result : public ::google::protobuf::Message {
  1746. public:
  1747. packetw2c_get_gamelist_result();
  1748. virtual ~packetw2c_get_gamelist_result();
  1749. packetw2c_get_gamelist_result(const packetw2c_get_gamelist_result& from);
  1750. inline packetw2c_get_gamelist_result& operator=(const packetw2c_get_gamelist_result& from) {
  1751. CopyFrom(from);
  1752. return *this;
  1753. }
  1754. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1755. return _unknown_fields_;
  1756. }
  1757. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1758. return &_unknown_fields_;
  1759. }
  1760. static const ::google::protobuf::Descriptor* descriptor();
  1761. static const packetw2c_get_gamelist_result& default_instance();
  1762. void Swap(packetw2c_get_gamelist_result* other);
  1763. // implements Message ----------------------------------------------
  1764. packetw2c_get_gamelist_result* New() const;
  1765. void CopyFrom(const ::google::protobuf::Message& from);
  1766. void MergeFrom(const ::google::protobuf::Message& from);
  1767. void CopyFrom(const packetw2c_get_gamelist_result& from);
  1768. void MergeFrom(const packetw2c_get_gamelist_result& from);
  1769. void Clear();
  1770. bool IsInitialized() const;
  1771. int ByteSize() const;
  1772. bool MergePartialFromCodedStream(
  1773. ::google::protobuf::io::CodedInputStream* input);
  1774. void SerializeWithCachedSizes(
  1775. ::google::protobuf::io::CodedOutputStream* output) const;
  1776. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1777. int GetCachedSize() const { return _cached_size_; }
  1778. private:
  1779. void SharedCtor();
  1780. void SharedDtor();
  1781. void SetCachedSize(int size) const;
  1782. public:
  1783. ::google::protobuf::Metadata GetMetadata() const;
  1784. // nested types ----------------------------------------------------
  1785. // accessors -------------------------------------------------------
  1786. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_result];
  1787. inline bool has_packet_id() const;
  1788. inline void clear_packet_id();
  1789. static const int kPacketIdFieldNumber = 1;
  1790. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1791. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1792. // repeated .client2world_protocols.msg_game_info game_list = 2;
  1793. inline int game_list_size() const;
  1794. inline void clear_game_list();
  1795. static const int kGameListFieldNumber = 2;
  1796. inline const ::client2world_protocols::msg_game_info& game_list(int index) const;
  1797. inline ::client2world_protocols::msg_game_info* mutable_game_list(int index);
  1798. inline ::client2world_protocols::msg_game_info* add_game_list();
  1799. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >&
  1800. game_list() const;
  1801. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >*
  1802. mutable_game_list();
  1803. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_get_gamelist_result)
  1804. private:
  1805. inline void set_has_packet_id();
  1806. inline void clear_has_packet_id();
  1807. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1808. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info > game_list_;
  1809. int packet_id_;
  1810. mutable int _cached_size_;
  1811. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1812. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1813. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1814. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1815. void InitAsDefaultInstance();
  1816. static packetw2c_get_gamelist_result* default_instance_;
  1817. };
  1818. // -------------------------------------------------------------------
  1819. class packetc2w_first_login : public ::google::protobuf::Message {
  1820. public:
  1821. packetc2w_first_login();
  1822. virtual ~packetc2w_first_login();
  1823. packetc2w_first_login(const packetc2w_first_login& from);
  1824. inline packetc2w_first_login& operator=(const packetc2w_first_login& from) {
  1825. CopyFrom(from);
  1826. return *this;
  1827. }
  1828. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1829. return _unknown_fields_;
  1830. }
  1831. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1832. return &_unknown_fields_;
  1833. }
  1834. static const ::google::protobuf::Descriptor* descriptor();
  1835. static const packetc2w_first_login& default_instance();
  1836. void Swap(packetc2w_first_login* other);
  1837. // implements Message ----------------------------------------------
  1838. packetc2w_first_login* New() const;
  1839. void CopyFrom(const ::google::protobuf::Message& from);
  1840. void MergeFrom(const ::google::protobuf::Message& from);
  1841. void CopyFrom(const packetc2w_first_login& from);
  1842. void MergeFrom(const packetc2w_first_login& from);
  1843. void Clear();
  1844. bool IsInitialized() const;
  1845. int ByteSize() const;
  1846. bool MergePartialFromCodedStream(
  1847. ::google::protobuf::io::CodedInputStream* input);
  1848. void SerializeWithCachedSizes(
  1849. ::google::protobuf::io::CodedOutputStream* output) const;
  1850. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1851. int GetCachedSize() const { return _cached_size_; }
  1852. private:
  1853. void SharedCtor();
  1854. void SharedDtor();
  1855. void SetCachedSize(int size) const;
  1856. public:
  1857. ::google::protobuf::Metadata GetMetadata() const;
  1858. // nested types ----------------------------------------------------
  1859. // accessors -------------------------------------------------------
  1860. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  1861. inline bool has_packet_id() const;
  1862. inline void clear_packet_id();
  1863. static const int kPacketIdFieldNumber = 1;
  1864. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1865. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1866. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_first_login)
  1867. private:
  1868. inline void set_has_packet_id();
  1869. inline void clear_has_packet_id();
  1870. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1871. int packet_id_;
  1872. mutable int _cached_size_;
  1873. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  1874. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1875. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1876. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1877. void InitAsDefaultInstance();
  1878. static packetc2w_first_login* default_instance_;
  1879. };
  1880. // -------------------------------------------------------------------
  1881. class packetw2c_first_login_result : public ::google::protobuf::Message {
  1882. public:
  1883. packetw2c_first_login_result();
  1884. virtual ~packetw2c_first_login_result();
  1885. packetw2c_first_login_result(const packetw2c_first_login_result& from);
  1886. inline packetw2c_first_login_result& operator=(const packetw2c_first_login_result& from) {
  1887. CopyFrom(from);
  1888. return *this;
  1889. }
  1890. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1891. return _unknown_fields_;
  1892. }
  1893. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1894. return &_unknown_fields_;
  1895. }
  1896. static const ::google::protobuf::Descriptor* descriptor();
  1897. static const packetw2c_first_login_result& default_instance();
  1898. void Swap(packetw2c_first_login_result* other);
  1899. // implements Message ----------------------------------------------
  1900. packetw2c_first_login_result* New() const;
  1901. void CopyFrom(const ::google::protobuf::Message& from);
  1902. void MergeFrom(const ::google::protobuf::Message& from);
  1903. void CopyFrom(const packetw2c_first_login_result& from);
  1904. void MergeFrom(const packetw2c_first_login_result& from);
  1905. void Clear();
  1906. bool IsInitialized() const;
  1907. int ByteSize() const;
  1908. bool MergePartialFromCodedStream(
  1909. ::google::protobuf::io::CodedInputStream* input);
  1910. void SerializeWithCachedSizes(
  1911. ::google::protobuf::io::CodedOutputStream* output) const;
  1912. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1913. int GetCachedSize() const { return _cached_size_; }
  1914. private:
  1915. void SharedCtor();
  1916. void SharedDtor();
  1917. void SetCachedSize(int size) const;
  1918. public:
  1919. ::google::protobuf::Metadata GetMetadata() const;
  1920. // nested types ----------------------------------------------------
  1921. // accessors -------------------------------------------------------
  1922. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_result];
  1923. inline bool has_packet_id() const;
  1924. inline void clear_packet_id();
  1925. static const int kPacketIdFieldNumber = 1;
  1926. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1927. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1928. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  1929. inline bool has_result() const;
  1930. inline void clear_result();
  1931. static const int kResultFieldNumber = 2;
  1932. inline ::msg_type_def::e_msg_result_def result() const;
  1933. inline void set_result(::msg_type_def::e_msg_result_def value);
  1934. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_first_login_result)
  1935. private:
  1936. inline void set_has_packet_id();
  1937. inline void clear_has_packet_id();
  1938. inline void set_has_result();
  1939. inline void clear_has_result();
  1940. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1941. int packet_id_;
  1942. int result_;
  1943. mutable int _cached_size_;
  1944. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  1945. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  1946. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  1947. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  1948. void InitAsDefaultInstance();
  1949. static packetw2c_first_login_result* default_instance_;
  1950. };
  1951. // -------------------------------------------------------------------
  1952. class packetc2w_enter_fish_game : public ::google::protobuf::Message {
  1953. public:
  1954. packetc2w_enter_fish_game();
  1955. virtual ~packetc2w_enter_fish_game();
  1956. packetc2w_enter_fish_game(const packetc2w_enter_fish_game& from);
  1957. inline packetc2w_enter_fish_game& operator=(const packetc2w_enter_fish_game& from) {
  1958. CopyFrom(from);
  1959. return *this;
  1960. }
  1961. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1962. return _unknown_fields_;
  1963. }
  1964. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1965. return &_unknown_fields_;
  1966. }
  1967. static const ::google::protobuf::Descriptor* descriptor();
  1968. static const packetc2w_enter_fish_game& default_instance();
  1969. void Swap(packetc2w_enter_fish_game* other);
  1970. // implements Message ----------------------------------------------
  1971. packetc2w_enter_fish_game* New() const;
  1972. void CopyFrom(const ::google::protobuf::Message& from);
  1973. void MergeFrom(const ::google::protobuf::Message& from);
  1974. void CopyFrom(const packetc2w_enter_fish_game& from);
  1975. void MergeFrom(const packetc2w_enter_fish_game& from);
  1976. void Clear();
  1977. bool IsInitialized() const;
  1978. int ByteSize() const;
  1979. bool MergePartialFromCodedStream(
  1980. ::google::protobuf::io::CodedInputStream* input);
  1981. void SerializeWithCachedSizes(
  1982. ::google::protobuf::io::CodedOutputStream* output) const;
  1983. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1984. int GetCachedSize() const { return _cached_size_; }
  1985. private:
  1986. void SharedCtor();
  1987. void SharedDtor();
  1988. void SetCachedSize(int size) const;
  1989. public:
  1990. ::google::protobuf::Metadata GetMetadata() const;
  1991. // nested types ----------------------------------------------------
  1992. // accessors -------------------------------------------------------
  1993. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
  1994. inline bool has_packet_id() const;
  1995. inline void clear_packet_id();
  1996. static const int kPacketIdFieldNumber = 1;
  1997. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  1998. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  1999. // optional int32 gamever = 2;
  2000. inline bool has_gamever() const;
  2001. inline void clear_gamever();
  2002. static const int kGameverFieldNumber = 2;
  2003. inline ::google::protobuf::int32 gamever() const;
  2004. inline void set_gamever(::google::protobuf::int32 value);
  2005. // optional int32 roomId = 3;
  2006. inline bool has_roomid() const;
  2007. inline void clear_roomid();
  2008. static const int kRoomIdFieldNumber = 3;
  2009. inline ::google::protobuf::int32 roomid() const;
  2010. inline void set_roomid(::google::protobuf::int32 value);
  2011. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_enter_fish_game)
  2012. private:
  2013. inline void set_has_packet_id();
  2014. inline void clear_has_packet_id();
  2015. inline void set_has_gamever();
  2016. inline void clear_has_gamever();
  2017. inline void set_has_roomid();
  2018. inline void clear_has_roomid();
  2019. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2020. int packet_id_;
  2021. ::google::protobuf::int32 gamever_;
  2022. ::google::protobuf::int32 roomid_;
  2023. mutable int _cached_size_;
  2024. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  2025. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2026. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2027. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2028. void InitAsDefaultInstance();
  2029. static packetc2w_enter_fish_game* default_instance_;
  2030. };
  2031. // -------------------------------------------------------------------
  2032. class packetw2c_enter_fish_game_result : public ::google::protobuf::Message {
  2033. public:
  2034. packetw2c_enter_fish_game_result();
  2035. virtual ~packetw2c_enter_fish_game_result();
  2036. packetw2c_enter_fish_game_result(const packetw2c_enter_fish_game_result& from);
  2037. inline packetw2c_enter_fish_game_result& operator=(const packetw2c_enter_fish_game_result& from) {
  2038. CopyFrom(from);
  2039. return *this;
  2040. }
  2041. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2042. return _unknown_fields_;
  2043. }
  2044. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2045. return &_unknown_fields_;
  2046. }
  2047. static const ::google::protobuf::Descriptor* descriptor();
  2048. static const packetw2c_enter_fish_game_result& default_instance();
  2049. void Swap(packetw2c_enter_fish_game_result* other);
  2050. // implements Message ----------------------------------------------
  2051. packetw2c_enter_fish_game_result* New() const;
  2052. void CopyFrom(const ::google::protobuf::Message& from);
  2053. void MergeFrom(const ::google::protobuf::Message& from);
  2054. void CopyFrom(const packetw2c_enter_fish_game_result& from);
  2055. void MergeFrom(const packetw2c_enter_fish_game_result& from);
  2056. void Clear();
  2057. bool IsInitialized() const;
  2058. int ByteSize() const;
  2059. bool MergePartialFromCodedStream(
  2060. ::google::protobuf::io::CodedInputStream* input);
  2061. void SerializeWithCachedSizes(
  2062. ::google::protobuf::io::CodedOutputStream* output) const;
  2063. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2064. int GetCachedSize() const { return _cached_size_; }
  2065. private:
  2066. void SharedCtor();
  2067. void SharedDtor();
  2068. void SetCachedSize(int size) const;
  2069. public:
  2070. ::google::protobuf::Metadata GetMetadata() const;
  2071. // nested types ----------------------------------------------------
  2072. // accessors -------------------------------------------------------
  2073. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_result];
  2074. inline bool has_packet_id() const;
  2075. inline void clear_packet_id();
  2076. static const int kPacketIdFieldNumber = 1;
  2077. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2078. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2079. // optional int32 result = 2;
  2080. inline bool has_result() const;
  2081. inline void clear_result();
  2082. static const int kResultFieldNumber = 2;
  2083. inline ::google::protobuf::int32 result() const;
  2084. inline void set_result(::google::protobuf::int32 value);
  2085. // optional int32 roomId = 3;
  2086. inline bool has_roomid() const;
  2087. inline void clear_roomid();
  2088. static const int kRoomIdFieldNumber = 3;
  2089. inline ::google::protobuf::int32 roomid() const;
  2090. inline void set_roomid(::google::protobuf::int32 value);
  2091. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_enter_fish_game_result)
  2092. private:
  2093. inline void set_has_packet_id();
  2094. inline void clear_has_packet_id();
  2095. inline void set_has_result();
  2096. inline void clear_has_result();
  2097. inline void set_has_roomid();
  2098. inline void clear_has_roomid();
  2099. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2100. int packet_id_;
  2101. ::google::protobuf::int32 result_;
  2102. ::google::protobuf::int32 roomid_;
  2103. mutable int _cached_size_;
  2104. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  2105. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2106. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2107. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2108. void InitAsDefaultInstance();
  2109. static packetw2c_enter_fish_game_result* default_instance_;
  2110. };
  2111. // -------------------------------------------------------------------
  2112. class msg_airdropitem : public ::google::protobuf::Message {
  2113. public:
  2114. msg_airdropitem();
  2115. virtual ~msg_airdropitem();
  2116. msg_airdropitem(const msg_airdropitem& from);
  2117. inline msg_airdropitem& operator=(const msg_airdropitem& from) {
  2118. CopyFrom(from);
  2119. return *this;
  2120. }
  2121. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2122. return _unknown_fields_;
  2123. }
  2124. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2125. return &_unknown_fields_;
  2126. }
  2127. static const ::google::protobuf::Descriptor* descriptor();
  2128. static const msg_airdropitem& default_instance();
  2129. void Swap(msg_airdropitem* other);
  2130. // implements Message ----------------------------------------------
  2131. msg_airdropitem* New() const;
  2132. void CopyFrom(const ::google::protobuf::Message& from);
  2133. void MergeFrom(const ::google::protobuf::Message& from);
  2134. void CopyFrom(const msg_airdropitem& from);
  2135. void MergeFrom(const msg_airdropitem& from);
  2136. void Clear();
  2137. bool IsInitialized() const;
  2138. int ByteSize() const;
  2139. bool MergePartialFromCodedStream(
  2140. ::google::protobuf::io::CodedInputStream* input);
  2141. void SerializeWithCachedSizes(
  2142. ::google::protobuf::io::CodedOutputStream* output) const;
  2143. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2144. int GetCachedSize() const { return _cached_size_; }
  2145. private:
  2146. void SharedCtor();
  2147. void SharedDtor();
  2148. void SetCachedSize(int size) const;
  2149. public:
  2150. ::google::protobuf::Metadata GetMetadata() const;
  2151. // nested types ----------------------------------------------------
  2152. // accessors -------------------------------------------------------
  2153. // optional int32 uuid = 1;
  2154. inline bool has_uuid() const;
  2155. inline void clear_uuid();
  2156. static const int kUuidFieldNumber = 1;
  2157. inline ::google::protobuf::int32 uuid() const;
  2158. inline void set_uuid(::google::protobuf::int32 value);
  2159. // optional int32 playerid = 2;
  2160. inline bool has_playerid() const;
  2161. inline void clear_playerid();
  2162. static const int kPlayeridFieldNumber = 2;
  2163. inline ::google::protobuf::int32 playerid() const;
  2164. inline void set_playerid(::google::protobuf::int32 value);
  2165. // optional int32 itemid = 3;
  2166. inline bool has_itemid() const;
  2167. inline void clear_itemid();
  2168. static const int kItemidFieldNumber = 3;
  2169. inline ::google::protobuf::int32 itemid() const;
  2170. inline void set_itemid(::google::protobuf::int32 value);
  2171. // optional int32 itemcount = 4;
  2172. inline bool has_itemcount() const;
  2173. inline void clear_itemcount();
  2174. static const int kItemcountFieldNumber = 4;
  2175. inline ::google::protobuf::int32 itemcount() const;
  2176. inline void set_itemcount(::google::protobuf::int32 value);
  2177. // optional string nickname = 5;
  2178. inline bool has_nickname() const;
  2179. inline void clear_nickname();
  2180. static const int kNicknameFieldNumber = 5;
  2181. inline const ::std::string& nickname() const;
  2182. inline void set_nickname(const ::std::string& value);
  2183. inline void set_nickname(const char* value);
  2184. inline void set_nickname(const char* value, size_t size);
  2185. inline ::std::string* mutable_nickname();
  2186. inline ::std::string* release_nickname();
  2187. inline void set_allocated_nickname(::std::string* nickname);
  2188. // optional int32 headid = 6;
  2189. inline bool has_headid() const;
  2190. inline void clear_headid();
  2191. static const int kHeadidFieldNumber = 6;
  2192. inline ::google::protobuf::int32 headid() const;
  2193. inline void set_headid(::google::protobuf::int32 value);
  2194. // optional string pwd = 7;
  2195. inline bool has_pwd() const;
  2196. inline void clear_pwd();
  2197. static const int kPwdFieldNumber = 7;
  2198. inline const ::std::string& pwd() const;
  2199. inline void set_pwd(const ::std::string& value);
  2200. inline void set_pwd(const char* value);
  2201. inline void set_pwd(const char* value, size_t size);
  2202. inline ::std::string* mutable_pwd();
  2203. inline ::std::string* release_pwd();
  2204. inline void set_allocated_pwd(::std::string* pwd);
  2205. // optional int32 leftsecond = 8;
  2206. inline bool has_leftsecond() const;
  2207. inline void clear_leftsecond();
  2208. static const int kLeftsecondFieldNumber = 8;
  2209. inline ::google::protobuf::int32 leftsecond() const;
  2210. inline void set_leftsecond(::google::protobuf::int32 value);
  2211. // optional int32 receiveId = 9;
  2212. inline bool has_receiveid() const;
  2213. inline void clear_receiveid();
  2214. static const int kReceiveIdFieldNumber = 9;
  2215. inline ::google::protobuf::int32 receiveid() const;
  2216. inline void set_receiveid(::google::protobuf::int32 value);
  2217. // @@protoc_insertion_point(class_scope:client2world_protocols.msg_airdropitem)
  2218. private:
  2219. inline void set_has_uuid();
  2220. inline void clear_has_uuid();
  2221. inline void set_has_playerid();
  2222. inline void clear_has_playerid();
  2223. inline void set_has_itemid();
  2224. inline void clear_has_itemid();
  2225. inline void set_has_itemcount();
  2226. inline void clear_has_itemcount();
  2227. inline void set_has_nickname();
  2228. inline void clear_has_nickname();
  2229. inline void set_has_headid();
  2230. inline void clear_has_headid();
  2231. inline void set_has_pwd();
  2232. inline void clear_has_pwd();
  2233. inline void set_has_leftsecond();
  2234. inline void clear_has_leftsecond();
  2235. inline void set_has_receiveid();
  2236. inline void clear_has_receiveid();
  2237. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2238. ::google::protobuf::int32 uuid_;
  2239. ::google::protobuf::int32 playerid_;
  2240. ::google::protobuf::int32 itemid_;
  2241. ::google::protobuf::int32 itemcount_;
  2242. ::std::string* nickname_;
  2243. ::std::string* pwd_;
  2244. ::google::protobuf::int32 headid_;
  2245. ::google::protobuf::int32 leftsecond_;
  2246. ::google::protobuf::int32 receiveid_;
  2247. mutable int _cached_size_;
  2248. ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
  2249. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2250. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2251. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2252. void InitAsDefaultInstance();
  2253. static msg_airdropitem* default_instance_;
  2254. };
  2255. // -------------------------------------------------------------------
  2256. class packetc2w_create_airdrop : public ::google::protobuf::Message {
  2257. public:
  2258. packetc2w_create_airdrop();
  2259. virtual ~packetc2w_create_airdrop();
  2260. packetc2w_create_airdrop(const packetc2w_create_airdrop& from);
  2261. inline packetc2w_create_airdrop& operator=(const packetc2w_create_airdrop& from) {
  2262. CopyFrom(from);
  2263. return *this;
  2264. }
  2265. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2266. return _unknown_fields_;
  2267. }
  2268. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2269. return &_unknown_fields_;
  2270. }
  2271. static const ::google::protobuf::Descriptor* descriptor();
  2272. static const packetc2w_create_airdrop& default_instance();
  2273. void Swap(packetc2w_create_airdrop* other);
  2274. // implements Message ----------------------------------------------
  2275. packetc2w_create_airdrop* New() const;
  2276. void CopyFrom(const ::google::protobuf::Message& from);
  2277. void MergeFrom(const ::google::protobuf::Message& from);
  2278. void CopyFrom(const packetc2w_create_airdrop& from);
  2279. void MergeFrom(const packetc2w_create_airdrop& from);
  2280. void Clear();
  2281. bool IsInitialized() const;
  2282. int ByteSize() const;
  2283. bool MergePartialFromCodedStream(
  2284. ::google::protobuf::io::CodedInputStream* input);
  2285. void SerializeWithCachedSizes(
  2286. ::google::protobuf::io::CodedOutputStream* output) const;
  2287. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2288. int GetCachedSize() const { return _cached_size_; }
  2289. private:
  2290. void SharedCtor();
  2291. void SharedDtor();
  2292. void SetCachedSize(int size) const;
  2293. public:
  2294. ::google::protobuf::Metadata GetMetadata() const;
  2295. // nested types ----------------------------------------------------
  2296. // accessors -------------------------------------------------------
  2297. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
  2298. inline bool has_packet_id() const;
  2299. inline void clear_packet_id();
  2300. static const int kPacketIdFieldNumber = 1;
  2301. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2302. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2303. // optional int32 itemid = 2;
  2304. inline bool has_itemid() const;
  2305. inline void clear_itemid();
  2306. static const int kItemidFieldNumber = 2;
  2307. inline ::google::protobuf::int32 itemid() const;
  2308. inline void set_itemid(::google::protobuf::int32 value);
  2309. // optional int32 itemcount = 3;
  2310. inline bool has_itemcount() const;
  2311. inline void clear_itemcount();
  2312. static const int kItemcountFieldNumber = 3;
  2313. inline ::google::protobuf::int32 itemcount() const;
  2314. inline void set_itemcount(::google::protobuf::int32 value);
  2315. // optional string pwd = 4;
  2316. inline bool has_pwd() const;
  2317. inline void clear_pwd();
  2318. static const int kPwdFieldNumber = 4;
  2319. inline const ::std::string& pwd() const;
  2320. inline void set_pwd(const ::std::string& value);
  2321. inline void set_pwd(const char* value);
  2322. inline void set_pwd(const char* value, size_t size);
  2323. inline ::std::string* mutable_pwd();
  2324. inline ::std::string* release_pwd();
  2325. inline void set_allocated_pwd(::std::string* pwd);
  2326. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_create_airdrop)
  2327. private:
  2328. inline void set_has_packet_id();
  2329. inline void clear_has_packet_id();
  2330. inline void set_has_itemid();
  2331. inline void clear_has_itemid();
  2332. inline void set_has_itemcount();
  2333. inline void clear_has_itemcount();
  2334. inline void set_has_pwd();
  2335. inline void clear_has_pwd();
  2336. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2337. int packet_id_;
  2338. ::google::protobuf::int32 itemid_;
  2339. ::std::string* pwd_;
  2340. ::google::protobuf::int32 itemcount_;
  2341. mutable int _cached_size_;
  2342. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  2343. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2344. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2345. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2346. void InitAsDefaultInstance();
  2347. static packetc2w_create_airdrop* default_instance_;
  2348. };
  2349. // -------------------------------------------------------------------
  2350. class packetw2c_create_airdrop_result : public ::google::protobuf::Message {
  2351. public:
  2352. packetw2c_create_airdrop_result();
  2353. virtual ~packetw2c_create_airdrop_result();
  2354. packetw2c_create_airdrop_result(const packetw2c_create_airdrop_result& from);
  2355. inline packetw2c_create_airdrop_result& operator=(const packetw2c_create_airdrop_result& from) {
  2356. CopyFrom(from);
  2357. return *this;
  2358. }
  2359. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2360. return _unknown_fields_;
  2361. }
  2362. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2363. return &_unknown_fields_;
  2364. }
  2365. static const ::google::protobuf::Descriptor* descriptor();
  2366. static const packetw2c_create_airdrop_result& default_instance();
  2367. void Swap(packetw2c_create_airdrop_result* other);
  2368. // implements Message ----------------------------------------------
  2369. packetw2c_create_airdrop_result* New() const;
  2370. void CopyFrom(const ::google::protobuf::Message& from);
  2371. void MergeFrom(const ::google::protobuf::Message& from);
  2372. void CopyFrom(const packetw2c_create_airdrop_result& from);
  2373. void MergeFrom(const packetw2c_create_airdrop_result& from);
  2374. void Clear();
  2375. bool IsInitialized() const;
  2376. int ByteSize() const;
  2377. bool MergePartialFromCodedStream(
  2378. ::google::protobuf::io::CodedInputStream* input);
  2379. void SerializeWithCachedSizes(
  2380. ::google::protobuf::io::CodedOutputStream* output) const;
  2381. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2382. int GetCachedSize() const { return _cached_size_; }
  2383. private:
  2384. void SharedCtor();
  2385. void SharedDtor();
  2386. void SetCachedSize(int size) const;
  2387. public:
  2388. ::google::protobuf::Metadata GetMetadata() const;
  2389. // nested types ----------------------------------------------------
  2390. // accessors -------------------------------------------------------
  2391. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_result];
  2392. inline bool has_packet_id() const;
  2393. inline void clear_packet_id();
  2394. static const int kPacketIdFieldNumber = 1;
  2395. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2396. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2397. // optional int32 result = 2;
  2398. inline bool has_result() const;
  2399. inline void clear_result();
  2400. static const int kResultFieldNumber = 2;
  2401. inline ::google::protobuf::int32 result() const;
  2402. inline void set_result(::google::protobuf::int32 value);
  2403. // optional int32 itemid = 3;
  2404. inline bool has_itemid() const;
  2405. inline void clear_itemid();
  2406. static const int kItemidFieldNumber = 3;
  2407. inline ::google::protobuf::int32 itemid() const;
  2408. inline void set_itemid(::google::protobuf::int32 value);
  2409. // optional int32 itemcount = 4;
  2410. inline bool has_itemcount() const;
  2411. inline void clear_itemcount();
  2412. static const int kItemcountFieldNumber = 4;
  2413. inline ::google::protobuf::int32 itemcount() const;
  2414. inline void set_itemcount(::google::protobuf::int32 value);
  2415. // optional string pwd = 5;
  2416. inline bool has_pwd() const;
  2417. inline void clear_pwd();
  2418. static const int kPwdFieldNumber = 5;
  2419. inline const ::std::string& pwd() const;
  2420. inline void set_pwd(const ::std::string& value);
  2421. inline void set_pwd(const char* value);
  2422. inline void set_pwd(const char* value, size_t size);
  2423. inline ::std::string* mutable_pwd();
  2424. inline ::std::string* release_pwd();
  2425. inline void set_allocated_pwd(::std::string* pwd);
  2426. // optional int32 uuid = 6;
  2427. inline bool has_uuid() const;
  2428. inline void clear_uuid();
  2429. static const int kUuidFieldNumber = 6;
  2430. inline ::google::protobuf::int32 uuid() const;
  2431. inline void set_uuid(::google::protobuf::int32 value);
  2432. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_create_airdrop_result)
  2433. private:
  2434. inline void set_has_packet_id();
  2435. inline void clear_has_packet_id();
  2436. inline void set_has_result();
  2437. inline void clear_has_result();
  2438. inline void set_has_itemid();
  2439. inline void clear_has_itemid();
  2440. inline void set_has_itemcount();
  2441. inline void clear_has_itemcount();
  2442. inline void set_has_pwd();
  2443. inline void clear_has_pwd();
  2444. inline void set_has_uuid();
  2445. inline void clear_has_uuid();
  2446. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2447. int packet_id_;
  2448. ::google::protobuf::int32 result_;
  2449. ::google::protobuf::int32 itemid_;
  2450. ::google::protobuf::int32 itemcount_;
  2451. ::std::string* pwd_;
  2452. ::google::protobuf::int32 uuid_;
  2453. mutable int _cached_size_;
  2454. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  2455. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2456. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2457. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2458. void InitAsDefaultInstance();
  2459. static packetw2c_create_airdrop_result* default_instance_;
  2460. };
  2461. // -------------------------------------------------------------------
  2462. class packetc2w_get_airdrop_list : public ::google::protobuf::Message {
  2463. public:
  2464. packetc2w_get_airdrop_list();
  2465. virtual ~packetc2w_get_airdrop_list();
  2466. packetc2w_get_airdrop_list(const packetc2w_get_airdrop_list& from);
  2467. inline packetc2w_get_airdrop_list& operator=(const packetc2w_get_airdrop_list& from) {
  2468. CopyFrom(from);
  2469. return *this;
  2470. }
  2471. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2472. return _unknown_fields_;
  2473. }
  2474. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2475. return &_unknown_fields_;
  2476. }
  2477. static const ::google::protobuf::Descriptor* descriptor();
  2478. static const packetc2w_get_airdrop_list& default_instance();
  2479. void Swap(packetc2w_get_airdrop_list* other);
  2480. // implements Message ----------------------------------------------
  2481. packetc2w_get_airdrop_list* New() const;
  2482. void CopyFrom(const ::google::protobuf::Message& from);
  2483. void MergeFrom(const ::google::protobuf::Message& from);
  2484. void CopyFrom(const packetc2w_get_airdrop_list& from);
  2485. void MergeFrom(const packetc2w_get_airdrop_list& from);
  2486. void Clear();
  2487. bool IsInitialized() const;
  2488. int ByteSize() const;
  2489. bool MergePartialFromCodedStream(
  2490. ::google::protobuf::io::CodedInputStream* input);
  2491. void SerializeWithCachedSizes(
  2492. ::google::protobuf::io::CodedOutputStream* output) const;
  2493. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2494. int GetCachedSize() const { return _cached_size_; }
  2495. private:
  2496. void SharedCtor();
  2497. void SharedDtor();
  2498. void SetCachedSize(int size) const;
  2499. public:
  2500. ::google::protobuf::Metadata GetMetadata() const;
  2501. // nested types ----------------------------------------------------
  2502. // accessors -------------------------------------------------------
  2503. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
  2504. inline bool has_packet_id() const;
  2505. inline void clear_packet_id();
  2506. static const int kPacketIdFieldNumber = 1;
  2507. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2508. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2509. // optional bool bplayerairdrop = 2;
  2510. inline bool has_bplayerairdrop() const;
  2511. inline void clear_bplayerairdrop();
  2512. static const int kBplayerairdropFieldNumber = 2;
  2513. inline bool bplayerairdrop() const;
  2514. inline void set_bplayerairdrop(bool value);
  2515. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_get_airdrop_list)
  2516. private:
  2517. inline void set_has_packet_id();
  2518. inline void clear_has_packet_id();
  2519. inline void set_has_bplayerairdrop();
  2520. inline void clear_has_bplayerairdrop();
  2521. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2522. int packet_id_;
  2523. bool bplayerairdrop_;
  2524. mutable int _cached_size_;
  2525. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  2526. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2527. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2528. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2529. void InitAsDefaultInstance();
  2530. static packetc2w_get_airdrop_list* default_instance_;
  2531. };
  2532. // -------------------------------------------------------------------
  2533. class packetw2c_get_airdrop_list_result : public ::google::protobuf::Message {
  2534. public:
  2535. packetw2c_get_airdrop_list_result();
  2536. virtual ~packetw2c_get_airdrop_list_result();
  2537. packetw2c_get_airdrop_list_result(const packetw2c_get_airdrop_list_result& from);
  2538. inline packetw2c_get_airdrop_list_result& operator=(const packetw2c_get_airdrop_list_result& from) {
  2539. CopyFrom(from);
  2540. return *this;
  2541. }
  2542. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2543. return _unknown_fields_;
  2544. }
  2545. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2546. return &_unknown_fields_;
  2547. }
  2548. static const ::google::protobuf::Descriptor* descriptor();
  2549. static const packetw2c_get_airdrop_list_result& default_instance();
  2550. void Swap(packetw2c_get_airdrop_list_result* other);
  2551. // implements Message ----------------------------------------------
  2552. packetw2c_get_airdrop_list_result* New() const;
  2553. void CopyFrom(const ::google::protobuf::Message& from);
  2554. void MergeFrom(const ::google::protobuf::Message& from);
  2555. void CopyFrom(const packetw2c_get_airdrop_list_result& from);
  2556. void MergeFrom(const packetw2c_get_airdrop_list_result& from);
  2557. void Clear();
  2558. bool IsInitialized() const;
  2559. int ByteSize() const;
  2560. bool MergePartialFromCodedStream(
  2561. ::google::protobuf::io::CodedInputStream* input);
  2562. void SerializeWithCachedSizes(
  2563. ::google::protobuf::io::CodedOutputStream* output) const;
  2564. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2565. int GetCachedSize() const { return _cached_size_; }
  2566. private:
  2567. void SharedCtor();
  2568. void SharedDtor();
  2569. void SetCachedSize(int size) const;
  2570. public:
  2571. ::google::protobuf::Metadata GetMetadata() const;
  2572. // nested types ----------------------------------------------------
  2573. // accessors -------------------------------------------------------
  2574. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_result];
  2575. inline bool has_packet_id() const;
  2576. inline void clear_packet_id();
  2577. static const int kPacketIdFieldNumber = 1;
  2578. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2579. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2580. // optional int32 result = 2;
  2581. inline bool has_result() const;
  2582. inline void clear_result();
  2583. static const int kResultFieldNumber = 2;
  2584. inline ::google::protobuf::int32 result() const;
  2585. inline void set_result(::google::protobuf::int32 value);
  2586. // optional bool bplayerairdrop = 3;
  2587. inline bool has_bplayerairdrop() const;
  2588. inline void clear_bplayerairdrop();
  2589. static const int kBplayerairdropFieldNumber = 3;
  2590. inline bool bplayerairdrop() const;
  2591. inline void set_bplayerairdrop(bool value);
  2592. // repeated .client2world_protocols.msg_airdropitem items = 4;
  2593. inline int items_size() const;
  2594. inline void clear_items();
  2595. static const int kItemsFieldNumber = 4;
  2596. inline const ::client2world_protocols::msg_airdropitem& items(int index) const;
  2597. inline ::client2world_protocols::msg_airdropitem* mutable_items(int index);
  2598. inline ::client2world_protocols::msg_airdropitem* add_items();
  2599. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_airdropitem >&
  2600. items() const;
  2601. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_airdropitem >*
  2602. mutable_items();
  2603. // optional int32 errorcount = 5;
  2604. inline bool has_errorcount() const;
  2605. inline void clear_errorcount();
  2606. static const int kErrorcountFieldNumber = 5;
  2607. inline ::google::protobuf::int32 errorcount() const;
  2608. inline void set_errorcount(::google::protobuf::int32 value);
  2609. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_get_airdrop_list_result)
  2610. private:
  2611. inline void set_has_packet_id();
  2612. inline void clear_has_packet_id();
  2613. inline void set_has_result();
  2614. inline void clear_has_result();
  2615. inline void set_has_bplayerairdrop();
  2616. inline void clear_has_bplayerairdrop();
  2617. inline void set_has_errorcount();
  2618. inline void clear_has_errorcount();
  2619. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2620. int packet_id_;
  2621. ::google::protobuf::int32 result_;
  2622. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_airdropitem > items_;
  2623. bool bplayerairdrop_;
  2624. ::google::protobuf::int32 errorcount_;
  2625. mutable int _cached_size_;
  2626. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  2627. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2628. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2629. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2630. void InitAsDefaultInstance();
  2631. static packetw2c_get_airdrop_list_result* default_instance_;
  2632. };
  2633. // -------------------------------------------------------------------
  2634. class packetc2w_get_airdrop_info : public ::google::protobuf::Message {
  2635. public:
  2636. packetc2w_get_airdrop_info();
  2637. virtual ~packetc2w_get_airdrop_info();
  2638. packetc2w_get_airdrop_info(const packetc2w_get_airdrop_info& from);
  2639. inline packetc2w_get_airdrop_info& operator=(const packetc2w_get_airdrop_info& from) {
  2640. CopyFrom(from);
  2641. return *this;
  2642. }
  2643. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2644. return _unknown_fields_;
  2645. }
  2646. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2647. return &_unknown_fields_;
  2648. }
  2649. static const ::google::protobuf::Descriptor* descriptor();
  2650. static const packetc2w_get_airdrop_info& default_instance();
  2651. void Swap(packetc2w_get_airdrop_info* other);
  2652. // implements Message ----------------------------------------------
  2653. packetc2w_get_airdrop_info* New() const;
  2654. void CopyFrom(const ::google::protobuf::Message& from);
  2655. void MergeFrom(const ::google::protobuf::Message& from);
  2656. void CopyFrom(const packetc2w_get_airdrop_info& from);
  2657. void MergeFrom(const packetc2w_get_airdrop_info& from);
  2658. void Clear();
  2659. bool IsInitialized() const;
  2660. int ByteSize() const;
  2661. bool MergePartialFromCodedStream(
  2662. ::google::protobuf::io::CodedInputStream* input);
  2663. void SerializeWithCachedSizes(
  2664. ::google::protobuf::io::CodedOutputStream* output) const;
  2665. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2666. int GetCachedSize() const { return _cached_size_; }
  2667. private:
  2668. void SharedCtor();
  2669. void SharedDtor();
  2670. void SetCachedSize(int size) const;
  2671. public:
  2672. ::google::protobuf::Metadata GetMetadata() const;
  2673. // nested types ----------------------------------------------------
  2674. // accessors -------------------------------------------------------
  2675. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_info];
  2676. inline bool has_packet_id() const;
  2677. inline void clear_packet_id();
  2678. static const int kPacketIdFieldNumber = 1;
  2679. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2680. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2681. // optional int32 uuid = 2;
  2682. inline bool has_uuid() const;
  2683. inline void clear_uuid();
  2684. static const int kUuidFieldNumber = 2;
  2685. inline ::google::protobuf::int32 uuid() const;
  2686. inline void set_uuid(::google::protobuf::int32 value);
  2687. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_get_airdrop_info)
  2688. private:
  2689. inline void set_has_packet_id();
  2690. inline void clear_has_packet_id();
  2691. inline void set_has_uuid();
  2692. inline void clear_has_uuid();
  2693. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2694. int packet_id_;
  2695. ::google::protobuf::int32 uuid_;
  2696. mutable int _cached_size_;
  2697. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  2698. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2699. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2700. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2701. void InitAsDefaultInstance();
  2702. static packetc2w_get_airdrop_info* default_instance_;
  2703. };
  2704. // -------------------------------------------------------------------
  2705. class packetw2c_get_airdrop_info_result : public ::google::protobuf::Message {
  2706. public:
  2707. packetw2c_get_airdrop_info_result();
  2708. virtual ~packetw2c_get_airdrop_info_result();
  2709. packetw2c_get_airdrop_info_result(const packetw2c_get_airdrop_info_result& from);
  2710. inline packetw2c_get_airdrop_info_result& operator=(const packetw2c_get_airdrop_info_result& from) {
  2711. CopyFrom(from);
  2712. return *this;
  2713. }
  2714. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2715. return _unknown_fields_;
  2716. }
  2717. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2718. return &_unknown_fields_;
  2719. }
  2720. static const ::google::protobuf::Descriptor* descriptor();
  2721. static const packetw2c_get_airdrop_info_result& default_instance();
  2722. void Swap(packetw2c_get_airdrop_info_result* other);
  2723. // implements Message ----------------------------------------------
  2724. packetw2c_get_airdrop_info_result* New() const;
  2725. void CopyFrom(const ::google::protobuf::Message& from);
  2726. void MergeFrom(const ::google::protobuf::Message& from);
  2727. void CopyFrom(const packetw2c_get_airdrop_info_result& from);
  2728. void MergeFrom(const packetw2c_get_airdrop_info_result& from);
  2729. void Clear();
  2730. bool IsInitialized() const;
  2731. int ByteSize() const;
  2732. bool MergePartialFromCodedStream(
  2733. ::google::protobuf::io::CodedInputStream* input);
  2734. void SerializeWithCachedSizes(
  2735. ::google::protobuf::io::CodedOutputStream* output) const;
  2736. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2737. int GetCachedSize() const { return _cached_size_; }
  2738. private:
  2739. void SharedCtor();
  2740. void SharedDtor();
  2741. void SetCachedSize(int size) const;
  2742. public:
  2743. ::google::protobuf::Metadata GetMetadata() const;
  2744. // nested types ----------------------------------------------------
  2745. // accessors -------------------------------------------------------
  2746. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_result];
  2747. inline bool has_packet_id() const;
  2748. inline void clear_packet_id();
  2749. static const int kPacketIdFieldNumber = 1;
  2750. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2751. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2752. // optional int32 result = 2;
  2753. inline bool has_result() const;
  2754. inline void clear_result();
  2755. static const int kResultFieldNumber = 2;
  2756. inline ::google::protobuf::int32 result() const;
  2757. inline void set_result(::google::protobuf::int32 value);
  2758. // optional .client2world_protocols.msg_airdropitem item = 3;
  2759. inline bool has_item() const;
  2760. inline void clear_item();
  2761. static const int kItemFieldNumber = 3;
  2762. inline const ::client2world_protocols::msg_airdropitem& item() const;
  2763. inline ::client2world_protocols::msg_airdropitem* mutable_item();
  2764. inline ::client2world_protocols::msg_airdropitem* release_item();
  2765. inline void set_allocated_item(::client2world_protocols::msg_airdropitem* item);
  2766. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_get_airdrop_info_result)
  2767. private:
  2768. inline void set_has_packet_id();
  2769. inline void clear_has_packet_id();
  2770. inline void set_has_result();
  2771. inline void clear_has_result();
  2772. inline void set_has_item();
  2773. inline void clear_has_item();
  2774. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2775. int packet_id_;
  2776. ::google::protobuf::int32 result_;
  2777. ::client2world_protocols::msg_airdropitem* item_;
  2778. mutable int _cached_size_;
  2779. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  2780. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2781. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2782. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2783. void InitAsDefaultInstance();
  2784. static packetw2c_get_airdrop_info_result* default_instance_;
  2785. };
  2786. // -------------------------------------------------------------------
  2787. class packetc2w_draw_airdrop : public ::google::protobuf::Message {
  2788. public:
  2789. packetc2w_draw_airdrop();
  2790. virtual ~packetc2w_draw_airdrop();
  2791. packetc2w_draw_airdrop(const packetc2w_draw_airdrop& from);
  2792. inline packetc2w_draw_airdrop& operator=(const packetc2w_draw_airdrop& from) {
  2793. CopyFrom(from);
  2794. return *this;
  2795. }
  2796. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2797. return _unknown_fields_;
  2798. }
  2799. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2800. return &_unknown_fields_;
  2801. }
  2802. static const ::google::protobuf::Descriptor* descriptor();
  2803. static const packetc2w_draw_airdrop& default_instance();
  2804. void Swap(packetc2w_draw_airdrop* other);
  2805. // implements Message ----------------------------------------------
  2806. packetc2w_draw_airdrop* New() const;
  2807. void CopyFrom(const ::google::protobuf::Message& from);
  2808. void MergeFrom(const ::google::protobuf::Message& from);
  2809. void CopyFrom(const packetc2w_draw_airdrop& from);
  2810. void MergeFrom(const packetc2w_draw_airdrop& from);
  2811. void Clear();
  2812. bool IsInitialized() const;
  2813. int ByteSize() const;
  2814. bool MergePartialFromCodedStream(
  2815. ::google::protobuf::io::CodedInputStream* input);
  2816. void SerializeWithCachedSizes(
  2817. ::google::protobuf::io::CodedOutputStream* output) const;
  2818. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2819. int GetCachedSize() const { return _cached_size_; }
  2820. private:
  2821. void SharedCtor();
  2822. void SharedDtor();
  2823. void SetCachedSize(int size) const;
  2824. public:
  2825. ::google::protobuf::Metadata GetMetadata() const;
  2826. // nested types ----------------------------------------------------
  2827. // accessors -------------------------------------------------------
  2828. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
  2829. inline bool has_packet_id() const;
  2830. inline void clear_packet_id();
  2831. static const int kPacketIdFieldNumber = 1;
  2832. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2833. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2834. // optional int32 uuid = 2;
  2835. inline bool has_uuid() const;
  2836. inline void clear_uuid();
  2837. static const int kUuidFieldNumber = 2;
  2838. inline ::google::protobuf::int32 uuid() const;
  2839. inline void set_uuid(::google::protobuf::int32 value);
  2840. // optional string pwd = 3;
  2841. inline bool has_pwd() const;
  2842. inline void clear_pwd();
  2843. static const int kPwdFieldNumber = 3;
  2844. inline const ::std::string& pwd() const;
  2845. inline void set_pwd(const ::std::string& value);
  2846. inline void set_pwd(const char* value);
  2847. inline void set_pwd(const char* value, size_t size);
  2848. inline ::std::string* mutable_pwd();
  2849. inline ::std::string* release_pwd();
  2850. inline void set_allocated_pwd(::std::string* pwd);
  2851. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_draw_airdrop)
  2852. private:
  2853. inline void set_has_packet_id();
  2854. inline void clear_has_packet_id();
  2855. inline void set_has_uuid();
  2856. inline void clear_has_uuid();
  2857. inline void set_has_pwd();
  2858. inline void clear_has_pwd();
  2859. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2860. int packet_id_;
  2861. ::google::protobuf::int32 uuid_;
  2862. ::std::string* pwd_;
  2863. mutable int _cached_size_;
  2864. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  2865. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2866. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2867. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2868. void InitAsDefaultInstance();
  2869. static packetc2w_draw_airdrop* default_instance_;
  2870. };
  2871. // -------------------------------------------------------------------
  2872. class packetw2c_draw_airdrop_result : public ::google::protobuf::Message {
  2873. public:
  2874. packetw2c_draw_airdrop_result();
  2875. virtual ~packetw2c_draw_airdrop_result();
  2876. packetw2c_draw_airdrop_result(const packetw2c_draw_airdrop_result& from);
  2877. inline packetw2c_draw_airdrop_result& operator=(const packetw2c_draw_airdrop_result& from) {
  2878. CopyFrom(from);
  2879. return *this;
  2880. }
  2881. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2882. return _unknown_fields_;
  2883. }
  2884. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2885. return &_unknown_fields_;
  2886. }
  2887. static const ::google::protobuf::Descriptor* descriptor();
  2888. static const packetw2c_draw_airdrop_result& default_instance();
  2889. void Swap(packetw2c_draw_airdrop_result* other);
  2890. // implements Message ----------------------------------------------
  2891. packetw2c_draw_airdrop_result* New() const;
  2892. void CopyFrom(const ::google::protobuf::Message& from);
  2893. void MergeFrom(const ::google::protobuf::Message& from);
  2894. void CopyFrom(const packetw2c_draw_airdrop_result& from);
  2895. void MergeFrom(const packetw2c_draw_airdrop_result& from);
  2896. void Clear();
  2897. bool IsInitialized() const;
  2898. int ByteSize() const;
  2899. bool MergePartialFromCodedStream(
  2900. ::google::protobuf::io::CodedInputStream* input);
  2901. void SerializeWithCachedSizes(
  2902. ::google::protobuf::io::CodedOutputStream* output) const;
  2903. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2904. int GetCachedSize() const { return _cached_size_; }
  2905. private:
  2906. void SharedCtor();
  2907. void SharedDtor();
  2908. void SetCachedSize(int size) const;
  2909. public:
  2910. ::google::protobuf::Metadata GetMetadata() const;
  2911. // nested types ----------------------------------------------------
  2912. // accessors -------------------------------------------------------
  2913. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_result];
  2914. inline bool has_packet_id() const;
  2915. inline void clear_packet_id();
  2916. static const int kPacketIdFieldNumber = 1;
  2917. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  2918. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  2919. // optional int32 result = 2;
  2920. inline bool has_result() const;
  2921. inline void clear_result();
  2922. static const int kResultFieldNumber = 2;
  2923. inline ::google::protobuf::int32 result() const;
  2924. inline void set_result(::google::protobuf::int32 value);
  2925. // optional .client2world_protocols.msg_airdropitem item = 3;
  2926. inline bool has_item() const;
  2927. inline void clear_item();
  2928. static const int kItemFieldNumber = 3;
  2929. inline const ::client2world_protocols::msg_airdropitem& item() const;
  2930. inline ::client2world_protocols::msg_airdropitem* mutable_item();
  2931. inline ::client2world_protocols::msg_airdropitem* release_item();
  2932. inline void set_allocated_item(::client2world_protocols::msg_airdropitem* item);
  2933. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_draw_airdrop_result)
  2934. private:
  2935. inline void set_has_packet_id();
  2936. inline void clear_has_packet_id();
  2937. inline void set_has_result();
  2938. inline void clear_has_result();
  2939. inline void set_has_item();
  2940. inline void clear_has_item();
  2941. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  2942. int packet_id_;
  2943. ::google::protobuf::int32 result_;
  2944. ::client2world_protocols::msg_airdropitem* item_;
  2945. mutable int _cached_size_;
  2946. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  2947. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2948. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  2949. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  2950. void InitAsDefaultInstance();
  2951. static packetw2c_draw_airdrop_result* default_instance_;
  2952. };
  2953. // -------------------------------------------------------------------
  2954. class packetc2w_receive_vip_reward : public ::google::protobuf::Message {
  2955. public:
  2956. packetc2w_receive_vip_reward();
  2957. virtual ~packetc2w_receive_vip_reward();
  2958. packetc2w_receive_vip_reward(const packetc2w_receive_vip_reward& from);
  2959. inline packetc2w_receive_vip_reward& operator=(const packetc2w_receive_vip_reward& from) {
  2960. CopyFrom(from);
  2961. return *this;
  2962. }
  2963. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  2964. return _unknown_fields_;
  2965. }
  2966. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  2967. return &_unknown_fields_;
  2968. }
  2969. static const ::google::protobuf::Descriptor* descriptor();
  2970. static const packetc2w_receive_vip_reward& default_instance();
  2971. void Swap(packetc2w_receive_vip_reward* other);
  2972. // implements Message ----------------------------------------------
  2973. packetc2w_receive_vip_reward* New() const;
  2974. void CopyFrom(const ::google::protobuf::Message& from);
  2975. void MergeFrom(const ::google::protobuf::Message& from);
  2976. void CopyFrom(const packetc2w_receive_vip_reward& from);
  2977. void MergeFrom(const packetc2w_receive_vip_reward& from);
  2978. void Clear();
  2979. bool IsInitialized() const;
  2980. int ByteSize() const;
  2981. bool MergePartialFromCodedStream(
  2982. ::google::protobuf::io::CodedInputStream* input);
  2983. void SerializeWithCachedSizes(
  2984. ::google::protobuf::io::CodedOutputStream* output) const;
  2985. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  2986. int GetCachedSize() const { return _cached_size_; }
  2987. private:
  2988. void SharedCtor();
  2989. void SharedDtor();
  2990. void SetCachedSize(int size) const;
  2991. public:
  2992. ::google::protobuf::Metadata GetMetadata() const;
  2993. // nested types ----------------------------------------------------
  2994. // accessors -------------------------------------------------------
  2995. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  2996. inline bool has_packet_id() const;
  2997. inline void clear_packet_id();
  2998. static const int kPacketIdFieldNumber = 1;
  2999. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3000. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3001. // optional int32 result = 2;
  3002. inline bool has_result() const;
  3003. inline void clear_result();
  3004. static const int kResultFieldNumber = 2;
  3005. inline ::google::protobuf::int32 result() const;
  3006. inline void set_result(::google::protobuf::int32 value);
  3007. // optional int32 rewardid = 3;
  3008. inline bool has_rewardid() const;
  3009. inline void clear_rewardid();
  3010. static const int kRewardidFieldNumber = 3;
  3011. inline ::google::protobuf::int32 rewardid() const;
  3012. inline void set_rewardid(::google::protobuf::int32 value);
  3013. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_vip_reward)
  3014. private:
  3015. inline void set_has_packet_id();
  3016. inline void clear_has_packet_id();
  3017. inline void set_has_result();
  3018. inline void clear_has_result();
  3019. inline void set_has_rewardid();
  3020. inline void clear_has_rewardid();
  3021. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3022. int packet_id_;
  3023. ::google::protobuf::int32 result_;
  3024. ::google::protobuf::int32 rewardid_;
  3025. mutable int _cached_size_;
  3026. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3027. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3028. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3029. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3030. void InitAsDefaultInstance();
  3031. static packetc2w_receive_vip_reward* default_instance_;
  3032. };
  3033. // -------------------------------------------------------------------
  3034. class packetw2c_receive_vip_reward_result : public ::google::protobuf::Message {
  3035. public:
  3036. packetw2c_receive_vip_reward_result();
  3037. virtual ~packetw2c_receive_vip_reward_result();
  3038. packetw2c_receive_vip_reward_result(const packetw2c_receive_vip_reward_result& from);
  3039. inline packetw2c_receive_vip_reward_result& operator=(const packetw2c_receive_vip_reward_result& from) {
  3040. CopyFrom(from);
  3041. return *this;
  3042. }
  3043. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3044. return _unknown_fields_;
  3045. }
  3046. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3047. return &_unknown_fields_;
  3048. }
  3049. static const ::google::protobuf::Descriptor* descriptor();
  3050. static const packetw2c_receive_vip_reward_result& default_instance();
  3051. void Swap(packetw2c_receive_vip_reward_result* other);
  3052. // implements Message ----------------------------------------------
  3053. packetw2c_receive_vip_reward_result* New() const;
  3054. void CopyFrom(const ::google::protobuf::Message& from);
  3055. void MergeFrom(const ::google::protobuf::Message& from);
  3056. void CopyFrom(const packetw2c_receive_vip_reward_result& from);
  3057. void MergeFrom(const packetw2c_receive_vip_reward_result& from);
  3058. void Clear();
  3059. bool IsInitialized() const;
  3060. int ByteSize() const;
  3061. bool MergePartialFromCodedStream(
  3062. ::google::protobuf::io::CodedInputStream* input);
  3063. void SerializeWithCachedSizes(
  3064. ::google::protobuf::io::CodedOutputStream* output) const;
  3065. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3066. int GetCachedSize() const { return _cached_size_; }
  3067. private:
  3068. void SharedCtor();
  3069. void SharedDtor();
  3070. void SetCachedSize(int size) const;
  3071. public:
  3072. ::google::protobuf::Metadata GetMetadata() const;
  3073. // nested types ----------------------------------------------------
  3074. // accessors -------------------------------------------------------
  3075. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_result];
  3076. inline bool has_packet_id() const;
  3077. inline void clear_packet_id();
  3078. static const int kPacketIdFieldNumber = 1;
  3079. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3080. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3081. // optional int32 result = 2;
  3082. inline bool has_result() const;
  3083. inline void clear_result();
  3084. static const int kResultFieldNumber = 2;
  3085. inline ::google::protobuf::int32 result() const;
  3086. inline void set_result(::google::protobuf::int32 value);
  3087. // optional int32 rewardid = 3;
  3088. inline bool has_rewardid() const;
  3089. inline void clear_rewardid();
  3090. static const int kRewardidFieldNumber = 3;
  3091. inline ::google::protobuf::int32 rewardid() const;
  3092. inline void set_rewardid(::google::protobuf::int32 value);
  3093. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_vip_reward_result)
  3094. private:
  3095. inline void set_has_packet_id();
  3096. inline void clear_has_packet_id();
  3097. inline void set_has_result();
  3098. inline void clear_has_result();
  3099. inline void set_has_rewardid();
  3100. inline void clear_has_rewardid();
  3101. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3102. int packet_id_;
  3103. ::google::protobuf::int32 result_;
  3104. ::google::protobuf::int32 rewardid_;
  3105. mutable int _cached_size_;
  3106. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3107. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3108. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3109. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3110. void InitAsDefaultInstance();
  3111. static packetw2c_receive_vip_reward_result* default_instance_;
  3112. };
  3113. // -------------------------------------------------------------------
  3114. class packetw2c_check_vip_money_result : public ::google::protobuf::Message {
  3115. public:
  3116. packetw2c_check_vip_money_result();
  3117. virtual ~packetw2c_check_vip_money_result();
  3118. packetw2c_check_vip_money_result(const packetw2c_check_vip_money_result& from);
  3119. inline packetw2c_check_vip_money_result& operator=(const packetw2c_check_vip_money_result& from) {
  3120. CopyFrom(from);
  3121. return *this;
  3122. }
  3123. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3124. return _unknown_fields_;
  3125. }
  3126. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3127. return &_unknown_fields_;
  3128. }
  3129. static const ::google::protobuf::Descriptor* descriptor();
  3130. static const packetw2c_check_vip_money_result& default_instance();
  3131. void Swap(packetw2c_check_vip_money_result* other);
  3132. // implements Message ----------------------------------------------
  3133. packetw2c_check_vip_money_result* New() const;
  3134. void CopyFrom(const ::google::protobuf::Message& from);
  3135. void MergeFrom(const ::google::protobuf::Message& from);
  3136. void CopyFrom(const packetw2c_check_vip_money_result& from);
  3137. void MergeFrom(const packetw2c_check_vip_money_result& from);
  3138. void Clear();
  3139. bool IsInitialized() const;
  3140. int ByteSize() const;
  3141. bool MergePartialFromCodedStream(
  3142. ::google::protobuf::io::CodedInputStream* input);
  3143. void SerializeWithCachedSizes(
  3144. ::google::protobuf::io::CodedOutputStream* output) const;
  3145. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3146. int GetCachedSize() const { return _cached_size_; }
  3147. private:
  3148. void SharedCtor();
  3149. void SharedDtor();
  3150. void SetCachedSize(int size) const;
  3151. public:
  3152. ::google::protobuf::Metadata GetMetadata() const;
  3153. // nested types ----------------------------------------------------
  3154. // accessors -------------------------------------------------------
  3155. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_result];
  3156. inline bool has_packet_id() const;
  3157. inline void clear_packet_id();
  3158. static const int kPacketIdFieldNumber = 1;
  3159. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3160. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3161. // optional int32 result = 2;
  3162. inline bool has_result() const;
  3163. inline void clear_result();
  3164. static const int kResultFieldNumber = 2;
  3165. inline ::google::protobuf::int32 result() const;
  3166. inline void set_result(::google::protobuf::int32 value);
  3167. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_check_vip_money_result)
  3168. private:
  3169. inline void set_has_packet_id();
  3170. inline void clear_has_packet_id();
  3171. inline void set_has_result();
  3172. inline void clear_has_result();
  3173. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3174. int packet_id_;
  3175. ::google::protobuf::int32 result_;
  3176. mutable int _cached_size_;
  3177. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  3178. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3179. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3180. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3181. void InitAsDefaultInstance();
  3182. static packetw2c_check_vip_money_result* default_instance_;
  3183. };
  3184. // -------------------------------------------------------------------
  3185. class packetw2c_timer_update : public ::google::protobuf::Message {
  3186. public:
  3187. packetw2c_timer_update();
  3188. virtual ~packetw2c_timer_update();
  3189. packetw2c_timer_update(const packetw2c_timer_update& from);
  3190. inline packetw2c_timer_update& operator=(const packetw2c_timer_update& from) {
  3191. CopyFrom(from);
  3192. return *this;
  3193. }
  3194. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3195. return _unknown_fields_;
  3196. }
  3197. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3198. return &_unknown_fields_;
  3199. }
  3200. static const ::google::protobuf::Descriptor* descriptor();
  3201. static const packetw2c_timer_update& default_instance();
  3202. void Swap(packetw2c_timer_update* other);
  3203. // implements Message ----------------------------------------------
  3204. packetw2c_timer_update* New() const;
  3205. void CopyFrom(const ::google::protobuf::Message& from);
  3206. void MergeFrom(const ::google::protobuf::Message& from);
  3207. void CopyFrom(const packetw2c_timer_update& from);
  3208. void MergeFrom(const packetw2c_timer_update& from);
  3209. void Clear();
  3210. bool IsInitialized() const;
  3211. int ByteSize() const;
  3212. bool MergePartialFromCodedStream(
  3213. ::google::protobuf::io::CodedInputStream* input);
  3214. void SerializeWithCachedSizes(
  3215. ::google::protobuf::io::CodedOutputStream* output) const;
  3216. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3217. int GetCachedSize() const { return _cached_size_; }
  3218. private:
  3219. void SharedCtor();
  3220. void SharedDtor();
  3221. void SetCachedSize(int size) const;
  3222. public:
  3223. ::google::protobuf::Metadata GetMetadata() const;
  3224. // nested types ----------------------------------------------------
  3225. // accessors -------------------------------------------------------
  3226. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  3227. inline bool has_packet_id() const;
  3228. inline void clear_packet_id();
  3229. static const int kPacketIdFieldNumber = 1;
  3230. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3231. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3232. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_timer_update)
  3233. private:
  3234. inline void set_has_packet_id();
  3235. inline void clear_has_packet_id();
  3236. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3237. int packet_id_;
  3238. mutable int _cached_size_;
  3239. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  3240. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3241. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3242. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3243. void InitAsDefaultInstance();
  3244. static packetw2c_timer_update* default_instance_;
  3245. };
  3246. // -------------------------------------------------------------------
  3247. class recordInfo : public ::google::protobuf::Message {
  3248. public:
  3249. recordInfo();
  3250. virtual ~recordInfo();
  3251. recordInfo(const recordInfo& from);
  3252. inline recordInfo& operator=(const recordInfo& from) {
  3253. CopyFrom(from);
  3254. return *this;
  3255. }
  3256. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3257. return _unknown_fields_;
  3258. }
  3259. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3260. return &_unknown_fields_;
  3261. }
  3262. static const ::google::protobuf::Descriptor* descriptor();
  3263. static const recordInfo& default_instance();
  3264. void Swap(recordInfo* other);
  3265. // implements Message ----------------------------------------------
  3266. recordInfo* New() const;
  3267. void CopyFrom(const ::google::protobuf::Message& from);
  3268. void MergeFrom(const ::google::protobuf::Message& from);
  3269. void CopyFrom(const recordInfo& from);
  3270. void MergeFrom(const recordInfo& from);
  3271. void Clear();
  3272. bool IsInitialized() const;
  3273. int ByteSize() const;
  3274. bool MergePartialFromCodedStream(
  3275. ::google::protobuf::io::CodedInputStream* input);
  3276. void SerializeWithCachedSizes(
  3277. ::google::protobuf::io::CodedOutputStream* output) const;
  3278. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3279. int GetCachedSize() const { return _cached_size_; }
  3280. private:
  3281. void SharedCtor();
  3282. void SharedDtor();
  3283. void SetCachedSize(int size) const;
  3284. public:
  3285. ::google::protobuf::Metadata GetMetadata() const;
  3286. // nested types ----------------------------------------------------
  3287. // accessors -------------------------------------------------------
  3288. // optional int32 type = 1;
  3289. inline bool has_type() const;
  3290. inline void clear_type();
  3291. static const int kTypeFieldNumber = 1;
  3292. inline ::google::protobuf::int32 type() const;
  3293. inline void set_type(::google::protobuf::int32 value);
  3294. // optional int32 param = 2;
  3295. inline bool has_param() const;
  3296. inline void clear_param();
  3297. static const int kParamFieldNumber = 2;
  3298. inline ::google::protobuf::int32 param() const;
  3299. inline void set_param(::google::protobuf::int32 value);
  3300. // optional int32 count = 3;
  3301. inline bool has_count() const;
  3302. inline void clear_count();
  3303. static const int kCountFieldNumber = 3;
  3304. inline ::google::protobuf::int32 count() const;
  3305. inline void set_count(::google::protobuf::int32 value);
  3306. // @@protoc_insertion_point(class_scope:client2world_protocols.recordInfo)
  3307. private:
  3308. inline void set_has_type();
  3309. inline void clear_has_type();
  3310. inline void set_has_param();
  3311. inline void clear_has_param();
  3312. inline void set_has_count();
  3313. inline void clear_has_count();
  3314. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3315. ::google::protobuf::int32 type_;
  3316. ::google::protobuf::int32 param_;
  3317. ::google::protobuf::int32 count_;
  3318. mutable int _cached_size_;
  3319. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3320. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3321. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3322. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3323. void InitAsDefaultInstance();
  3324. static recordInfo* default_instance_;
  3325. };
  3326. // -------------------------------------------------------------------
  3327. class packetc2w_syn_record_info : public ::google::protobuf::Message {
  3328. public:
  3329. packetc2w_syn_record_info();
  3330. virtual ~packetc2w_syn_record_info();
  3331. packetc2w_syn_record_info(const packetc2w_syn_record_info& from);
  3332. inline packetc2w_syn_record_info& operator=(const packetc2w_syn_record_info& from) {
  3333. CopyFrom(from);
  3334. return *this;
  3335. }
  3336. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3337. return _unknown_fields_;
  3338. }
  3339. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3340. return &_unknown_fields_;
  3341. }
  3342. static const ::google::protobuf::Descriptor* descriptor();
  3343. static const packetc2w_syn_record_info& default_instance();
  3344. void Swap(packetc2w_syn_record_info* other);
  3345. // implements Message ----------------------------------------------
  3346. packetc2w_syn_record_info* New() const;
  3347. void CopyFrom(const ::google::protobuf::Message& from);
  3348. void MergeFrom(const ::google::protobuf::Message& from);
  3349. void CopyFrom(const packetc2w_syn_record_info& from);
  3350. void MergeFrom(const packetc2w_syn_record_info& from);
  3351. void Clear();
  3352. bool IsInitialized() const;
  3353. int ByteSize() const;
  3354. bool MergePartialFromCodedStream(
  3355. ::google::protobuf::io::CodedInputStream* input);
  3356. void SerializeWithCachedSizes(
  3357. ::google::protobuf::io::CodedOutputStream* output) const;
  3358. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3359. int GetCachedSize() const { return _cached_size_; }
  3360. private:
  3361. void SharedCtor();
  3362. void SharedDtor();
  3363. void SetCachedSize(int size) const;
  3364. public:
  3365. ::google::protobuf::Metadata GetMetadata() const;
  3366. // nested types ----------------------------------------------------
  3367. // accessors -------------------------------------------------------
  3368. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_info];
  3369. inline bool has_packet_id() const;
  3370. inline void clear_packet_id();
  3371. static const int kPacketIdFieldNumber = 1;
  3372. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3373. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3374. // repeated .client2world_protocols.recordInfo recordList = 2;
  3375. inline int recordlist_size() const;
  3376. inline void clear_recordlist();
  3377. static const int kRecordListFieldNumber = 2;
  3378. inline const ::client2world_protocols::recordInfo& recordlist(int index) const;
  3379. inline ::client2world_protocols::recordInfo* mutable_recordlist(int index);
  3380. inline ::client2world_protocols::recordInfo* add_recordlist();
  3381. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::recordInfo >&
  3382. recordlist() const;
  3383. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::recordInfo >*
  3384. mutable_recordlist();
  3385. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_syn_record_info)
  3386. private:
  3387. inline void set_has_packet_id();
  3388. inline void clear_has_packet_id();
  3389. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3390. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::recordInfo > recordlist_;
  3391. int packet_id_;
  3392. mutable int _cached_size_;
  3393. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  3394. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3395. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3396. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3397. void InitAsDefaultInstance();
  3398. static packetc2w_syn_record_info* default_instance_;
  3399. };
  3400. // -------------------------------------------------------------------
  3401. class packetc2w_pay_by_diamond : public ::google::protobuf::Message {
  3402. public:
  3403. packetc2w_pay_by_diamond();
  3404. virtual ~packetc2w_pay_by_diamond();
  3405. packetc2w_pay_by_diamond(const packetc2w_pay_by_diamond& from);
  3406. inline packetc2w_pay_by_diamond& operator=(const packetc2w_pay_by_diamond& from) {
  3407. CopyFrom(from);
  3408. return *this;
  3409. }
  3410. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3411. return _unknown_fields_;
  3412. }
  3413. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3414. return &_unknown_fields_;
  3415. }
  3416. static const ::google::protobuf::Descriptor* descriptor();
  3417. static const packetc2w_pay_by_diamond& default_instance();
  3418. void Swap(packetc2w_pay_by_diamond* other);
  3419. // implements Message ----------------------------------------------
  3420. packetc2w_pay_by_diamond* New() const;
  3421. void CopyFrom(const ::google::protobuf::Message& from);
  3422. void MergeFrom(const ::google::protobuf::Message& from);
  3423. void CopyFrom(const packetc2w_pay_by_diamond& from);
  3424. void MergeFrom(const packetc2w_pay_by_diamond& from);
  3425. void Clear();
  3426. bool IsInitialized() const;
  3427. int ByteSize() const;
  3428. bool MergePartialFromCodedStream(
  3429. ::google::protobuf::io::CodedInputStream* input);
  3430. void SerializeWithCachedSizes(
  3431. ::google::protobuf::io::CodedOutputStream* output) const;
  3432. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3433. int GetCachedSize() const { return _cached_size_; }
  3434. private:
  3435. void SharedCtor();
  3436. void SharedDtor();
  3437. void SetCachedSize(int size) const;
  3438. public:
  3439. ::google::protobuf::Metadata GetMetadata() const;
  3440. // nested types ----------------------------------------------------
  3441. // accessors -------------------------------------------------------
  3442. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
  3443. inline bool has_packet_id() const;
  3444. inline void clear_packet_id();
  3445. static const int kPacketIdFieldNumber = 1;
  3446. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3447. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3448. // optional int32 payid = 2;
  3449. inline bool has_payid() const;
  3450. inline void clear_payid();
  3451. static const int kPayidFieldNumber = 2;
  3452. inline ::google::protobuf::int32 payid() const;
  3453. inline void set_payid(::google::protobuf::int32 value);
  3454. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_pay_by_diamond)
  3455. private:
  3456. inline void set_has_packet_id();
  3457. inline void clear_has_packet_id();
  3458. inline void set_has_payid();
  3459. inline void clear_has_payid();
  3460. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3461. int packet_id_;
  3462. ::google::protobuf::int32 payid_;
  3463. mutable int _cached_size_;
  3464. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  3465. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3466. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3467. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3468. void InitAsDefaultInstance();
  3469. static packetc2w_pay_by_diamond* default_instance_;
  3470. };
  3471. // -------------------------------------------------------------------
  3472. class packetw2c_pay_by_diamond_result : public ::google::protobuf::Message {
  3473. public:
  3474. packetw2c_pay_by_diamond_result();
  3475. virtual ~packetw2c_pay_by_diamond_result();
  3476. packetw2c_pay_by_diamond_result(const packetw2c_pay_by_diamond_result& from);
  3477. inline packetw2c_pay_by_diamond_result& operator=(const packetw2c_pay_by_diamond_result& from) {
  3478. CopyFrom(from);
  3479. return *this;
  3480. }
  3481. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3482. return _unknown_fields_;
  3483. }
  3484. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3485. return &_unknown_fields_;
  3486. }
  3487. static const ::google::protobuf::Descriptor* descriptor();
  3488. static const packetw2c_pay_by_diamond_result& default_instance();
  3489. void Swap(packetw2c_pay_by_diamond_result* other);
  3490. // implements Message ----------------------------------------------
  3491. packetw2c_pay_by_diamond_result* New() const;
  3492. void CopyFrom(const ::google::protobuf::Message& from);
  3493. void MergeFrom(const ::google::protobuf::Message& from);
  3494. void CopyFrom(const packetw2c_pay_by_diamond_result& from);
  3495. void MergeFrom(const packetw2c_pay_by_diamond_result& from);
  3496. void Clear();
  3497. bool IsInitialized() const;
  3498. int ByteSize() const;
  3499. bool MergePartialFromCodedStream(
  3500. ::google::protobuf::io::CodedInputStream* input);
  3501. void SerializeWithCachedSizes(
  3502. ::google::protobuf::io::CodedOutputStream* output) const;
  3503. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3504. int GetCachedSize() const { return _cached_size_; }
  3505. private:
  3506. void SharedCtor();
  3507. void SharedDtor();
  3508. void SetCachedSize(int size) const;
  3509. public:
  3510. ::google::protobuf::Metadata GetMetadata() const;
  3511. // nested types ----------------------------------------------------
  3512. // accessors -------------------------------------------------------
  3513. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_result];
  3514. inline bool has_packet_id() const;
  3515. inline void clear_packet_id();
  3516. static const int kPacketIdFieldNumber = 1;
  3517. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3518. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3519. // optional int32 result = 2;
  3520. inline bool has_result() const;
  3521. inline void clear_result();
  3522. static const int kResultFieldNumber = 2;
  3523. inline ::google::protobuf::int32 result() const;
  3524. inline void set_result(::google::protobuf::int32 value);
  3525. // optional int32 payid = 3;
  3526. inline bool has_payid() const;
  3527. inline void clear_payid();
  3528. static const int kPayidFieldNumber = 3;
  3529. inline ::google::protobuf::int32 payid() const;
  3530. inline void set_payid(::google::protobuf::int32 value);
  3531. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_pay_by_diamond_result)
  3532. private:
  3533. inline void set_has_packet_id();
  3534. inline void clear_has_packet_id();
  3535. inline void set_has_result();
  3536. inline void clear_has_result();
  3537. inline void set_has_payid();
  3538. inline void clear_has_payid();
  3539. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3540. int packet_id_;
  3541. ::google::protobuf::int32 result_;
  3542. ::google::protobuf::int32 payid_;
  3543. mutable int _cached_size_;
  3544. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3545. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3546. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3547. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3548. void InitAsDefaultInstance();
  3549. static packetw2c_pay_by_diamond_result* default_instance_;
  3550. };
  3551. // -------------------------------------------------------------------
  3552. class packetc2w_exchange_vip_item : public ::google::protobuf::Message {
  3553. public:
  3554. packetc2w_exchange_vip_item();
  3555. virtual ~packetc2w_exchange_vip_item();
  3556. packetc2w_exchange_vip_item(const packetc2w_exchange_vip_item& from);
  3557. inline packetc2w_exchange_vip_item& operator=(const packetc2w_exchange_vip_item& from) {
  3558. CopyFrom(from);
  3559. return *this;
  3560. }
  3561. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3562. return _unknown_fields_;
  3563. }
  3564. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3565. return &_unknown_fields_;
  3566. }
  3567. static const ::google::protobuf::Descriptor* descriptor();
  3568. static const packetc2w_exchange_vip_item& default_instance();
  3569. void Swap(packetc2w_exchange_vip_item* other);
  3570. // implements Message ----------------------------------------------
  3571. packetc2w_exchange_vip_item* New() const;
  3572. void CopyFrom(const ::google::protobuf::Message& from);
  3573. void MergeFrom(const ::google::protobuf::Message& from);
  3574. void CopyFrom(const packetc2w_exchange_vip_item& from);
  3575. void MergeFrom(const packetc2w_exchange_vip_item& from);
  3576. void Clear();
  3577. bool IsInitialized() const;
  3578. int ByteSize() const;
  3579. bool MergePartialFromCodedStream(
  3580. ::google::protobuf::io::CodedInputStream* input);
  3581. void SerializeWithCachedSizes(
  3582. ::google::protobuf::io::CodedOutputStream* output) const;
  3583. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3584. int GetCachedSize() const { return _cached_size_; }
  3585. private:
  3586. void SharedCtor();
  3587. void SharedDtor();
  3588. void SetCachedSize(int size) const;
  3589. public:
  3590. ::google::protobuf::Metadata GetMetadata() const;
  3591. // nested types ----------------------------------------------------
  3592. // accessors -------------------------------------------------------
  3593. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
  3594. inline bool has_packet_id() const;
  3595. inline void clear_packet_id();
  3596. static const int kPacketIdFieldNumber = 1;
  3597. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3598. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3599. // optional int32 index = 2;
  3600. inline bool has_index() const;
  3601. inline void clear_index();
  3602. static const int kIndexFieldNumber = 2;
  3603. inline ::google::protobuf::int32 index() const;
  3604. inline void set_index(::google::protobuf::int32 value);
  3605. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_exchange_vip_item)
  3606. private:
  3607. inline void set_has_packet_id();
  3608. inline void clear_has_packet_id();
  3609. inline void set_has_index();
  3610. inline void clear_has_index();
  3611. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3612. int packet_id_;
  3613. ::google::protobuf::int32 index_;
  3614. mutable int _cached_size_;
  3615. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  3616. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3617. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3618. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3619. void InitAsDefaultInstance();
  3620. static packetc2w_exchange_vip_item* default_instance_;
  3621. };
  3622. // -------------------------------------------------------------------
  3623. class packetw2c_exchange_vip_item_result : public ::google::protobuf::Message {
  3624. public:
  3625. packetw2c_exchange_vip_item_result();
  3626. virtual ~packetw2c_exchange_vip_item_result();
  3627. packetw2c_exchange_vip_item_result(const packetw2c_exchange_vip_item_result& from);
  3628. inline packetw2c_exchange_vip_item_result& operator=(const packetw2c_exchange_vip_item_result& from) {
  3629. CopyFrom(from);
  3630. return *this;
  3631. }
  3632. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3633. return _unknown_fields_;
  3634. }
  3635. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3636. return &_unknown_fields_;
  3637. }
  3638. static const ::google::protobuf::Descriptor* descriptor();
  3639. static const packetw2c_exchange_vip_item_result& default_instance();
  3640. void Swap(packetw2c_exchange_vip_item_result* other);
  3641. // implements Message ----------------------------------------------
  3642. packetw2c_exchange_vip_item_result* New() const;
  3643. void CopyFrom(const ::google::protobuf::Message& from);
  3644. void MergeFrom(const ::google::protobuf::Message& from);
  3645. void CopyFrom(const packetw2c_exchange_vip_item_result& from);
  3646. void MergeFrom(const packetw2c_exchange_vip_item_result& from);
  3647. void Clear();
  3648. bool IsInitialized() const;
  3649. int ByteSize() const;
  3650. bool MergePartialFromCodedStream(
  3651. ::google::protobuf::io::CodedInputStream* input);
  3652. void SerializeWithCachedSizes(
  3653. ::google::protobuf::io::CodedOutputStream* output) const;
  3654. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3655. int GetCachedSize() const { return _cached_size_; }
  3656. private:
  3657. void SharedCtor();
  3658. void SharedDtor();
  3659. void SetCachedSize(int size) const;
  3660. public:
  3661. ::google::protobuf::Metadata GetMetadata() const;
  3662. // nested types ----------------------------------------------------
  3663. // accessors -------------------------------------------------------
  3664. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_result];
  3665. inline bool has_packet_id() const;
  3666. inline void clear_packet_id();
  3667. static const int kPacketIdFieldNumber = 1;
  3668. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3669. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3670. // optional int32 result = 2;
  3671. inline bool has_result() const;
  3672. inline void clear_result();
  3673. static const int kResultFieldNumber = 2;
  3674. inline ::google::protobuf::int32 result() const;
  3675. inline void set_result(::google::protobuf::int32 value);
  3676. // optional int32 index = 3;
  3677. inline bool has_index() const;
  3678. inline void clear_index();
  3679. static const int kIndexFieldNumber = 3;
  3680. inline ::google::protobuf::int32 index() const;
  3681. inline void set_index(::google::protobuf::int32 value);
  3682. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_exchange_vip_item_result)
  3683. private:
  3684. inline void set_has_packet_id();
  3685. inline void clear_has_packet_id();
  3686. inline void set_has_result();
  3687. inline void clear_has_result();
  3688. inline void set_has_index();
  3689. inline void clear_has_index();
  3690. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3691. int packet_id_;
  3692. ::google::protobuf::int32 result_;
  3693. ::google::protobuf::int32 index_;
  3694. mutable int _cached_size_;
  3695. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3696. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3697. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3698. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3699. void InitAsDefaultInstance();
  3700. static packetw2c_exchange_vip_item_result* default_instance_;
  3701. };
  3702. // -------------------------------------------------------------------
  3703. class storeInfo : public ::google::protobuf::Message {
  3704. public:
  3705. storeInfo();
  3706. virtual ~storeInfo();
  3707. storeInfo(const storeInfo& from);
  3708. inline storeInfo& operator=(const storeInfo& from) {
  3709. CopyFrom(from);
  3710. return *this;
  3711. }
  3712. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3713. return _unknown_fields_;
  3714. }
  3715. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3716. return &_unknown_fields_;
  3717. }
  3718. static const ::google::protobuf::Descriptor* descriptor();
  3719. static const storeInfo& default_instance();
  3720. void Swap(storeInfo* other);
  3721. // implements Message ----------------------------------------------
  3722. storeInfo* New() const;
  3723. void CopyFrom(const ::google::protobuf::Message& from);
  3724. void MergeFrom(const ::google::protobuf::Message& from);
  3725. void CopyFrom(const storeInfo& from);
  3726. void MergeFrom(const storeInfo& from);
  3727. void Clear();
  3728. bool IsInitialized() const;
  3729. int ByteSize() const;
  3730. bool MergePartialFromCodedStream(
  3731. ::google::protobuf::io::CodedInputStream* input);
  3732. void SerializeWithCachedSizes(
  3733. ::google::protobuf::io::CodedOutputStream* output) const;
  3734. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3735. int GetCachedSize() const { return _cached_size_; }
  3736. private:
  3737. void SharedCtor();
  3738. void SharedDtor();
  3739. void SetCachedSize(int size) const;
  3740. public:
  3741. ::google::protobuf::Metadata GetMetadata() const;
  3742. // nested types ----------------------------------------------------
  3743. // accessors -------------------------------------------------------
  3744. // optional int32 id = 1;
  3745. inline bool has_id() const;
  3746. inline void clear_id();
  3747. static const int kIdFieldNumber = 1;
  3748. inline ::google::protobuf::int32 id() const;
  3749. inline void set_id(::google::protobuf::int32 value);
  3750. // optional int32 store = 2;
  3751. inline bool has_store() const;
  3752. inline void clear_store();
  3753. static const int kStoreFieldNumber = 2;
  3754. inline ::google::protobuf::int32 store() const;
  3755. inline void set_store(::google::protobuf::int32 value);
  3756. // @@protoc_insertion_point(class_scope:client2world_protocols.storeInfo)
  3757. private:
  3758. inline void set_has_id();
  3759. inline void clear_has_id();
  3760. inline void set_has_store();
  3761. inline void clear_has_store();
  3762. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3763. ::google::protobuf::int32 id_;
  3764. ::google::protobuf::int32 store_;
  3765. mutable int _cached_size_;
  3766. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  3767. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3768. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3769. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3770. void InitAsDefaultInstance();
  3771. static storeInfo* default_instance_;
  3772. };
  3773. // -------------------------------------------------------------------
  3774. class packet_c2w_sync_global_data : public ::google::protobuf::Message {
  3775. public:
  3776. packet_c2w_sync_global_data();
  3777. virtual ~packet_c2w_sync_global_data();
  3778. packet_c2w_sync_global_data(const packet_c2w_sync_global_data& from);
  3779. inline packet_c2w_sync_global_data& operator=(const packet_c2w_sync_global_data& from) {
  3780. CopyFrom(from);
  3781. return *this;
  3782. }
  3783. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3784. return _unknown_fields_;
  3785. }
  3786. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3787. return &_unknown_fields_;
  3788. }
  3789. static const ::google::protobuf::Descriptor* descriptor();
  3790. static const packet_c2w_sync_global_data& default_instance();
  3791. void Swap(packet_c2w_sync_global_data* other);
  3792. // implements Message ----------------------------------------------
  3793. packet_c2w_sync_global_data* New() const;
  3794. void CopyFrom(const ::google::protobuf::Message& from);
  3795. void MergeFrom(const ::google::protobuf::Message& from);
  3796. void CopyFrom(const packet_c2w_sync_global_data& from);
  3797. void MergeFrom(const packet_c2w_sync_global_data& from);
  3798. void Clear();
  3799. bool IsInitialized() const;
  3800. int ByteSize() const;
  3801. bool MergePartialFromCodedStream(
  3802. ::google::protobuf::io::CodedInputStream* input);
  3803. void SerializeWithCachedSizes(
  3804. ::google::protobuf::io::CodedOutputStream* output) const;
  3805. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3806. int GetCachedSize() const { return _cached_size_; }
  3807. private:
  3808. void SharedCtor();
  3809. void SharedDtor();
  3810. void SetCachedSize(int size) const;
  3811. public:
  3812. ::google::protobuf::Metadata GetMetadata() const;
  3813. // nested types ----------------------------------------------------
  3814. // accessors -------------------------------------------------------
  3815. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  3816. inline bool has_packet_id() const;
  3817. inline void clear_packet_id();
  3818. static const int kPacketIdFieldNumber = 1;
  3819. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3820. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3821. // @@protoc_insertion_point(class_scope:client2world_protocols.packet_c2w_sync_global_data)
  3822. private:
  3823. inline void set_has_packet_id();
  3824. inline void clear_has_packet_id();
  3825. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3826. int packet_id_;
  3827. mutable int _cached_size_;
  3828. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  3829. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3830. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3831. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3832. void InitAsDefaultInstance();
  3833. static packet_c2w_sync_global_data* default_instance_;
  3834. };
  3835. // -------------------------------------------------------------------
  3836. class packet_w2c_sync_global_data_result : public ::google::protobuf::Message {
  3837. public:
  3838. packet_w2c_sync_global_data_result();
  3839. virtual ~packet_w2c_sync_global_data_result();
  3840. packet_w2c_sync_global_data_result(const packet_w2c_sync_global_data_result& from);
  3841. inline packet_w2c_sync_global_data_result& operator=(const packet_w2c_sync_global_data_result& from) {
  3842. CopyFrom(from);
  3843. return *this;
  3844. }
  3845. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3846. return _unknown_fields_;
  3847. }
  3848. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3849. return &_unknown_fields_;
  3850. }
  3851. static const ::google::protobuf::Descriptor* descriptor();
  3852. static const packet_w2c_sync_global_data_result& default_instance();
  3853. void Swap(packet_w2c_sync_global_data_result* other);
  3854. // implements Message ----------------------------------------------
  3855. packet_w2c_sync_global_data_result* New() const;
  3856. void CopyFrom(const ::google::protobuf::Message& from);
  3857. void MergeFrom(const ::google::protobuf::Message& from);
  3858. void CopyFrom(const packet_w2c_sync_global_data_result& from);
  3859. void MergeFrom(const packet_w2c_sync_global_data_result& from);
  3860. void Clear();
  3861. bool IsInitialized() const;
  3862. int ByteSize() const;
  3863. bool MergePartialFromCodedStream(
  3864. ::google::protobuf::io::CodedInputStream* input);
  3865. void SerializeWithCachedSizes(
  3866. ::google::protobuf::io::CodedOutputStream* output) const;
  3867. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3868. int GetCachedSize() const { return _cached_size_; }
  3869. private:
  3870. void SharedCtor();
  3871. void SharedDtor();
  3872. void SetCachedSize(int size) const;
  3873. public:
  3874. ::google::protobuf::Metadata GetMetadata() const;
  3875. // nested types ----------------------------------------------------
  3876. // accessors -------------------------------------------------------
  3877. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_result];
  3878. inline bool has_packet_id() const;
  3879. inline void clear_packet_id();
  3880. static const int kPacketIdFieldNumber = 1;
  3881. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3882. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3883. // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  3884. inline int vipexchangestore_size() const;
  3885. inline void clear_vipexchangestore();
  3886. static const int kVipExchangeStoreFieldNumber = 2;
  3887. inline const ::client2world_protocols::storeInfo& vipexchangestore(int index) const;
  3888. inline ::client2world_protocols::storeInfo* mutable_vipexchangestore(int index);
  3889. inline ::client2world_protocols::storeInfo* add_vipexchangestore();
  3890. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::storeInfo >&
  3891. vipexchangestore() const;
  3892. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::storeInfo >*
  3893. mutable_vipexchangestore();
  3894. // optional int32 firstRechargeGiftPayCount = 3;
  3895. inline bool has_firstrechargegiftpaycount() const;
  3896. inline void clear_firstrechargegiftpaycount();
  3897. static const int kFirstRechargeGiftPayCountFieldNumber = 3;
  3898. inline ::google::protobuf::int32 firstrechargegiftpaycount() const;
  3899. inline void set_firstrechargegiftpaycount(::google::protobuf::int32 value);
  3900. // @@protoc_insertion_point(class_scope:client2world_protocols.packet_w2c_sync_global_data_result)
  3901. private:
  3902. inline void set_has_packet_id();
  3903. inline void clear_has_packet_id();
  3904. inline void set_has_firstrechargegiftpaycount();
  3905. inline void clear_has_firstrechargegiftpaycount();
  3906. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3907. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::storeInfo > vipexchangestore_;
  3908. int packet_id_;
  3909. ::google::protobuf::int32 firstrechargegiftpaycount_;
  3910. mutable int _cached_size_;
  3911. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3912. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3913. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3914. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3915. void InitAsDefaultInstance();
  3916. static packet_w2c_sync_global_data_result* default_instance_;
  3917. };
  3918. // -------------------------------------------------------------------
  3919. class packet_w2c_trigger_seven_day_rechage : public ::google::protobuf::Message {
  3920. public:
  3921. packet_w2c_trigger_seven_day_rechage();
  3922. virtual ~packet_w2c_trigger_seven_day_rechage();
  3923. packet_w2c_trigger_seven_day_rechage(const packet_w2c_trigger_seven_day_rechage& from);
  3924. inline packet_w2c_trigger_seven_day_rechage& operator=(const packet_w2c_trigger_seven_day_rechage& from) {
  3925. CopyFrom(from);
  3926. return *this;
  3927. }
  3928. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  3929. return _unknown_fields_;
  3930. }
  3931. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  3932. return &_unknown_fields_;
  3933. }
  3934. static const ::google::protobuf::Descriptor* descriptor();
  3935. static const packet_w2c_trigger_seven_day_rechage& default_instance();
  3936. void Swap(packet_w2c_trigger_seven_day_rechage* other);
  3937. // implements Message ----------------------------------------------
  3938. packet_w2c_trigger_seven_day_rechage* New() const;
  3939. void CopyFrom(const ::google::protobuf::Message& from);
  3940. void MergeFrom(const ::google::protobuf::Message& from);
  3941. void CopyFrom(const packet_w2c_trigger_seven_day_rechage& from);
  3942. void MergeFrom(const packet_w2c_trigger_seven_day_rechage& from);
  3943. void Clear();
  3944. bool IsInitialized() const;
  3945. int ByteSize() const;
  3946. bool MergePartialFromCodedStream(
  3947. ::google::protobuf::io::CodedInputStream* input);
  3948. void SerializeWithCachedSizes(
  3949. ::google::protobuf::io::CodedOutputStream* output) const;
  3950. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  3951. int GetCachedSize() const { return _cached_size_; }
  3952. private:
  3953. void SharedCtor();
  3954. void SharedDtor();
  3955. void SetCachedSize(int size) const;
  3956. public:
  3957. ::google::protobuf::Metadata GetMetadata() const;
  3958. // nested types ----------------------------------------------------
  3959. // accessors -------------------------------------------------------
  3960. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
  3961. inline bool has_packet_id() const;
  3962. inline void clear_packet_id();
  3963. static const int kPacketIdFieldNumber = 1;
  3964. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  3965. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  3966. // optional int32 endTime = 2;
  3967. inline bool has_endtime() const;
  3968. inline void clear_endtime();
  3969. static const int kEndTimeFieldNumber = 2;
  3970. inline ::google::protobuf::int32 endtime() const;
  3971. inline void set_endtime(::google::protobuf::int32 value);
  3972. // optional int32 leftsecond = 3;
  3973. inline bool has_leftsecond() const;
  3974. inline void clear_leftsecond();
  3975. static const int kLeftsecondFieldNumber = 3;
  3976. inline ::google::protobuf::int32 leftsecond() const;
  3977. inline void set_leftsecond(::google::protobuf::int32 value);
  3978. // @@protoc_insertion_point(class_scope:client2world_protocols.packet_w2c_trigger_seven_day_rechage)
  3979. private:
  3980. inline void set_has_packet_id();
  3981. inline void clear_has_packet_id();
  3982. inline void set_has_endtime();
  3983. inline void clear_has_endtime();
  3984. inline void set_has_leftsecond();
  3985. inline void clear_has_leftsecond();
  3986. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  3987. int packet_id_;
  3988. ::google::protobuf::int32 endtime_;
  3989. ::google::protobuf::int32 leftsecond_;
  3990. mutable int _cached_size_;
  3991. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  3992. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3993. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  3994. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  3995. void InitAsDefaultInstance();
  3996. static packet_w2c_trigger_seven_day_rechage* default_instance_;
  3997. };
  3998. // -------------------------------------------------------------------
  3999. class treasureItem : public ::google::protobuf::Message {
  4000. public:
  4001. treasureItem();
  4002. virtual ~treasureItem();
  4003. treasureItem(const treasureItem& from);
  4004. inline treasureItem& operator=(const treasureItem& from) {
  4005. CopyFrom(from);
  4006. return *this;
  4007. }
  4008. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4009. return _unknown_fields_;
  4010. }
  4011. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4012. return &_unknown_fields_;
  4013. }
  4014. static const ::google::protobuf::Descriptor* descriptor();
  4015. static const treasureItem& default_instance();
  4016. void Swap(treasureItem* other);
  4017. // implements Message ----------------------------------------------
  4018. treasureItem* New() const;
  4019. void CopyFrom(const ::google::protobuf::Message& from);
  4020. void MergeFrom(const ::google::protobuf::Message& from);
  4021. void CopyFrom(const treasureItem& from);
  4022. void MergeFrom(const treasureItem& from);
  4023. void Clear();
  4024. bool IsInitialized() const;
  4025. int ByteSize() const;
  4026. bool MergePartialFromCodedStream(
  4027. ::google::protobuf::io::CodedInputStream* input);
  4028. void SerializeWithCachedSizes(
  4029. ::google::protobuf::io::CodedOutputStream* output) const;
  4030. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4031. int GetCachedSize() const { return _cached_size_; }
  4032. private:
  4033. void SharedCtor();
  4034. void SharedDtor();
  4035. void SetCachedSize(int size) const;
  4036. public:
  4037. ::google::protobuf::Metadata GetMetadata() const;
  4038. // nested types ----------------------------------------------------
  4039. // accessors -------------------------------------------------------
  4040. // optional int32 index = 1;
  4041. inline bool has_index() const;
  4042. inline void clear_index();
  4043. static const int kIndexFieldNumber = 1;
  4044. inline ::google::protobuf::int32 index() const;
  4045. inline void set_index(::google::protobuf::int32 value);
  4046. // optional int32 itemId = 2;
  4047. inline bool has_itemid() const;
  4048. inline void clear_itemid();
  4049. static const int kItemIdFieldNumber = 2;
  4050. inline ::google::protobuf::int32 itemid() const;
  4051. inline void set_itemid(::google::protobuf::int32 value);
  4052. // optional int32 itemCount = 3;
  4053. inline bool has_itemcount() const;
  4054. inline void clear_itemcount();
  4055. static const int kItemCountFieldNumber = 3;
  4056. inline ::google::protobuf::int32 itemcount() const;
  4057. inline void set_itemcount(::google::protobuf::int32 value);
  4058. // @@protoc_insertion_point(class_scope:client2world_protocols.treasureItem)
  4059. private:
  4060. inline void set_has_index();
  4061. inline void clear_has_index();
  4062. inline void set_has_itemid();
  4063. inline void clear_has_itemid();
  4064. inline void set_has_itemcount();
  4065. inline void clear_has_itemcount();
  4066. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4067. ::google::protobuf::int32 index_;
  4068. ::google::protobuf::int32 itemid_;
  4069. ::google::protobuf::int32 itemcount_;
  4070. mutable int _cached_size_;
  4071. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  4072. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4073. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4074. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4075. void InitAsDefaultInstance();
  4076. static treasureItem* default_instance_;
  4077. };
  4078. // -------------------------------------------------------------------
  4079. class packetw2c_trigger_daily_treasure : public ::google::protobuf::Message {
  4080. public:
  4081. packetw2c_trigger_daily_treasure();
  4082. virtual ~packetw2c_trigger_daily_treasure();
  4083. packetw2c_trigger_daily_treasure(const packetw2c_trigger_daily_treasure& from);
  4084. inline packetw2c_trigger_daily_treasure& operator=(const packetw2c_trigger_daily_treasure& from) {
  4085. CopyFrom(from);
  4086. return *this;
  4087. }
  4088. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4089. return _unknown_fields_;
  4090. }
  4091. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4092. return &_unknown_fields_;
  4093. }
  4094. static const ::google::protobuf::Descriptor* descriptor();
  4095. static const packetw2c_trigger_daily_treasure& default_instance();
  4096. void Swap(packetw2c_trigger_daily_treasure* other);
  4097. // implements Message ----------------------------------------------
  4098. packetw2c_trigger_daily_treasure* New() const;
  4099. void CopyFrom(const ::google::protobuf::Message& from);
  4100. void MergeFrom(const ::google::protobuf::Message& from);
  4101. void CopyFrom(const packetw2c_trigger_daily_treasure& from);
  4102. void MergeFrom(const packetw2c_trigger_daily_treasure& from);
  4103. void Clear();
  4104. bool IsInitialized() const;
  4105. int ByteSize() const;
  4106. bool MergePartialFromCodedStream(
  4107. ::google::protobuf::io::CodedInputStream* input);
  4108. void SerializeWithCachedSizes(
  4109. ::google::protobuf::io::CodedOutputStream* output) const;
  4110. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4111. int GetCachedSize() const { return _cached_size_; }
  4112. private:
  4113. void SharedCtor();
  4114. void SharedDtor();
  4115. void SetCachedSize(int size) const;
  4116. public:
  4117. ::google::protobuf::Metadata GetMetadata() const;
  4118. // nested types ----------------------------------------------------
  4119. // accessors -------------------------------------------------------
  4120. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  4121. inline bool has_packet_id() const;
  4122. inline void clear_packet_id();
  4123. static const int kPacketIdFieldNumber = 1;
  4124. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4125. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4126. // optional int32 giftId = 2;
  4127. inline bool has_giftid() const;
  4128. inline void clear_giftid();
  4129. static const int kGiftIdFieldNumber = 2;
  4130. inline ::google::protobuf::int32 giftid() const;
  4131. inline void set_giftid(::google::protobuf::int32 value);
  4132. // optional int32 resetCard = 3;
  4133. inline bool has_resetcard() const;
  4134. inline void clear_resetcard();
  4135. static const int kResetCardFieldNumber = 3;
  4136. inline ::google::protobuf::int32 resetcard() const;
  4137. inline void set_resetcard(::google::protobuf::int32 value);
  4138. // repeated .client2world_protocols.treasureItem treasureList = 4;
  4139. inline int treasurelist_size() const;
  4140. inline void clear_treasurelist();
  4141. static const int kTreasureListFieldNumber = 4;
  4142. inline const ::client2world_protocols::treasureItem& treasurelist(int index) const;
  4143. inline ::client2world_protocols::treasureItem* mutable_treasurelist(int index);
  4144. inline ::client2world_protocols::treasureItem* add_treasurelist();
  4145. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >&
  4146. treasurelist() const;
  4147. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >*
  4148. mutable_treasurelist();
  4149. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_trigger_daily_treasure)
  4150. private:
  4151. inline void set_has_packet_id();
  4152. inline void clear_has_packet_id();
  4153. inline void set_has_giftid();
  4154. inline void clear_has_giftid();
  4155. inline void set_has_resetcard();
  4156. inline void clear_has_resetcard();
  4157. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4158. int packet_id_;
  4159. ::google::protobuf::int32 giftid_;
  4160. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem > treasurelist_;
  4161. ::google::protobuf::int32 resetcard_;
  4162. mutable int _cached_size_;
  4163. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  4164. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4165. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4166. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4167. void InitAsDefaultInstance();
  4168. static packetw2c_trigger_daily_treasure* default_instance_;
  4169. };
  4170. // -------------------------------------------------------------------
  4171. class packetc2w_daily_treasure_lottery : public ::google::protobuf::Message {
  4172. public:
  4173. packetc2w_daily_treasure_lottery();
  4174. virtual ~packetc2w_daily_treasure_lottery();
  4175. packetc2w_daily_treasure_lottery(const packetc2w_daily_treasure_lottery& from);
  4176. inline packetc2w_daily_treasure_lottery& operator=(const packetc2w_daily_treasure_lottery& from) {
  4177. CopyFrom(from);
  4178. return *this;
  4179. }
  4180. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4181. return _unknown_fields_;
  4182. }
  4183. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4184. return &_unknown_fields_;
  4185. }
  4186. static const ::google::protobuf::Descriptor* descriptor();
  4187. static const packetc2w_daily_treasure_lottery& default_instance();
  4188. void Swap(packetc2w_daily_treasure_lottery* other);
  4189. // implements Message ----------------------------------------------
  4190. packetc2w_daily_treasure_lottery* New() const;
  4191. void CopyFrom(const ::google::protobuf::Message& from);
  4192. void MergeFrom(const ::google::protobuf::Message& from);
  4193. void CopyFrom(const packetc2w_daily_treasure_lottery& from);
  4194. void MergeFrom(const packetc2w_daily_treasure_lottery& from);
  4195. void Clear();
  4196. bool IsInitialized() const;
  4197. int ByteSize() const;
  4198. bool MergePartialFromCodedStream(
  4199. ::google::protobuf::io::CodedInputStream* input);
  4200. void SerializeWithCachedSizes(
  4201. ::google::protobuf::io::CodedOutputStream* output) const;
  4202. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4203. int GetCachedSize() const { return _cached_size_; }
  4204. private:
  4205. void SharedCtor();
  4206. void SharedDtor();
  4207. void SetCachedSize(int size) const;
  4208. public:
  4209. ::google::protobuf::Metadata GetMetadata() const;
  4210. // nested types ----------------------------------------------------
  4211. // accessors -------------------------------------------------------
  4212. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  4213. inline bool has_packet_id() const;
  4214. inline void clear_packet_id();
  4215. static const int kPacketIdFieldNumber = 1;
  4216. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4217. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4218. // optional int32 index = 2;
  4219. inline bool has_index() const;
  4220. inline void clear_index();
  4221. static const int kIndexFieldNumber = 2;
  4222. inline ::google::protobuf::int32 index() const;
  4223. inline void set_index(::google::protobuf::int32 value);
  4224. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_daily_treasure_lottery)
  4225. private:
  4226. inline void set_has_packet_id();
  4227. inline void clear_has_packet_id();
  4228. inline void set_has_index();
  4229. inline void clear_has_index();
  4230. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4231. int packet_id_;
  4232. ::google::protobuf::int32 index_;
  4233. mutable int _cached_size_;
  4234. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  4235. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4236. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4237. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4238. void InitAsDefaultInstance();
  4239. static packetc2w_daily_treasure_lottery* default_instance_;
  4240. };
  4241. // -------------------------------------------------------------------
  4242. class packetw2c_daily_treasure_lottery_result : public ::google::protobuf::Message {
  4243. public:
  4244. packetw2c_daily_treasure_lottery_result();
  4245. virtual ~packetw2c_daily_treasure_lottery_result();
  4246. packetw2c_daily_treasure_lottery_result(const packetw2c_daily_treasure_lottery_result& from);
  4247. inline packetw2c_daily_treasure_lottery_result& operator=(const packetw2c_daily_treasure_lottery_result& from) {
  4248. CopyFrom(from);
  4249. return *this;
  4250. }
  4251. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4252. return _unknown_fields_;
  4253. }
  4254. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4255. return &_unknown_fields_;
  4256. }
  4257. static const ::google::protobuf::Descriptor* descriptor();
  4258. static const packetw2c_daily_treasure_lottery_result& default_instance();
  4259. void Swap(packetw2c_daily_treasure_lottery_result* other);
  4260. // implements Message ----------------------------------------------
  4261. packetw2c_daily_treasure_lottery_result* New() const;
  4262. void CopyFrom(const ::google::protobuf::Message& from);
  4263. void MergeFrom(const ::google::protobuf::Message& from);
  4264. void CopyFrom(const packetw2c_daily_treasure_lottery_result& from);
  4265. void MergeFrom(const packetw2c_daily_treasure_lottery_result& from);
  4266. void Clear();
  4267. bool IsInitialized() const;
  4268. int ByteSize() const;
  4269. bool MergePartialFromCodedStream(
  4270. ::google::protobuf::io::CodedInputStream* input);
  4271. void SerializeWithCachedSizes(
  4272. ::google::protobuf::io::CodedOutputStream* output) const;
  4273. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4274. int GetCachedSize() const { return _cached_size_; }
  4275. private:
  4276. void SharedCtor();
  4277. void SharedDtor();
  4278. void SetCachedSize(int size) const;
  4279. public:
  4280. ::google::protobuf::Metadata GetMetadata() const;
  4281. // nested types ----------------------------------------------------
  4282. // accessors -------------------------------------------------------
  4283. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_result];
  4284. inline bool has_packet_id() const;
  4285. inline void clear_packet_id();
  4286. static const int kPacketIdFieldNumber = 1;
  4287. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4288. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4289. // optional int32 result = 2;
  4290. inline bool has_result() const;
  4291. inline void clear_result();
  4292. static const int kResultFieldNumber = 2;
  4293. inline ::google::protobuf::int32 result() const;
  4294. inline void set_result(::google::protobuf::int32 value);
  4295. // optional int32 index = 3;
  4296. inline bool has_index() const;
  4297. inline void clear_index();
  4298. static const int kIndexFieldNumber = 3;
  4299. inline ::google::protobuf::int32 index() const;
  4300. inline void set_index(::google::protobuf::int32 value);
  4301. // optional int32 randCount = 4;
  4302. inline bool has_randcount() const;
  4303. inline void clear_randcount();
  4304. static const int kRandCountFieldNumber = 4;
  4305. inline ::google::protobuf::int32 randcount() const;
  4306. inline void set_randcount(::google::protobuf::int32 value);
  4307. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_daily_treasure_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_index();
  4314. inline void clear_has_index();
  4315. inline void set_has_randcount();
  4316. inline void clear_has_randcount();
  4317. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4318. int packet_id_;
  4319. ::google::protobuf::int32 result_;
  4320. ::google::protobuf::int32 index_;
  4321. ::google::protobuf::int32 randcount_;
  4322. mutable int _cached_size_;
  4323. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  4324. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4325. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4326. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4327. void InitAsDefaultInstance();
  4328. static packetw2c_daily_treasure_lottery_result* default_instance_;
  4329. };
  4330. // -------------------------------------------------------------------
  4331. class packetc2w_receive_treasure_lottery : public ::google::protobuf::Message {
  4332. public:
  4333. packetc2w_receive_treasure_lottery();
  4334. virtual ~packetc2w_receive_treasure_lottery();
  4335. packetc2w_receive_treasure_lottery(const packetc2w_receive_treasure_lottery& from);
  4336. inline packetc2w_receive_treasure_lottery& operator=(const packetc2w_receive_treasure_lottery& from) {
  4337. CopyFrom(from);
  4338. return *this;
  4339. }
  4340. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4341. return _unknown_fields_;
  4342. }
  4343. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4344. return &_unknown_fields_;
  4345. }
  4346. static const ::google::protobuf::Descriptor* descriptor();
  4347. static const packetc2w_receive_treasure_lottery& default_instance();
  4348. void Swap(packetc2w_receive_treasure_lottery* other);
  4349. // implements Message ----------------------------------------------
  4350. packetc2w_receive_treasure_lottery* New() const;
  4351. void CopyFrom(const ::google::protobuf::Message& from);
  4352. void MergeFrom(const ::google::protobuf::Message& from);
  4353. void CopyFrom(const packetc2w_receive_treasure_lottery& from);
  4354. void MergeFrom(const packetc2w_receive_treasure_lottery& from);
  4355. void Clear();
  4356. bool IsInitialized() const;
  4357. int ByteSize() const;
  4358. bool MergePartialFromCodedStream(
  4359. ::google::protobuf::io::CodedInputStream* input);
  4360. void SerializeWithCachedSizes(
  4361. ::google::protobuf::io::CodedOutputStream* output) const;
  4362. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4363. int GetCachedSize() const { return _cached_size_; }
  4364. private:
  4365. void SharedCtor();
  4366. void SharedDtor();
  4367. void SetCachedSize(int size) const;
  4368. public:
  4369. ::google::protobuf::Metadata GetMetadata() const;
  4370. // nested types ----------------------------------------------------
  4371. // accessors -------------------------------------------------------
  4372. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  4373. inline bool has_packet_id() const;
  4374. inline void clear_packet_id();
  4375. static const int kPacketIdFieldNumber = 1;
  4376. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4377. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4378. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_treasure_lottery)
  4379. private:
  4380. inline void set_has_packet_id();
  4381. inline void clear_has_packet_id();
  4382. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4383. int packet_id_;
  4384. mutable int _cached_size_;
  4385. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  4386. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4387. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4388. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4389. void InitAsDefaultInstance();
  4390. static packetc2w_receive_treasure_lottery* default_instance_;
  4391. };
  4392. // -------------------------------------------------------------------
  4393. class packetw2c_receive_treasure_lottery_result : public ::google::protobuf::Message {
  4394. public:
  4395. packetw2c_receive_treasure_lottery_result();
  4396. virtual ~packetw2c_receive_treasure_lottery_result();
  4397. packetw2c_receive_treasure_lottery_result(const packetw2c_receive_treasure_lottery_result& from);
  4398. inline packetw2c_receive_treasure_lottery_result& operator=(const packetw2c_receive_treasure_lottery_result& from) {
  4399. CopyFrom(from);
  4400. return *this;
  4401. }
  4402. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4403. return _unknown_fields_;
  4404. }
  4405. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4406. return &_unknown_fields_;
  4407. }
  4408. static const ::google::protobuf::Descriptor* descriptor();
  4409. static const packetw2c_receive_treasure_lottery_result& default_instance();
  4410. void Swap(packetw2c_receive_treasure_lottery_result* other);
  4411. // implements Message ----------------------------------------------
  4412. packetw2c_receive_treasure_lottery_result* New() const;
  4413. void CopyFrom(const ::google::protobuf::Message& from);
  4414. void MergeFrom(const ::google::protobuf::Message& from);
  4415. void CopyFrom(const packetw2c_receive_treasure_lottery_result& from);
  4416. void MergeFrom(const packetw2c_receive_treasure_lottery_result& from);
  4417. void Clear();
  4418. bool IsInitialized() const;
  4419. int ByteSize() const;
  4420. bool MergePartialFromCodedStream(
  4421. ::google::protobuf::io::CodedInputStream* input);
  4422. void SerializeWithCachedSizes(
  4423. ::google::protobuf::io::CodedOutputStream* output) const;
  4424. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4425. int GetCachedSize() const { return _cached_size_; }
  4426. private:
  4427. void SharedCtor();
  4428. void SharedDtor();
  4429. void SetCachedSize(int size) const;
  4430. public:
  4431. ::google::protobuf::Metadata GetMetadata() const;
  4432. // nested types ----------------------------------------------------
  4433. // accessors -------------------------------------------------------
  4434. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_result];
  4435. inline bool has_packet_id() const;
  4436. inline void clear_packet_id();
  4437. static const int kPacketIdFieldNumber = 1;
  4438. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4439. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4440. // optional int32 result = 2;
  4441. inline bool has_result() const;
  4442. inline void clear_result();
  4443. static const int kResultFieldNumber = 2;
  4444. inline ::google::protobuf::int32 result() const;
  4445. inline void set_result(::google::protobuf::int32 value);
  4446. // optional int32 giftId = 3;
  4447. inline bool has_giftid() const;
  4448. inline void clear_giftid();
  4449. static const int kGiftIdFieldNumber = 3;
  4450. inline ::google::protobuf::int32 giftid() const;
  4451. inline void set_giftid(::google::protobuf::int32 value);
  4452. // repeated .client2world_protocols.treasureItem treasureList = 4;
  4453. inline int treasurelist_size() const;
  4454. inline void clear_treasurelist();
  4455. static const int kTreasureListFieldNumber = 4;
  4456. inline const ::client2world_protocols::treasureItem& treasurelist(int index) const;
  4457. inline ::client2world_protocols::treasureItem* mutable_treasurelist(int index);
  4458. inline ::client2world_protocols::treasureItem* add_treasurelist();
  4459. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >&
  4460. treasurelist() const;
  4461. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >*
  4462. mutable_treasurelist();
  4463. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_treasure_lottery_result)
  4464. private:
  4465. inline void set_has_packet_id();
  4466. inline void clear_has_packet_id();
  4467. inline void set_has_result();
  4468. inline void clear_has_result();
  4469. inline void set_has_giftid();
  4470. inline void clear_has_giftid();
  4471. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4472. int packet_id_;
  4473. ::google::protobuf::int32 result_;
  4474. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem > treasurelist_;
  4475. ::google::protobuf::int32 giftid_;
  4476. mutable int _cached_size_;
  4477. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  4478. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4479. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4480. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4481. void InitAsDefaultInstance();
  4482. static packetw2c_receive_treasure_lottery_result* default_instance_;
  4483. };
  4484. // -------------------------------------------------------------------
  4485. class packetc2w_receive_sail_reward : public ::google::protobuf::Message {
  4486. public:
  4487. packetc2w_receive_sail_reward();
  4488. virtual ~packetc2w_receive_sail_reward();
  4489. packetc2w_receive_sail_reward(const packetc2w_receive_sail_reward& from);
  4490. inline packetc2w_receive_sail_reward& operator=(const packetc2w_receive_sail_reward& 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 packetc2w_receive_sail_reward& default_instance();
  4502. void Swap(packetc2w_receive_sail_reward* other);
  4503. // implements Message ----------------------------------------------
  4504. packetc2w_receive_sail_reward* New() const;
  4505. void CopyFrom(const ::google::protobuf::Message& from);
  4506. void MergeFrom(const ::google::protobuf::Message& from);
  4507. void CopyFrom(const packetc2w_receive_sail_reward& from);
  4508. void MergeFrom(const packetc2w_receive_sail_reward& 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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  4527. inline bool has_packet_id() const;
  4528. inline void clear_packet_id();
  4529. static const int kPacketIdFieldNumber = 1;
  4530. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4531. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4532. // optional int32 type = 2;
  4533. inline bool has_type() const;
  4534. inline void clear_type();
  4535. static const int kTypeFieldNumber = 2;
  4536. inline ::google::protobuf::int32 type() const;
  4537. inline void set_type(::google::protobuf::int32 value);
  4538. // optional int32 index = 3;
  4539. inline bool has_index() const;
  4540. inline void clear_index();
  4541. static const int kIndexFieldNumber = 3;
  4542. inline ::google::protobuf::int32 index() const;
  4543. inline void set_index(::google::protobuf::int32 value);
  4544. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_sail_reward)
  4545. private:
  4546. inline void set_has_packet_id();
  4547. inline void clear_has_packet_id();
  4548. inline void set_has_type();
  4549. inline void clear_has_type();
  4550. inline void set_has_index();
  4551. inline void clear_has_index();
  4552. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4553. int packet_id_;
  4554. ::google::protobuf::int32 type_;
  4555. ::google::protobuf::int32 index_;
  4556. mutable int _cached_size_;
  4557. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  4558. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4559. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4560. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4561. void InitAsDefaultInstance();
  4562. static packetc2w_receive_sail_reward* default_instance_;
  4563. };
  4564. // -------------------------------------------------------------------
  4565. class packetw2c_receive_sail_result : public ::google::protobuf::Message {
  4566. public:
  4567. packetw2c_receive_sail_result();
  4568. virtual ~packetw2c_receive_sail_result();
  4569. packetw2c_receive_sail_result(const packetw2c_receive_sail_result& from);
  4570. inline packetw2c_receive_sail_result& operator=(const packetw2c_receive_sail_result& 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 packetw2c_receive_sail_result& default_instance();
  4582. void Swap(packetw2c_receive_sail_result* other);
  4583. // implements Message ----------------------------------------------
  4584. packetw2c_receive_sail_result* New() const;
  4585. void CopyFrom(const ::google::protobuf::Message& from);
  4586. void MergeFrom(const ::google::protobuf::Message& from);
  4587. void CopyFrom(const packetw2c_receive_sail_result& from);
  4588. void MergeFrom(const packetw2c_receive_sail_result& 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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  4607. inline bool has_packet_id() const;
  4608. inline void clear_packet_id();
  4609. static const int kPacketIdFieldNumber = 1;
  4610. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4611. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4612. // optional int32 type = 2;
  4613. inline bool has_type() const;
  4614. inline void clear_type();
  4615. static const int kTypeFieldNumber = 2;
  4616. inline ::google::protobuf::int32 type() const;
  4617. inline void set_type(::google::protobuf::int32 value);
  4618. // optional int32 index = 3;
  4619. inline bool has_index() const;
  4620. inline void clear_index();
  4621. static const int kIndexFieldNumber = 3;
  4622. inline ::google::protobuf::int32 index() const;
  4623. inline void set_index(::google::protobuf::int32 value);
  4624. // optional int32 result = 4;
  4625. inline bool has_result() const;
  4626. inline void clear_result();
  4627. static const int kResultFieldNumber = 4;
  4628. inline ::google::protobuf::int32 result() const;
  4629. inline void set_result(::google::protobuf::int32 value);
  4630. // optional int32 resultParam = 5;
  4631. inline bool has_resultparam() const;
  4632. inline void clear_resultparam();
  4633. static const int kResultParamFieldNumber = 5;
  4634. inline ::google::protobuf::int32 resultparam() const;
  4635. inline void set_resultparam(::google::protobuf::int32 value);
  4636. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_sail_result)
  4637. private:
  4638. inline void set_has_packet_id();
  4639. inline void clear_has_packet_id();
  4640. inline void set_has_type();
  4641. inline void clear_has_type();
  4642. inline void set_has_index();
  4643. inline void clear_has_index();
  4644. inline void set_has_result();
  4645. inline void clear_has_result();
  4646. inline void set_has_resultparam();
  4647. inline void clear_has_resultparam();
  4648. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4649. int packet_id_;
  4650. ::google::protobuf::int32 type_;
  4651. ::google::protobuf::int32 index_;
  4652. ::google::protobuf::int32 result_;
  4653. ::google::protobuf::int32 resultparam_;
  4654. mutable int _cached_size_;
  4655. ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
  4656. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4657. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4658. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4659. void InitAsDefaultInstance();
  4660. static packetw2c_receive_sail_result* default_instance_;
  4661. };
  4662. // -------------------------------------------------------------------
  4663. class packetc2w_syn_sail_piggy_gold : public ::google::protobuf::Message {
  4664. public:
  4665. packetc2w_syn_sail_piggy_gold();
  4666. virtual ~packetc2w_syn_sail_piggy_gold();
  4667. packetc2w_syn_sail_piggy_gold(const packetc2w_syn_sail_piggy_gold& from);
  4668. inline packetc2w_syn_sail_piggy_gold& operator=(const packetc2w_syn_sail_piggy_gold& from) {
  4669. CopyFrom(from);
  4670. return *this;
  4671. }
  4672. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4673. return _unknown_fields_;
  4674. }
  4675. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4676. return &_unknown_fields_;
  4677. }
  4678. static const ::google::protobuf::Descriptor* descriptor();
  4679. static const packetc2w_syn_sail_piggy_gold& default_instance();
  4680. void Swap(packetc2w_syn_sail_piggy_gold* other);
  4681. // implements Message ----------------------------------------------
  4682. packetc2w_syn_sail_piggy_gold* New() const;
  4683. void CopyFrom(const ::google::protobuf::Message& from);
  4684. void MergeFrom(const ::google::protobuf::Message& from);
  4685. void CopyFrom(const packetc2w_syn_sail_piggy_gold& from);
  4686. void MergeFrom(const packetc2w_syn_sail_piggy_gold& from);
  4687. void Clear();
  4688. bool IsInitialized() const;
  4689. int ByteSize() const;
  4690. bool MergePartialFromCodedStream(
  4691. ::google::protobuf::io::CodedInputStream* input);
  4692. void SerializeWithCachedSizes(
  4693. ::google::protobuf::io::CodedOutputStream* output) const;
  4694. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4695. int GetCachedSize() const { return _cached_size_; }
  4696. private:
  4697. void SharedCtor();
  4698. void SharedDtor();
  4699. void SetCachedSize(int size) const;
  4700. public:
  4701. ::google::protobuf::Metadata GetMetadata() const;
  4702. // nested types ----------------------------------------------------
  4703. // accessors -------------------------------------------------------
  4704. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  4705. inline bool has_packet_id() const;
  4706. inline void clear_packet_id();
  4707. static const int kPacketIdFieldNumber = 1;
  4708. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4709. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4710. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_syn_sail_piggy_gold)
  4711. private:
  4712. inline void set_has_packet_id();
  4713. inline void clear_has_packet_id();
  4714. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4715. int packet_id_;
  4716. mutable int _cached_size_;
  4717. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  4718. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4719. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4720. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4721. void InitAsDefaultInstance();
  4722. static packetc2w_syn_sail_piggy_gold* default_instance_;
  4723. };
  4724. // -------------------------------------------------------------------
  4725. class packetw2c_syn_sail_piggy_gold_result : public ::google::protobuf::Message {
  4726. public:
  4727. packetw2c_syn_sail_piggy_gold_result();
  4728. virtual ~packetw2c_syn_sail_piggy_gold_result();
  4729. packetw2c_syn_sail_piggy_gold_result(const packetw2c_syn_sail_piggy_gold_result& from);
  4730. inline packetw2c_syn_sail_piggy_gold_result& operator=(const packetw2c_syn_sail_piggy_gold_result& from) {
  4731. CopyFrom(from);
  4732. return *this;
  4733. }
  4734. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4735. return _unknown_fields_;
  4736. }
  4737. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4738. return &_unknown_fields_;
  4739. }
  4740. static const ::google::protobuf::Descriptor* descriptor();
  4741. static const packetw2c_syn_sail_piggy_gold_result& default_instance();
  4742. void Swap(packetw2c_syn_sail_piggy_gold_result* other);
  4743. // implements Message ----------------------------------------------
  4744. packetw2c_syn_sail_piggy_gold_result* New() const;
  4745. void CopyFrom(const ::google::protobuf::Message& from);
  4746. void MergeFrom(const ::google::protobuf::Message& from);
  4747. void CopyFrom(const packetw2c_syn_sail_piggy_gold_result& from);
  4748. void MergeFrom(const packetw2c_syn_sail_piggy_gold_result& from);
  4749. void Clear();
  4750. bool IsInitialized() const;
  4751. int ByteSize() const;
  4752. bool MergePartialFromCodedStream(
  4753. ::google::protobuf::io::CodedInputStream* input);
  4754. void SerializeWithCachedSizes(
  4755. ::google::protobuf::io::CodedOutputStream* output) const;
  4756. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4757. int GetCachedSize() const { return _cached_size_; }
  4758. private:
  4759. void SharedCtor();
  4760. void SharedDtor();
  4761. void SetCachedSize(int size) const;
  4762. public:
  4763. ::google::protobuf::Metadata GetMetadata() const;
  4764. // nested types ----------------------------------------------------
  4765. // accessors -------------------------------------------------------
  4766. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  4767. inline bool has_packet_id() const;
  4768. inline void clear_packet_id();
  4769. static const int kPacketIdFieldNumber = 1;
  4770. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4771. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4772. // optional int32 piggyGold = 2;
  4773. inline bool has_piggygold() const;
  4774. inline void clear_piggygold();
  4775. static const int kPiggyGoldFieldNumber = 2;
  4776. inline ::google::protobuf::int32 piggygold() const;
  4777. inline void set_piggygold(::google::protobuf::int32 value);
  4778. // optional int32 fishGold = 3;
  4779. inline bool has_fishgold() const;
  4780. inline void clear_fishgold();
  4781. static const int kFishGoldFieldNumber = 3;
  4782. inline ::google::protobuf::int32 fishgold() const;
  4783. inline void set_fishgold(::google::protobuf::int32 value);
  4784. // optional int32 onlineGold = 4;
  4785. inline bool has_onlinegold() const;
  4786. inline void clear_onlinegold();
  4787. static const int kOnlineGoldFieldNumber = 4;
  4788. inline ::google::protobuf::int32 onlinegold() const;
  4789. inline void set_onlinegold(::google::protobuf::int32 value);
  4790. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_syn_sail_piggy_gold_result)
  4791. private:
  4792. inline void set_has_packet_id();
  4793. inline void clear_has_packet_id();
  4794. inline void set_has_piggygold();
  4795. inline void clear_has_piggygold();
  4796. inline void set_has_fishgold();
  4797. inline void clear_has_fishgold();
  4798. inline void set_has_onlinegold();
  4799. inline void clear_has_onlinegold();
  4800. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4801. int packet_id_;
  4802. ::google::protobuf::int32 piggygold_;
  4803. ::google::protobuf::int32 fishgold_;
  4804. ::google::protobuf::int32 onlinegold_;
  4805. mutable int _cached_size_;
  4806. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  4807. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4808. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4809. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4810. void InitAsDefaultInstance();
  4811. static packetw2c_syn_sail_piggy_gold_result* default_instance_;
  4812. };
  4813. // -------------------------------------------------------------------
  4814. class packetc2w_sail_achieve_lottery : public ::google::protobuf::Message {
  4815. public:
  4816. packetc2w_sail_achieve_lottery();
  4817. virtual ~packetc2w_sail_achieve_lottery();
  4818. packetc2w_sail_achieve_lottery(const packetc2w_sail_achieve_lottery& from);
  4819. inline packetc2w_sail_achieve_lottery& operator=(const packetc2w_sail_achieve_lottery& from) {
  4820. CopyFrom(from);
  4821. return *this;
  4822. }
  4823. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4824. return _unknown_fields_;
  4825. }
  4826. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4827. return &_unknown_fields_;
  4828. }
  4829. static const ::google::protobuf::Descriptor* descriptor();
  4830. static const packetc2w_sail_achieve_lottery& default_instance();
  4831. void Swap(packetc2w_sail_achieve_lottery* other);
  4832. // implements Message ----------------------------------------------
  4833. packetc2w_sail_achieve_lottery* New() const;
  4834. void CopyFrom(const ::google::protobuf::Message& from);
  4835. void MergeFrom(const ::google::protobuf::Message& from);
  4836. void CopyFrom(const packetc2w_sail_achieve_lottery& from);
  4837. void MergeFrom(const packetc2w_sail_achieve_lottery& from);
  4838. void Clear();
  4839. bool IsInitialized() const;
  4840. int ByteSize() const;
  4841. bool MergePartialFromCodedStream(
  4842. ::google::protobuf::io::CodedInputStream* input);
  4843. void SerializeWithCachedSizes(
  4844. ::google::protobuf::io::CodedOutputStream* output) const;
  4845. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4846. int GetCachedSize() const { return _cached_size_; }
  4847. private:
  4848. void SharedCtor();
  4849. void SharedDtor();
  4850. void SetCachedSize(int size) const;
  4851. public:
  4852. ::google::protobuf::Metadata GetMetadata() const;
  4853. // nested types ----------------------------------------------------
  4854. // accessors -------------------------------------------------------
  4855. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  4856. inline bool has_packet_id() const;
  4857. inline void clear_packet_id();
  4858. static const int kPacketIdFieldNumber = 1;
  4859. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4860. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4861. // optional int32 count = 2;
  4862. inline bool has_count() const;
  4863. inline void clear_count();
  4864. static const int kCountFieldNumber = 2;
  4865. inline ::google::protobuf::int32 count() const;
  4866. inline void set_count(::google::protobuf::int32 value);
  4867. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_sail_achieve_lottery)
  4868. private:
  4869. inline void set_has_packet_id();
  4870. inline void clear_has_packet_id();
  4871. inline void set_has_count();
  4872. inline void clear_has_count();
  4873. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4874. int packet_id_;
  4875. ::google::protobuf::int32 count_;
  4876. mutable int _cached_size_;
  4877. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  4878. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4879. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4880. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4881. void InitAsDefaultInstance();
  4882. static packetc2w_sail_achieve_lottery* default_instance_;
  4883. };
  4884. // -------------------------------------------------------------------
  4885. class packetw2c_sail_achieve_lottery_result : public ::google::protobuf::Message {
  4886. public:
  4887. packetw2c_sail_achieve_lottery_result();
  4888. virtual ~packetw2c_sail_achieve_lottery_result();
  4889. packetw2c_sail_achieve_lottery_result(const packetw2c_sail_achieve_lottery_result& from);
  4890. inline packetw2c_sail_achieve_lottery_result& operator=(const packetw2c_sail_achieve_lottery_result& from) {
  4891. CopyFrom(from);
  4892. return *this;
  4893. }
  4894. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4895. return _unknown_fields_;
  4896. }
  4897. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4898. return &_unknown_fields_;
  4899. }
  4900. static const ::google::protobuf::Descriptor* descriptor();
  4901. static const packetw2c_sail_achieve_lottery_result& default_instance();
  4902. void Swap(packetw2c_sail_achieve_lottery_result* other);
  4903. // implements Message ----------------------------------------------
  4904. packetw2c_sail_achieve_lottery_result* New() const;
  4905. void CopyFrom(const ::google::protobuf::Message& from);
  4906. void MergeFrom(const ::google::protobuf::Message& from);
  4907. void CopyFrom(const packetw2c_sail_achieve_lottery_result& from);
  4908. void MergeFrom(const packetw2c_sail_achieve_lottery_result& from);
  4909. void Clear();
  4910. bool IsInitialized() const;
  4911. int ByteSize() const;
  4912. bool MergePartialFromCodedStream(
  4913. ::google::protobuf::io::CodedInputStream* input);
  4914. void SerializeWithCachedSizes(
  4915. ::google::protobuf::io::CodedOutputStream* output) const;
  4916. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  4917. int GetCachedSize() const { return _cached_size_; }
  4918. private:
  4919. void SharedCtor();
  4920. void SharedDtor();
  4921. void SetCachedSize(int size) const;
  4922. public:
  4923. ::google::protobuf::Metadata GetMetadata() const;
  4924. // nested types ----------------------------------------------------
  4925. // accessors -------------------------------------------------------
  4926. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  4927. inline bool has_packet_id() const;
  4928. inline void clear_packet_id();
  4929. static const int kPacketIdFieldNumber = 1;
  4930. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  4931. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  4932. // optional int32 count = 2;
  4933. inline bool has_count() const;
  4934. inline void clear_count();
  4935. static const int kCountFieldNumber = 2;
  4936. inline ::google::protobuf::int32 count() const;
  4937. inline void set_count(::google::protobuf::int32 value);
  4938. // optional int32 result = 3;
  4939. inline bool has_result() const;
  4940. inline void clear_result();
  4941. static const int kResultFieldNumber = 3;
  4942. inline ::google::protobuf::int32 result() const;
  4943. inline void set_result(::google::protobuf::int32 value);
  4944. // repeated int32 rewardList = 4;
  4945. inline int rewardlist_size() const;
  4946. inline void clear_rewardlist();
  4947. static const int kRewardListFieldNumber = 4;
  4948. inline ::google::protobuf::int32 rewardlist(int index) const;
  4949. inline void set_rewardlist(int index, ::google::protobuf::int32 value);
  4950. inline void add_rewardlist(::google::protobuf::int32 value);
  4951. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  4952. rewardlist() const;
  4953. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  4954. mutable_rewardlist();
  4955. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_sail_achieve_lottery_result)
  4956. private:
  4957. inline void set_has_packet_id();
  4958. inline void clear_has_packet_id();
  4959. inline void set_has_count();
  4960. inline void clear_has_count();
  4961. inline void set_has_result();
  4962. inline void clear_has_result();
  4963. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  4964. int packet_id_;
  4965. ::google::protobuf::int32 count_;
  4966. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rewardlist_;
  4967. ::google::protobuf::int32 result_;
  4968. mutable int _cached_size_;
  4969. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  4970. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4971. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  4972. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  4973. void InitAsDefaultInstance();
  4974. static packetw2c_sail_achieve_lottery_result* default_instance_;
  4975. };
  4976. // -------------------------------------------------------------------
  4977. class packetw2c_trigger_sail_achieve : public ::google::protobuf::Message {
  4978. public:
  4979. packetw2c_trigger_sail_achieve();
  4980. virtual ~packetw2c_trigger_sail_achieve();
  4981. packetw2c_trigger_sail_achieve(const packetw2c_trigger_sail_achieve& from);
  4982. inline packetw2c_trigger_sail_achieve& operator=(const packetw2c_trigger_sail_achieve& from) {
  4983. CopyFrom(from);
  4984. return *this;
  4985. }
  4986. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  4987. return _unknown_fields_;
  4988. }
  4989. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  4990. return &_unknown_fields_;
  4991. }
  4992. static const ::google::protobuf::Descriptor* descriptor();
  4993. static const packetw2c_trigger_sail_achieve& default_instance();
  4994. void Swap(packetw2c_trigger_sail_achieve* other);
  4995. // implements Message ----------------------------------------------
  4996. packetw2c_trigger_sail_achieve* New() const;
  4997. void CopyFrom(const ::google::protobuf::Message& from);
  4998. void MergeFrom(const ::google::protobuf::Message& from);
  4999. void CopyFrom(const packetw2c_trigger_sail_achieve& from);
  5000. void MergeFrom(const packetw2c_trigger_sail_achieve& from);
  5001. void Clear();
  5002. bool IsInitialized() const;
  5003. int ByteSize() const;
  5004. bool MergePartialFromCodedStream(
  5005. ::google::protobuf::io::CodedInputStream* input);
  5006. void SerializeWithCachedSizes(
  5007. ::google::protobuf::io::CodedOutputStream* output) const;
  5008. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5009. int GetCachedSize() const { return _cached_size_; }
  5010. private:
  5011. void SharedCtor();
  5012. void SharedDtor();
  5013. void SetCachedSize(int size) const;
  5014. public:
  5015. ::google::protobuf::Metadata GetMetadata() const;
  5016. // nested types ----------------------------------------------------
  5017. // accessors -------------------------------------------------------
  5018. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  5019. inline bool has_packet_id() const;
  5020. inline void clear_packet_id();
  5021. static const int kPacketIdFieldNumber = 1;
  5022. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5023. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5024. // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  5025. inline bool has_sailinfo() const;
  5026. inline void clear_sailinfo();
  5027. static const int kSailInfoFieldNumber = 2;
  5028. inline const ::msg_info_def::SailCeremonyInfo& sailinfo() const;
  5029. inline ::msg_info_def::SailCeremonyInfo* mutable_sailinfo();
  5030. inline ::msg_info_def::SailCeremonyInfo* release_sailinfo();
  5031. inline void set_allocated_sailinfo(::msg_info_def::SailCeremonyInfo* sailinfo);
  5032. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_trigger_sail_achieve)
  5033. private:
  5034. inline void set_has_packet_id();
  5035. inline void clear_has_packet_id();
  5036. inline void set_has_sailinfo();
  5037. inline void clear_has_sailinfo();
  5038. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5039. ::msg_info_def::SailCeremonyInfo* sailinfo_;
  5040. int packet_id_;
  5041. mutable int _cached_size_;
  5042. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  5043. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5044. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5045. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5046. void InitAsDefaultInstance();
  5047. static packetw2c_trigger_sail_achieve* default_instance_;
  5048. };
  5049. // -------------------------------------------------------------------
  5050. class sailLotteryInfo : public ::google::protobuf::Message {
  5051. public:
  5052. sailLotteryInfo();
  5053. virtual ~sailLotteryInfo();
  5054. sailLotteryInfo(const sailLotteryInfo& from);
  5055. inline sailLotteryInfo& operator=(const sailLotteryInfo& from) {
  5056. CopyFrom(from);
  5057. return *this;
  5058. }
  5059. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5060. return _unknown_fields_;
  5061. }
  5062. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5063. return &_unknown_fields_;
  5064. }
  5065. static const ::google::protobuf::Descriptor* descriptor();
  5066. static const sailLotteryInfo& default_instance();
  5067. void Swap(sailLotteryInfo* other);
  5068. // implements Message ----------------------------------------------
  5069. sailLotteryInfo* New() const;
  5070. void CopyFrom(const ::google::protobuf::Message& from);
  5071. void MergeFrom(const ::google::protobuf::Message& from);
  5072. void CopyFrom(const sailLotteryInfo& from);
  5073. void MergeFrom(const sailLotteryInfo& from);
  5074. void Clear();
  5075. bool IsInitialized() const;
  5076. int ByteSize() const;
  5077. bool MergePartialFromCodedStream(
  5078. ::google::protobuf::io::CodedInputStream* input);
  5079. void SerializeWithCachedSizes(
  5080. ::google::protobuf::io::CodedOutputStream* output) const;
  5081. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5082. int GetCachedSize() const { return _cached_size_; }
  5083. private:
  5084. void SharedCtor();
  5085. void SharedDtor();
  5086. void SetCachedSize(int size) const;
  5087. public:
  5088. ::google::protobuf::Metadata GetMetadata() const;
  5089. // nested types ----------------------------------------------------
  5090. // accessors -------------------------------------------------------
  5091. // optional string nickname = 1;
  5092. inline bool has_nickname() const;
  5093. inline void clear_nickname();
  5094. static const int kNicknameFieldNumber = 1;
  5095. inline const ::std::string& nickname() const;
  5096. inline void set_nickname(const ::std::string& value);
  5097. inline void set_nickname(const char* value);
  5098. inline void set_nickname(const char* value, size_t size);
  5099. inline ::std::string* mutable_nickname();
  5100. inline ::std::string* release_nickname();
  5101. inline void set_allocated_nickname(::std::string* nickname);
  5102. // optional int32 itemID = 2;
  5103. inline bool has_itemid() const;
  5104. inline void clear_itemid();
  5105. static const int kItemIDFieldNumber = 2;
  5106. inline ::google::protobuf::int32 itemid() const;
  5107. inline void set_itemid(::google::protobuf::int32 value);
  5108. // optional int32 itemCount = 3;
  5109. inline bool has_itemcount() const;
  5110. inline void clear_itemcount();
  5111. static const int kItemCountFieldNumber = 3;
  5112. inline ::google::protobuf::int32 itemcount() const;
  5113. inline void set_itemcount(::google::protobuf::int32 value);
  5114. // optional int32 time = 4;
  5115. inline bool has_time() const;
  5116. inline void clear_time();
  5117. static const int kTimeFieldNumber = 4;
  5118. inline ::google::protobuf::int32 time() const;
  5119. inline void set_time(::google::protobuf::int32 value);
  5120. // @@protoc_insertion_point(class_scope:client2world_protocols.sailLotteryInfo)
  5121. private:
  5122. inline void set_has_nickname();
  5123. inline void clear_has_nickname();
  5124. inline void set_has_itemid();
  5125. inline void clear_has_itemid();
  5126. inline void set_has_itemcount();
  5127. inline void clear_has_itemcount();
  5128. inline void set_has_time();
  5129. inline void clear_has_time();
  5130. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5131. ::std::string* nickname_;
  5132. ::google::protobuf::int32 itemid_;
  5133. ::google::protobuf::int32 itemcount_;
  5134. ::google::protobuf::int32 time_;
  5135. mutable int _cached_size_;
  5136. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  5137. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5138. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5139. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5140. void InitAsDefaultInstance();
  5141. static sailLotteryInfo* default_instance_;
  5142. };
  5143. // -------------------------------------------------------------------
  5144. class packetc2w_sail_get_lottery_history : public ::google::protobuf::Message {
  5145. public:
  5146. packetc2w_sail_get_lottery_history();
  5147. virtual ~packetc2w_sail_get_lottery_history();
  5148. packetc2w_sail_get_lottery_history(const packetc2w_sail_get_lottery_history& from);
  5149. inline packetc2w_sail_get_lottery_history& operator=(const packetc2w_sail_get_lottery_history& from) {
  5150. CopyFrom(from);
  5151. return *this;
  5152. }
  5153. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5154. return _unknown_fields_;
  5155. }
  5156. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5157. return &_unknown_fields_;
  5158. }
  5159. static const ::google::protobuf::Descriptor* descriptor();
  5160. static const packetc2w_sail_get_lottery_history& default_instance();
  5161. void Swap(packetc2w_sail_get_lottery_history* other);
  5162. // implements Message ----------------------------------------------
  5163. packetc2w_sail_get_lottery_history* New() const;
  5164. void CopyFrom(const ::google::protobuf::Message& from);
  5165. void MergeFrom(const ::google::protobuf::Message& from);
  5166. void CopyFrom(const packetc2w_sail_get_lottery_history& from);
  5167. void MergeFrom(const packetc2w_sail_get_lottery_history& from);
  5168. void Clear();
  5169. bool IsInitialized() const;
  5170. int ByteSize() const;
  5171. bool MergePartialFromCodedStream(
  5172. ::google::protobuf::io::CodedInputStream* input);
  5173. void SerializeWithCachedSizes(
  5174. ::google::protobuf::io::CodedOutputStream* output) const;
  5175. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5176. int GetCachedSize() const { return _cached_size_; }
  5177. private:
  5178. void SharedCtor();
  5179. void SharedDtor();
  5180. void SetCachedSize(int size) const;
  5181. public:
  5182. ::google::protobuf::Metadata GetMetadata() const;
  5183. // nested types ----------------------------------------------------
  5184. // accessors -------------------------------------------------------
  5185. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  5186. inline bool has_packet_id() const;
  5187. inline void clear_packet_id();
  5188. static const int kPacketIdFieldNumber = 1;
  5189. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5190. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5191. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_sail_get_lottery_history)
  5192. private:
  5193. inline void set_has_packet_id();
  5194. inline void clear_has_packet_id();
  5195. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5196. int packet_id_;
  5197. mutable int _cached_size_;
  5198. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  5199. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5200. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5201. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5202. void InitAsDefaultInstance();
  5203. static packetc2w_sail_get_lottery_history* default_instance_;
  5204. };
  5205. // -------------------------------------------------------------------
  5206. class packetw2c_sail_get_lottery_history_result : public ::google::protobuf::Message {
  5207. public:
  5208. packetw2c_sail_get_lottery_history_result();
  5209. virtual ~packetw2c_sail_get_lottery_history_result();
  5210. packetw2c_sail_get_lottery_history_result(const packetw2c_sail_get_lottery_history_result& from);
  5211. inline packetw2c_sail_get_lottery_history_result& operator=(const packetw2c_sail_get_lottery_history_result& from) {
  5212. CopyFrom(from);
  5213. return *this;
  5214. }
  5215. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5216. return _unknown_fields_;
  5217. }
  5218. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5219. return &_unknown_fields_;
  5220. }
  5221. static const ::google::protobuf::Descriptor* descriptor();
  5222. static const packetw2c_sail_get_lottery_history_result& default_instance();
  5223. void Swap(packetw2c_sail_get_lottery_history_result* other);
  5224. // implements Message ----------------------------------------------
  5225. packetw2c_sail_get_lottery_history_result* New() const;
  5226. void CopyFrom(const ::google::protobuf::Message& from);
  5227. void MergeFrom(const ::google::protobuf::Message& from);
  5228. void CopyFrom(const packetw2c_sail_get_lottery_history_result& from);
  5229. void MergeFrom(const packetw2c_sail_get_lottery_history_result& from);
  5230. void Clear();
  5231. bool IsInitialized() const;
  5232. int ByteSize() const;
  5233. bool MergePartialFromCodedStream(
  5234. ::google::protobuf::io::CodedInputStream* input);
  5235. void SerializeWithCachedSizes(
  5236. ::google::protobuf::io::CodedOutputStream* output) const;
  5237. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5238. int GetCachedSize() const { return _cached_size_; }
  5239. private:
  5240. void SharedCtor();
  5241. void SharedDtor();
  5242. void SetCachedSize(int size) const;
  5243. public:
  5244. ::google::protobuf::Metadata GetMetadata() const;
  5245. // nested types ----------------------------------------------------
  5246. // accessors -------------------------------------------------------
  5247. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  5248. inline bool has_packet_id() const;
  5249. inline void clear_packet_id();
  5250. static const int kPacketIdFieldNumber = 1;
  5251. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5252. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5253. // repeated .client2world_protocols.sailLotteryInfo his = 2;
  5254. inline int his_size() const;
  5255. inline void clear_his();
  5256. static const int kHisFieldNumber = 2;
  5257. inline const ::client2world_protocols::sailLotteryInfo& his(int index) const;
  5258. inline ::client2world_protocols::sailLotteryInfo* mutable_his(int index);
  5259. inline ::client2world_protocols::sailLotteryInfo* add_his();
  5260. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::sailLotteryInfo >&
  5261. his() const;
  5262. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::sailLotteryInfo >*
  5263. mutable_his();
  5264. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_sail_get_lottery_history_result)
  5265. private:
  5266. inline void set_has_packet_id();
  5267. inline void clear_has_packet_id();
  5268. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5269. ::google::protobuf::RepeatedPtrField< ::client2world_protocols::sailLotteryInfo > his_;
  5270. int packet_id_;
  5271. mutable int _cached_size_;
  5272. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  5273. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5274. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5275. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5276. void InitAsDefaultInstance();
  5277. static packetw2c_sail_get_lottery_history_result* default_instance_;
  5278. };
  5279. // -------------------------------------------------------------------
  5280. class packetc2w_recv_return_login_reward : public ::google::protobuf::Message {
  5281. public:
  5282. packetc2w_recv_return_login_reward();
  5283. virtual ~packetc2w_recv_return_login_reward();
  5284. packetc2w_recv_return_login_reward(const packetc2w_recv_return_login_reward& from);
  5285. inline packetc2w_recv_return_login_reward& operator=(const packetc2w_recv_return_login_reward& from) {
  5286. CopyFrom(from);
  5287. return *this;
  5288. }
  5289. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5290. return _unknown_fields_;
  5291. }
  5292. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5293. return &_unknown_fields_;
  5294. }
  5295. static const ::google::protobuf::Descriptor* descriptor();
  5296. static const packetc2w_recv_return_login_reward& default_instance();
  5297. void Swap(packetc2w_recv_return_login_reward* other);
  5298. // implements Message ----------------------------------------------
  5299. packetc2w_recv_return_login_reward* New() const;
  5300. void CopyFrom(const ::google::protobuf::Message& from);
  5301. void MergeFrom(const ::google::protobuf::Message& from);
  5302. void CopyFrom(const packetc2w_recv_return_login_reward& from);
  5303. void MergeFrom(const packetc2w_recv_return_login_reward& from);
  5304. void Clear();
  5305. bool IsInitialized() const;
  5306. int ByteSize() const;
  5307. bool MergePartialFromCodedStream(
  5308. ::google::protobuf::io::CodedInputStream* input);
  5309. void SerializeWithCachedSizes(
  5310. ::google::protobuf::io::CodedOutputStream* output) const;
  5311. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5312. int GetCachedSize() const { return _cached_size_; }
  5313. private:
  5314. void SharedCtor();
  5315. void SharedDtor();
  5316. void SetCachedSize(int size) const;
  5317. public:
  5318. ::google::protobuf::Metadata GetMetadata() const;
  5319. // nested types ----------------------------------------------------
  5320. // accessors -------------------------------------------------------
  5321. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  5322. inline bool has_packet_id() const;
  5323. inline void clear_packet_id();
  5324. static const int kPacketIdFieldNumber = 1;
  5325. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5326. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5327. // optional int32 index = 2;
  5328. inline bool has_index() const;
  5329. inline void clear_index();
  5330. static const int kIndexFieldNumber = 2;
  5331. inline ::google::protobuf::int32 index() const;
  5332. inline void set_index(::google::protobuf::int32 value);
  5333. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_recv_return_login_reward)
  5334. private:
  5335. inline void set_has_packet_id();
  5336. inline void clear_has_packet_id();
  5337. inline void set_has_index();
  5338. inline void clear_has_index();
  5339. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5340. int packet_id_;
  5341. ::google::protobuf::int32 index_;
  5342. mutable int _cached_size_;
  5343. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  5344. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5345. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5346. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5347. void InitAsDefaultInstance();
  5348. static packetc2w_recv_return_login_reward* default_instance_;
  5349. };
  5350. // -------------------------------------------------------------------
  5351. class packetw2c_recv_return_login_reward_result : public ::google::protobuf::Message {
  5352. public:
  5353. packetw2c_recv_return_login_reward_result();
  5354. virtual ~packetw2c_recv_return_login_reward_result();
  5355. packetw2c_recv_return_login_reward_result(const packetw2c_recv_return_login_reward_result& from);
  5356. inline packetw2c_recv_return_login_reward_result& operator=(const packetw2c_recv_return_login_reward_result& from) {
  5357. CopyFrom(from);
  5358. return *this;
  5359. }
  5360. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5361. return _unknown_fields_;
  5362. }
  5363. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5364. return &_unknown_fields_;
  5365. }
  5366. static const ::google::protobuf::Descriptor* descriptor();
  5367. static const packetw2c_recv_return_login_reward_result& default_instance();
  5368. void Swap(packetw2c_recv_return_login_reward_result* other);
  5369. // implements Message ----------------------------------------------
  5370. packetw2c_recv_return_login_reward_result* New() const;
  5371. void CopyFrom(const ::google::protobuf::Message& from);
  5372. void MergeFrom(const ::google::protobuf::Message& from);
  5373. void CopyFrom(const packetw2c_recv_return_login_reward_result& from);
  5374. void MergeFrom(const packetw2c_recv_return_login_reward_result& from);
  5375. void Clear();
  5376. bool IsInitialized() const;
  5377. int ByteSize() const;
  5378. bool MergePartialFromCodedStream(
  5379. ::google::protobuf::io::CodedInputStream* input);
  5380. void SerializeWithCachedSizes(
  5381. ::google::protobuf::io::CodedOutputStream* output) const;
  5382. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5383. int GetCachedSize() const { return _cached_size_; }
  5384. private:
  5385. void SharedCtor();
  5386. void SharedDtor();
  5387. void SetCachedSize(int size) const;
  5388. public:
  5389. ::google::protobuf::Metadata GetMetadata() const;
  5390. // nested types ----------------------------------------------------
  5391. // accessors -------------------------------------------------------
  5392. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_result];
  5393. inline bool has_packet_id() const;
  5394. inline void clear_packet_id();
  5395. static const int kPacketIdFieldNumber = 1;
  5396. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5397. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5398. // optional int32 result = 2;
  5399. inline bool has_result() const;
  5400. inline void clear_result();
  5401. static const int kResultFieldNumber = 2;
  5402. inline ::google::protobuf::int32 result() const;
  5403. inline void set_result(::google::protobuf::int32 value);
  5404. // optional int32 index = 3;
  5405. inline bool has_index() const;
  5406. inline void clear_index();
  5407. static const int kIndexFieldNumber = 3;
  5408. inline ::google::protobuf::int32 index() const;
  5409. inline void set_index(::google::protobuf::int32 value);
  5410. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_recv_return_login_reward_result)
  5411. private:
  5412. inline void set_has_packet_id();
  5413. inline void clear_has_packet_id();
  5414. inline void set_has_result();
  5415. inline void clear_has_result();
  5416. inline void set_has_index();
  5417. inline void clear_has_index();
  5418. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5419. int packet_id_;
  5420. ::google::protobuf::int32 result_;
  5421. ::google::protobuf::int32 index_;
  5422. mutable int _cached_size_;
  5423. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  5424. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5425. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5426. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5427. void InitAsDefaultInstance();
  5428. static packetw2c_recv_return_login_reward_result* default_instance_;
  5429. };
  5430. // -------------------------------------------------------------------
  5431. class packetc2w_recv_return_recharge_reward : public ::google::protobuf::Message {
  5432. public:
  5433. packetc2w_recv_return_recharge_reward();
  5434. virtual ~packetc2w_recv_return_recharge_reward();
  5435. packetc2w_recv_return_recharge_reward(const packetc2w_recv_return_recharge_reward& from);
  5436. inline packetc2w_recv_return_recharge_reward& operator=(const packetc2w_recv_return_recharge_reward& from) {
  5437. CopyFrom(from);
  5438. return *this;
  5439. }
  5440. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5441. return _unknown_fields_;
  5442. }
  5443. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5444. return &_unknown_fields_;
  5445. }
  5446. static const ::google::protobuf::Descriptor* descriptor();
  5447. static const packetc2w_recv_return_recharge_reward& default_instance();
  5448. void Swap(packetc2w_recv_return_recharge_reward* other);
  5449. // implements Message ----------------------------------------------
  5450. packetc2w_recv_return_recharge_reward* New() const;
  5451. void CopyFrom(const ::google::protobuf::Message& from);
  5452. void MergeFrom(const ::google::protobuf::Message& from);
  5453. void CopyFrom(const packetc2w_recv_return_recharge_reward& from);
  5454. void MergeFrom(const packetc2w_recv_return_recharge_reward& from);
  5455. void Clear();
  5456. bool IsInitialized() const;
  5457. int ByteSize() const;
  5458. bool MergePartialFromCodedStream(
  5459. ::google::protobuf::io::CodedInputStream* input);
  5460. void SerializeWithCachedSizes(
  5461. ::google::protobuf::io::CodedOutputStream* output) const;
  5462. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5463. int GetCachedSize() const { return _cached_size_; }
  5464. private:
  5465. void SharedCtor();
  5466. void SharedDtor();
  5467. void SetCachedSize(int size) const;
  5468. public:
  5469. ::google::protobuf::Metadata GetMetadata() const;
  5470. // nested types ----------------------------------------------------
  5471. // accessors -------------------------------------------------------
  5472. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  5473. inline bool has_packet_id() const;
  5474. inline void clear_packet_id();
  5475. static const int kPacketIdFieldNumber = 1;
  5476. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5477. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5478. // optional int32 index = 2;
  5479. inline bool has_index() const;
  5480. inline void clear_index();
  5481. static const int kIndexFieldNumber = 2;
  5482. inline ::google::protobuf::int32 index() const;
  5483. inline void set_index(::google::protobuf::int32 value);
  5484. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_recv_return_recharge_reward)
  5485. private:
  5486. inline void set_has_packet_id();
  5487. inline void clear_has_packet_id();
  5488. inline void set_has_index();
  5489. inline void clear_has_index();
  5490. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5491. int packet_id_;
  5492. ::google::protobuf::int32 index_;
  5493. mutable int _cached_size_;
  5494. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  5495. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5496. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5497. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5498. void InitAsDefaultInstance();
  5499. static packetc2w_recv_return_recharge_reward* default_instance_;
  5500. };
  5501. // -------------------------------------------------------------------
  5502. class packetw2c_recv_return_recharge_reward_result : public ::google::protobuf::Message {
  5503. public:
  5504. packetw2c_recv_return_recharge_reward_result();
  5505. virtual ~packetw2c_recv_return_recharge_reward_result();
  5506. packetw2c_recv_return_recharge_reward_result(const packetw2c_recv_return_recharge_reward_result& from);
  5507. inline packetw2c_recv_return_recharge_reward_result& operator=(const packetw2c_recv_return_recharge_reward_result& from) {
  5508. CopyFrom(from);
  5509. return *this;
  5510. }
  5511. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5512. return _unknown_fields_;
  5513. }
  5514. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5515. return &_unknown_fields_;
  5516. }
  5517. static const ::google::protobuf::Descriptor* descriptor();
  5518. static const packetw2c_recv_return_recharge_reward_result& default_instance();
  5519. void Swap(packetw2c_recv_return_recharge_reward_result* other);
  5520. // implements Message ----------------------------------------------
  5521. packetw2c_recv_return_recharge_reward_result* New() const;
  5522. void CopyFrom(const ::google::protobuf::Message& from);
  5523. void MergeFrom(const ::google::protobuf::Message& from);
  5524. void CopyFrom(const packetw2c_recv_return_recharge_reward_result& from);
  5525. void MergeFrom(const packetw2c_recv_return_recharge_reward_result& from);
  5526. void Clear();
  5527. bool IsInitialized() const;
  5528. int ByteSize() const;
  5529. bool MergePartialFromCodedStream(
  5530. ::google::protobuf::io::CodedInputStream* input);
  5531. void SerializeWithCachedSizes(
  5532. ::google::protobuf::io::CodedOutputStream* output) const;
  5533. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5534. int GetCachedSize() const { return _cached_size_; }
  5535. private:
  5536. void SharedCtor();
  5537. void SharedDtor();
  5538. void SetCachedSize(int size) const;
  5539. public:
  5540. ::google::protobuf::Metadata GetMetadata() const;
  5541. // nested types ----------------------------------------------------
  5542. // accessors -------------------------------------------------------
  5543. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_result];
  5544. inline bool has_packet_id() const;
  5545. inline void clear_packet_id();
  5546. static const int kPacketIdFieldNumber = 1;
  5547. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5548. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5549. // optional int32 result = 2;
  5550. inline bool has_result() const;
  5551. inline void clear_result();
  5552. static const int kResultFieldNumber = 2;
  5553. inline ::google::protobuf::int32 result() const;
  5554. inline void set_result(::google::protobuf::int32 value);
  5555. // optional int32 index = 3;
  5556. inline bool has_index() const;
  5557. inline void clear_index();
  5558. static const int kIndexFieldNumber = 3;
  5559. inline ::google::protobuf::int32 index() const;
  5560. inline void set_index(::google::protobuf::int32 value);
  5561. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_recv_return_recharge_reward_result)
  5562. private:
  5563. inline void set_has_packet_id();
  5564. inline void clear_has_packet_id();
  5565. inline void set_has_result();
  5566. inline void clear_has_result();
  5567. inline void set_has_index();
  5568. inline void clear_has_index();
  5569. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5570. int packet_id_;
  5571. ::google::protobuf::int32 result_;
  5572. ::google::protobuf::int32 index_;
  5573. mutable int _cached_size_;
  5574. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  5575. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5576. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5577. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5578. void InitAsDefaultInstance();
  5579. static packetw2c_recv_return_recharge_reward_result* default_instance_;
  5580. };
  5581. // -------------------------------------------------------------------
  5582. class packetc2w_abysm_sign : public ::google::protobuf::Message {
  5583. public:
  5584. packetc2w_abysm_sign();
  5585. virtual ~packetc2w_abysm_sign();
  5586. packetc2w_abysm_sign(const packetc2w_abysm_sign& from);
  5587. inline packetc2w_abysm_sign& operator=(const packetc2w_abysm_sign& from) {
  5588. CopyFrom(from);
  5589. return *this;
  5590. }
  5591. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5592. return _unknown_fields_;
  5593. }
  5594. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5595. return &_unknown_fields_;
  5596. }
  5597. static const ::google::protobuf::Descriptor* descriptor();
  5598. static const packetc2w_abysm_sign& default_instance();
  5599. void Swap(packetc2w_abysm_sign* other);
  5600. // implements Message ----------------------------------------------
  5601. packetc2w_abysm_sign* New() const;
  5602. void CopyFrom(const ::google::protobuf::Message& from);
  5603. void MergeFrom(const ::google::protobuf::Message& from);
  5604. void CopyFrom(const packetc2w_abysm_sign& from);
  5605. void MergeFrom(const packetc2w_abysm_sign& from);
  5606. void Clear();
  5607. bool IsInitialized() const;
  5608. int ByteSize() const;
  5609. bool MergePartialFromCodedStream(
  5610. ::google::protobuf::io::CodedInputStream* input);
  5611. void SerializeWithCachedSizes(
  5612. ::google::protobuf::io::CodedOutputStream* output) const;
  5613. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5614. int GetCachedSize() const { return _cached_size_; }
  5615. private:
  5616. void SharedCtor();
  5617. void SharedDtor();
  5618. void SetCachedSize(int size) const;
  5619. public:
  5620. ::google::protobuf::Metadata GetMetadata() const;
  5621. // nested types ----------------------------------------------------
  5622. // accessors -------------------------------------------------------
  5623. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  5624. inline bool has_packet_id() const;
  5625. inline void clear_packet_id();
  5626. static const int kPacketIdFieldNumber = 1;
  5627. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5628. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5629. // optional int32 index = 2;
  5630. inline bool has_index() const;
  5631. inline void clear_index();
  5632. static const int kIndexFieldNumber = 2;
  5633. inline ::google::protobuf::int32 index() const;
  5634. inline void set_index(::google::protobuf::int32 value);
  5635. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_abysm_sign)
  5636. private:
  5637. inline void set_has_packet_id();
  5638. inline void clear_has_packet_id();
  5639. inline void set_has_index();
  5640. inline void clear_has_index();
  5641. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5642. int packet_id_;
  5643. ::google::protobuf::int32 index_;
  5644. mutable int _cached_size_;
  5645. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  5646. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5647. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5648. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5649. void InitAsDefaultInstance();
  5650. static packetc2w_abysm_sign* default_instance_;
  5651. };
  5652. // -------------------------------------------------------------------
  5653. class packetw2c_abysm_sign_result : public ::google::protobuf::Message {
  5654. public:
  5655. packetw2c_abysm_sign_result();
  5656. virtual ~packetw2c_abysm_sign_result();
  5657. packetw2c_abysm_sign_result(const packetw2c_abysm_sign_result& from);
  5658. inline packetw2c_abysm_sign_result& operator=(const packetw2c_abysm_sign_result& from) {
  5659. CopyFrom(from);
  5660. return *this;
  5661. }
  5662. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5663. return _unknown_fields_;
  5664. }
  5665. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5666. return &_unknown_fields_;
  5667. }
  5668. static const ::google::protobuf::Descriptor* descriptor();
  5669. static const packetw2c_abysm_sign_result& default_instance();
  5670. void Swap(packetw2c_abysm_sign_result* other);
  5671. // implements Message ----------------------------------------------
  5672. packetw2c_abysm_sign_result* New() const;
  5673. void CopyFrom(const ::google::protobuf::Message& from);
  5674. void MergeFrom(const ::google::protobuf::Message& from);
  5675. void CopyFrom(const packetw2c_abysm_sign_result& from);
  5676. void MergeFrom(const packetw2c_abysm_sign_result& from);
  5677. void Clear();
  5678. bool IsInitialized() const;
  5679. int ByteSize() const;
  5680. bool MergePartialFromCodedStream(
  5681. ::google::protobuf::io::CodedInputStream* input);
  5682. void SerializeWithCachedSizes(
  5683. ::google::protobuf::io::CodedOutputStream* output) const;
  5684. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5685. int GetCachedSize() const { return _cached_size_; }
  5686. private:
  5687. void SharedCtor();
  5688. void SharedDtor();
  5689. void SetCachedSize(int size) const;
  5690. public:
  5691. ::google::protobuf::Metadata GetMetadata() const;
  5692. // nested types ----------------------------------------------------
  5693. // accessors -------------------------------------------------------
  5694. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_result];
  5695. inline bool has_packet_id() const;
  5696. inline void clear_packet_id();
  5697. static const int kPacketIdFieldNumber = 1;
  5698. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5699. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5700. // optional int32 result = 2;
  5701. inline bool has_result() const;
  5702. inline void clear_result();
  5703. static const int kResultFieldNumber = 2;
  5704. inline ::google::protobuf::int32 result() const;
  5705. inline void set_result(::google::protobuf::int32 value);
  5706. // optional int32 index = 3;
  5707. inline bool has_index() const;
  5708. inline void clear_index();
  5709. static const int kIndexFieldNumber = 3;
  5710. inline ::google::protobuf::int32 index() const;
  5711. inline void set_index(::google::protobuf::int32 value);
  5712. // repeated .msg_info_def.ItemInfo rewardItem = 4;
  5713. inline int rewarditem_size() const;
  5714. inline void clear_rewarditem();
  5715. static const int kRewardItemFieldNumber = 4;
  5716. inline const ::msg_info_def::ItemInfo& rewarditem(int index) const;
  5717. inline ::msg_info_def::ItemInfo* mutable_rewarditem(int index);
  5718. inline ::msg_info_def::ItemInfo* add_rewarditem();
  5719. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  5720. rewarditem() const;
  5721. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  5722. mutable_rewarditem();
  5723. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_abysm_sign_result)
  5724. private:
  5725. inline void set_has_packet_id();
  5726. inline void clear_has_packet_id();
  5727. inline void set_has_result();
  5728. inline void clear_has_result();
  5729. inline void set_has_index();
  5730. inline void clear_has_index();
  5731. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5732. int packet_id_;
  5733. ::google::protobuf::int32 result_;
  5734. ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > rewarditem_;
  5735. ::google::protobuf::int32 index_;
  5736. mutable int _cached_size_;
  5737. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  5738. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5739. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5740. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5741. void InitAsDefaultInstance();
  5742. static packetw2c_abysm_sign_result* default_instance_;
  5743. };
  5744. // -------------------------------------------------------------------
  5745. class packetc2w_dragonball_lottery : public ::google::protobuf::Message {
  5746. public:
  5747. packetc2w_dragonball_lottery();
  5748. virtual ~packetc2w_dragonball_lottery();
  5749. packetc2w_dragonball_lottery(const packetc2w_dragonball_lottery& from);
  5750. inline packetc2w_dragonball_lottery& operator=(const packetc2w_dragonball_lottery& from) {
  5751. CopyFrom(from);
  5752. return *this;
  5753. }
  5754. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5755. return _unknown_fields_;
  5756. }
  5757. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5758. return &_unknown_fields_;
  5759. }
  5760. static const ::google::protobuf::Descriptor* descriptor();
  5761. static const packetc2w_dragonball_lottery& default_instance();
  5762. void Swap(packetc2w_dragonball_lottery* other);
  5763. // implements Message ----------------------------------------------
  5764. packetc2w_dragonball_lottery* New() const;
  5765. void CopyFrom(const ::google::protobuf::Message& from);
  5766. void MergeFrom(const ::google::protobuf::Message& from);
  5767. void CopyFrom(const packetc2w_dragonball_lottery& from);
  5768. void MergeFrom(const packetc2w_dragonball_lottery& from);
  5769. void Clear();
  5770. bool IsInitialized() const;
  5771. int ByteSize() const;
  5772. bool MergePartialFromCodedStream(
  5773. ::google::protobuf::io::CodedInputStream* input);
  5774. void SerializeWithCachedSizes(
  5775. ::google::protobuf::io::CodedOutputStream* output) const;
  5776. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5777. int GetCachedSize() const { return _cached_size_; }
  5778. private:
  5779. void SharedCtor();
  5780. void SharedDtor();
  5781. void SetCachedSize(int size) const;
  5782. public:
  5783. ::google::protobuf::Metadata GetMetadata() const;
  5784. // nested types ----------------------------------------------------
  5785. // accessors -------------------------------------------------------
  5786. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  5787. inline bool has_packet_id() const;
  5788. inline void clear_packet_id();
  5789. static const int kPacketIdFieldNumber = 1;
  5790. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5791. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5792. // optional int32 count = 2;
  5793. inline bool has_count() const;
  5794. inline void clear_count();
  5795. static const int kCountFieldNumber = 2;
  5796. inline ::google::protobuf::int32 count() const;
  5797. inline void set_count(::google::protobuf::int32 value);
  5798. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_dragonball_lottery)
  5799. private:
  5800. inline void set_has_packet_id();
  5801. inline void clear_has_packet_id();
  5802. inline void set_has_count();
  5803. inline void clear_has_count();
  5804. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5805. int packet_id_;
  5806. ::google::protobuf::int32 count_;
  5807. mutable int _cached_size_;
  5808. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  5809. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5810. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5811. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5812. void InitAsDefaultInstance();
  5813. static packetc2w_dragonball_lottery* default_instance_;
  5814. };
  5815. // -------------------------------------------------------------------
  5816. class packetw2c_dragonball_lottery_result : public ::google::protobuf::Message {
  5817. public:
  5818. packetw2c_dragonball_lottery_result();
  5819. virtual ~packetw2c_dragonball_lottery_result();
  5820. packetw2c_dragonball_lottery_result(const packetw2c_dragonball_lottery_result& from);
  5821. inline packetw2c_dragonball_lottery_result& operator=(const packetw2c_dragonball_lottery_result& from) {
  5822. CopyFrom(from);
  5823. return *this;
  5824. }
  5825. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  5826. return _unknown_fields_;
  5827. }
  5828. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  5829. return &_unknown_fields_;
  5830. }
  5831. static const ::google::protobuf::Descriptor* descriptor();
  5832. static const packetw2c_dragonball_lottery_result& default_instance();
  5833. void Swap(packetw2c_dragonball_lottery_result* other);
  5834. // implements Message ----------------------------------------------
  5835. packetw2c_dragonball_lottery_result* New() const;
  5836. void CopyFrom(const ::google::protobuf::Message& from);
  5837. void MergeFrom(const ::google::protobuf::Message& from);
  5838. void CopyFrom(const packetw2c_dragonball_lottery_result& from);
  5839. void MergeFrom(const packetw2c_dragonball_lottery_result& from);
  5840. void Clear();
  5841. bool IsInitialized() const;
  5842. int ByteSize() const;
  5843. bool MergePartialFromCodedStream(
  5844. ::google::protobuf::io::CodedInputStream* input);
  5845. void SerializeWithCachedSizes(
  5846. ::google::protobuf::io::CodedOutputStream* output) const;
  5847. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  5848. int GetCachedSize() const { return _cached_size_; }
  5849. private:
  5850. void SharedCtor();
  5851. void SharedDtor();
  5852. void SetCachedSize(int size) const;
  5853. public:
  5854. ::google::protobuf::Metadata GetMetadata() const;
  5855. // nested types ----------------------------------------------------
  5856. // accessors -------------------------------------------------------
  5857. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_result];
  5858. inline bool has_packet_id() const;
  5859. inline void clear_packet_id();
  5860. static const int kPacketIdFieldNumber = 1;
  5861. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  5862. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  5863. // optional int32 result = 2;
  5864. inline bool has_result() const;
  5865. inline void clear_result();
  5866. static const int kResultFieldNumber = 2;
  5867. inline ::google::protobuf::int32 result() const;
  5868. inline void set_result(::google::protobuf::int32 value);
  5869. // optional int32 count = 3;
  5870. inline bool has_count() const;
  5871. inline void clear_count();
  5872. static const int kCountFieldNumber = 3;
  5873. inline ::google::protobuf::int32 count() const;
  5874. inline void set_count(::google::protobuf::int32 value);
  5875. // optional int32 curlucky = 4;
  5876. inline bool has_curlucky() const;
  5877. inline void clear_curlucky();
  5878. static const int kCurluckyFieldNumber = 4;
  5879. inline ::google::protobuf::int32 curlucky() const;
  5880. inline void set_curlucky(::google::protobuf::int32 value);
  5881. // optional int32 dragonball = 5;
  5882. inline bool has_dragonball() const;
  5883. inline void clear_dragonball();
  5884. static const int kDragonballFieldNumber = 5;
  5885. inline ::google::protobuf::int32 dragonball() const;
  5886. inline void set_dragonball(::google::protobuf::int32 value);
  5887. // repeated int32 rewards = 6;
  5888. inline int rewards_size() const;
  5889. inline void clear_rewards();
  5890. static const int kRewardsFieldNumber = 6;
  5891. inline ::google::protobuf::int32 rewards(int index) const;
  5892. inline void set_rewards(int index, ::google::protobuf::int32 value);
  5893. inline void add_rewards(::google::protobuf::int32 value);
  5894. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  5895. rewards() const;
  5896. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  5897. mutable_rewards();
  5898. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_dragonball_lottery_result)
  5899. private:
  5900. inline void set_has_packet_id();
  5901. inline void clear_has_packet_id();
  5902. inline void set_has_result();
  5903. inline void clear_has_result();
  5904. inline void set_has_count();
  5905. inline void clear_has_count();
  5906. inline void set_has_curlucky();
  5907. inline void clear_has_curlucky();
  5908. inline void set_has_dragonball();
  5909. inline void clear_has_dragonball();
  5910. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  5911. int packet_id_;
  5912. ::google::protobuf::int32 result_;
  5913. ::google::protobuf::int32 count_;
  5914. ::google::protobuf::int32 curlucky_;
  5915. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rewards_;
  5916. ::google::protobuf::int32 dragonball_;
  5917. mutable int _cached_size_;
  5918. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  5919. friend void protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5920. friend void protobuf_AssignDesc_client2world_5fprotocol_2eproto();
  5921. friend void protobuf_ShutdownFile_client2world_5fprotocol_2eproto();
  5922. void InitAsDefaultInstance();
  5923. static packetw2c_dragonball_lottery_result* default_instance_;
  5924. };
  5925. // ===================================================================
  5926. // ===================================================================
  5927. // packet_c2w_timesync
  5928. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  5929. inline bool packet_c2w_timesync::has_packet_id() const {
  5930. return (_has_bits_[0] & 0x00000001u) != 0;
  5931. }
  5932. inline void packet_c2w_timesync::set_has_packet_id() {
  5933. _has_bits_[0] |= 0x00000001u;
  5934. }
  5935. inline void packet_c2w_timesync::clear_has_packet_id() {
  5936. _has_bits_[0] &= ~0x00000001u;
  5937. }
  5938. inline void packet_c2w_timesync::clear_packet_id() {
  5939. packet_id_ = 5002;
  5940. clear_has_packet_id();
  5941. }
  5942. inline ::client2world_protocols::e_server_msg_type packet_c2w_timesync::packet_id() const {
  5943. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  5944. }
  5945. inline void packet_c2w_timesync::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  5946. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  5947. set_has_packet_id();
  5948. packet_id_ = value;
  5949. }
  5950. // -------------------------------------------------------------------
  5951. // packet_w2c_timesync_result
  5952. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_result];
  5953. inline bool packet_w2c_timesync_result::has_packet_id() const {
  5954. return (_has_bits_[0] & 0x00000001u) != 0;
  5955. }
  5956. inline void packet_w2c_timesync_result::set_has_packet_id() {
  5957. _has_bits_[0] |= 0x00000001u;
  5958. }
  5959. inline void packet_w2c_timesync_result::clear_has_packet_id() {
  5960. _has_bits_[0] &= ~0x00000001u;
  5961. }
  5962. inline void packet_w2c_timesync_result::clear_packet_id() {
  5963. packet_id_ = 7502;
  5964. clear_has_packet_id();
  5965. }
  5966. inline ::client2world_protocols::e_server_msg_type packet_w2c_timesync_result::packet_id() const {
  5967. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  5968. }
  5969. inline void packet_w2c_timesync_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  5970. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  5971. set_has_packet_id();
  5972. packet_id_ = value;
  5973. }
  5974. // optional int32 server_time = 2;
  5975. inline bool packet_w2c_timesync_result::has_server_time() const {
  5976. return (_has_bits_[0] & 0x00000002u) != 0;
  5977. }
  5978. inline void packet_w2c_timesync_result::set_has_server_time() {
  5979. _has_bits_[0] |= 0x00000002u;
  5980. }
  5981. inline void packet_w2c_timesync_result::clear_has_server_time() {
  5982. _has_bits_[0] &= ~0x00000002u;
  5983. }
  5984. inline void packet_w2c_timesync_result::clear_server_time() {
  5985. server_time_ = 0;
  5986. clear_has_server_time();
  5987. }
  5988. inline ::google::protobuf::int32 packet_w2c_timesync_result::server_time() const {
  5989. return server_time_;
  5990. }
  5991. inline void packet_w2c_timesync_result::set_server_time(::google::protobuf::int32 value) {
  5992. set_has_server_time();
  5993. server_time_ = value;
  5994. }
  5995. // -------------------------------------------------------------------
  5996. // packetc2w_ask_login
  5997. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  5998. inline bool packetc2w_ask_login::has_packet_id() const {
  5999. return (_has_bits_[0] & 0x00000001u) != 0;
  6000. }
  6001. inline void packetc2w_ask_login::set_has_packet_id() {
  6002. _has_bits_[0] |= 0x00000001u;
  6003. }
  6004. inline void packetc2w_ask_login::clear_has_packet_id() {
  6005. _has_bits_[0] &= ~0x00000001u;
  6006. }
  6007. inline void packetc2w_ask_login::clear_packet_id() {
  6008. packet_id_ = 5003;
  6009. clear_has_packet_id();
  6010. }
  6011. inline ::client2world_protocols::e_server_msg_type packetc2w_ask_login::packet_id() const {
  6012. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6013. }
  6014. inline void packetc2w_ask_login::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6015. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6016. set_has_packet_id();
  6017. packet_id_ = value;
  6018. }
  6019. // -------------------------------------------------------------------
  6020. // msg_game_info
  6021. // optional int32 gameid = 1;
  6022. inline bool msg_game_info::has_gameid() const {
  6023. return (_has_bits_[0] & 0x00000001u) != 0;
  6024. }
  6025. inline void msg_game_info::set_has_gameid() {
  6026. _has_bits_[0] |= 0x00000001u;
  6027. }
  6028. inline void msg_game_info::clear_has_gameid() {
  6029. _has_bits_[0] &= ~0x00000001u;
  6030. }
  6031. inline void msg_game_info::clear_gameid() {
  6032. gameid_ = 0;
  6033. clear_has_gameid();
  6034. }
  6035. inline ::google::protobuf::int32 msg_game_info::gameid() const {
  6036. return gameid_;
  6037. }
  6038. inline void msg_game_info::set_gameid(::google::protobuf::int32 value) {
  6039. set_has_gameid();
  6040. gameid_ = value;
  6041. }
  6042. // optional int32 gamever = 2;
  6043. inline bool msg_game_info::has_gamever() const {
  6044. return (_has_bits_[0] & 0x00000002u) != 0;
  6045. }
  6046. inline void msg_game_info::set_has_gamever() {
  6047. _has_bits_[0] |= 0x00000002u;
  6048. }
  6049. inline void msg_game_info::clear_has_gamever() {
  6050. _has_bits_[0] &= ~0x00000002u;
  6051. }
  6052. inline void msg_game_info::clear_gamever() {
  6053. gamever_ = 0;
  6054. clear_has_gamever();
  6055. }
  6056. inline ::google::protobuf::int32 msg_game_info::gamever() const {
  6057. return gamever_;
  6058. }
  6059. inline void msg_game_info::set_gamever(::google::protobuf::int32 value) {
  6060. set_has_gamever();
  6061. gamever_ = value;
  6062. }
  6063. // optional int32 curOnlineNum = 3;
  6064. inline bool msg_game_info::has_curonlinenum() const {
  6065. return (_has_bits_[0] & 0x00000004u) != 0;
  6066. }
  6067. inline void msg_game_info::set_has_curonlinenum() {
  6068. _has_bits_[0] |= 0x00000004u;
  6069. }
  6070. inline void msg_game_info::clear_has_curonlinenum() {
  6071. _has_bits_[0] &= ~0x00000004u;
  6072. }
  6073. inline void msg_game_info::clear_curonlinenum() {
  6074. curonlinenum_ = 0;
  6075. clear_has_curonlinenum();
  6076. }
  6077. inline ::google::protobuf::int32 msg_game_info::curonlinenum() const {
  6078. return curonlinenum_;
  6079. }
  6080. inline void msg_game_info::set_curonlinenum(::google::protobuf::int32 value) {
  6081. set_has_curonlinenum();
  6082. curonlinenum_ = value;
  6083. }
  6084. // -------------------------------------------------------------------
  6085. // packetw2c_ask_login_result
  6086. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_result];
  6087. inline bool packetw2c_ask_login_result::has_packet_id() const {
  6088. return (_has_bits_[0] & 0x00000001u) != 0;
  6089. }
  6090. inline void packetw2c_ask_login_result::set_has_packet_id() {
  6091. _has_bits_[0] |= 0x00000001u;
  6092. }
  6093. inline void packetw2c_ask_login_result::clear_has_packet_id() {
  6094. _has_bits_[0] &= ~0x00000001u;
  6095. }
  6096. inline void packetw2c_ask_login_result::clear_packet_id() {
  6097. packet_id_ = 7503;
  6098. clear_has_packet_id();
  6099. }
  6100. inline ::client2world_protocols::e_server_msg_type packetw2c_ask_login_result::packet_id() const {
  6101. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6102. }
  6103. inline void packetw2c_ask_login_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6104. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6105. set_has_packet_id();
  6106. packet_id_ = value;
  6107. }
  6108. // optional .msg_info_def.msg_account_info account_info = 2;
  6109. inline bool packetw2c_ask_login_result::has_account_info() const {
  6110. return (_has_bits_[0] & 0x00000002u) != 0;
  6111. }
  6112. inline void packetw2c_ask_login_result::set_has_account_info() {
  6113. _has_bits_[0] |= 0x00000002u;
  6114. }
  6115. inline void packetw2c_ask_login_result::clear_has_account_info() {
  6116. _has_bits_[0] &= ~0x00000002u;
  6117. }
  6118. inline void packetw2c_ask_login_result::clear_account_info() {
  6119. if (account_info_ != NULL) account_info_->::msg_info_def::msg_account_info::Clear();
  6120. clear_has_account_info();
  6121. }
  6122. inline const ::msg_info_def::msg_account_info& packetw2c_ask_login_result::account_info() const {
  6123. return account_info_ != NULL ? *account_info_ : *default_instance_->account_info_;
  6124. }
  6125. inline ::msg_info_def::msg_account_info* packetw2c_ask_login_result::mutable_account_info() {
  6126. set_has_account_info();
  6127. if (account_info_ == NULL) account_info_ = new ::msg_info_def::msg_account_info;
  6128. return account_info_;
  6129. }
  6130. inline ::msg_info_def::msg_account_info* packetw2c_ask_login_result::release_account_info() {
  6131. clear_has_account_info();
  6132. ::msg_info_def::msg_account_info* temp = account_info_;
  6133. account_info_ = NULL;
  6134. return temp;
  6135. }
  6136. inline void packetw2c_ask_login_result::set_allocated_account_info(::msg_info_def::msg_account_info* account_info) {
  6137. delete account_info_;
  6138. account_info_ = account_info;
  6139. if (account_info) {
  6140. set_has_account_info();
  6141. } else {
  6142. clear_has_account_info();
  6143. }
  6144. }
  6145. // repeated .client2world_protocols.msg_game_info game_list = 3;
  6146. inline int packetw2c_ask_login_result::game_list_size() const {
  6147. return game_list_.size();
  6148. }
  6149. inline void packetw2c_ask_login_result::clear_game_list() {
  6150. game_list_.Clear();
  6151. }
  6152. inline const ::client2world_protocols::msg_game_info& packetw2c_ask_login_result::game_list(int index) const {
  6153. return game_list_.Get(index);
  6154. }
  6155. inline ::client2world_protocols::msg_game_info* packetw2c_ask_login_result::mutable_game_list(int index) {
  6156. return game_list_.Mutable(index);
  6157. }
  6158. inline ::client2world_protocols::msg_game_info* packetw2c_ask_login_result::add_game_list() {
  6159. return game_list_.Add();
  6160. }
  6161. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >&
  6162. packetw2c_ask_login_result::game_list() const {
  6163. return game_list_;
  6164. }
  6165. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >*
  6166. packetw2c_ask_login_result::mutable_game_list() {
  6167. return &game_list_;
  6168. }
  6169. // optional int32 gaming = 4 [default = 0];
  6170. inline bool packetw2c_ask_login_result::has_gaming() const {
  6171. return (_has_bits_[0] & 0x00000008u) != 0;
  6172. }
  6173. inline void packetw2c_ask_login_result::set_has_gaming() {
  6174. _has_bits_[0] |= 0x00000008u;
  6175. }
  6176. inline void packetw2c_ask_login_result::clear_has_gaming() {
  6177. _has_bits_[0] &= ~0x00000008u;
  6178. }
  6179. inline void packetw2c_ask_login_result::clear_gaming() {
  6180. gaming_ = 0;
  6181. clear_has_gaming();
  6182. }
  6183. inline ::google::protobuf::int32 packetw2c_ask_login_result::gaming() const {
  6184. return gaming_;
  6185. }
  6186. inline void packetw2c_ask_login_result::set_gaming(::google::protobuf::int32 value) {
  6187. set_has_gaming();
  6188. gaming_ = value;
  6189. }
  6190. // -------------------------------------------------------------------
  6191. // packetc2w_enter_game
  6192. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
  6193. inline bool packetc2w_enter_game::has_packet_id() const {
  6194. return (_has_bits_[0] & 0x00000001u) != 0;
  6195. }
  6196. inline void packetc2w_enter_game::set_has_packet_id() {
  6197. _has_bits_[0] |= 0x00000001u;
  6198. }
  6199. inline void packetc2w_enter_game::clear_has_packet_id() {
  6200. _has_bits_[0] &= ~0x00000001u;
  6201. }
  6202. inline void packetc2w_enter_game::clear_packet_id() {
  6203. packet_id_ = 5004;
  6204. clear_has_packet_id();
  6205. }
  6206. inline ::client2world_protocols::e_server_msg_type packetc2w_enter_game::packet_id() const {
  6207. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6208. }
  6209. inline void packetc2w_enter_game::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6210. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6211. set_has_packet_id();
  6212. packet_id_ = value;
  6213. }
  6214. // optional int32 gameid = 2;
  6215. inline bool packetc2w_enter_game::has_gameid() const {
  6216. return (_has_bits_[0] & 0x00000002u) != 0;
  6217. }
  6218. inline void packetc2w_enter_game::set_has_gameid() {
  6219. _has_bits_[0] |= 0x00000002u;
  6220. }
  6221. inline void packetc2w_enter_game::clear_has_gameid() {
  6222. _has_bits_[0] &= ~0x00000002u;
  6223. }
  6224. inline void packetc2w_enter_game::clear_gameid() {
  6225. gameid_ = 0;
  6226. clear_has_gameid();
  6227. }
  6228. inline ::google::protobuf::int32 packetc2w_enter_game::gameid() const {
  6229. return gameid_;
  6230. }
  6231. inline void packetc2w_enter_game::set_gameid(::google::protobuf::int32 value) {
  6232. set_has_gameid();
  6233. gameid_ = value;
  6234. }
  6235. // optional int32 gamever = 3;
  6236. inline bool packetc2w_enter_game::has_gamever() const {
  6237. return (_has_bits_[0] & 0x00000004u) != 0;
  6238. }
  6239. inline void packetc2w_enter_game::set_has_gamever() {
  6240. _has_bits_[0] |= 0x00000004u;
  6241. }
  6242. inline void packetc2w_enter_game::clear_has_gamever() {
  6243. _has_bits_[0] &= ~0x00000004u;
  6244. }
  6245. inline void packetc2w_enter_game::clear_gamever() {
  6246. gamever_ = 0;
  6247. clear_has_gamever();
  6248. }
  6249. inline ::google::protobuf::int32 packetc2w_enter_game::gamever() const {
  6250. return gamever_;
  6251. }
  6252. inline void packetc2w_enter_game::set_gamever(::google::protobuf::int32 value) {
  6253. set_has_gamever();
  6254. gamever_ = value;
  6255. }
  6256. // optional int32 roomId = 4;
  6257. inline bool packetc2w_enter_game::has_roomid() const {
  6258. return (_has_bits_[0] & 0x00000008u) != 0;
  6259. }
  6260. inline void packetc2w_enter_game::set_has_roomid() {
  6261. _has_bits_[0] |= 0x00000008u;
  6262. }
  6263. inline void packetc2w_enter_game::clear_has_roomid() {
  6264. _has_bits_[0] &= ~0x00000008u;
  6265. }
  6266. inline void packetc2w_enter_game::clear_roomid() {
  6267. roomid_ = 0;
  6268. clear_has_roomid();
  6269. }
  6270. inline ::google::protobuf::int32 packetc2w_enter_game::roomid() const {
  6271. return roomid_;
  6272. }
  6273. inline void packetc2w_enter_game::set_roomid(::google::protobuf::int32 value) {
  6274. set_has_roomid();
  6275. roomid_ = value;
  6276. }
  6277. // -------------------------------------------------------------------
  6278. // packetw2c_enter_game_result
  6279. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_result];
  6280. inline bool packetw2c_enter_game_result::has_packet_id() const {
  6281. return (_has_bits_[0] & 0x00000001u) != 0;
  6282. }
  6283. inline void packetw2c_enter_game_result::set_has_packet_id() {
  6284. _has_bits_[0] |= 0x00000001u;
  6285. }
  6286. inline void packetw2c_enter_game_result::clear_has_packet_id() {
  6287. _has_bits_[0] &= ~0x00000001u;
  6288. }
  6289. inline void packetw2c_enter_game_result::clear_packet_id() {
  6290. packet_id_ = 7504;
  6291. clear_has_packet_id();
  6292. }
  6293. inline ::client2world_protocols::e_server_msg_type packetw2c_enter_game_result::packet_id() const {
  6294. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6295. }
  6296. inline void packetw2c_enter_game_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6297. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6298. set_has_packet_id();
  6299. packet_id_ = value;
  6300. }
  6301. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  6302. inline bool packetw2c_enter_game_result::has_result() const {
  6303. return (_has_bits_[0] & 0x00000002u) != 0;
  6304. }
  6305. inline void packetw2c_enter_game_result::set_has_result() {
  6306. _has_bits_[0] |= 0x00000002u;
  6307. }
  6308. inline void packetw2c_enter_game_result::clear_has_result() {
  6309. _has_bits_[0] &= ~0x00000002u;
  6310. }
  6311. inline void packetw2c_enter_game_result::clear_result() {
  6312. result_ = 2;
  6313. clear_has_result();
  6314. }
  6315. inline ::msg_type_def::e_msg_result_def packetw2c_enter_game_result::result() const {
  6316. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  6317. }
  6318. inline void packetw2c_enter_game_result::set_result(::msg_type_def::e_msg_result_def value) {
  6319. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  6320. set_has_result();
  6321. result_ = value;
  6322. }
  6323. // -------------------------------------------------------------------
  6324. // packetc2w_gm_command
  6325. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
  6326. inline bool packetc2w_gm_command::has_packet_id() const {
  6327. return (_has_bits_[0] & 0x00000001u) != 0;
  6328. }
  6329. inline void packetc2w_gm_command::set_has_packet_id() {
  6330. _has_bits_[0] |= 0x00000001u;
  6331. }
  6332. inline void packetc2w_gm_command::clear_has_packet_id() {
  6333. _has_bits_[0] &= ~0x00000001u;
  6334. }
  6335. inline void packetc2w_gm_command::clear_packet_id() {
  6336. packet_id_ = 5005;
  6337. clear_has_packet_id();
  6338. }
  6339. inline ::client2world_protocols::e_server_msg_type packetc2w_gm_command::packet_id() const {
  6340. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6341. }
  6342. inline void packetc2w_gm_command::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6343. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6344. set_has_packet_id();
  6345. packet_id_ = value;
  6346. }
  6347. // optional string command = 2;
  6348. inline bool packetc2w_gm_command::has_command() const {
  6349. return (_has_bits_[0] & 0x00000002u) != 0;
  6350. }
  6351. inline void packetc2w_gm_command::set_has_command() {
  6352. _has_bits_[0] |= 0x00000002u;
  6353. }
  6354. inline void packetc2w_gm_command::clear_has_command() {
  6355. _has_bits_[0] &= ~0x00000002u;
  6356. }
  6357. inline void packetc2w_gm_command::clear_command() {
  6358. if (command_ != &::google::protobuf::internal::kEmptyString) {
  6359. command_->clear();
  6360. }
  6361. clear_has_command();
  6362. }
  6363. inline const ::std::string& packetc2w_gm_command::command() const {
  6364. return *command_;
  6365. }
  6366. inline void packetc2w_gm_command::set_command(const ::std::string& value) {
  6367. set_has_command();
  6368. if (command_ == &::google::protobuf::internal::kEmptyString) {
  6369. command_ = new ::std::string;
  6370. }
  6371. command_->assign(value);
  6372. }
  6373. inline void packetc2w_gm_command::set_command(const char* value) {
  6374. set_has_command();
  6375. if (command_ == &::google::protobuf::internal::kEmptyString) {
  6376. command_ = new ::std::string;
  6377. }
  6378. command_->assign(value);
  6379. }
  6380. inline void packetc2w_gm_command::set_command(const char* value, size_t size) {
  6381. set_has_command();
  6382. if (command_ == &::google::protobuf::internal::kEmptyString) {
  6383. command_ = new ::std::string;
  6384. }
  6385. command_->assign(reinterpret_cast<const char*>(value), size);
  6386. }
  6387. inline ::std::string* packetc2w_gm_command::mutable_command() {
  6388. set_has_command();
  6389. if (command_ == &::google::protobuf::internal::kEmptyString) {
  6390. command_ = new ::std::string;
  6391. }
  6392. return command_;
  6393. }
  6394. inline ::std::string* packetc2w_gm_command::release_command() {
  6395. clear_has_command();
  6396. if (command_ == &::google::protobuf::internal::kEmptyString) {
  6397. return NULL;
  6398. } else {
  6399. ::std::string* temp = command_;
  6400. command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6401. return temp;
  6402. }
  6403. }
  6404. inline void packetc2w_gm_command::set_allocated_command(::std::string* command) {
  6405. if (command_ != &::google::protobuf::internal::kEmptyString) {
  6406. delete command_;
  6407. }
  6408. if (command) {
  6409. set_has_command();
  6410. command_ = command;
  6411. } else {
  6412. clear_has_command();
  6413. command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6414. }
  6415. }
  6416. // -------------------------------------------------------------------
  6417. // packetw2c_gm_command_result
  6418. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_result];
  6419. inline bool packetw2c_gm_command_result::has_packet_id() const {
  6420. return (_has_bits_[0] & 0x00000001u) != 0;
  6421. }
  6422. inline void packetw2c_gm_command_result::set_has_packet_id() {
  6423. _has_bits_[0] |= 0x00000001u;
  6424. }
  6425. inline void packetw2c_gm_command_result::clear_has_packet_id() {
  6426. _has_bits_[0] &= ~0x00000001u;
  6427. }
  6428. inline void packetw2c_gm_command_result::clear_packet_id() {
  6429. packet_id_ = 7505;
  6430. clear_has_packet_id();
  6431. }
  6432. inline ::client2world_protocols::e_server_msg_type packetw2c_gm_command_result::packet_id() const {
  6433. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6434. }
  6435. inline void packetw2c_gm_command_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6436. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6437. set_has_packet_id();
  6438. packet_id_ = value;
  6439. }
  6440. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  6441. inline bool packetw2c_gm_command_result::has_result() const {
  6442. return (_has_bits_[0] & 0x00000002u) != 0;
  6443. }
  6444. inline void packetw2c_gm_command_result::set_has_result() {
  6445. _has_bits_[0] |= 0x00000002u;
  6446. }
  6447. inline void packetw2c_gm_command_result::clear_has_result() {
  6448. _has_bits_[0] &= ~0x00000002u;
  6449. }
  6450. inline void packetw2c_gm_command_result::clear_result() {
  6451. result_ = 2;
  6452. clear_has_result();
  6453. }
  6454. inline ::msg_type_def::e_msg_result_def packetw2c_gm_command_result::result() const {
  6455. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  6456. }
  6457. inline void packetw2c_gm_command_result::set_result(::msg_type_def::e_msg_result_def value) {
  6458. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  6459. set_has_result();
  6460. result_ = value;
  6461. }
  6462. // -------------------------------------------------------------------
  6463. // packetc2w_ask_for_pay
  6464. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
  6465. inline bool packetc2w_ask_for_pay::has_packet_id() const {
  6466. return (_has_bits_[0] & 0x00000001u) != 0;
  6467. }
  6468. inline void packetc2w_ask_for_pay::set_has_packet_id() {
  6469. _has_bits_[0] |= 0x00000001u;
  6470. }
  6471. inline void packetc2w_ask_for_pay::clear_has_packet_id() {
  6472. _has_bits_[0] &= ~0x00000001u;
  6473. }
  6474. inline void packetc2w_ask_for_pay::clear_packet_id() {
  6475. packet_id_ = 5075;
  6476. clear_has_packet_id();
  6477. }
  6478. inline ::client2world_protocols::e_server_msg_type packetc2w_ask_for_pay::packet_id() const {
  6479. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6480. }
  6481. inline void packetc2w_ask_for_pay::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6482. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6483. set_has_packet_id();
  6484. packet_id_ = value;
  6485. }
  6486. // optional string channel = 2;
  6487. inline bool packetc2w_ask_for_pay::has_channel() const {
  6488. return (_has_bits_[0] & 0x00000002u) != 0;
  6489. }
  6490. inline void packetc2w_ask_for_pay::set_has_channel() {
  6491. _has_bits_[0] |= 0x00000002u;
  6492. }
  6493. inline void packetc2w_ask_for_pay::clear_has_channel() {
  6494. _has_bits_[0] &= ~0x00000002u;
  6495. }
  6496. inline void packetc2w_ask_for_pay::clear_channel() {
  6497. if (channel_ != &::google::protobuf::internal::kEmptyString) {
  6498. channel_->clear();
  6499. }
  6500. clear_has_channel();
  6501. }
  6502. inline const ::std::string& packetc2w_ask_for_pay::channel() const {
  6503. return *channel_;
  6504. }
  6505. inline void packetc2w_ask_for_pay::set_channel(const ::std::string& value) {
  6506. set_has_channel();
  6507. if (channel_ == &::google::protobuf::internal::kEmptyString) {
  6508. channel_ = new ::std::string;
  6509. }
  6510. channel_->assign(value);
  6511. }
  6512. inline void packetc2w_ask_for_pay::set_channel(const char* value) {
  6513. set_has_channel();
  6514. if (channel_ == &::google::protobuf::internal::kEmptyString) {
  6515. channel_ = new ::std::string;
  6516. }
  6517. channel_->assign(value);
  6518. }
  6519. inline void packetc2w_ask_for_pay::set_channel(const char* value, size_t size) {
  6520. set_has_channel();
  6521. if (channel_ == &::google::protobuf::internal::kEmptyString) {
  6522. channel_ = new ::std::string;
  6523. }
  6524. channel_->assign(reinterpret_cast<const char*>(value), size);
  6525. }
  6526. inline ::std::string* packetc2w_ask_for_pay::mutable_channel() {
  6527. set_has_channel();
  6528. if (channel_ == &::google::protobuf::internal::kEmptyString) {
  6529. channel_ = new ::std::string;
  6530. }
  6531. return channel_;
  6532. }
  6533. inline ::std::string* packetc2w_ask_for_pay::release_channel() {
  6534. clear_has_channel();
  6535. if (channel_ == &::google::protobuf::internal::kEmptyString) {
  6536. return NULL;
  6537. } else {
  6538. ::std::string* temp = channel_;
  6539. channel_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6540. return temp;
  6541. }
  6542. }
  6543. inline void packetc2w_ask_for_pay::set_allocated_channel(::std::string* channel) {
  6544. if (channel_ != &::google::protobuf::internal::kEmptyString) {
  6545. delete channel_;
  6546. }
  6547. if (channel) {
  6548. set_has_channel();
  6549. channel_ = channel;
  6550. } else {
  6551. clear_has_channel();
  6552. channel_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6553. }
  6554. }
  6555. // optional int32 pay_code = 3;
  6556. inline bool packetc2w_ask_for_pay::has_pay_code() const {
  6557. return (_has_bits_[0] & 0x00000004u) != 0;
  6558. }
  6559. inline void packetc2w_ask_for_pay::set_has_pay_code() {
  6560. _has_bits_[0] |= 0x00000004u;
  6561. }
  6562. inline void packetc2w_ask_for_pay::clear_has_pay_code() {
  6563. _has_bits_[0] &= ~0x00000004u;
  6564. }
  6565. inline void packetc2w_ask_for_pay::clear_pay_code() {
  6566. pay_code_ = 0;
  6567. clear_has_pay_code();
  6568. }
  6569. inline ::google::protobuf::int32 packetc2w_ask_for_pay::pay_code() const {
  6570. return pay_code_;
  6571. }
  6572. inline void packetc2w_ask_for_pay::set_pay_code(::google::protobuf::int32 value) {
  6573. set_has_pay_code();
  6574. pay_code_ = value;
  6575. }
  6576. // optional string pay_type = 4;
  6577. inline bool packetc2w_ask_for_pay::has_pay_type() const {
  6578. return (_has_bits_[0] & 0x00000008u) != 0;
  6579. }
  6580. inline void packetc2w_ask_for_pay::set_has_pay_type() {
  6581. _has_bits_[0] |= 0x00000008u;
  6582. }
  6583. inline void packetc2w_ask_for_pay::clear_has_pay_type() {
  6584. _has_bits_[0] &= ~0x00000008u;
  6585. }
  6586. inline void packetc2w_ask_for_pay::clear_pay_type() {
  6587. if (pay_type_ != &::google::protobuf::internal::kEmptyString) {
  6588. pay_type_->clear();
  6589. }
  6590. clear_has_pay_type();
  6591. }
  6592. inline const ::std::string& packetc2w_ask_for_pay::pay_type() const {
  6593. return *pay_type_;
  6594. }
  6595. inline void packetc2w_ask_for_pay::set_pay_type(const ::std::string& value) {
  6596. set_has_pay_type();
  6597. if (pay_type_ == &::google::protobuf::internal::kEmptyString) {
  6598. pay_type_ = new ::std::string;
  6599. }
  6600. pay_type_->assign(value);
  6601. }
  6602. inline void packetc2w_ask_for_pay::set_pay_type(const char* value) {
  6603. set_has_pay_type();
  6604. if (pay_type_ == &::google::protobuf::internal::kEmptyString) {
  6605. pay_type_ = new ::std::string;
  6606. }
  6607. pay_type_->assign(value);
  6608. }
  6609. inline void packetc2w_ask_for_pay::set_pay_type(const char* value, size_t size) {
  6610. set_has_pay_type();
  6611. if (pay_type_ == &::google::protobuf::internal::kEmptyString) {
  6612. pay_type_ = new ::std::string;
  6613. }
  6614. pay_type_->assign(reinterpret_cast<const char*>(value), size);
  6615. }
  6616. inline ::std::string* packetc2w_ask_for_pay::mutable_pay_type() {
  6617. set_has_pay_type();
  6618. if (pay_type_ == &::google::protobuf::internal::kEmptyString) {
  6619. pay_type_ = new ::std::string;
  6620. }
  6621. return pay_type_;
  6622. }
  6623. inline ::std::string* packetc2w_ask_for_pay::release_pay_type() {
  6624. clear_has_pay_type();
  6625. if (pay_type_ == &::google::protobuf::internal::kEmptyString) {
  6626. return NULL;
  6627. } else {
  6628. ::std::string* temp = pay_type_;
  6629. pay_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6630. return temp;
  6631. }
  6632. }
  6633. inline void packetc2w_ask_for_pay::set_allocated_pay_type(::std::string* pay_type) {
  6634. if (pay_type_ != &::google::protobuf::internal::kEmptyString) {
  6635. delete pay_type_;
  6636. }
  6637. if (pay_type) {
  6638. set_has_pay_type();
  6639. pay_type_ = pay_type;
  6640. } else {
  6641. clear_has_pay_type();
  6642. pay_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6643. }
  6644. }
  6645. // -------------------------------------------------------------------
  6646. // packetw2c_ask_for_pay_result
  6647. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_result];
  6648. inline bool packetw2c_ask_for_pay_result::has_packet_id() const {
  6649. return (_has_bits_[0] & 0x00000001u) != 0;
  6650. }
  6651. inline void packetw2c_ask_for_pay_result::set_has_packet_id() {
  6652. _has_bits_[0] |= 0x00000001u;
  6653. }
  6654. inline void packetw2c_ask_for_pay_result::clear_has_packet_id() {
  6655. _has_bits_[0] &= ~0x00000001u;
  6656. }
  6657. inline void packetw2c_ask_for_pay_result::clear_packet_id() {
  6658. packet_id_ = 7579;
  6659. clear_has_packet_id();
  6660. }
  6661. inline ::client2world_protocols::e_server_msg_type packetw2c_ask_for_pay_result::packet_id() const {
  6662. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6663. }
  6664. inline void packetw2c_ask_for_pay_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6665. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6666. set_has_packet_id();
  6667. packet_id_ = value;
  6668. }
  6669. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  6670. inline bool packetw2c_ask_for_pay_result::has_result() const {
  6671. return (_has_bits_[0] & 0x00000002u) != 0;
  6672. }
  6673. inline void packetw2c_ask_for_pay_result::set_has_result() {
  6674. _has_bits_[0] |= 0x00000002u;
  6675. }
  6676. inline void packetw2c_ask_for_pay_result::clear_has_result() {
  6677. _has_bits_[0] &= ~0x00000002u;
  6678. }
  6679. inline void packetw2c_ask_for_pay_result::clear_result() {
  6680. result_ = 2;
  6681. clear_has_result();
  6682. }
  6683. inline ::msg_type_def::e_msg_result_def packetw2c_ask_for_pay_result::result() const {
  6684. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  6685. }
  6686. inline void packetw2c_ask_for_pay_result::set_result(::msg_type_def::e_msg_result_def value) {
  6687. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  6688. set_has_result();
  6689. result_ = value;
  6690. }
  6691. // optional string order_id = 3;
  6692. inline bool packetw2c_ask_for_pay_result::has_order_id() const {
  6693. return (_has_bits_[0] & 0x00000004u) != 0;
  6694. }
  6695. inline void packetw2c_ask_for_pay_result::set_has_order_id() {
  6696. _has_bits_[0] |= 0x00000004u;
  6697. }
  6698. inline void packetw2c_ask_for_pay_result::clear_has_order_id() {
  6699. _has_bits_[0] &= ~0x00000004u;
  6700. }
  6701. inline void packetw2c_ask_for_pay_result::clear_order_id() {
  6702. if (order_id_ != &::google::protobuf::internal::kEmptyString) {
  6703. order_id_->clear();
  6704. }
  6705. clear_has_order_id();
  6706. }
  6707. inline const ::std::string& packetw2c_ask_for_pay_result::order_id() const {
  6708. return *order_id_;
  6709. }
  6710. inline void packetw2c_ask_for_pay_result::set_order_id(const ::std::string& value) {
  6711. set_has_order_id();
  6712. if (order_id_ == &::google::protobuf::internal::kEmptyString) {
  6713. order_id_ = new ::std::string;
  6714. }
  6715. order_id_->assign(value);
  6716. }
  6717. inline void packetw2c_ask_for_pay_result::set_order_id(const char* value) {
  6718. set_has_order_id();
  6719. if (order_id_ == &::google::protobuf::internal::kEmptyString) {
  6720. order_id_ = new ::std::string;
  6721. }
  6722. order_id_->assign(value);
  6723. }
  6724. inline void packetw2c_ask_for_pay_result::set_order_id(const char* value, size_t size) {
  6725. set_has_order_id();
  6726. if (order_id_ == &::google::protobuf::internal::kEmptyString) {
  6727. order_id_ = new ::std::string;
  6728. }
  6729. order_id_->assign(reinterpret_cast<const char*>(value), size);
  6730. }
  6731. inline ::std::string* packetw2c_ask_for_pay_result::mutable_order_id() {
  6732. set_has_order_id();
  6733. if (order_id_ == &::google::protobuf::internal::kEmptyString) {
  6734. order_id_ = new ::std::string;
  6735. }
  6736. return order_id_;
  6737. }
  6738. inline ::std::string* packetw2c_ask_for_pay_result::release_order_id() {
  6739. clear_has_order_id();
  6740. if (order_id_ == &::google::protobuf::internal::kEmptyString) {
  6741. return NULL;
  6742. } else {
  6743. ::std::string* temp = order_id_;
  6744. order_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6745. return temp;
  6746. }
  6747. }
  6748. inline void packetw2c_ask_for_pay_result::set_allocated_order_id(::std::string* order_id) {
  6749. if (order_id_ != &::google::protobuf::internal::kEmptyString) {
  6750. delete order_id_;
  6751. }
  6752. if (order_id) {
  6753. set_has_order_id();
  6754. order_id_ = order_id;
  6755. } else {
  6756. clear_has_order_id();
  6757. order_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6758. }
  6759. }
  6760. // -------------------------------------------------------------------
  6761. // packetc2w_ask_check_payment
  6762. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
  6763. inline bool packetc2w_ask_check_payment::has_packet_id() const {
  6764. return (_has_bits_[0] & 0x00000001u) != 0;
  6765. }
  6766. inline void packetc2w_ask_check_payment::set_has_packet_id() {
  6767. _has_bits_[0] |= 0x00000001u;
  6768. }
  6769. inline void packetc2w_ask_check_payment::clear_has_packet_id() {
  6770. _has_bits_[0] &= ~0x00000001u;
  6771. }
  6772. inline void packetc2w_ask_check_payment::clear_packet_id() {
  6773. packet_id_ = 5006;
  6774. clear_has_packet_id();
  6775. }
  6776. inline ::client2world_protocols::e_server_msg_type packetc2w_ask_check_payment::packet_id() const {
  6777. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6778. }
  6779. inline void packetc2w_ask_check_payment::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6780. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6781. set_has_packet_id();
  6782. packet_id_ = value;
  6783. }
  6784. // optional string orderid = 2;
  6785. inline bool packetc2w_ask_check_payment::has_orderid() const {
  6786. return (_has_bits_[0] & 0x00000002u) != 0;
  6787. }
  6788. inline void packetc2w_ask_check_payment::set_has_orderid() {
  6789. _has_bits_[0] |= 0x00000002u;
  6790. }
  6791. inline void packetc2w_ask_check_payment::clear_has_orderid() {
  6792. _has_bits_[0] &= ~0x00000002u;
  6793. }
  6794. inline void packetc2w_ask_check_payment::clear_orderid() {
  6795. if (orderid_ != &::google::protobuf::internal::kEmptyString) {
  6796. orderid_->clear();
  6797. }
  6798. clear_has_orderid();
  6799. }
  6800. inline const ::std::string& packetc2w_ask_check_payment::orderid() const {
  6801. return *orderid_;
  6802. }
  6803. inline void packetc2w_ask_check_payment::set_orderid(const ::std::string& value) {
  6804. set_has_orderid();
  6805. if (orderid_ == &::google::protobuf::internal::kEmptyString) {
  6806. orderid_ = new ::std::string;
  6807. }
  6808. orderid_->assign(value);
  6809. }
  6810. inline void packetc2w_ask_check_payment::set_orderid(const char* value) {
  6811. set_has_orderid();
  6812. if (orderid_ == &::google::protobuf::internal::kEmptyString) {
  6813. orderid_ = new ::std::string;
  6814. }
  6815. orderid_->assign(value);
  6816. }
  6817. inline void packetc2w_ask_check_payment::set_orderid(const char* value, size_t size) {
  6818. set_has_orderid();
  6819. if (orderid_ == &::google::protobuf::internal::kEmptyString) {
  6820. orderid_ = new ::std::string;
  6821. }
  6822. orderid_->assign(reinterpret_cast<const char*>(value), size);
  6823. }
  6824. inline ::std::string* packetc2w_ask_check_payment::mutable_orderid() {
  6825. set_has_orderid();
  6826. if (orderid_ == &::google::protobuf::internal::kEmptyString) {
  6827. orderid_ = new ::std::string;
  6828. }
  6829. return orderid_;
  6830. }
  6831. inline ::std::string* packetc2w_ask_check_payment::release_orderid() {
  6832. clear_has_orderid();
  6833. if (orderid_ == &::google::protobuf::internal::kEmptyString) {
  6834. return NULL;
  6835. } else {
  6836. ::std::string* temp = orderid_;
  6837. orderid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6838. return temp;
  6839. }
  6840. }
  6841. inline void packetc2w_ask_check_payment::set_allocated_orderid(::std::string* orderid) {
  6842. if (orderid_ != &::google::protobuf::internal::kEmptyString) {
  6843. delete orderid_;
  6844. }
  6845. if (orderid) {
  6846. set_has_orderid();
  6847. orderid_ = orderid;
  6848. } else {
  6849. clear_has_orderid();
  6850. orderid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6851. }
  6852. }
  6853. // optional bool ex_mark = 3 [default = false];
  6854. inline bool packetc2w_ask_check_payment::has_ex_mark() const {
  6855. return (_has_bits_[0] & 0x00000004u) != 0;
  6856. }
  6857. inline void packetc2w_ask_check_payment::set_has_ex_mark() {
  6858. _has_bits_[0] |= 0x00000004u;
  6859. }
  6860. inline void packetc2w_ask_check_payment::clear_has_ex_mark() {
  6861. _has_bits_[0] &= ~0x00000004u;
  6862. }
  6863. inline void packetc2w_ask_check_payment::clear_ex_mark() {
  6864. ex_mark_ = false;
  6865. clear_has_ex_mark();
  6866. }
  6867. inline bool packetc2w_ask_check_payment::ex_mark() const {
  6868. return ex_mark_;
  6869. }
  6870. inline void packetc2w_ask_check_payment::set_ex_mark(bool value) {
  6871. set_has_ex_mark();
  6872. ex_mark_ = value;
  6873. }
  6874. // optional string payType = 4;
  6875. inline bool packetc2w_ask_check_payment::has_paytype() const {
  6876. return (_has_bits_[0] & 0x00000008u) != 0;
  6877. }
  6878. inline void packetc2w_ask_check_payment::set_has_paytype() {
  6879. _has_bits_[0] |= 0x00000008u;
  6880. }
  6881. inline void packetc2w_ask_check_payment::clear_has_paytype() {
  6882. _has_bits_[0] &= ~0x00000008u;
  6883. }
  6884. inline void packetc2w_ask_check_payment::clear_paytype() {
  6885. if (paytype_ != &::google::protobuf::internal::kEmptyString) {
  6886. paytype_->clear();
  6887. }
  6888. clear_has_paytype();
  6889. }
  6890. inline const ::std::string& packetc2w_ask_check_payment::paytype() const {
  6891. return *paytype_;
  6892. }
  6893. inline void packetc2w_ask_check_payment::set_paytype(const ::std::string& value) {
  6894. set_has_paytype();
  6895. if (paytype_ == &::google::protobuf::internal::kEmptyString) {
  6896. paytype_ = new ::std::string;
  6897. }
  6898. paytype_->assign(value);
  6899. }
  6900. inline void packetc2w_ask_check_payment::set_paytype(const char* value) {
  6901. set_has_paytype();
  6902. if (paytype_ == &::google::protobuf::internal::kEmptyString) {
  6903. paytype_ = new ::std::string;
  6904. }
  6905. paytype_->assign(value);
  6906. }
  6907. inline void packetc2w_ask_check_payment::set_paytype(const char* value, size_t size) {
  6908. set_has_paytype();
  6909. if (paytype_ == &::google::protobuf::internal::kEmptyString) {
  6910. paytype_ = new ::std::string;
  6911. }
  6912. paytype_->assign(reinterpret_cast<const char*>(value), size);
  6913. }
  6914. inline ::std::string* packetc2w_ask_check_payment::mutable_paytype() {
  6915. set_has_paytype();
  6916. if (paytype_ == &::google::protobuf::internal::kEmptyString) {
  6917. paytype_ = new ::std::string;
  6918. }
  6919. return paytype_;
  6920. }
  6921. inline ::std::string* packetc2w_ask_check_payment::release_paytype() {
  6922. clear_has_paytype();
  6923. if (paytype_ == &::google::protobuf::internal::kEmptyString) {
  6924. return NULL;
  6925. } else {
  6926. ::std::string* temp = paytype_;
  6927. paytype_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6928. return temp;
  6929. }
  6930. }
  6931. inline void packetc2w_ask_check_payment::set_allocated_paytype(::std::string* paytype) {
  6932. if (paytype_ != &::google::protobuf::internal::kEmptyString) {
  6933. delete paytype_;
  6934. }
  6935. if (paytype) {
  6936. set_has_paytype();
  6937. paytype_ = paytype;
  6938. } else {
  6939. clear_has_paytype();
  6940. paytype_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6941. }
  6942. }
  6943. // -------------------------------------------------------------------
  6944. // packetc2w_ask_test_payment
  6945. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
  6946. inline bool packetc2w_ask_test_payment::has_packet_id() const {
  6947. return (_has_bits_[0] & 0x00000001u) != 0;
  6948. }
  6949. inline void packetc2w_ask_test_payment::set_has_packet_id() {
  6950. _has_bits_[0] |= 0x00000001u;
  6951. }
  6952. inline void packetc2w_ask_test_payment::clear_has_packet_id() {
  6953. _has_bits_[0] &= ~0x00000001u;
  6954. }
  6955. inline void packetc2w_ask_test_payment::clear_packet_id() {
  6956. packet_id_ = 5007;
  6957. clear_has_packet_id();
  6958. }
  6959. inline ::client2world_protocols::e_server_msg_type packetc2w_ask_test_payment::packet_id() const {
  6960. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  6961. }
  6962. inline void packetc2w_ask_test_payment::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  6963. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  6964. set_has_packet_id();
  6965. packet_id_ = value;
  6966. }
  6967. // optional int32 payid = 2;
  6968. inline bool packetc2w_ask_test_payment::has_payid() const {
  6969. return (_has_bits_[0] & 0x00000002u) != 0;
  6970. }
  6971. inline void packetc2w_ask_test_payment::set_has_payid() {
  6972. _has_bits_[0] |= 0x00000002u;
  6973. }
  6974. inline void packetc2w_ask_test_payment::clear_has_payid() {
  6975. _has_bits_[0] &= ~0x00000002u;
  6976. }
  6977. inline void packetc2w_ask_test_payment::clear_payid() {
  6978. payid_ = 0;
  6979. clear_has_payid();
  6980. }
  6981. inline ::google::protobuf::int32 packetc2w_ask_test_payment::payid() const {
  6982. return payid_;
  6983. }
  6984. inline void packetc2w_ask_test_payment::set_payid(::google::protobuf::int32 value) {
  6985. set_has_payid();
  6986. payid_ = value;
  6987. }
  6988. // optional bool ex_mark = 3 [default = false];
  6989. inline bool packetc2w_ask_test_payment::has_ex_mark() const {
  6990. return (_has_bits_[0] & 0x00000004u) != 0;
  6991. }
  6992. inline void packetc2w_ask_test_payment::set_has_ex_mark() {
  6993. _has_bits_[0] |= 0x00000004u;
  6994. }
  6995. inline void packetc2w_ask_test_payment::clear_has_ex_mark() {
  6996. _has_bits_[0] &= ~0x00000004u;
  6997. }
  6998. inline void packetc2w_ask_test_payment::clear_ex_mark() {
  6999. ex_mark_ = false;
  7000. clear_has_ex_mark();
  7001. }
  7002. inline bool packetc2w_ask_test_payment::ex_mark() const {
  7003. return ex_mark_;
  7004. }
  7005. inline void packetc2w_ask_test_payment::set_ex_mark(bool value) {
  7006. set_has_ex_mark();
  7007. ex_mark_ = value;
  7008. }
  7009. // -------------------------------------------------------------------
  7010. // packetw2c_ask_check_payment_result
  7011. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_result];
  7012. inline bool packetw2c_ask_check_payment_result::has_packet_id() const {
  7013. return (_has_bits_[0] & 0x00000001u) != 0;
  7014. }
  7015. inline void packetw2c_ask_check_payment_result::set_has_packet_id() {
  7016. _has_bits_[0] |= 0x00000001u;
  7017. }
  7018. inline void packetw2c_ask_check_payment_result::clear_has_packet_id() {
  7019. _has_bits_[0] &= ~0x00000001u;
  7020. }
  7021. inline void packetw2c_ask_check_payment_result::clear_packet_id() {
  7022. packet_id_ = 7506;
  7023. clear_has_packet_id();
  7024. }
  7025. inline ::client2world_protocols::e_server_msg_type packetw2c_ask_check_payment_result::packet_id() const {
  7026. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7027. }
  7028. inline void packetw2c_ask_check_payment_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7029. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7030. set_has_packet_id();
  7031. packet_id_ = value;
  7032. }
  7033. // optional int32 payid = 2;
  7034. inline bool packetw2c_ask_check_payment_result::has_payid() const {
  7035. return (_has_bits_[0] & 0x00000002u) != 0;
  7036. }
  7037. inline void packetw2c_ask_check_payment_result::set_has_payid() {
  7038. _has_bits_[0] |= 0x00000002u;
  7039. }
  7040. inline void packetw2c_ask_check_payment_result::clear_has_payid() {
  7041. _has_bits_[0] &= ~0x00000002u;
  7042. }
  7043. inline void packetw2c_ask_check_payment_result::clear_payid() {
  7044. payid_ = 0;
  7045. clear_has_payid();
  7046. }
  7047. inline ::google::protobuf::int32 packetw2c_ask_check_payment_result::payid() const {
  7048. return payid_;
  7049. }
  7050. inline void packetw2c_ask_check_payment_result::set_payid(::google::protobuf::int32 value) {
  7051. set_has_payid();
  7052. payid_ = value;
  7053. }
  7054. // optional bool result = 3 [default = true];
  7055. inline bool packetw2c_ask_check_payment_result::has_result() const {
  7056. return (_has_bits_[0] & 0x00000004u) != 0;
  7057. }
  7058. inline void packetw2c_ask_check_payment_result::set_has_result() {
  7059. _has_bits_[0] |= 0x00000004u;
  7060. }
  7061. inline void packetw2c_ask_check_payment_result::clear_has_result() {
  7062. _has_bits_[0] &= ~0x00000004u;
  7063. }
  7064. inline void packetw2c_ask_check_payment_result::clear_result() {
  7065. result_ = true;
  7066. clear_has_result();
  7067. }
  7068. inline bool packetw2c_ask_check_payment_result::result() const {
  7069. return result_;
  7070. }
  7071. inline void packetw2c_ask_check_payment_result::set_result(bool value) {
  7072. set_has_result();
  7073. result_ = value;
  7074. }
  7075. // optional int32 gold_count = 4 [default = 0];
  7076. inline bool packetw2c_ask_check_payment_result::has_gold_count() const {
  7077. return (_has_bits_[0] & 0x00000008u) != 0;
  7078. }
  7079. inline void packetw2c_ask_check_payment_result::set_has_gold_count() {
  7080. _has_bits_[0] |= 0x00000008u;
  7081. }
  7082. inline void packetw2c_ask_check_payment_result::clear_has_gold_count() {
  7083. _has_bits_[0] &= ~0x00000008u;
  7084. }
  7085. inline void packetw2c_ask_check_payment_result::clear_gold_count() {
  7086. gold_count_ = 0;
  7087. clear_has_gold_count();
  7088. }
  7089. inline ::google::protobuf::int32 packetw2c_ask_check_payment_result::gold_count() const {
  7090. return gold_count_;
  7091. }
  7092. inline void packetw2c_ask_check_payment_result::set_gold_count(::google::protobuf::int32 value) {
  7093. set_has_gold_count();
  7094. gold_count_ = value;
  7095. }
  7096. // optional int32 ticket_count = 5 [default = 0];
  7097. inline bool packetw2c_ask_check_payment_result::has_ticket_count() const {
  7098. return (_has_bits_[0] & 0x00000010u) != 0;
  7099. }
  7100. inline void packetw2c_ask_check_payment_result::set_has_ticket_count() {
  7101. _has_bits_[0] |= 0x00000010u;
  7102. }
  7103. inline void packetw2c_ask_check_payment_result::clear_has_ticket_count() {
  7104. _has_bits_[0] &= ~0x00000010u;
  7105. }
  7106. inline void packetw2c_ask_check_payment_result::clear_ticket_count() {
  7107. ticket_count_ = 0;
  7108. clear_has_ticket_count();
  7109. }
  7110. inline ::google::protobuf::int32 packetw2c_ask_check_payment_result::ticket_count() const {
  7111. return ticket_count_;
  7112. }
  7113. inline void packetw2c_ask_check_payment_result::set_ticket_count(::google::protobuf::int32 value) {
  7114. set_has_ticket_count();
  7115. ticket_count_ = value;
  7116. }
  7117. // repeated .msg_info_def.ItemInfo rewardItem = 9;
  7118. inline int packetw2c_ask_check_payment_result::rewarditem_size() const {
  7119. return rewarditem_.size();
  7120. }
  7121. inline void packetw2c_ask_check_payment_result::clear_rewarditem() {
  7122. rewarditem_.Clear();
  7123. }
  7124. inline const ::msg_info_def::ItemInfo& packetw2c_ask_check_payment_result::rewarditem(int index) const {
  7125. return rewarditem_.Get(index);
  7126. }
  7127. inline ::msg_info_def::ItemInfo* packetw2c_ask_check_payment_result::mutable_rewarditem(int index) {
  7128. return rewarditem_.Mutable(index);
  7129. }
  7130. inline ::msg_info_def::ItemInfo* packetw2c_ask_check_payment_result::add_rewarditem() {
  7131. return rewarditem_.Add();
  7132. }
  7133. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  7134. packetw2c_ask_check_payment_result::rewarditem() const {
  7135. return rewarditem_;
  7136. }
  7137. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  7138. packetw2c_ask_check_payment_result::mutable_rewarditem() {
  7139. return &rewarditem_;
  7140. }
  7141. // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  7142. inline int packetw2c_ask_check_payment_result::activityitem_size() const {
  7143. return activityitem_.size();
  7144. }
  7145. inline void packetw2c_ask_check_payment_result::clear_activityitem() {
  7146. activityitem_.Clear();
  7147. }
  7148. inline const ::msg_info_def::ActivityItemInfo& packetw2c_ask_check_payment_result::activityitem(int index) const {
  7149. return activityitem_.Get(index);
  7150. }
  7151. inline ::msg_info_def::ActivityItemInfo* packetw2c_ask_check_payment_result::mutable_activityitem(int index) {
  7152. return activityitem_.Mutable(index);
  7153. }
  7154. inline ::msg_info_def::ActivityItemInfo* packetw2c_ask_check_payment_result::add_activityitem() {
  7155. return activityitem_.Add();
  7156. }
  7157. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityItemInfo >&
  7158. packetw2c_ask_check_payment_result::activityitem() const {
  7159. return activityitem_;
  7160. }
  7161. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ActivityItemInfo >*
  7162. packetw2c_ask_check_payment_result::mutable_activityitem() {
  7163. return &activityitem_;
  7164. }
  7165. // -------------------------------------------------------------------
  7166. // packetc2w_free_gift_payment
  7167. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
  7168. inline bool packetc2w_free_gift_payment::has_packet_id() const {
  7169. return (_has_bits_[0] & 0x00000001u) != 0;
  7170. }
  7171. inline void packetc2w_free_gift_payment::set_has_packet_id() {
  7172. _has_bits_[0] |= 0x00000001u;
  7173. }
  7174. inline void packetc2w_free_gift_payment::clear_has_packet_id() {
  7175. _has_bits_[0] &= ~0x00000001u;
  7176. }
  7177. inline void packetc2w_free_gift_payment::clear_packet_id() {
  7178. packet_id_ = 5158;
  7179. clear_has_packet_id();
  7180. }
  7181. inline ::client2world_protocols::e_server_msg_type packetc2w_free_gift_payment::packet_id() const {
  7182. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7183. }
  7184. inline void packetc2w_free_gift_payment::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7185. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7186. set_has_packet_id();
  7187. packet_id_ = value;
  7188. }
  7189. // optional int32 payid = 2;
  7190. inline bool packetc2w_free_gift_payment::has_payid() const {
  7191. return (_has_bits_[0] & 0x00000002u) != 0;
  7192. }
  7193. inline void packetc2w_free_gift_payment::set_has_payid() {
  7194. _has_bits_[0] |= 0x00000002u;
  7195. }
  7196. inline void packetc2w_free_gift_payment::clear_has_payid() {
  7197. _has_bits_[0] &= ~0x00000002u;
  7198. }
  7199. inline void packetc2w_free_gift_payment::clear_payid() {
  7200. payid_ = 0;
  7201. clear_has_payid();
  7202. }
  7203. inline ::google::protobuf::int32 packetc2w_free_gift_payment::payid() const {
  7204. return payid_;
  7205. }
  7206. inline void packetc2w_free_gift_payment::set_payid(::google::protobuf::int32 value) {
  7207. set_has_payid();
  7208. payid_ = value;
  7209. }
  7210. // optional bool ex_mark = 3 [default = false];
  7211. inline bool packetc2w_free_gift_payment::has_ex_mark() const {
  7212. return (_has_bits_[0] & 0x00000004u) != 0;
  7213. }
  7214. inline void packetc2w_free_gift_payment::set_has_ex_mark() {
  7215. _has_bits_[0] |= 0x00000004u;
  7216. }
  7217. inline void packetc2w_free_gift_payment::clear_has_ex_mark() {
  7218. _has_bits_[0] &= ~0x00000004u;
  7219. }
  7220. inline void packetc2w_free_gift_payment::clear_ex_mark() {
  7221. ex_mark_ = false;
  7222. clear_has_ex_mark();
  7223. }
  7224. inline bool packetc2w_free_gift_payment::ex_mark() const {
  7225. return ex_mark_;
  7226. }
  7227. inline void packetc2w_free_gift_payment::set_ex_mark(bool value) {
  7228. set_has_ex_mark();
  7229. ex_mark_ = value;
  7230. }
  7231. // -------------------------------------------------------------------
  7232. // packetc2w_open_gift
  7233. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
  7234. inline bool packetc2w_open_gift::has_packet_id() const {
  7235. return (_has_bits_[0] & 0x00000001u) != 0;
  7236. }
  7237. inline void packetc2w_open_gift::set_has_packet_id() {
  7238. _has_bits_[0] |= 0x00000001u;
  7239. }
  7240. inline void packetc2w_open_gift::clear_has_packet_id() {
  7241. _has_bits_[0] &= ~0x00000001u;
  7242. }
  7243. inline void packetc2w_open_gift::clear_packet_id() {
  7244. packet_id_ = 5183;
  7245. clear_has_packet_id();
  7246. }
  7247. inline ::client2world_protocols::e_server_msg_type packetc2w_open_gift::packet_id() const {
  7248. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7249. }
  7250. inline void packetc2w_open_gift::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7251. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7252. set_has_packet_id();
  7253. packet_id_ = value;
  7254. }
  7255. // optional int32 giftId = 2;
  7256. inline bool packetc2w_open_gift::has_giftid() const {
  7257. return (_has_bits_[0] & 0x00000002u) != 0;
  7258. }
  7259. inline void packetc2w_open_gift::set_has_giftid() {
  7260. _has_bits_[0] |= 0x00000002u;
  7261. }
  7262. inline void packetc2w_open_gift::clear_has_giftid() {
  7263. _has_bits_[0] &= ~0x00000002u;
  7264. }
  7265. inline void packetc2w_open_gift::clear_giftid() {
  7266. giftid_ = 0;
  7267. clear_has_giftid();
  7268. }
  7269. inline ::google::protobuf::int32 packetc2w_open_gift::giftid() const {
  7270. return giftid_;
  7271. }
  7272. inline void packetc2w_open_gift::set_giftid(::google::protobuf::int32 value) {
  7273. set_has_giftid();
  7274. giftid_ = value;
  7275. }
  7276. // -------------------------------------------------------------------
  7277. // packetw2c_open_gift_result
  7278. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_result];
  7279. inline bool packetw2c_open_gift_result::has_packet_id() const {
  7280. return (_has_bits_[0] & 0x00000001u) != 0;
  7281. }
  7282. inline void packetw2c_open_gift_result::set_has_packet_id() {
  7283. _has_bits_[0] |= 0x00000001u;
  7284. }
  7285. inline void packetw2c_open_gift_result::clear_has_packet_id() {
  7286. _has_bits_[0] &= ~0x00000001u;
  7287. }
  7288. inline void packetw2c_open_gift_result::clear_packet_id() {
  7289. packet_id_ = 7707;
  7290. clear_has_packet_id();
  7291. }
  7292. inline ::client2world_protocols::e_server_msg_type packetw2c_open_gift_result::packet_id() const {
  7293. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7294. }
  7295. inline void packetw2c_open_gift_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7296. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7297. set_has_packet_id();
  7298. packet_id_ = value;
  7299. }
  7300. // optional int32 result = 2;
  7301. inline bool packetw2c_open_gift_result::has_result() const {
  7302. return (_has_bits_[0] & 0x00000002u) != 0;
  7303. }
  7304. inline void packetw2c_open_gift_result::set_has_result() {
  7305. _has_bits_[0] |= 0x00000002u;
  7306. }
  7307. inline void packetw2c_open_gift_result::clear_has_result() {
  7308. _has_bits_[0] &= ~0x00000002u;
  7309. }
  7310. inline void packetw2c_open_gift_result::clear_result() {
  7311. result_ = 0;
  7312. clear_has_result();
  7313. }
  7314. inline ::google::protobuf::int32 packetw2c_open_gift_result::result() const {
  7315. return result_;
  7316. }
  7317. inline void packetw2c_open_gift_result::set_result(::google::protobuf::int32 value) {
  7318. set_has_result();
  7319. result_ = value;
  7320. }
  7321. // optional int32 giftId = 3;
  7322. inline bool packetw2c_open_gift_result::has_giftid() const {
  7323. return (_has_bits_[0] & 0x00000004u) != 0;
  7324. }
  7325. inline void packetw2c_open_gift_result::set_has_giftid() {
  7326. _has_bits_[0] |= 0x00000004u;
  7327. }
  7328. inline void packetw2c_open_gift_result::clear_has_giftid() {
  7329. _has_bits_[0] &= ~0x00000004u;
  7330. }
  7331. inline void packetw2c_open_gift_result::clear_giftid() {
  7332. giftid_ = 0;
  7333. clear_has_giftid();
  7334. }
  7335. inline ::google::protobuf::int32 packetw2c_open_gift_result::giftid() const {
  7336. return giftid_;
  7337. }
  7338. inline void packetw2c_open_gift_result::set_giftid(::google::protobuf::int32 value) {
  7339. set_has_giftid();
  7340. giftid_ = value;
  7341. }
  7342. // -------------------------------------------------------------------
  7343. // packetc2w_leave_game
  7344. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  7345. inline bool packetc2w_leave_game::has_packet_id() const {
  7346. return (_has_bits_[0] & 0x00000001u) != 0;
  7347. }
  7348. inline void packetc2w_leave_game::set_has_packet_id() {
  7349. _has_bits_[0] |= 0x00000001u;
  7350. }
  7351. inline void packetc2w_leave_game::clear_has_packet_id() {
  7352. _has_bits_[0] &= ~0x00000001u;
  7353. }
  7354. inline void packetc2w_leave_game::clear_packet_id() {
  7355. packet_id_ = 5008;
  7356. clear_has_packet_id();
  7357. }
  7358. inline ::client2world_protocols::e_server_msg_type packetc2w_leave_game::packet_id() const {
  7359. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7360. }
  7361. inline void packetc2w_leave_game::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7362. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7363. set_has_packet_id();
  7364. packet_id_ = value;
  7365. }
  7366. // -------------------------------------------------------------------
  7367. // packetw2c_leave_game_result
  7368. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  7369. inline bool packetw2c_leave_game_result::has_packet_id() const {
  7370. return (_has_bits_[0] & 0x00000001u) != 0;
  7371. }
  7372. inline void packetw2c_leave_game_result::set_has_packet_id() {
  7373. _has_bits_[0] |= 0x00000001u;
  7374. }
  7375. inline void packetw2c_leave_game_result::clear_has_packet_id() {
  7376. _has_bits_[0] &= ~0x00000001u;
  7377. }
  7378. inline void packetw2c_leave_game_result::clear_packet_id() {
  7379. packet_id_ = 7507;
  7380. clear_has_packet_id();
  7381. }
  7382. inline ::client2world_protocols::e_server_msg_type packetw2c_leave_game_result::packet_id() const {
  7383. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7384. }
  7385. inline void packetw2c_leave_game_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7386. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7387. set_has_packet_id();
  7388. packet_id_ = value;
  7389. }
  7390. // -------------------------------------------------------------------
  7391. // packetw2c_player_kick
  7392. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  7393. inline bool packetw2c_player_kick::has_packet_id() const {
  7394. return (_has_bits_[0] & 0x00000001u) != 0;
  7395. }
  7396. inline void packetw2c_player_kick::set_has_packet_id() {
  7397. _has_bits_[0] |= 0x00000001u;
  7398. }
  7399. inline void packetw2c_player_kick::clear_has_packet_id() {
  7400. _has_bits_[0] &= ~0x00000001u;
  7401. }
  7402. inline void packetw2c_player_kick::clear_packet_id() {
  7403. packet_id_ = 7541;
  7404. clear_has_packet_id();
  7405. }
  7406. inline ::client2world_protocols::e_server_msg_type packetw2c_player_kick::packet_id() const {
  7407. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7408. }
  7409. inline void packetw2c_player_kick::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7410. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7411. set_has_packet_id();
  7412. packet_id_ = value;
  7413. }
  7414. // -------------------------------------------------------------------
  7415. // packetc2w_get_gamelist
  7416. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  7417. inline bool packetc2w_get_gamelist::has_packet_id() const {
  7418. return (_has_bits_[0] & 0x00000001u) != 0;
  7419. }
  7420. inline void packetc2w_get_gamelist::set_has_packet_id() {
  7421. _has_bits_[0] |= 0x00000001u;
  7422. }
  7423. inline void packetc2w_get_gamelist::clear_has_packet_id() {
  7424. _has_bits_[0] &= ~0x00000001u;
  7425. }
  7426. inline void packetc2w_get_gamelist::clear_packet_id() {
  7427. packet_id_ = 5048;
  7428. clear_has_packet_id();
  7429. }
  7430. inline ::client2world_protocols::e_server_msg_type packetc2w_get_gamelist::packet_id() const {
  7431. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7432. }
  7433. inline void packetc2w_get_gamelist::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7434. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7435. set_has_packet_id();
  7436. packet_id_ = value;
  7437. }
  7438. // -------------------------------------------------------------------
  7439. // packetw2c_get_gamelist_result
  7440. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_result];
  7441. inline bool packetw2c_get_gamelist_result::has_packet_id() const {
  7442. return (_has_bits_[0] & 0x00000001u) != 0;
  7443. }
  7444. inline void packetw2c_get_gamelist_result::set_has_packet_id() {
  7445. _has_bits_[0] |= 0x00000001u;
  7446. }
  7447. inline void packetw2c_get_gamelist_result::clear_has_packet_id() {
  7448. _has_bits_[0] &= ~0x00000001u;
  7449. }
  7450. inline void packetw2c_get_gamelist_result::clear_packet_id() {
  7451. packet_id_ = 7552;
  7452. clear_has_packet_id();
  7453. }
  7454. inline ::client2world_protocols::e_server_msg_type packetw2c_get_gamelist_result::packet_id() const {
  7455. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7456. }
  7457. inline void packetw2c_get_gamelist_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7458. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7459. set_has_packet_id();
  7460. packet_id_ = value;
  7461. }
  7462. // repeated .client2world_protocols.msg_game_info game_list = 2;
  7463. inline int packetw2c_get_gamelist_result::game_list_size() const {
  7464. return game_list_.size();
  7465. }
  7466. inline void packetw2c_get_gamelist_result::clear_game_list() {
  7467. game_list_.Clear();
  7468. }
  7469. inline const ::client2world_protocols::msg_game_info& packetw2c_get_gamelist_result::game_list(int index) const {
  7470. return game_list_.Get(index);
  7471. }
  7472. inline ::client2world_protocols::msg_game_info* packetw2c_get_gamelist_result::mutable_game_list(int index) {
  7473. return game_list_.Mutable(index);
  7474. }
  7475. inline ::client2world_protocols::msg_game_info* packetw2c_get_gamelist_result::add_game_list() {
  7476. return game_list_.Add();
  7477. }
  7478. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >&
  7479. packetw2c_get_gamelist_result::game_list() const {
  7480. return game_list_;
  7481. }
  7482. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_game_info >*
  7483. packetw2c_get_gamelist_result::mutable_game_list() {
  7484. return &game_list_;
  7485. }
  7486. // -------------------------------------------------------------------
  7487. // packetc2w_first_login
  7488. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  7489. inline bool packetc2w_first_login::has_packet_id() const {
  7490. return (_has_bits_[0] & 0x00000001u) != 0;
  7491. }
  7492. inline void packetc2w_first_login::set_has_packet_id() {
  7493. _has_bits_[0] |= 0x00000001u;
  7494. }
  7495. inline void packetc2w_first_login::clear_has_packet_id() {
  7496. _has_bits_[0] &= ~0x00000001u;
  7497. }
  7498. inline void packetc2w_first_login::clear_packet_id() {
  7499. packet_id_ = 5062;
  7500. clear_has_packet_id();
  7501. }
  7502. inline ::client2world_protocols::e_server_msg_type packetc2w_first_login::packet_id() const {
  7503. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7504. }
  7505. inline void packetc2w_first_login::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7506. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7507. set_has_packet_id();
  7508. packet_id_ = value;
  7509. }
  7510. // -------------------------------------------------------------------
  7511. // packetw2c_first_login_result
  7512. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_result];
  7513. inline bool packetw2c_first_login_result::has_packet_id() const {
  7514. return (_has_bits_[0] & 0x00000001u) != 0;
  7515. }
  7516. inline void packetw2c_first_login_result::set_has_packet_id() {
  7517. _has_bits_[0] |= 0x00000001u;
  7518. }
  7519. inline void packetw2c_first_login_result::clear_has_packet_id() {
  7520. _has_bits_[0] &= ~0x00000001u;
  7521. }
  7522. inline void packetw2c_first_login_result::clear_packet_id() {
  7523. packet_id_ = 7566;
  7524. clear_has_packet_id();
  7525. }
  7526. inline ::client2world_protocols::e_server_msg_type packetw2c_first_login_result::packet_id() const {
  7527. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7528. }
  7529. inline void packetw2c_first_login_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7530. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7531. set_has_packet_id();
  7532. packet_id_ = value;
  7533. }
  7534. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  7535. inline bool packetw2c_first_login_result::has_result() const {
  7536. return (_has_bits_[0] & 0x00000002u) != 0;
  7537. }
  7538. inline void packetw2c_first_login_result::set_has_result() {
  7539. _has_bits_[0] |= 0x00000002u;
  7540. }
  7541. inline void packetw2c_first_login_result::clear_has_result() {
  7542. _has_bits_[0] &= ~0x00000002u;
  7543. }
  7544. inline void packetw2c_first_login_result::clear_result() {
  7545. result_ = 2;
  7546. clear_has_result();
  7547. }
  7548. inline ::msg_type_def::e_msg_result_def packetw2c_first_login_result::result() const {
  7549. return static_cast< ::msg_type_def::e_msg_result_def >(result_);
  7550. }
  7551. inline void packetw2c_first_login_result::set_result(::msg_type_def::e_msg_result_def value) {
  7552. assert(::msg_type_def::e_msg_result_def_IsValid(value));
  7553. set_has_result();
  7554. result_ = value;
  7555. }
  7556. // -------------------------------------------------------------------
  7557. // packetc2w_enter_fish_game
  7558. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
  7559. inline bool packetc2w_enter_fish_game::has_packet_id() const {
  7560. return (_has_bits_[0] & 0x00000001u) != 0;
  7561. }
  7562. inline void packetc2w_enter_fish_game::set_has_packet_id() {
  7563. _has_bits_[0] |= 0x00000001u;
  7564. }
  7565. inline void packetc2w_enter_fish_game::clear_has_packet_id() {
  7566. _has_bits_[0] &= ~0x00000001u;
  7567. }
  7568. inline void packetc2w_enter_fish_game::clear_packet_id() {
  7569. packet_id_ = 5096;
  7570. clear_has_packet_id();
  7571. }
  7572. inline ::client2world_protocols::e_server_msg_type packetc2w_enter_fish_game::packet_id() const {
  7573. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7574. }
  7575. inline void packetc2w_enter_fish_game::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7576. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7577. set_has_packet_id();
  7578. packet_id_ = value;
  7579. }
  7580. // optional int32 gamever = 2;
  7581. inline bool packetc2w_enter_fish_game::has_gamever() const {
  7582. return (_has_bits_[0] & 0x00000002u) != 0;
  7583. }
  7584. inline void packetc2w_enter_fish_game::set_has_gamever() {
  7585. _has_bits_[0] |= 0x00000002u;
  7586. }
  7587. inline void packetc2w_enter_fish_game::clear_has_gamever() {
  7588. _has_bits_[0] &= ~0x00000002u;
  7589. }
  7590. inline void packetc2w_enter_fish_game::clear_gamever() {
  7591. gamever_ = 0;
  7592. clear_has_gamever();
  7593. }
  7594. inline ::google::protobuf::int32 packetc2w_enter_fish_game::gamever() const {
  7595. return gamever_;
  7596. }
  7597. inline void packetc2w_enter_fish_game::set_gamever(::google::protobuf::int32 value) {
  7598. set_has_gamever();
  7599. gamever_ = value;
  7600. }
  7601. // optional int32 roomId = 3;
  7602. inline bool packetc2w_enter_fish_game::has_roomid() const {
  7603. return (_has_bits_[0] & 0x00000004u) != 0;
  7604. }
  7605. inline void packetc2w_enter_fish_game::set_has_roomid() {
  7606. _has_bits_[0] |= 0x00000004u;
  7607. }
  7608. inline void packetc2w_enter_fish_game::clear_has_roomid() {
  7609. _has_bits_[0] &= ~0x00000004u;
  7610. }
  7611. inline void packetc2w_enter_fish_game::clear_roomid() {
  7612. roomid_ = 0;
  7613. clear_has_roomid();
  7614. }
  7615. inline ::google::protobuf::int32 packetc2w_enter_fish_game::roomid() const {
  7616. return roomid_;
  7617. }
  7618. inline void packetc2w_enter_fish_game::set_roomid(::google::protobuf::int32 value) {
  7619. set_has_roomid();
  7620. roomid_ = value;
  7621. }
  7622. // -------------------------------------------------------------------
  7623. // packetw2c_enter_fish_game_result
  7624. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_result];
  7625. inline bool packetw2c_enter_fish_game_result::has_packet_id() const {
  7626. return (_has_bits_[0] & 0x00000001u) != 0;
  7627. }
  7628. inline void packetw2c_enter_fish_game_result::set_has_packet_id() {
  7629. _has_bits_[0] |= 0x00000001u;
  7630. }
  7631. inline void packetw2c_enter_fish_game_result::clear_has_packet_id() {
  7632. _has_bits_[0] &= ~0x00000001u;
  7633. }
  7634. inline void packetw2c_enter_fish_game_result::clear_packet_id() {
  7635. packet_id_ = 7603;
  7636. clear_has_packet_id();
  7637. }
  7638. inline ::client2world_protocols::e_server_msg_type packetw2c_enter_fish_game_result::packet_id() const {
  7639. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7640. }
  7641. inline void packetw2c_enter_fish_game_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7642. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7643. set_has_packet_id();
  7644. packet_id_ = value;
  7645. }
  7646. // optional int32 result = 2;
  7647. inline bool packetw2c_enter_fish_game_result::has_result() const {
  7648. return (_has_bits_[0] & 0x00000002u) != 0;
  7649. }
  7650. inline void packetw2c_enter_fish_game_result::set_has_result() {
  7651. _has_bits_[0] |= 0x00000002u;
  7652. }
  7653. inline void packetw2c_enter_fish_game_result::clear_has_result() {
  7654. _has_bits_[0] &= ~0x00000002u;
  7655. }
  7656. inline void packetw2c_enter_fish_game_result::clear_result() {
  7657. result_ = 0;
  7658. clear_has_result();
  7659. }
  7660. inline ::google::protobuf::int32 packetw2c_enter_fish_game_result::result() const {
  7661. return result_;
  7662. }
  7663. inline void packetw2c_enter_fish_game_result::set_result(::google::protobuf::int32 value) {
  7664. set_has_result();
  7665. result_ = value;
  7666. }
  7667. // optional int32 roomId = 3;
  7668. inline bool packetw2c_enter_fish_game_result::has_roomid() const {
  7669. return (_has_bits_[0] & 0x00000004u) != 0;
  7670. }
  7671. inline void packetw2c_enter_fish_game_result::set_has_roomid() {
  7672. _has_bits_[0] |= 0x00000004u;
  7673. }
  7674. inline void packetw2c_enter_fish_game_result::clear_has_roomid() {
  7675. _has_bits_[0] &= ~0x00000004u;
  7676. }
  7677. inline void packetw2c_enter_fish_game_result::clear_roomid() {
  7678. roomid_ = 0;
  7679. clear_has_roomid();
  7680. }
  7681. inline ::google::protobuf::int32 packetw2c_enter_fish_game_result::roomid() const {
  7682. return roomid_;
  7683. }
  7684. inline void packetw2c_enter_fish_game_result::set_roomid(::google::protobuf::int32 value) {
  7685. set_has_roomid();
  7686. roomid_ = value;
  7687. }
  7688. // -------------------------------------------------------------------
  7689. // msg_airdropitem
  7690. // optional int32 uuid = 1;
  7691. inline bool msg_airdropitem::has_uuid() const {
  7692. return (_has_bits_[0] & 0x00000001u) != 0;
  7693. }
  7694. inline void msg_airdropitem::set_has_uuid() {
  7695. _has_bits_[0] |= 0x00000001u;
  7696. }
  7697. inline void msg_airdropitem::clear_has_uuid() {
  7698. _has_bits_[0] &= ~0x00000001u;
  7699. }
  7700. inline void msg_airdropitem::clear_uuid() {
  7701. uuid_ = 0;
  7702. clear_has_uuid();
  7703. }
  7704. inline ::google::protobuf::int32 msg_airdropitem::uuid() const {
  7705. return uuid_;
  7706. }
  7707. inline void msg_airdropitem::set_uuid(::google::protobuf::int32 value) {
  7708. set_has_uuid();
  7709. uuid_ = value;
  7710. }
  7711. // optional int32 playerid = 2;
  7712. inline bool msg_airdropitem::has_playerid() const {
  7713. return (_has_bits_[0] & 0x00000002u) != 0;
  7714. }
  7715. inline void msg_airdropitem::set_has_playerid() {
  7716. _has_bits_[0] |= 0x00000002u;
  7717. }
  7718. inline void msg_airdropitem::clear_has_playerid() {
  7719. _has_bits_[0] &= ~0x00000002u;
  7720. }
  7721. inline void msg_airdropitem::clear_playerid() {
  7722. playerid_ = 0;
  7723. clear_has_playerid();
  7724. }
  7725. inline ::google::protobuf::int32 msg_airdropitem::playerid() const {
  7726. return playerid_;
  7727. }
  7728. inline void msg_airdropitem::set_playerid(::google::protobuf::int32 value) {
  7729. set_has_playerid();
  7730. playerid_ = value;
  7731. }
  7732. // optional int32 itemid = 3;
  7733. inline bool msg_airdropitem::has_itemid() const {
  7734. return (_has_bits_[0] & 0x00000004u) != 0;
  7735. }
  7736. inline void msg_airdropitem::set_has_itemid() {
  7737. _has_bits_[0] |= 0x00000004u;
  7738. }
  7739. inline void msg_airdropitem::clear_has_itemid() {
  7740. _has_bits_[0] &= ~0x00000004u;
  7741. }
  7742. inline void msg_airdropitem::clear_itemid() {
  7743. itemid_ = 0;
  7744. clear_has_itemid();
  7745. }
  7746. inline ::google::protobuf::int32 msg_airdropitem::itemid() const {
  7747. return itemid_;
  7748. }
  7749. inline void msg_airdropitem::set_itemid(::google::protobuf::int32 value) {
  7750. set_has_itemid();
  7751. itemid_ = value;
  7752. }
  7753. // optional int32 itemcount = 4;
  7754. inline bool msg_airdropitem::has_itemcount() const {
  7755. return (_has_bits_[0] & 0x00000008u) != 0;
  7756. }
  7757. inline void msg_airdropitem::set_has_itemcount() {
  7758. _has_bits_[0] |= 0x00000008u;
  7759. }
  7760. inline void msg_airdropitem::clear_has_itemcount() {
  7761. _has_bits_[0] &= ~0x00000008u;
  7762. }
  7763. inline void msg_airdropitem::clear_itemcount() {
  7764. itemcount_ = 0;
  7765. clear_has_itemcount();
  7766. }
  7767. inline ::google::protobuf::int32 msg_airdropitem::itemcount() const {
  7768. return itemcount_;
  7769. }
  7770. inline void msg_airdropitem::set_itemcount(::google::protobuf::int32 value) {
  7771. set_has_itemcount();
  7772. itemcount_ = value;
  7773. }
  7774. // optional string nickname = 5;
  7775. inline bool msg_airdropitem::has_nickname() const {
  7776. return (_has_bits_[0] & 0x00000010u) != 0;
  7777. }
  7778. inline void msg_airdropitem::set_has_nickname() {
  7779. _has_bits_[0] |= 0x00000010u;
  7780. }
  7781. inline void msg_airdropitem::clear_has_nickname() {
  7782. _has_bits_[0] &= ~0x00000010u;
  7783. }
  7784. inline void msg_airdropitem::clear_nickname() {
  7785. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  7786. nickname_->clear();
  7787. }
  7788. clear_has_nickname();
  7789. }
  7790. inline const ::std::string& msg_airdropitem::nickname() const {
  7791. return *nickname_;
  7792. }
  7793. inline void msg_airdropitem::set_nickname(const ::std::string& value) {
  7794. set_has_nickname();
  7795. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7796. nickname_ = new ::std::string;
  7797. }
  7798. nickname_->assign(value);
  7799. }
  7800. inline void msg_airdropitem::set_nickname(const char* value) {
  7801. set_has_nickname();
  7802. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7803. nickname_ = new ::std::string;
  7804. }
  7805. nickname_->assign(value);
  7806. }
  7807. inline void msg_airdropitem::set_nickname(const char* value, size_t size) {
  7808. set_has_nickname();
  7809. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7810. nickname_ = new ::std::string;
  7811. }
  7812. nickname_->assign(reinterpret_cast<const char*>(value), size);
  7813. }
  7814. inline ::std::string* msg_airdropitem::mutable_nickname() {
  7815. set_has_nickname();
  7816. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7817. nickname_ = new ::std::string;
  7818. }
  7819. return nickname_;
  7820. }
  7821. inline ::std::string* msg_airdropitem::release_nickname() {
  7822. clear_has_nickname();
  7823. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  7824. return NULL;
  7825. } else {
  7826. ::std::string* temp = nickname_;
  7827. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7828. return temp;
  7829. }
  7830. }
  7831. inline void msg_airdropitem::set_allocated_nickname(::std::string* nickname) {
  7832. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  7833. delete nickname_;
  7834. }
  7835. if (nickname) {
  7836. set_has_nickname();
  7837. nickname_ = nickname;
  7838. } else {
  7839. clear_has_nickname();
  7840. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7841. }
  7842. }
  7843. // optional int32 headid = 6;
  7844. inline bool msg_airdropitem::has_headid() const {
  7845. return (_has_bits_[0] & 0x00000020u) != 0;
  7846. }
  7847. inline void msg_airdropitem::set_has_headid() {
  7848. _has_bits_[0] |= 0x00000020u;
  7849. }
  7850. inline void msg_airdropitem::clear_has_headid() {
  7851. _has_bits_[0] &= ~0x00000020u;
  7852. }
  7853. inline void msg_airdropitem::clear_headid() {
  7854. headid_ = 0;
  7855. clear_has_headid();
  7856. }
  7857. inline ::google::protobuf::int32 msg_airdropitem::headid() const {
  7858. return headid_;
  7859. }
  7860. inline void msg_airdropitem::set_headid(::google::protobuf::int32 value) {
  7861. set_has_headid();
  7862. headid_ = value;
  7863. }
  7864. // optional string pwd = 7;
  7865. inline bool msg_airdropitem::has_pwd() const {
  7866. return (_has_bits_[0] & 0x00000040u) != 0;
  7867. }
  7868. inline void msg_airdropitem::set_has_pwd() {
  7869. _has_bits_[0] |= 0x00000040u;
  7870. }
  7871. inline void msg_airdropitem::clear_has_pwd() {
  7872. _has_bits_[0] &= ~0x00000040u;
  7873. }
  7874. inline void msg_airdropitem::clear_pwd() {
  7875. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  7876. pwd_->clear();
  7877. }
  7878. clear_has_pwd();
  7879. }
  7880. inline const ::std::string& msg_airdropitem::pwd() const {
  7881. return *pwd_;
  7882. }
  7883. inline void msg_airdropitem::set_pwd(const ::std::string& value) {
  7884. set_has_pwd();
  7885. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  7886. pwd_ = new ::std::string;
  7887. }
  7888. pwd_->assign(value);
  7889. }
  7890. inline void msg_airdropitem::set_pwd(const char* value) {
  7891. set_has_pwd();
  7892. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  7893. pwd_ = new ::std::string;
  7894. }
  7895. pwd_->assign(value);
  7896. }
  7897. inline void msg_airdropitem::set_pwd(const char* value, size_t size) {
  7898. set_has_pwd();
  7899. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  7900. pwd_ = new ::std::string;
  7901. }
  7902. pwd_->assign(reinterpret_cast<const char*>(value), size);
  7903. }
  7904. inline ::std::string* msg_airdropitem::mutable_pwd() {
  7905. set_has_pwd();
  7906. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  7907. pwd_ = new ::std::string;
  7908. }
  7909. return pwd_;
  7910. }
  7911. inline ::std::string* msg_airdropitem::release_pwd() {
  7912. clear_has_pwd();
  7913. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  7914. return NULL;
  7915. } else {
  7916. ::std::string* temp = pwd_;
  7917. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7918. return temp;
  7919. }
  7920. }
  7921. inline void msg_airdropitem::set_allocated_pwd(::std::string* pwd) {
  7922. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  7923. delete pwd_;
  7924. }
  7925. if (pwd) {
  7926. set_has_pwd();
  7927. pwd_ = pwd;
  7928. } else {
  7929. clear_has_pwd();
  7930. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7931. }
  7932. }
  7933. // optional int32 leftsecond = 8;
  7934. inline bool msg_airdropitem::has_leftsecond() const {
  7935. return (_has_bits_[0] & 0x00000080u) != 0;
  7936. }
  7937. inline void msg_airdropitem::set_has_leftsecond() {
  7938. _has_bits_[0] |= 0x00000080u;
  7939. }
  7940. inline void msg_airdropitem::clear_has_leftsecond() {
  7941. _has_bits_[0] &= ~0x00000080u;
  7942. }
  7943. inline void msg_airdropitem::clear_leftsecond() {
  7944. leftsecond_ = 0;
  7945. clear_has_leftsecond();
  7946. }
  7947. inline ::google::protobuf::int32 msg_airdropitem::leftsecond() const {
  7948. return leftsecond_;
  7949. }
  7950. inline void msg_airdropitem::set_leftsecond(::google::protobuf::int32 value) {
  7951. set_has_leftsecond();
  7952. leftsecond_ = value;
  7953. }
  7954. // optional int32 receiveId = 9;
  7955. inline bool msg_airdropitem::has_receiveid() const {
  7956. return (_has_bits_[0] & 0x00000100u) != 0;
  7957. }
  7958. inline void msg_airdropitem::set_has_receiveid() {
  7959. _has_bits_[0] |= 0x00000100u;
  7960. }
  7961. inline void msg_airdropitem::clear_has_receiveid() {
  7962. _has_bits_[0] &= ~0x00000100u;
  7963. }
  7964. inline void msg_airdropitem::clear_receiveid() {
  7965. receiveid_ = 0;
  7966. clear_has_receiveid();
  7967. }
  7968. inline ::google::protobuf::int32 msg_airdropitem::receiveid() const {
  7969. return receiveid_;
  7970. }
  7971. inline void msg_airdropitem::set_receiveid(::google::protobuf::int32 value) {
  7972. set_has_receiveid();
  7973. receiveid_ = value;
  7974. }
  7975. // -------------------------------------------------------------------
  7976. // packetc2w_create_airdrop
  7977. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
  7978. inline bool packetc2w_create_airdrop::has_packet_id() const {
  7979. return (_has_bits_[0] & 0x00000001u) != 0;
  7980. }
  7981. inline void packetc2w_create_airdrop::set_has_packet_id() {
  7982. _has_bits_[0] |= 0x00000001u;
  7983. }
  7984. inline void packetc2w_create_airdrop::clear_has_packet_id() {
  7985. _has_bits_[0] &= ~0x00000001u;
  7986. }
  7987. inline void packetc2w_create_airdrop::clear_packet_id() {
  7988. packet_id_ = 5148;
  7989. clear_has_packet_id();
  7990. }
  7991. inline ::client2world_protocols::e_server_msg_type packetc2w_create_airdrop::packet_id() const {
  7992. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  7993. }
  7994. inline void packetc2w_create_airdrop::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  7995. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  7996. set_has_packet_id();
  7997. packet_id_ = value;
  7998. }
  7999. // optional int32 itemid = 2;
  8000. inline bool packetc2w_create_airdrop::has_itemid() const {
  8001. return (_has_bits_[0] & 0x00000002u) != 0;
  8002. }
  8003. inline void packetc2w_create_airdrop::set_has_itemid() {
  8004. _has_bits_[0] |= 0x00000002u;
  8005. }
  8006. inline void packetc2w_create_airdrop::clear_has_itemid() {
  8007. _has_bits_[0] &= ~0x00000002u;
  8008. }
  8009. inline void packetc2w_create_airdrop::clear_itemid() {
  8010. itemid_ = 0;
  8011. clear_has_itemid();
  8012. }
  8013. inline ::google::protobuf::int32 packetc2w_create_airdrop::itemid() const {
  8014. return itemid_;
  8015. }
  8016. inline void packetc2w_create_airdrop::set_itemid(::google::protobuf::int32 value) {
  8017. set_has_itemid();
  8018. itemid_ = value;
  8019. }
  8020. // optional int32 itemcount = 3;
  8021. inline bool packetc2w_create_airdrop::has_itemcount() const {
  8022. return (_has_bits_[0] & 0x00000004u) != 0;
  8023. }
  8024. inline void packetc2w_create_airdrop::set_has_itemcount() {
  8025. _has_bits_[0] |= 0x00000004u;
  8026. }
  8027. inline void packetc2w_create_airdrop::clear_has_itemcount() {
  8028. _has_bits_[0] &= ~0x00000004u;
  8029. }
  8030. inline void packetc2w_create_airdrop::clear_itemcount() {
  8031. itemcount_ = 0;
  8032. clear_has_itemcount();
  8033. }
  8034. inline ::google::protobuf::int32 packetc2w_create_airdrop::itemcount() const {
  8035. return itemcount_;
  8036. }
  8037. inline void packetc2w_create_airdrop::set_itemcount(::google::protobuf::int32 value) {
  8038. set_has_itemcount();
  8039. itemcount_ = value;
  8040. }
  8041. // optional string pwd = 4;
  8042. inline bool packetc2w_create_airdrop::has_pwd() const {
  8043. return (_has_bits_[0] & 0x00000008u) != 0;
  8044. }
  8045. inline void packetc2w_create_airdrop::set_has_pwd() {
  8046. _has_bits_[0] |= 0x00000008u;
  8047. }
  8048. inline void packetc2w_create_airdrop::clear_has_pwd() {
  8049. _has_bits_[0] &= ~0x00000008u;
  8050. }
  8051. inline void packetc2w_create_airdrop::clear_pwd() {
  8052. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8053. pwd_->clear();
  8054. }
  8055. clear_has_pwd();
  8056. }
  8057. inline const ::std::string& packetc2w_create_airdrop::pwd() const {
  8058. return *pwd_;
  8059. }
  8060. inline void packetc2w_create_airdrop::set_pwd(const ::std::string& value) {
  8061. set_has_pwd();
  8062. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8063. pwd_ = new ::std::string;
  8064. }
  8065. pwd_->assign(value);
  8066. }
  8067. inline void packetc2w_create_airdrop::set_pwd(const char* value) {
  8068. set_has_pwd();
  8069. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8070. pwd_ = new ::std::string;
  8071. }
  8072. pwd_->assign(value);
  8073. }
  8074. inline void packetc2w_create_airdrop::set_pwd(const char* value, size_t size) {
  8075. set_has_pwd();
  8076. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8077. pwd_ = new ::std::string;
  8078. }
  8079. pwd_->assign(reinterpret_cast<const char*>(value), size);
  8080. }
  8081. inline ::std::string* packetc2w_create_airdrop::mutable_pwd() {
  8082. set_has_pwd();
  8083. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8084. pwd_ = new ::std::string;
  8085. }
  8086. return pwd_;
  8087. }
  8088. inline ::std::string* packetc2w_create_airdrop::release_pwd() {
  8089. clear_has_pwd();
  8090. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8091. return NULL;
  8092. } else {
  8093. ::std::string* temp = pwd_;
  8094. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8095. return temp;
  8096. }
  8097. }
  8098. inline void packetc2w_create_airdrop::set_allocated_pwd(::std::string* pwd) {
  8099. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8100. delete pwd_;
  8101. }
  8102. if (pwd) {
  8103. set_has_pwd();
  8104. pwd_ = pwd;
  8105. } else {
  8106. clear_has_pwd();
  8107. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8108. }
  8109. }
  8110. // -------------------------------------------------------------------
  8111. // packetw2c_create_airdrop_result
  8112. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_result];
  8113. inline bool packetw2c_create_airdrop_result::has_packet_id() const {
  8114. return (_has_bits_[0] & 0x00000001u) != 0;
  8115. }
  8116. inline void packetw2c_create_airdrop_result::set_has_packet_id() {
  8117. _has_bits_[0] |= 0x00000001u;
  8118. }
  8119. inline void packetw2c_create_airdrop_result::clear_has_packet_id() {
  8120. _has_bits_[0] &= ~0x00000001u;
  8121. }
  8122. inline void packetw2c_create_airdrop_result::clear_packet_id() {
  8123. packet_id_ = 7660;
  8124. clear_has_packet_id();
  8125. }
  8126. inline ::client2world_protocols::e_server_msg_type packetw2c_create_airdrop_result::packet_id() const {
  8127. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8128. }
  8129. inline void packetw2c_create_airdrop_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8130. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8131. set_has_packet_id();
  8132. packet_id_ = value;
  8133. }
  8134. // optional int32 result = 2;
  8135. inline bool packetw2c_create_airdrop_result::has_result() const {
  8136. return (_has_bits_[0] & 0x00000002u) != 0;
  8137. }
  8138. inline void packetw2c_create_airdrop_result::set_has_result() {
  8139. _has_bits_[0] |= 0x00000002u;
  8140. }
  8141. inline void packetw2c_create_airdrop_result::clear_has_result() {
  8142. _has_bits_[0] &= ~0x00000002u;
  8143. }
  8144. inline void packetw2c_create_airdrop_result::clear_result() {
  8145. result_ = 0;
  8146. clear_has_result();
  8147. }
  8148. inline ::google::protobuf::int32 packetw2c_create_airdrop_result::result() const {
  8149. return result_;
  8150. }
  8151. inline void packetw2c_create_airdrop_result::set_result(::google::protobuf::int32 value) {
  8152. set_has_result();
  8153. result_ = value;
  8154. }
  8155. // optional int32 itemid = 3;
  8156. inline bool packetw2c_create_airdrop_result::has_itemid() const {
  8157. return (_has_bits_[0] & 0x00000004u) != 0;
  8158. }
  8159. inline void packetw2c_create_airdrop_result::set_has_itemid() {
  8160. _has_bits_[0] |= 0x00000004u;
  8161. }
  8162. inline void packetw2c_create_airdrop_result::clear_has_itemid() {
  8163. _has_bits_[0] &= ~0x00000004u;
  8164. }
  8165. inline void packetw2c_create_airdrop_result::clear_itemid() {
  8166. itemid_ = 0;
  8167. clear_has_itemid();
  8168. }
  8169. inline ::google::protobuf::int32 packetw2c_create_airdrop_result::itemid() const {
  8170. return itemid_;
  8171. }
  8172. inline void packetw2c_create_airdrop_result::set_itemid(::google::protobuf::int32 value) {
  8173. set_has_itemid();
  8174. itemid_ = value;
  8175. }
  8176. // optional int32 itemcount = 4;
  8177. inline bool packetw2c_create_airdrop_result::has_itemcount() const {
  8178. return (_has_bits_[0] & 0x00000008u) != 0;
  8179. }
  8180. inline void packetw2c_create_airdrop_result::set_has_itemcount() {
  8181. _has_bits_[0] |= 0x00000008u;
  8182. }
  8183. inline void packetw2c_create_airdrop_result::clear_has_itemcount() {
  8184. _has_bits_[0] &= ~0x00000008u;
  8185. }
  8186. inline void packetw2c_create_airdrop_result::clear_itemcount() {
  8187. itemcount_ = 0;
  8188. clear_has_itemcount();
  8189. }
  8190. inline ::google::protobuf::int32 packetw2c_create_airdrop_result::itemcount() const {
  8191. return itemcount_;
  8192. }
  8193. inline void packetw2c_create_airdrop_result::set_itemcount(::google::protobuf::int32 value) {
  8194. set_has_itemcount();
  8195. itemcount_ = value;
  8196. }
  8197. // optional string pwd = 5;
  8198. inline bool packetw2c_create_airdrop_result::has_pwd() const {
  8199. return (_has_bits_[0] & 0x00000010u) != 0;
  8200. }
  8201. inline void packetw2c_create_airdrop_result::set_has_pwd() {
  8202. _has_bits_[0] |= 0x00000010u;
  8203. }
  8204. inline void packetw2c_create_airdrop_result::clear_has_pwd() {
  8205. _has_bits_[0] &= ~0x00000010u;
  8206. }
  8207. inline void packetw2c_create_airdrop_result::clear_pwd() {
  8208. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8209. pwd_->clear();
  8210. }
  8211. clear_has_pwd();
  8212. }
  8213. inline const ::std::string& packetw2c_create_airdrop_result::pwd() const {
  8214. return *pwd_;
  8215. }
  8216. inline void packetw2c_create_airdrop_result::set_pwd(const ::std::string& value) {
  8217. set_has_pwd();
  8218. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8219. pwd_ = new ::std::string;
  8220. }
  8221. pwd_->assign(value);
  8222. }
  8223. inline void packetw2c_create_airdrop_result::set_pwd(const char* value) {
  8224. set_has_pwd();
  8225. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8226. pwd_ = new ::std::string;
  8227. }
  8228. pwd_->assign(value);
  8229. }
  8230. inline void packetw2c_create_airdrop_result::set_pwd(const char* value, size_t size) {
  8231. set_has_pwd();
  8232. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8233. pwd_ = new ::std::string;
  8234. }
  8235. pwd_->assign(reinterpret_cast<const char*>(value), size);
  8236. }
  8237. inline ::std::string* packetw2c_create_airdrop_result::mutable_pwd() {
  8238. set_has_pwd();
  8239. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8240. pwd_ = new ::std::string;
  8241. }
  8242. return pwd_;
  8243. }
  8244. inline ::std::string* packetw2c_create_airdrop_result::release_pwd() {
  8245. clear_has_pwd();
  8246. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8247. return NULL;
  8248. } else {
  8249. ::std::string* temp = pwd_;
  8250. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8251. return temp;
  8252. }
  8253. }
  8254. inline void packetw2c_create_airdrop_result::set_allocated_pwd(::std::string* pwd) {
  8255. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8256. delete pwd_;
  8257. }
  8258. if (pwd) {
  8259. set_has_pwd();
  8260. pwd_ = pwd;
  8261. } else {
  8262. clear_has_pwd();
  8263. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8264. }
  8265. }
  8266. // optional int32 uuid = 6;
  8267. inline bool packetw2c_create_airdrop_result::has_uuid() const {
  8268. return (_has_bits_[0] & 0x00000020u) != 0;
  8269. }
  8270. inline void packetw2c_create_airdrop_result::set_has_uuid() {
  8271. _has_bits_[0] |= 0x00000020u;
  8272. }
  8273. inline void packetw2c_create_airdrop_result::clear_has_uuid() {
  8274. _has_bits_[0] &= ~0x00000020u;
  8275. }
  8276. inline void packetw2c_create_airdrop_result::clear_uuid() {
  8277. uuid_ = 0;
  8278. clear_has_uuid();
  8279. }
  8280. inline ::google::protobuf::int32 packetw2c_create_airdrop_result::uuid() const {
  8281. return uuid_;
  8282. }
  8283. inline void packetw2c_create_airdrop_result::set_uuid(::google::protobuf::int32 value) {
  8284. set_has_uuid();
  8285. uuid_ = value;
  8286. }
  8287. // -------------------------------------------------------------------
  8288. // packetc2w_get_airdrop_list
  8289. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
  8290. inline bool packetc2w_get_airdrop_list::has_packet_id() const {
  8291. return (_has_bits_[0] & 0x00000001u) != 0;
  8292. }
  8293. inline void packetc2w_get_airdrop_list::set_has_packet_id() {
  8294. _has_bits_[0] |= 0x00000001u;
  8295. }
  8296. inline void packetc2w_get_airdrop_list::clear_has_packet_id() {
  8297. _has_bits_[0] &= ~0x00000001u;
  8298. }
  8299. inline void packetc2w_get_airdrop_list::clear_packet_id() {
  8300. packet_id_ = 5149;
  8301. clear_has_packet_id();
  8302. }
  8303. inline ::client2world_protocols::e_server_msg_type packetc2w_get_airdrop_list::packet_id() const {
  8304. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8305. }
  8306. inline void packetc2w_get_airdrop_list::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8307. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8308. set_has_packet_id();
  8309. packet_id_ = value;
  8310. }
  8311. // optional bool bplayerairdrop = 2;
  8312. inline bool packetc2w_get_airdrop_list::has_bplayerairdrop() const {
  8313. return (_has_bits_[0] & 0x00000002u) != 0;
  8314. }
  8315. inline void packetc2w_get_airdrop_list::set_has_bplayerairdrop() {
  8316. _has_bits_[0] |= 0x00000002u;
  8317. }
  8318. inline void packetc2w_get_airdrop_list::clear_has_bplayerairdrop() {
  8319. _has_bits_[0] &= ~0x00000002u;
  8320. }
  8321. inline void packetc2w_get_airdrop_list::clear_bplayerairdrop() {
  8322. bplayerairdrop_ = false;
  8323. clear_has_bplayerairdrop();
  8324. }
  8325. inline bool packetc2w_get_airdrop_list::bplayerairdrop() const {
  8326. return bplayerairdrop_;
  8327. }
  8328. inline void packetc2w_get_airdrop_list::set_bplayerairdrop(bool value) {
  8329. set_has_bplayerairdrop();
  8330. bplayerairdrop_ = value;
  8331. }
  8332. // -------------------------------------------------------------------
  8333. // packetw2c_get_airdrop_list_result
  8334. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_result];
  8335. inline bool packetw2c_get_airdrop_list_result::has_packet_id() const {
  8336. return (_has_bits_[0] & 0x00000001u) != 0;
  8337. }
  8338. inline void packetw2c_get_airdrop_list_result::set_has_packet_id() {
  8339. _has_bits_[0] |= 0x00000001u;
  8340. }
  8341. inline void packetw2c_get_airdrop_list_result::clear_has_packet_id() {
  8342. _has_bits_[0] &= ~0x00000001u;
  8343. }
  8344. inline void packetw2c_get_airdrop_list_result::clear_packet_id() {
  8345. packet_id_ = 7661;
  8346. clear_has_packet_id();
  8347. }
  8348. inline ::client2world_protocols::e_server_msg_type packetw2c_get_airdrop_list_result::packet_id() const {
  8349. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8350. }
  8351. inline void packetw2c_get_airdrop_list_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8352. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8353. set_has_packet_id();
  8354. packet_id_ = value;
  8355. }
  8356. // optional int32 result = 2;
  8357. inline bool packetw2c_get_airdrop_list_result::has_result() const {
  8358. return (_has_bits_[0] & 0x00000002u) != 0;
  8359. }
  8360. inline void packetw2c_get_airdrop_list_result::set_has_result() {
  8361. _has_bits_[0] |= 0x00000002u;
  8362. }
  8363. inline void packetw2c_get_airdrop_list_result::clear_has_result() {
  8364. _has_bits_[0] &= ~0x00000002u;
  8365. }
  8366. inline void packetw2c_get_airdrop_list_result::clear_result() {
  8367. result_ = 0;
  8368. clear_has_result();
  8369. }
  8370. inline ::google::protobuf::int32 packetw2c_get_airdrop_list_result::result() const {
  8371. return result_;
  8372. }
  8373. inline void packetw2c_get_airdrop_list_result::set_result(::google::protobuf::int32 value) {
  8374. set_has_result();
  8375. result_ = value;
  8376. }
  8377. // optional bool bplayerairdrop = 3;
  8378. inline bool packetw2c_get_airdrop_list_result::has_bplayerairdrop() const {
  8379. return (_has_bits_[0] & 0x00000004u) != 0;
  8380. }
  8381. inline void packetw2c_get_airdrop_list_result::set_has_bplayerairdrop() {
  8382. _has_bits_[0] |= 0x00000004u;
  8383. }
  8384. inline void packetw2c_get_airdrop_list_result::clear_has_bplayerairdrop() {
  8385. _has_bits_[0] &= ~0x00000004u;
  8386. }
  8387. inline void packetw2c_get_airdrop_list_result::clear_bplayerairdrop() {
  8388. bplayerairdrop_ = false;
  8389. clear_has_bplayerairdrop();
  8390. }
  8391. inline bool packetw2c_get_airdrop_list_result::bplayerairdrop() const {
  8392. return bplayerairdrop_;
  8393. }
  8394. inline void packetw2c_get_airdrop_list_result::set_bplayerairdrop(bool value) {
  8395. set_has_bplayerairdrop();
  8396. bplayerairdrop_ = value;
  8397. }
  8398. // repeated .client2world_protocols.msg_airdropitem items = 4;
  8399. inline int packetw2c_get_airdrop_list_result::items_size() const {
  8400. return items_.size();
  8401. }
  8402. inline void packetw2c_get_airdrop_list_result::clear_items() {
  8403. items_.Clear();
  8404. }
  8405. inline const ::client2world_protocols::msg_airdropitem& packetw2c_get_airdrop_list_result::items(int index) const {
  8406. return items_.Get(index);
  8407. }
  8408. inline ::client2world_protocols::msg_airdropitem* packetw2c_get_airdrop_list_result::mutable_items(int index) {
  8409. return items_.Mutable(index);
  8410. }
  8411. inline ::client2world_protocols::msg_airdropitem* packetw2c_get_airdrop_list_result::add_items() {
  8412. return items_.Add();
  8413. }
  8414. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_airdropitem >&
  8415. packetw2c_get_airdrop_list_result::items() const {
  8416. return items_;
  8417. }
  8418. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::msg_airdropitem >*
  8419. packetw2c_get_airdrop_list_result::mutable_items() {
  8420. return &items_;
  8421. }
  8422. // optional int32 errorcount = 5;
  8423. inline bool packetw2c_get_airdrop_list_result::has_errorcount() const {
  8424. return (_has_bits_[0] & 0x00000010u) != 0;
  8425. }
  8426. inline void packetw2c_get_airdrop_list_result::set_has_errorcount() {
  8427. _has_bits_[0] |= 0x00000010u;
  8428. }
  8429. inline void packetw2c_get_airdrop_list_result::clear_has_errorcount() {
  8430. _has_bits_[0] &= ~0x00000010u;
  8431. }
  8432. inline void packetw2c_get_airdrop_list_result::clear_errorcount() {
  8433. errorcount_ = 0;
  8434. clear_has_errorcount();
  8435. }
  8436. inline ::google::protobuf::int32 packetw2c_get_airdrop_list_result::errorcount() const {
  8437. return errorcount_;
  8438. }
  8439. inline void packetw2c_get_airdrop_list_result::set_errorcount(::google::protobuf::int32 value) {
  8440. set_has_errorcount();
  8441. errorcount_ = value;
  8442. }
  8443. // -------------------------------------------------------------------
  8444. // packetc2w_get_airdrop_info
  8445. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_info];
  8446. inline bool packetc2w_get_airdrop_info::has_packet_id() const {
  8447. return (_has_bits_[0] & 0x00000001u) != 0;
  8448. }
  8449. inline void packetc2w_get_airdrop_info::set_has_packet_id() {
  8450. _has_bits_[0] |= 0x00000001u;
  8451. }
  8452. inline void packetc2w_get_airdrop_info::clear_has_packet_id() {
  8453. _has_bits_[0] &= ~0x00000001u;
  8454. }
  8455. inline void packetc2w_get_airdrop_info::clear_packet_id() {
  8456. packet_id_ = 5150;
  8457. clear_has_packet_id();
  8458. }
  8459. inline ::client2world_protocols::e_server_msg_type packetc2w_get_airdrop_info::packet_id() const {
  8460. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8461. }
  8462. inline void packetc2w_get_airdrop_info::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8463. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8464. set_has_packet_id();
  8465. packet_id_ = value;
  8466. }
  8467. // optional int32 uuid = 2;
  8468. inline bool packetc2w_get_airdrop_info::has_uuid() const {
  8469. return (_has_bits_[0] & 0x00000002u) != 0;
  8470. }
  8471. inline void packetc2w_get_airdrop_info::set_has_uuid() {
  8472. _has_bits_[0] |= 0x00000002u;
  8473. }
  8474. inline void packetc2w_get_airdrop_info::clear_has_uuid() {
  8475. _has_bits_[0] &= ~0x00000002u;
  8476. }
  8477. inline void packetc2w_get_airdrop_info::clear_uuid() {
  8478. uuid_ = 0;
  8479. clear_has_uuid();
  8480. }
  8481. inline ::google::protobuf::int32 packetc2w_get_airdrop_info::uuid() const {
  8482. return uuid_;
  8483. }
  8484. inline void packetc2w_get_airdrop_info::set_uuid(::google::protobuf::int32 value) {
  8485. set_has_uuid();
  8486. uuid_ = value;
  8487. }
  8488. // -------------------------------------------------------------------
  8489. // packetw2c_get_airdrop_info_result
  8490. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_result];
  8491. inline bool packetw2c_get_airdrop_info_result::has_packet_id() const {
  8492. return (_has_bits_[0] & 0x00000001u) != 0;
  8493. }
  8494. inline void packetw2c_get_airdrop_info_result::set_has_packet_id() {
  8495. _has_bits_[0] |= 0x00000001u;
  8496. }
  8497. inline void packetw2c_get_airdrop_info_result::clear_has_packet_id() {
  8498. _has_bits_[0] &= ~0x00000001u;
  8499. }
  8500. inline void packetw2c_get_airdrop_info_result::clear_packet_id() {
  8501. packet_id_ = 7662;
  8502. clear_has_packet_id();
  8503. }
  8504. inline ::client2world_protocols::e_server_msg_type packetw2c_get_airdrop_info_result::packet_id() const {
  8505. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8506. }
  8507. inline void packetw2c_get_airdrop_info_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8508. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8509. set_has_packet_id();
  8510. packet_id_ = value;
  8511. }
  8512. // optional int32 result = 2;
  8513. inline bool packetw2c_get_airdrop_info_result::has_result() const {
  8514. return (_has_bits_[0] & 0x00000002u) != 0;
  8515. }
  8516. inline void packetw2c_get_airdrop_info_result::set_has_result() {
  8517. _has_bits_[0] |= 0x00000002u;
  8518. }
  8519. inline void packetw2c_get_airdrop_info_result::clear_has_result() {
  8520. _has_bits_[0] &= ~0x00000002u;
  8521. }
  8522. inline void packetw2c_get_airdrop_info_result::clear_result() {
  8523. result_ = 0;
  8524. clear_has_result();
  8525. }
  8526. inline ::google::protobuf::int32 packetw2c_get_airdrop_info_result::result() const {
  8527. return result_;
  8528. }
  8529. inline void packetw2c_get_airdrop_info_result::set_result(::google::protobuf::int32 value) {
  8530. set_has_result();
  8531. result_ = value;
  8532. }
  8533. // optional .client2world_protocols.msg_airdropitem item = 3;
  8534. inline bool packetw2c_get_airdrop_info_result::has_item() const {
  8535. return (_has_bits_[0] & 0x00000004u) != 0;
  8536. }
  8537. inline void packetw2c_get_airdrop_info_result::set_has_item() {
  8538. _has_bits_[0] |= 0x00000004u;
  8539. }
  8540. inline void packetw2c_get_airdrop_info_result::clear_has_item() {
  8541. _has_bits_[0] &= ~0x00000004u;
  8542. }
  8543. inline void packetw2c_get_airdrop_info_result::clear_item() {
  8544. if (item_ != NULL) item_->::client2world_protocols::msg_airdropitem::Clear();
  8545. clear_has_item();
  8546. }
  8547. inline const ::client2world_protocols::msg_airdropitem& packetw2c_get_airdrop_info_result::item() const {
  8548. return item_ != NULL ? *item_ : *default_instance_->item_;
  8549. }
  8550. inline ::client2world_protocols::msg_airdropitem* packetw2c_get_airdrop_info_result::mutable_item() {
  8551. set_has_item();
  8552. if (item_ == NULL) item_ = new ::client2world_protocols::msg_airdropitem;
  8553. return item_;
  8554. }
  8555. inline ::client2world_protocols::msg_airdropitem* packetw2c_get_airdrop_info_result::release_item() {
  8556. clear_has_item();
  8557. ::client2world_protocols::msg_airdropitem* temp = item_;
  8558. item_ = NULL;
  8559. return temp;
  8560. }
  8561. inline void packetw2c_get_airdrop_info_result::set_allocated_item(::client2world_protocols::msg_airdropitem* item) {
  8562. delete item_;
  8563. item_ = item;
  8564. if (item) {
  8565. set_has_item();
  8566. } else {
  8567. clear_has_item();
  8568. }
  8569. }
  8570. // -------------------------------------------------------------------
  8571. // packetc2w_draw_airdrop
  8572. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
  8573. inline bool packetc2w_draw_airdrop::has_packet_id() const {
  8574. return (_has_bits_[0] & 0x00000001u) != 0;
  8575. }
  8576. inline void packetc2w_draw_airdrop::set_has_packet_id() {
  8577. _has_bits_[0] |= 0x00000001u;
  8578. }
  8579. inline void packetc2w_draw_airdrop::clear_has_packet_id() {
  8580. _has_bits_[0] &= ~0x00000001u;
  8581. }
  8582. inline void packetc2w_draw_airdrop::clear_packet_id() {
  8583. packet_id_ = 5151;
  8584. clear_has_packet_id();
  8585. }
  8586. inline ::client2world_protocols::e_server_msg_type packetc2w_draw_airdrop::packet_id() const {
  8587. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8588. }
  8589. inline void packetc2w_draw_airdrop::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8590. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8591. set_has_packet_id();
  8592. packet_id_ = value;
  8593. }
  8594. // optional int32 uuid = 2;
  8595. inline bool packetc2w_draw_airdrop::has_uuid() const {
  8596. return (_has_bits_[0] & 0x00000002u) != 0;
  8597. }
  8598. inline void packetc2w_draw_airdrop::set_has_uuid() {
  8599. _has_bits_[0] |= 0x00000002u;
  8600. }
  8601. inline void packetc2w_draw_airdrop::clear_has_uuid() {
  8602. _has_bits_[0] &= ~0x00000002u;
  8603. }
  8604. inline void packetc2w_draw_airdrop::clear_uuid() {
  8605. uuid_ = 0;
  8606. clear_has_uuid();
  8607. }
  8608. inline ::google::protobuf::int32 packetc2w_draw_airdrop::uuid() const {
  8609. return uuid_;
  8610. }
  8611. inline void packetc2w_draw_airdrop::set_uuid(::google::protobuf::int32 value) {
  8612. set_has_uuid();
  8613. uuid_ = value;
  8614. }
  8615. // optional string pwd = 3;
  8616. inline bool packetc2w_draw_airdrop::has_pwd() const {
  8617. return (_has_bits_[0] & 0x00000004u) != 0;
  8618. }
  8619. inline void packetc2w_draw_airdrop::set_has_pwd() {
  8620. _has_bits_[0] |= 0x00000004u;
  8621. }
  8622. inline void packetc2w_draw_airdrop::clear_has_pwd() {
  8623. _has_bits_[0] &= ~0x00000004u;
  8624. }
  8625. inline void packetc2w_draw_airdrop::clear_pwd() {
  8626. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8627. pwd_->clear();
  8628. }
  8629. clear_has_pwd();
  8630. }
  8631. inline const ::std::string& packetc2w_draw_airdrop::pwd() const {
  8632. return *pwd_;
  8633. }
  8634. inline void packetc2w_draw_airdrop::set_pwd(const ::std::string& value) {
  8635. set_has_pwd();
  8636. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8637. pwd_ = new ::std::string;
  8638. }
  8639. pwd_->assign(value);
  8640. }
  8641. inline void packetc2w_draw_airdrop::set_pwd(const char* value) {
  8642. set_has_pwd();
  8643. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8644. pwd_ = new ::std::string;
  8645. }
  8646. pwd_->assign(value);
  8647. }
  8648. inline void packetc2w_draw_airdrop::set_pwd(const char* value, size_t size) {
  8649. set_has_pwd();
  8650. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8651. pwd_ = new ::std::string;
  8652. }
  8653. pwd_->assign(reinterpret_cast<const char*>(value), size);
  8654. }
  8655. inline ::std::string* packetc2w_draw_airdrop::mutable_pwd() {
  8656. set_has_pwd();
  8657. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8658. pwd_ = new ::std::string;
  8659. }
  8660. return pwd_;
  8661. }
  8662. inline ::std::string* packetc2w_draw_airdrop::release_pwd() {
  8663. clear_has_pwd();
  8664. if (pwd_ == &::google::protobuf::internal::kEmptyString) {
  8665. return NULL;
  8666. } else {
  8667. ::std::string* temp = pwd_;
  8668. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8669. return temp;
  8670. }
  8671. }
  8672. inline void packetc2w_draw_airdrop::set_allocated_pwd(::std::string* pwd) {
  8673. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8674. delete pwd_;
  8675. }
  8676. if (pwd) {
  8677. set_has_pwd();
  8678. pwd_ = pwd;
  8679. } else {
  8680. clear_has_pwd();
  8681. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8682. }
  8683. }
  8684. // -------------------------------------------------------------------
  8685. // packetw2c_draw_airdrop_result
  8686. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_result];
  8687. inline bool packetw2c_draw_airdrop_result::has_packet_id() const {
  8688. return (_has_bits_[0] & 0x00000001u) != 0;
  8689. }
  8690. inline void packetw2c_draw_airdrop_result::set_has_packet_id() {
  8691. _has_bits_[0] |= 0x00000001u;
  8692. }
  8693. inline void packetw2c_draw_airdrop_result::clear_has_packet_id() {
  8694. _has_bits_[0] &= ~0x00000001u;
  8695. }
  8696. inline void packetw2c_draw_airdrop_result::clear_packet_id() {
  8697. packet_id_ = 7663;
  8698. clear_has_packet_id();
  8699. }
  8700. inline ::client2world_protocols::e_server_msg_type packetw2c_draw_airdrop_result::packet_id() const {
  8701. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8702. }
  8703. inline void packetw2c_draw_airdrop_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8704. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8705. set_has_packet_id();
  8706. packet_id_ = value;
  8707. }
  8708. // optional int32 result = 2;
  8709. inline bool packetw2c_draw_airdrop_result::has_result() const {
  8710. return (_has_bits_[0] & 0x00000002u) != 0;
  8711. }
  8712. inline void packetw2c_draw_airdrop_result::set_has_result() {
  8713. _has_bits_[0] |= 0x00000002u;
  8714. }
  8715. inline void packetw2c_draw_airdrop_result::clear_has_result() {
  8716. _has_bits_[0] &= ~0x00000002u;
  8717. }
  8718. inline void packetw2c_draw_airdrop_result::clear_result() {
  8719. result_ = 0;
  8720. clear_has_result();
  8721. }
  8722. inline ::google::protobuf::int32 packetw2c_draw_airdrop_result::result() const {
  8723. return result_;
  8724. }
  8725. inline void packetw2c_draw_airdrop_result::set_result(::google::protobuf::int32 value) {
  8726. set_has_result();
  8727. result_ = value;
  8728. }
  8729. // optional .client2world_protocols.msg_airdropitem item = 3;
  8730. inline bool packetw2c_draw_airdrop_result::has_item() const {
  8731. return (_has_bits_[0] & 0x00000004u) != 0;
  8732. }
  8733. inline void packetw2c_draw_airdrop_result::set_has_item() {
  8734. _has_bits_[0] |= 0x00000004u;
  8735. }
  8736. inline void packetw2c_draw_airdrop_result::clear_has_item() {
  8737. _has_bits_[0] &= ~0x00000004u;
  8738. }
  8739. inline void packetw2c_draw_airdrop_result::clear_item() {
  8740. if (item_ != NULL) item_->::client2world_protocols::msg_airdropitem::Clear();
  8741. clear_has_item();
  8742. }
  8743. inline const ::client2world_protocols::msg_airdropitem& packetw2c_draw_airdrop_result::item() const {
  8744. return item_ != NULL ? *item_ : *default_instance_->item_;
  8745. }
  8746. inline ::client2world_protocols::msg_airdropitem* packetw2c_draw_airdrop_result::mutable_item() {
  8747. set_has_item();
  8748. if (item_ == NULL) item_ = new ::client2world_protocols::msg_airdropitem;
  8749. return item_;
  8750. }
  8751. inline ::client2world_protocols::msg_airdropitem* packetw2c_draw_airdrop_result::release_item() {
  8752. clear_has_item();
  8753. ::client2world_protocols::msg_airdropitem* temp = item_;
  8754. item_ = NULL;
  8755. return temp;
  8756. }
  8757. inline void packetw2c_draw_airdrop_result::set_allocated_item(::client2world_protocols::msg_airdropitem* item) {
  8758. delete item_;
  8759. item_ = item;
  8760. if (item) {
  8761. set_has_item();
  8762. } else {
  8763. clear_has_item();
  8764. }
  8765. }
  8766. // -------------------------------------------------------------------
  8767. // packetc2w_receive_vip_reward
  8768. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  8769. inline bool packetc2w_receive_vip_reward::has_packet_id() const {
  8770. return (_has_bits_[0] & 0x00000001u) != 0;
  8771. }
  8772. inline void packetc2w_receive_vip_reward::set_has_packet_id() {
  8773. _has_bits_[0] |= 0x00000001u;
  8774. }
  8775. inline void packetc2w_receive_vip_reward::clear_has_packet_id() {
  8776. _has_bits_[0] &= ~0x00000001u;
  8777. }
  8778. inline void packetc2w_receive_vip_reward::clear_packet_id() {
  8779. packet_id_ = 5165;
  8780. clear_has_packet_id();
  8781. }
  8782. inline ::client2world_protocols::e_server_msg_type packetc2w_receive_vip_reward::packet_id() const {
  8783. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8784. }
  8785. inline void packetc2w_receive_vip_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8786. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8787. set_has_packet_id();
  8788. packet_id_ = value;
  8789. }
  8790. // optional int32 result = 2;
  8791. inline bool packetc2w_receive_vip_reward::has_result() const {
  8792. return (_has_bits_[0] & 0x00000002u) != 0;
  8793. }
  8794. inline void packetc2w_receive_vip_reward::set_has_result() {
  8795. _has_bits_[0] |= 0x00000002u;
  8796. }
  8797. inline void packetc2w_receive_vip_reward::clear_has_result() {
  8798. _has_bits_[0] &= ~0x00000002u;
  8799. }
  8800. inline void packetc2w_receive_vip_reward::clear_result() {
  8801. result_ = 0;
  8802. clear_has_result();
  8803. }
  8804. inline ::google::protobuf::int32 packetc2w_receive_vip_reward::result() const {
  8805. return result_;
  8806. }
  8807. inline void packetc2w_receive_vip_reward::set_result(::google::protobuf::int32 value) {
  8808. set_has_result();
  8809. result_ = value;
  8810. }
  8811. // optional int32 rewardid = 3;
  8812. inline bool packetc2w_receive_vip_reward::has_rewardid() const {
  8813. return (_has_bits_[0] & 0x00000004u) != 0;
  8814. }
  8815. inline void packetc2w_receive_vip_reward::set_has_rewardid() {
  8816. _has_bits_[0] |= 0x00000004u;
  8817. }
  8818. inline void packetc2w_receive_vip_reward::clear_has_rewardid() {
  8819. _has_bits_[0] &= ~0x00000004u;
  8820. }
  8821. inline void packetc2w_receive_vip_reward::clear_rewardid() {
  8822. rewardid_ = 0;
  8823. clear_has_rewardid();
  8824. }
  8825. inline ::google::protobuf::int32 packetc2w_receive_vip_reward::rewardid() const {
  8826. return rewardid_;
  8827. }
  8828. inline void packetc2w_receive_vip_reward::set_rewardid(::google::protobuf::int32 value) {
  8829. set_has_rewardid();
  8830. rewardid_ = value;
  8831. }
  8832. // -------------------------------------------------------------------
  8833. // packetw2c_receive_vip_reward_result
  8834. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_result];
  8835. inline bool packetw2c_receive_vip_reward_result::has_packet_id() const {
  8836. return (_has_bits_[0] & 0x00000001u) != 0;
  8837. }
  8838. inline void packetw2c_receive_vip_reward_result::set_has_packet_id() {
  8839. _has_bits_[0] |= 0x00000001u;
  8840. }
  8841. inline void packetw2c_receive_vip_reward_result::clear_has_packet_id() {
  8842. _has_bits_[0] &= ~0x00000001u;
  8843. }
  8844. inline void packetw2c_receive_vip_reward_result::clear_packet_id() {
  8845. packet_id_ = 7679;
  8846. clear_has_packet_id();
  8847. }
  8848. inline ::client2world_protocols::e_server_msg_type packetw2c_receive_vip_reward_result::packet_id() const {
  8849. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8850. }
  8851. inline void packetw2c_receive_vip_reward_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8852. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8853. set_has_packet_id();
  8854. packet_id_ = value;
  8855. }
  8856. // optional int32 result = 2;
  8857. inline bool packetw2c_receive_vip_reward_result::has_result() const {
  8858. return (_has_bits_[0] & 0x00000002u) != 0;
  8859. }
  8860. inline void packetw2c_receive_vip_reward_result::set_has_result() {
  8861. _has_bits_[0] |= 0x00000002u;
  8862. }
  8863. inline void packetw2c_receive_vip_reward_result::clear_has_result() {
  8864. _has_bits_[0] &= ~0x00000002u;
  8865. }
  8866. inline void packetw2c_receive_vip_reward_result::clear_result() {
  8867. result_ = 0;
  8868. clear_has_result();
  8869. }
  8870. inline ::google::protobuf::int32 packetw2c_receive_vip_reward_result::result() const {
  8871. return result_;
  8872. }
  8873. inline void packetw2c_receive_vip_reward_result::set_result(::google::protobuf::int32 value) {
  8874. set_has_result();
  8875. result_ = value;
  8876. }
  8877. // optional int32 rewardid = 3;
  8878. inline bool packetw2c_receive_vip_reward_result::has_rewardid() const {
  8879. return (_has_bits_[0] & 0x00000004u) != 0;
  8880. }
  8881. inline void packetw2c_receive_vip_reward_result::set_has_rewardid() {
  8882. _has_bits_[0] |= 0x00000004u;
  8883. }
  8884. inline void packetw2c_receive_vip_reward_result::clear_has_rewardid() {
  8885. _has_bits_[0] &= ~0x00000004u;
  8886. }
  8887. inline void packetw2c_receive_vip_reward_result::clear_rewardid() {
  8888. rewardid_ = 0;
  8889. clear_has_rewardid();
  8890. }
  8891. inline ::google::protobuf::int32 packetw2c_receive_vip_reward_result::rewardid() const {
  8892. return rewardid_;
  8893. }
  8894. inline void packetw2c_receive_vip_reward_result::set_rewardid(::google::protobuf::int32 value) {
  8895. set_has_rewardid();
  8896. rewardid_ = value;
  8897. }
  8898. // -------------------------------------------------------------------
  8899. // packetw2c_check_vip_money_result
  8900. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_result];
  8901. inline bool packetw2c_check_vip_money_result::has_packet_id() const {
  8902. return (_has_bits_[0] & 0x00000001u) != 0;
  8903. }
  8904. inline void packetw2c_check_vip_money_result::set_has_packet_id() {
  8905. _has_bits_[0] |= 0x00000001u;
  8906. }
  8907. inline void packetw2c_check_vip_money_result::clear_has_packet_id() {
  8908. _has_bits_[0] &= ~0x00000001u;
  8909. }
  8910. inline void packetw2c_check_vip_money_result::clear_packet_id() {
  8911. packet_id_ = 7665;
  8912. clear_has_packet_id();
  8913. }
  8914. inline ::client2world_protocols::e_server_msg_type packetw2c_check_vip_money_result::packet_id() const {
  8915. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8916. }
  8917. inline void packetw2c_check_vip_money_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8918. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8919. set_has_packet_id();
  8920. packet_id_ = value;
  8921. }
  8922. // optional int32 result = 2;
  8923. inline bool packetw2c_check_vip_money_result::has_result() const {
  8924. return (_has_bits_[0] & 0x00000002u) != 0;
  8925. }
  8926. inline void packetw2c_check_vip_money_result::set_has_result() {
  8927. _has_bits_[0] |= 0x00000002u;
  8928. }
  8929. inline void packetw2c_check_vip_money_result::clear_has_result() {
  8930. _has_bits_[0] &= ~0x00000002u;
  8931. }
  8932. inline void packetw2c_check_vip_money_result::clear_result() {
  8933. result_ = 0;
  8934. clear_has_result();
  8935. }
  8936. inline ::google::protobuf::int32 packetw2c_check_vip_money_result::result() const {
  8937. return result_;
  8938. }
  8939. inline void packetw2c_check_vip_money_result::set_result(::google::protobuf::int32 value) {
  8940. set_has_result();
  8941. result_ = value;
  8942. }
  8943. // -------------------------------------------------------------------
  8944. // packetw2c_timer_update
  8945. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  8946. inline bool packetw2c_timer_update::has_packet_id() const {
  8947. return (_has_bits_[0] & 0x00000001u) != 0;
  8948. }
  8949. inline void packetw2c_timer_update::set_has_packet_id() {
  8950. _has_bits_[0] |= 0x00000001u;
  8951. }
  8952. inline void packetw2c_timer_update::clear_has_packet_id() {
  8953. _has_bits_[0] &= ~0x00000001u;
  8954. }
  8955. inline void packetw2c_timer_update::clear_packet_id() {
  8956. packet_id_ = 7664;
  8957. clear_has_packet_id();
  8958. }
  8959. inline ::client2world_protocols::e_server_msg_type packetw2c_timer_update::packet_id() const {
  8960. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  8961. }
  8962. inline void packetw2c_timer_update::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  8963. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  8964. set_has_packet_id();
  8965. packet_id_ = value;
  8966. }
  8967. // -------------------------------------------------------------------
  8968. // recordInfo
  8969. // optional int32 type = 1;
  8970. inline bool recordInfo::has_type() const {
  8971. return (_has_bits_[0] & 0x00000001u) != 0;
  8972. }
  8973. inline void recordInfo::set_has_type() {
  8974. _has_bits_[0] |= 0x00000001u;
  8975. }
  8976. inline void recordInfo::clear_has_type() {
  8977. _has_bits_[0] &= ~0x00000001u;
  8978. }
  8979. inline void recordInfo::clear_type() {
  8980. type_ = 0;
  8981. clear_has_type();
  8982. }
  8983. inline ::google::protobuf::int32 recordInfo::type() const {
  8984. return type_;
  8985. }
  8986. inline void recordInfo::set_type(::google::protobuf::int32 value) {
  8987. set_has_type();
  8988. type_ = value;
  8989. }
  8990. // optional int32 param = 2;
  8991. inline bool recordInfo::has_param() const {
  8992. return (_has_bits_[0] & 0x00000002u) != 0;
  8993. }
  8994. inline void recordInfo::set_has_param() {
  8995. _has_bits_[0] |= 0x00000002u;
  8996. }
  8997. inline void recordInfo::clear_has_param() {
  8998. _has_bits_[0] &= ~0x00000002u;
  8999. }
  9000. inline void recordInfo::clear_param() {
  9001. param_ = 0;
  9002. clear_has_param();
  9003. }
  9004. inline ::google::protobuf::int32 recordInfo::param() const {
  9005. return param_;
  9006. }
  9007. inline void recordInfo::set_param(::google::protobuf::int32 value) {
  9008. set_has_param();
  9009. param_ = value;
  9010. }
  9011. // optional int32 count = 3;
  9012. inline bool recordInfo::has_count() const {
  9013. return (_has_bits_[0] & 0x00000004u) != 0;
  9014. }
  9015. inline void recordInfo::set_has_count() {
  9016. _has_bits_[0] |= 0x00000004u;
  9017. }
  9018. inline void recordInfo::clear_has_count() {
  9019. _has_bits_[0] &= ~0x00000004u;
  9020. }
  9021. inline void recordInfo::clear_count() {
  9022. count_ = 0;
  9023. clear_has_count();
  9024. }
  9025. inline ::google::protobuf::int32 recordInfo::count() const {
  9026. return count_;
  9027. }
  9028. inline void recordInfo::set_count(::google::protobuf::int32 value) {
  9029. set_has_count();
  9030. count_ = value;
  9031. }
  9032. // -------------------------------------------------------------------
  9033. // packetc2w_syn_record_info
  9034. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_info];
  9035. inline bool packetc2w_syn_record_info::has_packet_id() const {
  9036. return (_has_bits_[0] & 0x00000001u) != 0;
  9037. }
  9038. inline void packetc2w_syn_record_info::set_has_packet_id() {
  9039. _has_bits_[0] |= 0x00000001u;
  9040. }
  9041. inline void packetc2w_syn_record_info::clear_has_packet_id() {
  9042. _has_bits_[0] &= ~0x00000001u;
  9043. }
  9044. inline void packetc2w_syn_record_info::clear_packet_id() {
  9045. packet_id_ = 5157;
  9046. clear_has_packet_id();
  9047. }
  9048. inline ::client2world_protocols::e_server_msg_type packetc2w_syn_record_info::packet_id() const {
  9049. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9050. }
  9051. inline void packetc2w_syn_record_info::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9052. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9053. set_has_packet_id();
  9054. packet_id_ = value;
  9055. }
  9056. // repeated .client2world_protocols.recordInfo recordList = 2;
  9057. inline int packetc2w_syn_record_info::recordlist_size() const {
  9058. return recordlist_.size();
  9059. }
  9060. inline void packetc2w_syn_record_info::clear_recordlist() {
  9061. recordlist_.Clear();
  9062. }
  9063. inline const ::client2world_protocols::recordInfo& packetc2w_syn_record_info::recordlist(int index) const {
  9064. return recordlist_.Get(index);
  9065. }
  9066. inline ::client2world_protocols::recordInfo* packetc2w_syn_record_info::mutable_recordlist(int index) {
  9067. return recordlist_.Mutable(index);
  9068. }
  9069. inline ::client2world_protocols::recordInfo* packetc2w_syn_record_info::add_recordlist() {
  9070. return recordlist_.Add();
  9071. }
  9072. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::recordInfo >&
  9073. packetc2w_syn_record_info::recordlist() const {
  9074. return recordlist_;
  9075. }
  9076. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::recordInfo >*
  9077. packetc2w_syn_record_info::mutable_recordlist() {
  9078. return &recordlist_;
  9079. }
  9080. // -------------------------------------------------------------------
  9081. // packetc2w_pay_by_diamond
  9082. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
  9083. inline bool packetc2w_pay_by_diamond::has_packet_id() const {
  9084. return (_has_bits_[0] & 0x00000001u) != 0;
  9085. }
  9086. inline void packetc2w_pay_by_diamond::set_has_packet_id() {
  9087. _has_bits_[0] |= 0x00000001u;
  9088. }
  9089. inline void packetc2w_pay_by_diamond::clear_has_packet_id() {
  9090. _has_bits_[0] &= ~0x00000001u;
  9091. }
  9092. inline void packetc2w_pay_by_diamond::clear_packet_id() {
  9093. packet_id_ = 5171;
  9094. clear_has_packet_id();
  9095. }
  9096. inline ::client2world_protocols::e_server_msg_type packetc2w_pay_by_diamond::packet_id() const {
  9097. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9098. }
  9099. inline void packetc2w_pay_by_diamond::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9100. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9101. set_has_packet_id();
  9102. packet_id_ = value;
  9103. }
  9104. // optional int32 payid = 2;
  9105. inline bool packetc2w_pay_by_diamond::has_payid() const {
  9106. return (_has_bits_[0] & 0x00000002u) != 0;
  9107. }
  9108. inline void packetc2w_pay_by_diamond::set_has_payid() {
  9109. _has_bits_[0] |= 0x00000002u;
  9110. }
  9111. inline void packetc2w_pay_by_diamond::clear_has_payid() {
  9112. _has_bits_[0] &= ~0x00000002u;
  9113. }
  9114. inline void packetc2w_pay_by_diamond::clear_payid() {
  9115. payid_ = 0;
  9116. clear_has_payid();
  9117. }
  9118. inline ::google::protobuf::int32 packetc2w_pay_by_diamond::payid() const {
  9119. return payid_;
  9120. }
  9121. inline void packetc2w_pay_by_diamond::set_payid(::google::protobuf::int32 value) {
  9122. set_has_payid();
  9123. payid_ = value;
  9124. }
  9125. // -------------------------------------------------------------------
  9126. // packetw2c_pay_by_diamond_result
  9127. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_result];
  9128. inline bool packetw2c_pay_by_diamond_result::has_packet_id() const {
  9129. return (_has_bits_[0] & 0x00000001u) != 0;
  9130. }
  9131. inline void packetw2c_pay_by_diamond_result::set_has_packet_id() {
  9132. _has_bits_[0] |= 0x00000001u;
  9133. }
  9134. inline void packetw2c_pay_by_diamond_result::clear_has_packet_id() {
  9135. _has_bits_[0] &= ~0x00000001u;
  9136. }
  9137. inline void packetw2c_pay_by_diamond_result::clear_packet_id() {
  9138. packet_id_ = 7689;
  9139. clear_has_packet_id();
  9140. }
  9141. inline ::client2world_protocols::e_server_msg_type packetw2c_pay_by_diamond_result::packet_id() const {
  9142. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9143. }
  9144. inline void packetw2c_pay_by_diamond_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9145. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9146. set_has_packet_id();
  9147. packet_id_ = value;
  9148. }
  9149. // optional int32 result = 2;
  9150. inline bool packetw2c_pay_by_diamond_result::has_result() const {
  9151. return (_has_bits_[0] & 0x00000002u) != 0;
  9152. }
  9153. inline void packetw2c_pay_by_diamond_result::set_has_result() {
  9154. _has_bits_[0] |= 0x00000002u;
  9155. }
  9156. inline void packetw2c_pay_by_diamond_result::clear_has_result() {
  9157. _has_bits_[0] &= ~0x00000002u;
  9158. }
  9159. inline void packetw2c_pay_by_diamond_result::clear_result() {
  9160. result_ = 0;
  9161. clear_has_result();
  9162. }
  9163. inline ::google::protobuf::int32 packetw2c_pay_by_diamond_result::result() const {
  9164. return result_;
  9165. }
  9166. inline void packetw2c_pay_by_diamond_result::set_result(::google::protobuf::int32 value) {
  9167. set_has_result();
  9168. result_ = value;
  9169. }
  9170. // optional int32 payid = 3;
  9171. inline bool packetw2c_pay_by_diamond_result::has_payid() const {
  9172. return (_has_bits_[0] & 0x00000004u) != 0;
  9173. }
  9174. inline void packetw2c_pay_by_diamond_result::set_has_payid() {
  9175. _has_bits_[0] |= 0x00000004u;
  9176. }
  9177. inline void packetw2c_pay_by_diamond_result::clear_has_payid() {
  9178. _has_bits_[0] &= ~0x00000004u;
  9179. }
  9180. inline void packetw2c_pay_by_diamond_result::clear_payid() {
  9181. payid_ = 0;
  9182. clear_has_payid();
  9183. }
  9184. inline ::google::protobuf::int32 packetw2c_pay_by_diamond_result::payid() const {
  9185. return payid_;
  9186. }
  9187. inline void packetw2c_pay_by_diamond_result::set_payid(::google::protobuf::int32 value) {
  9188. set_has_payid();
  9189. payid_ = value;
  9190. }
  9191. // -------------------------------------------------------------------
  9192. // packetc2w_exchange_vip_item
  9193. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
  9194. inline bool packetc2w_exchange_vip_item::has_packet_id() const {
  9195. return (_has_bits_[0] & 0x00000001u) != 0;
  9196. }
  9197. inline void packetc2w_exchange_vip_item::set_has_packet_id() {
  9198. _has_bits_[0] |= 0x00000001u;
  9199. }
  9200. inline void packetc2w_exchange_vip_item::clear_has_packet_id() {
  9201. _has_bits_[0] &= ~0x00000001u;
  9202. }
  9203. inline void packetc2w_exchange_vip_item::clear_packet_id() {
  9204. packet_id_ = 5172;
  9205. clear_has_packet_id();
  9206. }
  9207. inline ::client2world_protocols::e_server_msg_type packetc2w_exchange_vip_item::packet_id() const {
  9208. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9209. }
  9210. inline void packetc2w_exchange_vip_item::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9211. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9212. set_has_packet_id();
  9213. packet_id_ = value;
  9214. }
  9215. // optional int32 index = 2;
  9216. inline bool packetc2w_exchange_vip_item::has_index() const {
  9217. return (_has_bits_[0] & 0x00000002u) != 0;
  9218. }
  9219. inline void packetc2w_exchange_vip_item::set_has_index() {
  9220. _has_bits_[0] |= 0x00000002u;
  9221. }
  9222. inline void packetc2w_exchange_vip_item::clear_has_index() {
  9223. _has_bits_[0] &= ~0x00000002u;
  9224. }
  9225. inline void packetc2w_exchange_vip_item::clear_index() {
  9226. index_ = 0;
  9227. clear_has_index();
  9228. }
  9229. inline ::google::protobuf::int32 packetc2w_exchange_vip_item::index() const {
  9230. return index_;
  9231. }
  9232. inline void packetc2w_exchange_vip_item::set_index(::google::protobuf::int32 value) {
  9233. set_has_index();
  9234. index_ = value;
  9235. }
  9236. // -------------------------------------------------------------------
  9237. // packetw2c_exchange_vip_item_result
  9238. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_result];
  9239. inline bool packetw2c_exchange_vip_item_result::has_packet_id() const {
  9240. return (_has_bits_[0] & 0x00000001u) != 0;
  9241. }
  9242. inline void packetw2c_exchange_vip_item_result::set_has_packet_id() {
  9243. _has_bits_[0] |= 0x00000001u;
  9244. }
  9245. inline void packetw2c_exchange_vip_item_result::clear_has_packet_id() {
  9246. _has_bits_[0] &= ~0x00000001u;
  9247. }
  9248. inline void packetw2c_exchange_vip_item_result::clear_packet_id() {
  9249. packet_id_ = 7690;
  9250. clear_has_packet_id();
  9251. }
  9252. inline ::client2world_protocols::e_server_msg_type packetw2c_exchange_vip_item_result::packet_id() const {
  9253. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9254. }
  9255. inline void packetw2c_exchange_vip_item_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9256. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9257. set_has_packet_id();
  9258. packet_id_ = value;
  9259. }
  9260. // optional int32 result = 2;
  9261. inline bool packetw2c_exchange_vip_item_result::has_result() const {
  9262. return (_has_bits_[0] & 0x00000002u) != 0;
  9263. }
  9264. inline void packetw2c_exchange_vip_item_result::set_has_result() {
  9265. _has_bits_[0] |= 0x00000002u;
  9266. }
  9267. inline void packetw2c_exchange_vip_item_result::clear_has_result() {
  9268. _has_bits_[0] &= ~0x00000002u;
  9269. }
  9270. inline void packetw2c_exchange_vip_item_result::clear_result() {
  9271. result_ = 0;
  9272. clear_has_result();
  9273. }
  9274. inline ::google::protobuf::int32 packetw2c_exchange_vip_item_result::result() const {
  9275. return result_;
  9276. }
  9277. inline void packetw2c_exchange_vip_item_result::set_result(::google::protobuf::int32 value) {
  9278. set_has_result();
  9279. result_ = value;
  9280. }
  9281. // optional int32 index = 3;
  9282. inline bool packetw2c_exchange_vip_item_result::has_index() const {
  9283. return (_has_bits_[0] & 0x00000004u) != 0;
  9284. }
  9285. inline void packetw2c_exchange_vip_item_result::set_has_index() {
  9286. _has_bits_[0] |= 0x00000004u;
  9287. }
  9288. inline void packetw2c_exchange_vip_item_result::clear_has_index() {
  9289. _has_bits_[0] &= ~0x00000004u;
  9290. }
  9291. inline void packetw2c_exchange_vip_item_result::clear_index() {
  9292. index_ = 0;
  9293. clear_has_index();
  9294. }
  9295. inline ::google::protobuf::int32 packetw2c_exchange_vip_item_result::index() const {
  9296. return index_;
  9297. }
  9298. inline void packetw2c_exchange_vip_item_result::set_index(::google::protobuf::int32 value) {
  9299. set_has_index();
  9300. index_ = value;
  9301. }
  9302. // -------------------------------------------------------------------
  9303. // storeInfo
  9304. // optional int32 id = 1;
  9305. inline bool storeInfo::has_id() const {
  9306. return (_has_bits_[0] & 0x00000001u) != 0;
  9307. }
  9308. inline void storeInfo::set_has_id() {
  9309. _has_bits_[0] |= 0x00000001u;
  9310. }
  9311. inline void storeInfo::clear_has_id() {
  9312. _has_bits_[0] &= ~0x00000001u;
  9313. }
  9314. inline void storeInfo::clear_id() {
  9315. id_ = 0;
  9316. clear_has_id();
  9317. }
  9318. inline ::google::protobuf::int32 storeInfo::id() const {
  9319. return id_;
  9320. }
  9321. inline void storeInfo::set_id(::google::protobuf::int32 value) {
  9322. set_has_id();
  9323. id_ = value;
  9324. }
  9325. // optional int32 store = 2;
  9326. inline bool storeInfo::has_store() const {
  9327. return (_has_bits_[0] & 0x00000002u) != 0;
  9328. }
  9329. inline void storeInfo::set_has_store() {
  9330. _has_bits_[0] |= 0x00000002u;
  9331. }
  9332. inline void storeInfo::clear_has_store() {
  9333. _has_bits_[0] &= ~0x00000002u;
  9334. }
  9335. inline void storeInfo::clear_store() {
  9336. store_ = 0;
  9337. clear_has_store();
  9338. }
  9339. inline ::google::protobuf::int32 storeInfo::store() const {
  9340. return store_;
  9341. }
  9342. inline void storeInfo::set_store(::google::protobuf::int32 value) {
  9343. set_has_store();
  9344. store_ = value;
  9345. }
  9346. // -------------------------------------------------------------------
  9347. // packet_c2w_sync_global_data
  9348. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  9349. inline bool packet_c2w_sync_global_data::has_packet_id() const {
  9350. return (_has_bits_[0] & 0x00000001u) != 0;
  9351. }
  9352. inline void packet_c2w_sync_global_data::set_has_packet_id() {
  9353. _has_bits_[0] |= 0x00000001u;
  9354. }
  9355. inline void packet_c2w_sync_global_data::clear_has_packet_id() {
  9356. _has_bits_[0] &= ~0x00000001u;
  9357. }
  9358. inline void packet_c2w_sync_global_data::clear_packet_id() {
  9359. packet_id_ = 5174;
  9360. clear_has_packet_id();
  9361. }
  9362. inline ::client2world_protocols::e_server_msg_type packet_c2w_sync_global_data::packet_id() const {
  9363. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9364. }
  9365. inline void packet_c2w_sync_global_data::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9366. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9367. set_has_packet_id();
  9368. packet_id_ = value;
  9369. }
  9370. // -------------------------------------------------------------------
  9371. // packet_w2c_sync_global_data_result
  9372. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_result];
  9373. inline bool packet_w2c_sync_global_data_result::has_packet_id() const {
  9374. return (_has_bits_[0] & 0x00000001u) != 0;
  9375. }
  9376. inline void packet_w2c_sync_global_data_result::set_has_packet_id() {
  9377. _has_bits_[0] |= 0x00000001u;
  9378. }
  9379. inline void packet_w2c_sync_global_data_result::clear_has_packet_id() {
  9380. _has_bits_[0] &= ~0x00000001u;
  9381. }
  9382. inline void packet_w2c_sync_global_data_result::clear_packet_id() {
  9383. packet_id_ = 7693;
  9384. clear_has_packet_id();
  9385. }
  9386. inline ::client2world_protocols::e_server_msg_type packet_w2c_sync_global_data_result::packet_id() const {
  9387. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9388. }
  9389. inline void packet_w2c_sync_global_data_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9390. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9391. set_has_packet_id();
  9392. packet_id_ = value;
  9393. }
  9394. // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  9395. inline int packet_w2c_sync_global_data_result::vipexchangestore_size() const {
  9396. return vipexchangestore_.size();
  9397. }
  9398. inline void packet_w2c_sync_global_data_result::clear_vipexchangestore() {
  9399. vipexchangestore_.Clear();
  9400. }
  9401. inline const ::client2world_protocols::storeInfo& packet_w2c_sync_global_data_result::vipexchangestore(int index) const {
  9402. return vipexchangestore_.Get(index);
  9403. }
  9404. inline ::client2world_protocols::storeInfo* packet_w2c_sync_global_data_result::mutable_vipexchangestore(int index) {
  9405. return vipexchangestore_.Mutable(index);
  9406. }
  9407. inline ::client2world_protocols::storeInfo* packet_w2c_sync_global_data_result::add_vipexchangestore() {
  9408. return vipexchangestore_.Add();
  9409. }
  9410. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::storeInfo >&
  9411. packet_w2c_sync_global_data_result::vipexchangestore() const {
  9412. return vipexchangestore_;
  9413. }
  9414. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::storeInfo >*
  9415. packet_w2c_sync_global_data_result::mutable_vipexchangestore() {
  9416. return &vipexchangestore_;
  9417. }
  9418. // optional int32 firstRechargeGiftPayCount = 3;
  9419. inline bool packet_w2c_sync_global_data_result::has_firstrechargegiftpaycount() const {
  9420. return (_has_bits_[0] & 0x00000004u) != 0;
  9421. }
  9422. inline void packet_w2c_sync_global_data_result::set_has_firstrechargegiftpaycount() {
  9423. _has_bits_[0] |= 0x00000004u;
  9424. }
  9425. inline void packet_w2c_sync_global_data_result::clear_has_firstrechargegiftpaycount() {
  9426. _has_bits_[0] &= ~0x00000004u;
  9427. }
  9428. inline void packet_w2c_sync_global_data_result::clear_firstrechargegiftpaycount() {
  9429. firstrechargegiftpaycount_ = 0;
  9430. clear_has_firstrechargegiftpaycount();
  9431. }
  9432. inline ::google::protobuf::int32 packet_w2c_sync_global_data_result::firstrechargegiftpaycount() const {
  9433. return firstrechargegiftpaycount_;
  9434. }
  9435. inline void packet_w2c_sync_global_data_result::set_firstrechargegiftpaycount(::google::protobuf::int32 value) {
  9436. set_has_firstrechargegiftpaycount();
  9437. firstrechargegiftpaycount_ = value;
  9438. }
  9439. // -------------------------------------------------------------------
  9440. // packet_w2c_trigger_seven_day_rechage
  9441. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
  9442. inline bool packet_w2c_trigger_seven_day_rechage::has_packet_id() const {
  9443. return (_has_bits_[0] & 0x00000001u) != 0;
  9444. }
  9445. inline void packet_w2c_trigger_seven_day_rechage::set_has_packet_id() {
  9446. _has_bits_[0] |= 0x00000001u;
  9447. }
  9448. inline void packet_w2c_trigger_seven_day_rechage::clear_has_packet_id() {
  9449. _has_bits_[0] &= ~0x00000001u;
  9450. }
  9451. inline void packet_w2c_trigger_seven_day_rechage::clear_packet_id() {
  9452. packet_id_ = 7704;
  9453. clear_has_packet_id();
  9454. }
  9455. inline ::client2world_protocols::e_server_msg_type packet_w2c_trigger_seven_day_rechage::packet_id() const {
  9456. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9457. }
  9458. inline void packet_w2c_trigger_seven_day_rechage::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9459. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9460. set_has_packet_id();
  9461. packet_id_ = value;
  9462. }
  9463. // optional int32 endTime = 2;
  9464. inline bool packet_w2c_trigger_seven_day_rechage::has_endtime() const {
  9465. return (_has_bits_[0] & 0x00000002u) != 0;
  9466. }
  9467. inline void packet_w2c_trigger_seven_day_rechage::set_has_endtime() {
  9468. _has_bits_[0] |= 0x00000002u;
  9469. }
  9470. inline void packet_w2c_trigger_seven_day_rechage::clear_has_endtime() {
  9471. _has_bits_[0] &= ~0x00000002u;
  9472. }
  9473. inline void packet_w2c_trigger_seven_day_rechage::clear_endtime() {
  9474. endtime_ = 0;
  9475. clear_has_endtime();
  9476. }
  9477. inline ::google::protobuf::int32 packet_w2c_trigger_seven_day_rechage::endtime() const {
  9478. return endtime_;
  9479. }
  9480. inline void packet_w2c_trigger_seven_day_rechage::set_endtime(::google::protobuf::int32 value) {
  9481. set_has_endtime();
  9482. endtime_ = value;
  9483. }
  9484. // optional int32 leftsecond = 3;
  9485. inline bool packet_w2c_trigger_seven_day_rechage::has_leftsecond() const {
  9486. return (_has_bits_[0] & 0x00000004u) != 0;
  9487. }
  9488. inline void packet_w2c_trigger_seven_day_rechage::set_has_leftsecond() {
  9489. _has_bits_[0] |= 0x00000004u;
  9490. }
  9491. inline void packet_w2c_trigger_seven_day_rechage::clear_has_leftsecond() {
  9492. _has_bits_[0] &= ~0x00000004u;
  9493. }
  9494. inline void packet_w2c_trigger_seven_day_rechage::clear_leftsecond() {
  9495. leftsecond_ = 0;
  9496. clear_has_leftsecond();
  9497. }
  9498. inline ::google::protobuf::int32 packet_w2c_trigger_seven_day_rechage::leftsecond() const {
  9499. return leftsecond_;
  9500. }
  9501. inline void packet_w2c_trigger_seven_day_rechage::set_leftsecond(::google::protobuf::int32 value) {
  9502. set_has_leftsecond();
  9503. leftsecond_ = value;
  9504. }
  9505. // -------------------------------------------------------------------
  9506. // treasureItem
  9507. // optional int32 index = 1;
  9508. inline bool treasureItem::has_index() const {
  9509. return (_has_bits_[0] & 0x00000001u) != 0;
  9510. }
  9511. inline void treasureItem::set_has_index() {
  9512. _has_bits_[0] |= 0x00000001u;
  9513. }
  9514. inline void treasureItem::clear_has_index() {
  9515. _has_bits_[0] &= ~0x00000001u;
  9516. }
  9517. inline void treasureItem::clear_index() {
  9518. index_ = 0;
  9519. clear_has_index();
  9520. }
  9521. inline ::google::protobuf::int32 treasureItem::index() const {
  9522. return index_;
  9523. }
  9524. inline void treasureItem::set_index(::google::protobuf::int32 value) {
  9525. set_has_index();
  9526. index_ = value;
  9527. }
  9528. // optional int32 itemId = 2;
  9529. inline bool treasureItem::has_itemid() const {
  9530. return (_has_bits_[0] & 0x00000002u) != 0;
  9531. }
  9532. inline void treasureItem::set_has_itemid() {
  9533. _has_bits_[0] |= 0x00000002u;
  9534. }
  9535. inline void treasureItem::clear_has_itemid() {
  9536. _has_bits_[0] &= ~0x00000002u;
  9537. }
  9538. inline void treasureItem::clear_itemid() {
  9539. itemid_ = 0;
  9540. clear_has_itemid();
  9541. }
  9542. inline ::google::protobuf::int32 treasureItem::itemid() const {
  9543. return itemid_;
  9544. }
  9545. inline void treasureItem::set_itemid(::google::protobuf::int32 value) {
  9546. set_has_itemid();
  9547. itemid_ = value;
  9548. }
  9549. // optional int32 itemCount = 3;
  9550. inline bool treasureItem::has_itemcount() const {
  9551. return (_has_bits_[0] & 0x00000004u) != 0;
  9552. }
  9553. inline void treasureItem::set_has_itemcount() {
  9554. _has_bits_[0] |= 0x00000004u;
  9555. }
  9556. inline void treasureItem::clear_has_itemcount() {
  9557. _has_bits_[0] &= ~0x00000004u;
  9558. }
  9559. inline void treasureItem::clear_itemcount() {
  9560. itemcount_ = 0;
  9561. clear_has_itemcount();
  9562. }
  9563. inline ::google::protobuf::int32 treasureItem::itemcount() const {
  9564. return itemcount_;
  9565. }
  9566. inline void treasureItem::set_itemcount(::google::protobuf::int32 value) {
  9567. set_has_itemcount();
  9568. itemcount_ = value;
  9569. }
  9570. // -------------------------------------------------------------------
  9571. // packetw2c_trigger_daily_treasure
  9572. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  9573. inline bool packetw2c_trigger_daily_treasure::has_packet_id() const {
  9574. return (_has_bits_[0] & 0x00000001u) != 0;
  9575. }
  9576. inline void packetw2c_trigger_daily_treasure::set_has_packet_id() {
  9577. _has_bits_[0] |= 0x00000001u;
  9578. }
  9579. inline void packetw2c_trigger_daily_treasure::clear_has_packet_id() {
  9580. _has_bits_[0] &= ~0x00000001u;
  9581. }
  9582. inline void packetw2c_trigger_daily_treasure::clear_packet_id() {
  9583. packet_id_ = 7727;
  9584. clear_has_packet_id();
  9585. }
  9586. inline ::client2world_protocols::e_server_msg_type packetw2c_trigger_daily_treasure::packet_id() const {
  9587. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9588. }
  9589. inline void packetw2c_trigger_daily_treasure::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9590. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9591. set_has_packet_id();
  9592. packet_id_ = value;
  9593. }
  9594. // optional int32 giftId = 2;
  9595. inline bool packetw2c_trigger_daily_treasure::has_giftid() const {
  9596. return (_has_bits_[0] & 0x00000002u) != 0;
  9597. }
  9598. inline void packetw2c_trigger_daily_treasure::set_has_giftid() {
  9599. _has_bits_[0] |= 0x00000002u;
  9600. }
  9601. inline void packetw2c_trigger_daily_treasure::clear_has_giftid() {
  9602. _has_bits_[0] &= ~0x00000002u;
  9603. }
  9604. inline void packetw2c_trigger_daily_treasure::clear_giftid() {
  9605. giftid_ = 0;
  9606. clear_has_giftid();
  9607. }
  9608. inline ::google::protobuf::int32 packetw2c_trigger_daily_treasure::giftid() const {
  9609. return giftid_;
  9610. }
  9611. inline void packetw2c_trigger_daily_treasure::set_giftid(::google::protobuf::int32 value) {
  9612. set_has_giftid();
  9613. giftid_ = value;
  9614. }
  9615. // optional int32 resetCard = 3;
  9616. inline bool packetw2c_trigger_daily_treasure::has_resetcard() const {
  9617. return (_has_bits_[0] & 0x00000004u) != 0;
  9618. }
  9619. inline void packetw2c_trigger_daily_treasure::set_has_resetcard() {
  9620. _has_bits_[0] |= 0x00000004u;
  9621. }
  9622. inline void packetw2c_trigger_daily_treasure::clear_has_resetcard() {
  9623. _has_bits_[0] &= ~0x00000004u;
  9624. }
  9625. inline void packetw2c_trigger_daily_treasure::clear_resetcard() {
  9626. resetcard_ = 0;
  9627. clear_has_resetcard();
  9628. }
  9629. inline ::google::protobuf::int32 packetw2c_trigger_daily_treasure::resetcard() const {
  9630. return resetcard_;
  9631. }
  9632. inline void packetw2c_trigger_daily_treasure::set_resetcard(::google::protobuf::int32 value) {
  9633. set_has_resetcard();
  9634. resetcard_ = value;
  9635. }
  9636. // repeated .client2world_protocols.treasureItem treasureList = 4;
  9637. inline int packetw2c_trigger_daily_treasure::treasurelist_size() const {
  9638. return treasurelist_.size();
  9639. }
  9640. inline void packetw2c_trigger_daily_treasure::clear_treasurelist() {
  9641. treasurelist_.Clear();
  9642. }
  9643. inline const ::client2world_protocols::treasureItem& packetw2c_trigger_daily_treasure::treasurelist(int index) const {
  9644. return treasurelist_.Get(index);
  9645. }
  9646. inline ::client2world_protocols::treasureItem* packetw2c_trigger_daily_treasure::mutable_treasurelist(int index) {
  9647. return treasurelist_.Mutable(index);
  9648. }
  9649. inline ::client2world_protocols::treasureItem* packetw2c_trigger_daily_treasure::add_treasurelist() {
  9650. return treasurelist_.Add();
  9651. }
  9652. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >&
  9653. packetw2c_trigger_daily_treasure::treasurelist() const {
  9654. return treasurelist_;
  9655. }
  9656. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >*
  9657. packetw2c_trigger_daily_treasure::mutable_treasurelist() {
  9658. return &treasurelist_;
  9659. }
  9660. // -------------------------------------------------------------------
  9661. // packetc2w_daily_treasure_lottery
  9662. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  9663. inline bool packetc2w_daily_treasure_lottery::has_packet_id() const {
  9664. return (_has_bits_[0] & 0x00000001u) != 0;
  9665. }
  9666. inline void packetc2w_daily_treasure_lottery::set_has_packet_id() {
  9667. _has_bits_[0] |= 0x00000001u;
  9668. }
  9669. inline void packetc2w_daily_treasure_lottery::clear_has_packet_id() {
  9670. _has_bits_[0] &= ~0x00000001u;
  9671. }
  9672. inline void packetc2w_daily_treasure_lottery::clear_packet_id() {
  9673. packet_id_ = 5198;
  9674. clear_has_packet_id();
  9675. }
  9676. inline ::client2world_protocols::e_server_msg_type packetc2w_daily_treasure_lottery::packet_id() const {
  9677. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9678. }
  9679. inline void packetc2w_daily_treasure_lottery::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9680. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9681. set_has_packet_id();
  9682. packet_id_ = value;
  9683. }
  9684. // optional int32 index = 2;
  9685. inline bool packetc2w_daily_treasure_lottery::has_index() const {
  9686. return (_has_bits_[0] & 0x00000002u) != 0;
  9687. }
  9688. inline void packetc2w_daily_treasure_lottery::set_has_index() {
  9689. _has_bits_[0] |= 0x00000002u;
  9690. }
  9691. inline void packetc2w_daily_treasure_lottery::clear_has_index() {
  9692. _has_bits_[0] &= ~0x00000002u;
  9693. }
  9694. inline void packetc2w_daily_treasure_lottery::clear_index() {
  9695. index_ = 0;
  9696. clear_has_index();
  9697. }
  9698. inline ::google::protobuf::int32 packetc2w_daily_treasure_lottery::index() const {
  9699. return index_;
  9700. }
  9701. inline void packetc2w_daily_treasure_lottery::set_index(::google::protobuf::int32 value) {
  9702. set_has_index();
  9703. index_ = value;
  9704. }
  9705. // -------------------------------------------------------------------
  9706. // packetw2c_daily_treasure_lottery_result
  9707. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_result];
  9708. inline bool packetw2c_daily_treasure_lottery_result::has_packet_id() const {
  9709. return (_has_bits_[0] & 0x00000001u) != 0;
  9710. }
  9711. inline void packetw2c_daily_treasure_lottery_result::set_has_packet_id() {
  9712. _has_bits_[0] |= 0x00000001u;
  9713. }
  9714. inline void packetw2c_daily_treasure_lottery_result::clear_has_packet_id() {
  9715. _has_bits_[0] &= ~0x00000001u;
  9716. }
  9717. inline void packetw2c_daily_treasure_lottery_result::clear_packet_id() {
  9718. packet_id_ = 7728;
  9719. clear_has_packet_id();
  9720. }
  9721. inline ::client2world_protocols::e_server_msg_type packetw2c_daily_treasure_lottery_result::packet_id() const {
  9722. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9723. }
  9724. inline void packetw2c_daily_treasure_lottery_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9725. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9726. set_has_packet_id();
  9727. packet_id_ = value;
  9728. }
  9729. // optional int32 result = 2;
  9730. inline bool packetw2c_daily_treasure_lottery_result::has_result() const {
  9731. return (_has_bits_[0] & 0x00000002u) != 0;
  9732. }
  9733. inline void packetw2c_daily_treasure_lottery_result::set_has_result() {
  9734. _has_bits_[0] |= 0x00000002u;
  9735. }
  9736. inline void packetw2c_daily_treasure_lottery_result::clear_has_result() {
  9737. _has_bits_[0] &= ~0x00000002u;
  9738. }
  9739. inline void packetw2c_daily_treasure_lottery_result::clear_result() {
  9740. result_ = 0;
  9741. clear_has_result();
  9742. }
  9743. inline ::google::protobuf::int32 packetw2c_daily_treasure_lottery_result::result() const {
  9744. return result_;
  9745. }
  9746. inline void packetw2c_daily_treasure_lottery_result::set_result(::google::protobuf::int32 value) {
  9747. set_has_result();
  9748. result_ = value;
  9749. }
  9750. // optional int32 index = 3;
  9751. inline bool packetw2c_daily_treasure_lottery_result::has_index() const {
  9752. return (_has_bits_[0] & 0x00000004u) != 0;
  9753. }
  9754. inline void packetw2c_daily_treasure_lottery_result::set_has_index() {
  9755. _has_bits_[0] |= 0x00000004u;
  9756. }
  9757. inline void packetw2c_daily_treasure_lottery_result::clear_has_index() {
  9758. _has_bits_[0] &= ~0x00000004u;
  9759. }
  9760. inline void packetw2c_daily_treasure_lottery_result::clear_index() {
  9761. index_ = 0;
  9762. clear_has_index();
  9763. }
  9764. inline ::google::protobuf::int32 packetw2c_daily_treasure_lottery_result::index() const {
  9765. return index_;
  9766. }
  9767. inline void packetw2c_daily_treasure_lottery_result::set_index(::google::protobuf::int32 value) {
  9768. set_has_index();
  9769. index_ = value;
  9770. }
  9771. // optional int32 randCount = 4;
  9772. inline bool packetw2c_daily_treasure_lottery_result::has_randcount() const {
  9773. return (_has_bits_[0] & 0x00000008u) != 0;
  9774. }
  9775. inline void packetw2c_daily_treasure_lottery_result::set_has_randcount() {
  9776. _has_bits_[0] |= 0x00000008u;
  9777. }
  9778. inline void packetw2c_daily_treasure_lottery_result::clear_has_randcount() {
  9779. _has_bits_[0] &= ~0x00000008u;
  9780. }
  9781. inline void packetw2c_daily_treasure_lottery_result::clear_randcount() {
  9782. randcount_ = 0;
  9783. clear_has_randcount();
  9784. }
  9785. inline ::google::protobuf::int32 packetw2c_daily_treasure_lottery_result::randcount() const {
  9786. return randcount_;
  9787. }
  9788. inline void packetw2c_daily_treasure_lottery_result::set_randcount(::google::protobuf::int32 value) {
  9789. set_has_randcount();
  9790. randcount_ = value;
  9791. }
  9792. // -------------------------------------------------------------------
  9793. // packetc2w_receive_treasure_lottery
  9794. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  9795. inline bool packetc2w_receive_treasure_lottery::has_packet_id() const {
  9796. return (_has_bits_[0] & 0x00000001u) != 0;
  9797. }
  9798. inline void packetc2w_receive_treasure_lottery::set_has_packet_id() {
  9799. _has_bits_[0] |= 0x00000001u;
  9800. }
  9801. inline void packetc2w_receive_treasure_lottery::clear_has_packet_id() {
  9802. _has_bits_[0] &= ~0x00000001u;
  9803. }
  9804. inline void packetc2w_receive_treasure_lottery::clear_packet_id() {
  9805. packet_id_ = 5199;
  9806. clear_has_packet_id();
  9807. }
  9808. inline ::client2world_protocols::e_server_msg_type packetc2w_receive_treasure_lottery::packet_id() const {
  9809. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9810. }
  9811. inline void packetc2w_receive_treasure_lottery::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9812. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9813. set_has_packet_id();
  9814. packet_id_ = value;
  9815. }
  9816. // -------------------------------------------------------------------
  9817. // packetw2c_receive_treasure_lottery_result
  9818. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_result];
  9819. inline bool packetw2c_receive_treasure_lottery_result::has_packet_id() const {
  9820. return (_has_bits_[0] & 0x00000001u) != 0;
  9821. }
  9822. inline void packetw2c_receive_treasure_lottery_result::set_has_packet_id() {
  9823. _has_bits_[0] |= 0x00000001u;
  9824. }
  9825. inline void packetw2c_receive_treasure_lottery_result::clear_has_packet_id() {
  9826. _has_bits_[0] &= ~0x00000001u;
  9827. }
  9828. inline void packetw2c_receive_treasure_lottery_result::clear_packet_id() {
  9829. packet_id_ = 7729;
  9830. clear_has_packet_id();
  9831. }
  9832. inline ::client2world_protocols::e_server_msg_type packetw2c_receive_treasure_lottery_result::packet_id() const {
  9833. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9834. }
  9835. inline void packetw2c_receive_treasure_lottery_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9836. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9837. set_has_packet_id();
  9838. packet_id_ = value;
  9839. }
  9840. // optional int32 result = 2;
  9841. inline bool packetw2c_receive_treasure_lottery_result::has_result() const {
  9842. return (_has_bits_[0] & 0x00000002u) != 0;
  9843. }
  9844. inline void packetw2c_receive_treasure_lottery_result::set_has_result() {
  9845. _has_bits_[0] |= 0x00000002u;
  9846. }
  9847. inline void packetw2c_receive_treasure_lottery_result::clear_has_result() {
  9848. _has_bits_[0] &= ~0x00000002u;
  9849. }
  9850. inline void packetw2c_receive_treasure_lottery_result::clear_result() {
  9851. result_ = 0;
  9852. clear_has_result();
  9853. }
  9854. inline ::google::protobuf::int32 packetw2c_receive_treasure_lottery_result::result() const {
  9855. return result_;
  9856. }
  9857. inline void packetw2c_receive_treasure_lottery_result::set_result(::google::protobuf::int32 value) {
  9858. set_has_result();
  9859. result_ = value;
  9860. }
  9861. // optional int32 giftId = 3;
  9862. inline bool packetw2c_receive_treasure_lottery_result::has_giftid() const {
  9863. return (_has_bits_[0] & 0x00000004u) != 0;
  9864. }
  9865. inline void packetw2c_receive_treasure_lottery_result::set_has_giftid() {
  9866. _has_bits_[0] |= 0x00000004u;
  9867. }
  9868. inline void packetw2c_receive_treasure_lottery_result::clear_has_giftid() {
  9869. _has_bits_[0] &= ~0x00000004u;
  9870. }
  9871. inline void packetw2c_receive_treasure_lottery_result::clear_giftid() {
  9872. giftid_ = 0;
  9873. clear_has_giftid();
  9874. }
  9875. inline ::google::protobuf::int32 packetw2c_receive_treasure_lottery_result::giftid() const {
  9876. return giftid_;
  9877. }
  9878. inline void packetw2c_receive_treasure_lottery_result::set_giftid(::google::protobuf::int32 value) {
  9879. set_has_giftid();
  9880. giftid_ = value;
  9881. }
  9882. // repeated .client2world_protocols.treasureItem treasureList = 4;
  9883. inline int packetw2c_receive_treasure_lottery_result::treasurelist_size() const {
  9884. return treasurelist_.size();
  9885. }
  9886. inline void packetw2c_receive_treasure_lottery_result::clear_treasurelist() {
  9887. treasurelist_.Clear();
  9888. }
  9889. inline const ::client2world_protocols::treasureItem& packetw2c_receive_treasure_lottery_result::treasurelist(int index) const {
  9890. return treasurelist_.Get(index);
  9891. }
  9892. inline ::client2world_protocols::treasureItem* packetw2c_receive_treasure_lottery_result::mutable_treasurelist(int index) {
  9893. return treasurelist_.Mutable(index);
  9894. }
  9895. inline ::client2world_protocols::treasureItem* packetw2c_receive_treasure_lottery_result::add_treasurelist() {
  9896. return treasurelist_.Add();
  9897. }
  9898. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >&
  9899. packetw2c_receive_treasure_lottery_result::treasurelist() const {
  9900. return treasurelist_;
  9901. }
  9902. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::treasureItem >*
  9903. packetw2c_receive_treasure_lottery_result::mutable_treasurelist() {
  9904. return &treasurelist_;
  9905. }
  9906. // -------------------------------------------------------------------
  9907. // packetc2w_receive_sail_reward
  9908. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  9909. inline bool packetc2w_receive_sail_reward::has_packet_id() const {
  9910. return (_has_bits_[0] & 0x00000001u) != 0;
  9911. }
  9912. inline void packetc2w_receive_sail_reward::set_has_packet_id() {
  9913. _has_bits_[0] |= 0x00000001u;
  9914. }
  9915. inline void packetc2w_receive_sail_reward::clear_has_packet_id() {
  9916. _has_bits_[0] &= ~0x00000001u;
  9917. }
  9918. inline void packetc2w_receive_sail_reward::clear_packet_id() {
  9919. packet_id_ = 5218;
  9920. clear_has_packet_id();
  9921. }
  9922. inline ::client2world_protocols::e_server_msg_type packetc2w_receive_sail_reward::packet_id() const {
  9923. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9924. }
  9925. inline void packetc2w_receive_sail_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9926. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9927. set_has_packet_id();
  9928. packet_id_ = value;
  9929. }
  9930. // optional int32 type = 2;
  9931. inline bool packetc2w_receive_sail_reward::has_type() const {
  9932. return (_has_bits_[0] & 0x00000002u) != 0;
  9933. }
  9934. inline void packetc2w_receive_sail_reward::set_has_type() {
  9935. _has_bits_[0] |= 0x00000002u;
  9936. }
  9937. inline void packetc2w_receive_sail_reward::clear_has_type() {
  9938. _has_bits_[0] &= ~0x00000002u;
  9939. }
  9940. inline void packetc2w_receive_sail_reward::clear_type() {
  9941. type_ = 0;
  9942. clear_has_type();
  9943. }
  9944. inline ::google::protobuf::int32 packetc2w_receive_sail_reward::type() const {
  9945. return type_;
  9946. }
  9947. inline void packetc2w_receive_sail_reward::set_type(::google::protobuf::int32 value) {
  9948. set_has_type();
  9949. type_ = value;
  9950. }
  9951. // optional int32 index = 3;
  9952. inline bool packetc2w_receive_sail_reward::has_index() const {
  9953. return (_has_bits_[0] & 0x00000004u) != 0;
  9954. }
  9955. inline void packetc2w_receive_sail_reward::set_has_index() {
  9956. _has_bits_[0] |= 0x00000004u;
  9957. }
  9958. inline void packetc2w_receive_sail_reward::clear_has_index() {
  9959. _has_bits_[0] &= ~0x00000004u;
  9960. }
  9961. inline void packetc2w_receive_sail_reward::clear_index() {
  9962. index_ = 0;
  9963. clear_has_index();
  9964. }
  9965. inline ::google::protobuf::int32 packetc2w_receive_sail_reward::index() const {
  9966. return index_;
  9967. }
  9968. inline void packetc2w_receive_sail_reward::set_index(::google::protobuf::int32 value) {
  9969. set_has_index();
  9970. index_ = value;
  9971. }
  9972. // -------------------------------------------------------------------
  9973. // packetw2c_receive_sail_result
  9974. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  9975. inline bool packetw2c_receive_sail_result::has_packet_id() const {
  9976. return (_has_bits_[0] & 0x00000001u) != 0;
  9977. }
  9978. inline void packetw2c_receive_sail_result::set_has_packet_id() {
  9979. _has_bits_[0] |= 0x00000001u;
  9980. }
  9981. inline void packetw2c_receive_sail_result::clear_has_packet_id() {
  9982. _has_bits_[0] &= ~0x00000001u;
  9983. }
  9984. inline void packetw2c_receive_sail_result::clear_packet_id() {
  9985. packet_id_ = 7752;
  9986. clear_has_packet_id();
  9987. }
  9988. inline ::client2world_protocols::e_server_msg_type packetw2c_receive_sail_result::packet_id() const {
  9989. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  9990. }
  9991. inline void packetw2c_receive_sail_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  9992. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  9993. set_has_packet_id();
  9994. packet_id_ = value;
  9995. }
  9996. // optional int32 type = 2;
  9997. inline bool packetw2c_receive_sail_result::has_type() const {
  9998. return (_has_bits_[0] & 0x00000002u) != 0;
  9999. }
  10000. inline void packetw2c_receive_sail_result::set_has_type() {
  10001. _has_bits_[0] |= 0x00000002u;
  10002. }
  10003. inline void packetw2c_receive_sail_result::clear_has_type() {
  10004. _has_bits_[0] &= ~0x00000002u;
  10005. }
  10006. inline void packetw2c_receive_sail_result::clear_type() {
  10007. type_ = 0;
  10008. clear_has_type();
  10009. }
  10010. inline ::google::protobuf::int32 packetw2c_receive_sail_result::type() const {
  10011. return type_;
  10012. }
  10013. inline void packetw2c_receive_sail_result::set_type(::google::protobuf::int32 value) {
  10014. set_has_type();
  10015. type_ = value;
  10016. }
  10017. // optional int32 index = 3;
  10018. inline bool packetw2c_receive_sail_result::has_index() const {
  10019. return (_has_bits_[0] & 0x00000004u) != 0;
  10020. }
  10021. inline void packetw2c_receive_sail_result::set_has_index() {
  10022. _has_bits_[0] |= 0x00000004u;
  10023. }
  10024. inline void packetw2c_receive_sail_result::clear_has_index() {
  10025. _has_bits_[0] &= ~0x00000004u;
  10026. }
  10027. inline void packetw2c_receive_sail_result::clear_index() {
  10028. index_ = 0;
  10029. clear_has_index();
  10030. }
  10031. inline ::google::protobuf::int32 packetw2c_receive_sail_result::index() const {
  10032. return index_;
  10033. }
  10034. inline void packetw2c_receive_sail_result::set_index(::google::protobuf::int32 value) {
  10035. set_has_index();
  10036. index_ = value;
  10037. }
  10038. // optional int32 result = 4;
  10039. inline bool packetw2c_receive_sail_result::has_result() const {
  10040. return (_has_bits_[0] & 0x00000008u) != 0;
  10041. }
  10042. inline void packetw2c_receive_sail_result::set_has_result() {
  10043. _has_bits_[0] |= 0x00000008u;
  10044. }
  10045. inline void packetw2c_receive_sail_result::clear_has_result() {
  10046. _has_bits_[0] &= ~0x00000008u;
  10047. }
  10048. inline void packetw2c_receive_sail_result::clear_result() {
  10049. result_ = 0;
  10050. clear_has_result();
  10051. }
  10052. inline ::google::protobuf::int32 packetw2c_receive_sail_result::result() const {
  10053. return result_;
  10054. }
  10055. inline void packetw2c_receive_sail_result::set_result(::google::protobuf::int32 value) {
  10056. set_has_result();
  10057. result_ = value;
  10058. }
  10059. // optional int32 resultParam = 5;
  10060. inline bool packetw2c_receive_sail_result::has_resultparam() const {
  10061. return (_has_bits_[0] & 0x00000010u) != 0;
  10062. }
  10063. inline void packetw2c_receive_sail_result::set_has_resultparam() {
  10064. _has_bits_[0] |= 0x00000010u;
  10065. }
  10066. inline void packetw2c_receive_sail_result::clear_has_resultparam() {
  10067. _has_bits_[0] &= ~0x00000010u;
  10068. }
  10069. inline void packetw2c_receive_sail_result::clear_resultparam() {
  10070. resultparam_ = 0;
  10071. clear_has_resultparam();
  10072. }
  10073. inline ::google::protobuf::int32 packetw2c_receive_sail_result::resultparam() const {
  10074. return resultparam_;
  10075. }
  10076. inline void packetw2c_receive_sail_result::set_resultparam(::google::protobuf::int32 value) {
  10077. set_has_resultparam();
  10078. resultparam_ = value;
  10079. }
  10080. // -------------------------------------------------------------------
  10081. // packetc2w_syn_sail_piggy_gold
  10082. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  10083. inline bool packetc2w_syn_sail_piggy_gold::has_packet_id() const {
  10084. return (_has_bits_[0] & 0x00000001u) != 0;
  10085. }
  10086. inline void packetc2w_syn_sail_piggy_gold::set_has_packet_id() {
  10087. _has_bits_[0] |= 0x00000001u;
  10088. }
  10089. inline void packetc2w_syn_sail_piggy_gold::clear_has_packet_id() {
  10090. _has_bits_[0] &= ~0x00000001u;
  10091. }
  10092. inline void packetc2w_syn_sail_piggy_gold::clear_packet_id() {
  10093. packet_id_ = 5221;
  10094. clear_has_packet_id();
  10095. }
  10096. inline ::client2world_protocols::e_server_msg_type packetc2w_syn_sail_piggy_gold::packet_id() const {
  10097. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10098. }
  10099. inline void packetc2w_syn_sail_piggy_gold::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10100. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10101. set_has_packet_id();
  10102. packet_id_ = value;
  10103. }
  10104. // -------------------------------------------------------------------
  10105. // packetw2c_syn_sail_piggy_gold_result
  10106. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  10107. inline bool packetw2c_syn_sail_piggy_gold_result::has_packet_id() const {
  10108. return (_has_bits_[0] & 0x00000001u) != 0;
  10109. }
  10110. inline void packetw2c_syn_sail_piggy_gold_result::set_has_packet_id() {
  10111. _has_bits_[0] |= 0x00000001u;
  10112. }
  10113. inline void packetw2c_syn_sail_piggy_gold_result::clear_has_packet_id() {
  10114. _has_bits_[0] &= ~0x00000001u;
  10115. }
  10116. inline void packetw2c_syn_sail_piggy_gold_result::clear_packet_id() {
  10117. packet_id_ = 7759;
  10118. clear_has_packet_id();
  10119. }
  10120. inline ::client2world_protocols::e_server_msg_type packetw2c_syn_sail_piggy_gold_result::packet_id() const {
  10121. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10122. }
  10123. inline void packetw2c_syn_sail_piggy_gold_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10124. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10125. set_has_packet_id();
  10126. packet_id_ = value;
  10127. }
  10128. // optional int32 piggyGold = 2;
  10129. inline bool packetw2c_syn_sail_piggy_gold_result::has_piggygold() const {
  10130. return (_has_bits_[0] & 0x00000002u) != 0;
  10131. }
  10132. inline void packetw2c_syn_sail_piggy_gold_result::set_has_piggygold() {
  10133. _has_bits_[0] |= 0x00000002u;
  10134. }
  10135. inline void packetw2c_syn_sail_piggy_gold_result::clear_has_piggygold() {
  10136. _has_bits_[0] &= ~0x00000002u;
  10137. }
  10138. inline void packetw2c_syn_sail_piggy_gold_result::clear_piggygold() {
  10139. piggygold_ = 0;
  10140. clear_has_piggygold();
  10141. }
  10142. inline ::google::protobuf::int32 packetw2c_syn_sail_piggy_gold_result::piggygold() const {
  10143. return piggygold_;
  10144. }
  10145. inline void packetw2c_syn_sail_piggy_gold_result::set_piggygold(::google::protobuf::int32 value) {
  10146. set_has_piggygold();
  10147. piggygold_ = value;
  10148. }
  10149. // optional int32 fishGold = 3;
  10150. inline bool packetw2c_syn_sail_piggy_gold_result::has_fishgold() const {
  10151. return (_has_bits_[0] & 0x00000004u) != 0;
  10152. }
  10153. inline void packetw2c_syn_sail_piggy_gold_result::set_has_fishgold() {
  10154. _has_bits_[0] |= 0x00000004u;
  10155. }
  10156. inline void packetw2c_syn_sail_piggy_gold_result::clear_has_fishgold() {
  10157. _has_bits_[0] &= ~0x00000004u;
  10158. }
  10159. inline void packetw2c_syn_sail_piggy_gold_result::clear_fishgold() {
  10160. fishgold_ = 0;
  10161. clear_has_fishgold();
  10162. }
  10163. inline ::google::protobuf::int32 packetw2c_syn_sail_piggy_gold_result::fishgold() const {
  10164. return fishgold_;
  10165. }
  10166. inline void packetw2c_syn_sail_piggy_gold_result::set_fishgold(::google::protobuf::int32 value) {
  10167. set_has_fishgold();
  10168. fishgold_ = value;
  10169. }
  10170. // optional int32 onlineGold = 4;
  10171. inline bool packetw2c_syn_sail_piggy_gold_result::has_onlinegold() const {
  10172. return (_has_bits_[0] & 0x00000008u) != 0;
  10173. }
  10174. inline void packetw2c_syn_sail_piggy_gold_result::set_has_onlinegold() {
  10175. _has_bits_[0] |= 0x00000008u;
  10176. }
  10177. inline void packetw2c_syn_sail_piggy_gold_result::clear_has_onlinegold() {
  10178. _has_bits_[0] &= ~0x00000008u;
  10179. }
  10180. inline void packetw2c_syn_sail_piggy_gold_result::clear_onlinegold() {
  10181. onlinegold_ = 0;
  10182. clear_has_onlinegold();
  10183. }
  10184. inline ::google::protobuf::int32 packetw2c_syn_sail_piggy_gold_result::onlinegold() const {
  10185. return onlinegold_;
  10186. }
  10187. inline void packetw2c_syn_sail_piggy_gold_result::set_onlinegold(::google::protobuf::int32 value) {
  10188. set_has_onlinegold();
  10189. onlinegold_ = value;
  10190. }
  10191. // -------------------------------------------------------------------
  10192. // packetc2w_sail_achieve_lottery
  10193. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  10194. inline bool packetc2w_sail_achieve_lottery::has_packet_id() const {
  10195. return (_has_bits_[0] & 0x00000001u) != 0;
  10196. }
  10197. inline void packetc2w_sail_achieve_lottery::set_has_packet_id() {
  10198. _has_bits_[0] |= 0x00000001u;
  10199. }
  10200. inline void packetc2w_sail_achieve_lottery::clear_has_packet_id() {
  10201. _has_bits_[0] &= ~0x00000001u;
  10202. }
  10203. inline void packetc2w_sail_achieve_lottery::clear_packet_id() {
  10204. packet_id_ = 5219;
  10205. clear_has_packet_id();
  10206. }
  10207. inline ::client2world_protocols::e_server_msg_type packetc2w_sail_achieve_lottery::packet_id() const {
  10208. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10209. }
  10210. inline void packetc2w_sail_achieve_lottery::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10211. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10212. set_has_packet_id();
  10213. packet_id_ = value;
  10214. }
  10215. // optional int32 count = 2;
  10216. inline bool packetc2w_sail_achieve_lottery::has_count() const {
  10217. return (_has_bits_[0] & 0x00000002u) != 0;
  10218. }
  10219. inline void packetc2w_sail_achieve_lottery::set_has_count() {
  10220. _has_bits_[0] |= 0x00000002u;
  10221. }
  10222. inline void packetc2w_sail_achieve_lottery::clear_has_count() {
  10223. _has_bits_[0] &= ~0x00000002u;
  10224. }
  10225. inline void packetc2w_sail_achieve_lottery::clear_count() {
  10226. count_ = 0;
  10227. clear_has_count();
  10228. }
  10229. inline ::google::protobuf::int32 packetc2w_sail_achieve_lottery::count() const {
  10230. return count_;
  10231. }
  10232. inline void packetc2w_sail_achieve_lottery::set_count(::google::protobuf::int32 value) {
  10233. set_has_count();
  10234. count_ = value;
  10235. }
  10236. // -------------------------------------------------------------------
  10237. // packetw2c_sail_achieve_lottery_result
  10238. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  10239. inline bool packetw2c_sail_achieve_lottery_result::has_packet_id() const {
  10240. return (_has_bits_[0] & 0x00000001u) != 0;
  10241. }
  10242. inline void packetw2c_sail_achieve_lottery_result::set_has_packet_id() {
  10243. _has_bits_[0] |= 0x00000001u;
  10244. }
  10245. inline void packetw2c_sail_achieve_lottery_result::clear_has_packet_id() {
  10246. _has_bits_[0] &= ~0x00000001u;
  10247. }
  10248. inline void packetw2c_sail_achieve_lottery_result::clear_packet_id() {
  10249. packet_id_ = 7753;
  10250. clear_has_packet_id();
  10251. }
  10252. inline ::client2world_protocols::e_server_msg_type packetw2c_sail_achieve_lottery_result::packet_id() const {
  10253. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10254. }
  10255. inline void packetw2c_sail_achieve_lottery_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10256. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10257. set_has_packet_id();
  10258. packet_id_ = value;
  10259. }
  10260. // optional int32 count = 2;
  10261. inline bool packetw2c_sail_achieve_lottery_result::has_count() const {
  10262. return (_has_bits_[0] & 0x00000002u) != 0;
  10263. }
  10264. inline void packetw2c_sail_achieve_lottery_result::set_has_count() {
  10265. _has_bits_[0] |= 0x00000002u;
  10266. }
  10267. inline void packetw2c_sail_achieve_lottery_result::clear_has_count() {
  10268. _has_bits_[0] &= ~0x00000002u;
  10269. }
  10270. inline void packetw2c_sail_achieve_lottery_result::clear_count() {
  10271. count_ = 0;
  10272. clear_has_count();
  10273. }
  10274. inline ::google::protobuf::int32 packetw2c_sail_achieve_lottery_result::count() const {
  10275. return count_;
  10276. }
  10277. inline void packetw2c_sail_achieve_lottery_result::set_count(::google::protobuf::int32 value) {
  10278. set_has_count();
  10279. count_ = value;
  10280. }
  10281. // optional int32 result = 3;
  10282. inline bool packetw2c_sail_achieve_lottery_result::has_result() const {
  10283. return (_has_bits_[0] & 0x00000004u) != 0;
  10284. }
  10285. inline void packetw2c_sail_achieve_lottery_result::set_has_result() {
  10286. _has_bits_[0] |= 0x00000004u;
  10287. }
  10288. inline void packetw2c_sail_achieve_lottery_result::clear_has_result() {
  10289. _has_bits_[0] &= ~0x00000004u;
  10290. }
  10291. inline void packetw2c_sail_achieve_lottery_result::clear_result() {
  10292. result_ = 0;
  10293. clear_has_result();
  10294. }
  10295. inline ::google::protobuf::int32 packetw2c_sail_achieve_lottery_result::result() const {
  10296. return result_;
  10297. }
  10298. inline void packetw2c_sail_achieve_lottery_result::set_result(::google::protobuf::int32 value) {
  10299. set_has_result();
  10300. result_ = value;
  10301. }
  10302. // repeated int32 rewardList = 4;
  10303. inline int packetw2c_sail_achieve_lottery_result::rewardlist_size() const {
  10304. return rewardlist_.size();
  10305. }
  10306. inline void packetw2c_sail_achieve_lottery_result::clear_rewardlist() {
  10307. rewardlist_.Clear();
  10308. }
  10309. inline ::google::protobuf::int32 packetw2c_sail_achieve_lottery_result::rewardlist(int index) const {
  10310. return rewardlist_.Get(index);
  10311. }
  10312. inline void packetw2c_sail_achieve_lottery_result::set_rewardlist(int index, ::google::protobuf::int32 value) {
  10313. rewardlist_.Set(index, value);
  10314. }
  10315. inline void packetw2c_sail_achieve_lottery_result::add_rewardlist(::google::protobuf::int32 value) {
  10316. rewardlist_.Add(value);
  10317. }
  10318. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  10319. packetw2c_sail_achieve_lottery_result::rewardlist() const {
  10320. return rewardlist_;
  10321. }
  10322. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  10323. packetw2c_sail_achieve_lottery_result::mutable_rewardlist() {
  10324. return &rewardlist_;
  10325. }
  10326. // -------------------------------------------------------------------
  10327. // packetw2c_trigger_sail_achieve
  10328. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  10329. inline bool packetw2c_trigger_sail_achieve::has_packet_id() const {
  10330. return (_has_bits_[0] & 0x00000001u) != 0;
  10331. }
  10332. inline void packetw2c_trigger_sail_achieve::set_has_packet_id() {
  10333. _has_bits_[0] |= 0x00000001u;
  10334. }
  10335. inline void packetw2c_trigger_sail_achieve::clear_has_packet_id() {
  10336. _has_bits_[0] &= ~0x00000001u;
  10337. }
  10338. inline void packetw2c_trigger_sail_achieve::clear_packet_id() {
  10339. packet_id_ = 7756;
  10340. clear_has_packet_id();
  10341. }
  10342. inline ::client2world_protocols::e_server_msg_type packetw2c_trigger_sail_achieve::packet_id() const {
  10343. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10344. }
  10345. inline void packetw2c_trigger_sail_achieve::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10346. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10347. set_has_packet_id();
  10348. packet_id_ = value;
  10349. }
  10350. // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  10351. inline bool packetw2c_trigger_sail_achieve::has_sailinfo() const {
  10352. return (_has_bits_[0] & 0x00000002u) != 0;
  10353. }
  10354. inline void packetw2c_trigger_sail_achieve::set_has_sailinfo() {
  10355. _has_bits_[0] |= 0x00000002u;
  10356. }
  10357. inline void packetw2c_trigger_sail_achieve::clear_has_sailinfo() {
  10358. _has_bits_[0] &= ~0x00000002u;
  10359. }
  10360. inline void packetw2c_trigger_sail_achieve::clear_sailinfo() {
  10361. if (sailinfo_ != NULL) sailinfo_->::msg_info_def::SailCeremonyInfo::Clear();
  10362. clear_has_sailinfo();
  10363. }
  10364. inline const ::msg_info_def::SailCeremonyInfo& packetw2c_trigger_sail_achieve::sailinfo() const {
  10365. return sailinfo_ != NULL ? *sailinfo_ : *default_instance_->sailinfo_;
  10366. }
  10367. inline ::msg_info_def::SailCeremonyInfo* packetw2c_trigger_sail_achieve::mutable_sailinfo() {
  10368. set_has_sailinfo();
  10369. if (sailinfo_ == NULL) sailinfo_ = new ::msg_info_def::SailCeremonyInfo;
  10370. return sailinfo_;
  10371. }
  10372. inline ::msg_info_def::SailCeremonyInfo* packetw2c_trigger_sail_achieve::release_sailinfo() {
  10373. clear_has_sailinfo();
  10374. ::msg_info_def::SailCeremonyInfo* temp = sailinfo_;
  10375. sailinfo_ = NULL;
  10376. return temp;
  10377. }
  10378. inline void packetw2c_trigger_sail_achieve::set_allocated_sailinfo(::msg_info_def::SailCeremonyInfo* sailinfo) {
  10379. delete sailinfo_;
  10380. sailinfo_ = sailinfo;
  10381. if (sailinfo) {
  10382. set_has_sailinfo();
  10383. } else {
  10384. clear_has_sailinfo();
  10385. }
  10386. }
  10387. // -------------------------------------------------------------------
  10388. // sailLotteryInfo
  10389. // optional string nickname = 1;
  10390. inline bool sailLotteryInfo::has_nickname() const {
  10391. return (_has_bits_[0] & 0x00000001u) != 0;
  10392. }
  10393. inline void sailLotteryInfo::set_has_nickname() {
  10394. _has_bits_[0] |= 0x00000001u;
  10395. }
  10396. inline void sailLotteryInfo::clear_has_nickname() {
  10397. _has_bits_[0] &= ~0x00000001u;
  10398. }
  10399. inline void sailLotteryInfo::clear_nickname() {
  10400. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  10401. nickname_->clear();
  10402. }
  10403. clear_has_nickname();
  10404. }
  10405. inline const ::std::string& sailLotteryInfo::nickname() const {
  10406. return *nickname_;
  10407. }
  10408. inline void sailLotteryInfo::set_nickname(const ::std::string& value) {
  10409. set_has_nickname();
  10410. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  10411. nickname_ = new ::std::string;
  10412. }
  10413. nickname_->assign(value);
  10414. }
  10415. inline void sailLotteryInfo::set_nickname(const char* value) {
  10416. set_has_nickname();
  10417. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  10418. nickname_ = new ::std::string;
  10419. }
  10420. nickname_->assign(value);
  10421. }
  10422. inline void sailLotteryInfo::set_nickname(const char* value, size_t size) {
  10423. set_has_nickname();
  10424. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  10425. nickname_ = new ::std::string;
  10426. }
  10427. nickname_->assign(reinterpret_cast<const char*>(value), size);
  10428. }
  10429. inline ::std::string* sailLotteryInfo::mutable_nickname() {
  10430. set_has_nickname();
  10431. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  10432. nickname_ = new ::std::string;
  10433. }
  10434. return nickname_;
  10435. }
  10436. inline ::std::string* sailLotteryInfo::release_nickname() {
  10437. clear_has_nickname();
  10438. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  10439. return NULL;
  10440. } else {
  10441. ::std::string* temp = nickname_;
  10442. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  10443. return temp;
  10444. }
  10445. }
  10446. inline void sailLotteryInfo::set_allocated_nickname(::std::string* nickname) {
  10447. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  10448. delete nickname_;
  10449. }
  10450. if (nickname) {
  10451. set_has_nickname();
  10452. nickname_ = nickname;
  10453. } else {
  10454. clear_has_nickname();
  10455. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  10456. }
  10457. }
  10458. // optional int32 itemID = 2;
  10459. inline bool sailLotteryInfo::has_itemid() const {
  10460. return (_has_bits_[0] & 0x00000002u) != 0;
  10461. }
  10462. inline void sailLotteryInfo::set_has_itemid() {
  10463. _has_bits_[0] |= 0x00000002u;
  10464. }
  10465. inline void sailLotteryInfo::clear_has_itemid() {
  10466. _has_bits_[0] &= ~0x00000002u;
  10467. }
  10468. inline void sailLotteryInfo::clear_itemid() {
  10469. itemid_ = 0;
  10470. clear_has_itemid();
  10471. }
  10472. inline ::google::protobuf::int32 sailLotteryInfo::itemid() const {
  10473. return itemid_;
  10474. }
  10475. inline void sailLotteryInfo::set_itemid(::google::protobuf::int32 value) {
  10476. set_has_itemid();
  10477. itemid_ = value;
  10478. }
  10479. // optional int32 itemCount = 3;
  10480. inline bool sailLotteryInfo::has_itemcount() const {
  10481. return (_has_bits_[0] & 0x00000004u) != 0;
  10482. }
  10483. inline void sailLotteryInfo::set_has_itemcount() {
  10484. _has_bits_[0] |= 0x00000004u;
  10485. }
  10486. inline void sailLotteryInfo::clear_has_itemcount() {
  10487. _has_bits_[0] &= ~0x00000004u;
  10488. }
  10489. inline void sailLotteryInfo::clear_itemcount() {
  10490. itemcount_ = 0;
  10491. clear_has_itemcount();
  10492. }
  10493. inline ::google::protobuf::int32 sailLotteryInfo::itemcount() const {
  10494. return itemcount_;
  10495. }
  10496. inline void sailLotteryInfo::set_itemcount(::google::protobuf::int32 value) {
  10497. set_has_itemcount();
  10498. itemcount_ = value;
  10499. }
  10500. // optional int32 time = 4;
  10501. inline bool sailLotteryInfo::has_time() const {
  10502. return (_has_bits_[0] & 0x00000008u) != 0;
  10503. }
  10504. inline void sailLotteryInfo::set_has_time() {
  10505. _has_bits_[0] |= 0x00000008u;
  10506. }
  10507. inline void sailLotteryInfo::clear_has_time() {
  10508. _has_bits_[0] &= ~0x00000008u;
  10509. }
  10510. inline void sailLotteryInfo::clear_time() {
  10511. time_ = 0;
  10512. clear_has_time();
  10513. }
  10514. inline ::google::protobuf::int32 sailLotteryInfo::time() const {
  10515. return time_;
  10516. }
  10517. inline void sailLotteryInfo::set_time(::google::protobuf::int32 value) {
  10518. set_has_time();
  10519. time_ = value;
  10520. }
  10521. // -------------------------------------------------------------------
  10522. // packetc2w_sail_get_lottery_history
  10523. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  10524. inline bool packetc2w_sail_get_lottery_history::has_packet_id() const {
  10525. return (_has_bits_[0] & 0x00000001u) != 0;
  10526. }
  10527. inline void packetc2w_sail_get_lottery_history::set_has_packet_id() {
  10528. _has_bits_[0] |= 0x00000001u;
  10529. }
  10530. inline void packetc2w_sail_get_lottery_history::clear_has_packet_id() {
  10531. _has_bits_[0] &= ~0x00000001u;
  10532. }
  10533. inline void packetc2w_sail_get_lottery_history::clear_packet_id() {
  10534. packet_id_ = 5222;
  10535. clear_has_packet_id();
  10536. }
  10537. inline ::client2world_protocols::e_server_msg_type packetc2w_sail_get_lottery_history::packet_id() const {
  10538. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10539. }
  10540. inline void packetc2w_sail_get_lottery_history::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10541. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10542. set_has_packet_id();
  10543. packet_id_ = value;
  10544. }
  10545. // -------------------------------------------------------------------
  10546. // packetw2c_sail_get_lottery_history_result
  10547. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  10548. inline bool packetw2c_sail_get_lottery_history_result::has_packet_id() const {
  10549. return (_has_bits_[0] & 0x00000001u) != 0;
  10550. }
  10551. inline void packetw2c_sail_get_lottery_history_result::set_has_packet_id() {
  10552. _has_bits_[0] |= 0x00000001u;
  10553. }
  10554. inline void packetw2c_sail_get_lottery_history_result::clear_has_packet_id() {
  10555. _has_bits_[0] &= ~0x00000001u;
  10556. }
  10557. inline void packetw2c_sail_get_lottery_history_result::clear_packet_id() {
  10558. packet_id_ = 7760;
  10559. clear_has_packet_id();
  10560. }
  10561. inline ::client2world_protocols::e_server_msg_type packetw2c_sail_get_lottery_history_result::packet_id() const {
  10562. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10563. }
  10564. inline void packetw2c_sail_get_lottery_history_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10565. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10566. set_has_packet_id();
  10567. packet_id_ = value;
  10568. }
  10569. // repeated .client2world_protocols.sailLotteryInfo his = 2;
  10570. inline int packetw2c_sail_get_lottery_history_result::his_size() const {
  10571. return his_.size();
  10572. }
  10573. inline void packetw2c_sail_get_lottery_history_result::clear_his() {
  10574. his_.Clear();
  10575. }
  10576. inline const ::client2world_protocols::sailLotteryInfo& packetw2c_sail_get_lottery_history_result::his(int index) const {
  10577. return his_.Get(index);
  10578. }
  10579. inline ::client2world_protocols::sailLotteryInfo* packetw2c_sail_get_lottery_history_result::mutable_his(int index) {
  10580. return his_.Mutable(index);
  10581. }
  10582. inline ::client2world_protocols::sailLotteryInfo* packetw2c_sail_get_lottery_history_result::add_his() {
  10583. return his_.Add();
  10584. }
  10585. inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::sailLotteryInfo >&
  10586. packetw2c_sail_get_lottery_history_result::his() const {
  10587. return his_;
  10588. }
  10589. inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::sailLotteryInfo >*
  10590. packetw2c_sail_get_lottery_history_result::mutable_his() {
  10591. return &his_;
  10592. }
  10593. // -------------------------------------------------------------------
  10594. // packetc2w_recv_return_login_reward
  10595. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  10596. inline bool packetc2w_recv_return_login_reward::has_packet_id() const {
  10597. return (_has_bits_[0] & 0x00000001u) != 0;
  10598. }
  10599. inline void packetc2w_recv_return_login_reward::set_has_packet_id() {
  10600. _has_bits_[0] |= 0x00000001u;
  10601. }
  10602. inline void packetc2w_recv_return_login_reward::clear_has_packet_id() {
  10603. _has_bits_[0] &= ~0x00000001u;
  10604. }
  10605. inline void packetc2w_recv_return_login_reward::clear_packet_id() {
  10606. packet_id_ = 5257;
  10607. clear_has_packet_id();
  10608. }
  10609. inline ::client2world_protocols::e_server_msg_type packetc2w_recv_return_login_reward::packet_id() const {
  10610. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10611. }
  10612. inline void packetc2w_recv_return_login_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10613. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10614. set_has_packet_id();
  10615. packet_id_ = value;
  10616. }
  10617. // optional int32 index = 2;
  10618. inline bool packetc2w_recv_return_login_reward::has_index() const {
  10619. return (_has_bits_[0] & 0x00000002u) != 0;
  10620. }
  10621. inline void packetc2w_recv_return_login_reward::set_has_index() {
  10622. _has_bits_[0] |= 0x00000002u;
  10623. }
  10624. inline void packetc2w_recv_return_login_reward::clear_has_index() {
  10625. _has_bits_[0] &= ~0x00000002u;
  10626. }
  10627. inline void packetc2w_recv_return_login_reward::clear_index() {
  10628. index_ = 0;
  10629. clear_has_index();
  10630. }
  10631. inline ::google::protobuf::int32 packetc2w_recv_return_login_reward::index() const {
  10632. return index_;
  10633. }
  10634. inline void packetc2w_recv_return_login_reward::set_index(::google::protobuf::int32 value) {
  10635. set_has_index();
  10636. index_ = value;
  10637. }
  10638. // -------------------------------------------------------------------
  10639. // packetw2c_recv_return_login_reward_result
  10640. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_result];
  10641. inline bool packetw2c_recv_return_login_reward_result::has_packet_id() const {
  10642. return (_has_bits_[0] & 0x00000001u) != 0;
  10643. }
  10644. inline void packetw2c_recv_return_login_reward_result::set_has_packet_id() {
  10645. _has_bits_[0] |= 0x00000001u;
  10646. }
  10647. inline void packetw2c_recv_return_login_reward_result::clear_has_packet_id() {
  10648. _has_bits_[0] &= ~0x00000001u;
  10649. }
  10650. inline void packetw2c_recv_return_login_reward_result::clear_packet_id() {
  10651. packet_id_ = 7805;
  10652. clear_has_packet_id();
  10653. }
  10654. inline ::client2world_protocols::e_server_msg_type packetw2c_recv_return_login_reward_result::packet_id() const {
  10655. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10656. }
  10657. inline void packetw2c_recv_return_login_reward_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10658. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10659. set_has_packet_id();
  10660. packet_id_ = value;
  10661. }
  10662. // optional int32 result = 2;
  10663. inline bool packetw2c_recv_return_login_reward_result::has_result() const {
  10664. return (_has_bits_[0] & 0x00000002u) != 0;
  10665. }
  10666. inline void packetw2c_recv_return_login_reward_result::set_has_result() {
  10667. _has_bits_[0] |= 0x00000002u;
  10668. }
  10669. inline void packetw2c_recv_return_login_reward_result::clear_has_result() {
  10670. _has_bits_[0] &= ~0x00000002u;
  10671. }
  10672. inline void packetw2c_recv_return_login_reward_result::clear_result() {
  10673. result_ = 0;
  10674. clear_has_result();
  10675. }
  10676. inline ::google::protobuf::int32 packetw2c_recv_return_login_reward_result::result() const {
  10677. return result_;
  10678. }
  10679. inline void packetw2c_recv_return_login_reward_result::set_result(::google::protobuf::int32 value) {
  10680. set_has_result();
  10681. result_ = value;
  10682. }
  10683. // optional int32 index = 3;
  10684. inline bool packetw2c_recv_return_login_reward_result::has_index() const {
  10685. return (_has_bits_[0] & 0x00000004u) != 0;
  10686. }
  10687. inline void packetw2c_recv_return_login_reward_result::set_has_index() {
  10688. _has_bits_[0] |= 0x00000004u;
  10689. }
  10690. inline void packetw2c_recv_return_login_reward_result::clear_has_index() {
  10691. _has_bits_[0] &= ~0x00000004u;
  10692. }
  10693. inline void packetw2c_recv_return_login_reward_result::clear_index() {
  10694. index_ = 0;
  10695. clear_has_index();
  10696. }
  10697. inline ::google::protobuf::int32 packetw2c_recv_return_login_reward_result::index() const {
  10698. return index_;
  10699. }
  10700. inline void packetw2c_recv_return_login_reward_result::set_index(::google::protobuf::int32 value) {
  10701. set_has_index();
  10702. index_ = value;
  10703. }
  10704. // -------------------------------------------------------------------
  10705. // packetc2w_recv_return_recharge_reward
  10706. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  10707. inline bool packetc2w_recv_return_recharge_reward::has_packet_id() const {
  10708. return (_has_bits_[0] & 0x00000001u) != 0;
  10709. }
  10710. inline void packetc2w_recv_return_recharge_reward::set_has_packet_id() {
  10711. _has_bits_[0] |= 0x00000001u;
  10712. }
  10713. inline void packetc2w_recv_return_recharge_reward::clear_has_packet_id() {
  10714. _has_bits_[0] &= ~0x00000001u;
  10715. }
  10716. inline void packetc2w_recv_return_recharge_reward::clear_packet_id() {
  10717. packet_id_ = 5258;
  10718. clear_has_packet_id();
  10719. }
  10720. inline ::client2world_protocols::e_server_msg_type packetc2w_recv_return_recharge_reward::packet_id() const {
  10721. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10722. }
  10723. inline void packetc2w_recv_return_recharge_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10724. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10725. set_has_packet_id();
  10726. packet_id_ = value;
  10727. }
  10728. // optional int32 index = 2;
  10729. inline bool packetc2w_recv_return_recharge_reward::has_index() const {
  10730. return (_has_bits_[0] & 0x00000002u) != 0;
  10731. }
  10732. inline void packetc2w_recv_return_recharge_reward::set_has_index() {
  10733. _has_bits_[0] |= 0x00000002u;
  10734. }
  10735. inline void packetc2w_recv_return_recharge_reward::clear_has_index() {
  10736. _has_bits_[0] &= ~0x00000002u;
  10737. }
  10738. inline void packetc2w_recv_return_recharge_reward::clear_index() {
  10739. index_ = 0;
  10740. clear_has_index();
  10741. }
  10742. inline ::google::protobuf::int32 packetc2w_recv_return_recharge_reward::index() const {
  10743. return index_;
  10744. }
  10745. inline void packetc2w_recv_return_recharge_reward::set_index(::google::protobuf::int32 value) {
  10746. set_has_index();
  10747. index_ = value;
  10748. }
  10749. // -------------------------------------------------------------------
  10750. // packetw2c_recv_return_recharge_reward_result
  10751. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_result];
  10752. inline bool packetw2c_recv_return_recharge_reward_result::has_packet_id() const {
  10753. return (_has_bits_[0] & 0x00000001u) != 0;
  10754. }
  10755. inline void packetw2c_recv_return_recharge_reward_result::set_has_packet_id() {
  10756. _has_bits_[0] |= 0x00000001u;
  10757. }
  10758. inline void packetw2c_recv_return_recharge_reward_result::clear_has_packet_id() {
  10759. _has_bits_[0] &= ~0x00000001u;
  10760. }
  10761. inline void packetw2c_recv_return_recharge_reward_result::clear_packet_id() {
  10762. packet_id_ = 7806;
  10763. clear_has_packet_id();
  10764. }
  10765. inline ::client2world_protocols::e_server_msg_type packetw2c_recv_return_recharge_reward_result::packet_id() const {
  10766. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10767. }
  10768. inline void packetw2c_recv_return_recharge_reward_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10769. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10770. set_has_packet_id();
  10771. packet_id_ = value;
  10772. }
  10773. // optional int32 result = 2;
  10774. inline bool packetw2c_recv_return_recharge_reward_result::has_result() const {
  10775. return (_has_bits_[0] & 0x00000002u) != 0;
  10776. }
  10777. inline void packetw2c_recv_return_recharge_reward_result::set_has_result() {
  10778. _has_bits_[0] |= 0x00000002u;
  10779. }
  10780. inline void packetw2c_recv_return_recharge_reward_result::clear_has_result() {
  10781. _has_bits_[0] &= ~0x00000002u;
  10782. }
  10783. inline void packetw2c_recv_return_recharge_reward_result::clear_result() {
  10784. result_ = 0;
  10785. clear_has_result();
  10786. }
  10787. inline ::google::protobuf::int32 packetw2c_recv_return_recharge_reward_result::result() const {
  10788. return result_;
  10789. }
  10790. inline void packetw2c_recv_return_recharge_reward_result::set_result(::google::protobuf::int32 value) {
  10791. set_has_result();
  10792. result_ = value;
  10793. }
  10794. // optional int32 index = 3;
  10795. inline bool packetw2c_recv_return_recharge_reward_result::has_index() const {
  10796. return (_has_bits_[0] & 0x00000004u) != 0;
  10797. }
  10798. inline void packetw2c_recv_return_recharge_reward_result::set_has_index() {
  10799. _has_bits_[0] |= 0x00000004u;
  10800. }
  10801. inline void packetw2c_recv_return_recharge_reward_result::clear_has_index() {
  10802. _has_bits_[0] &= ~0x00000004u;
  10803. }
  10804. inline void packetw2c_recv_return_recharge_reward_result::clear_index() {
  10805. index_ = 0;
  10806. clear_has_index();
  10807. }
  10808. inline ::google::protobuf::int32 packetw2c_recv_return_recharge_reward_result::index() const {
  10809. return index_;
  10810. }
  10811. inline void packetw2c_recv_return_recharge_reward_result::set_index(::google::protobuf::int32 value) {
  10812. set_has_index();
  10813. index_ = value;
  10814. }
  10815. // -------------------------------------------------------------------
  10816. // packetc2w_abysm_sign
  10817. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  10818. inline bool packetc2w_abysm_sign::has_packet_id() const {
  10819. return (_has_bits_[0] & 0x00000001u) != 0;
  10820. }
  10821. inline void packetc2w_abysm_sign::set_has_packet_id() {
  10822. _has_bits_[0] |= 0x00000001u;
  10823. }
  10824. inline void packetc2w_abysm_sign::clear_has_packet_id() {
  10825. _has_bits_[0] &= ~0x00000001u;
  10826. }
  10827. inline void packetc2w_abysm_sign::clear_packet_id() {
  10828. packet_id_ = 5261;
  10829. clear_has_packet_id();
  10830. }
  10831. inline ::client2world_protocols::e_server_msg_type packetc2w_abysm_sign::packet_id() const {
  10832. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10833. }
  10834. inline void packetc2w_abysm_sign::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10835. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10836. set_has_packet_id();
  10837. packet_id_ = value;
  10838. }
  10839. // optional int32 index = 2;
  10840. inline bool packetc2w_abysm_sign::has_index() const {
  10841. return (_has_bits_[0] & 0x00000002u) != 0;
  10842. }
  10843. inline void packetc2w_abysm_sign::set_has_index() {
  10844. _has_bits_[0] |= 0x00000002u;
  10845. }
  10846. inline void packetc2w_abysm_sign::clear_has_index() {
  10847. _has_bits_[0] &= ~0x00000002u;
  10848. }
  10849. inline void packetc2w_abysm_sign::clear_index() {
  10850. index_ = 0;
  10851. clear_has_index();
  10852. }
  10853. inline ::google::protobuf::int32 packetc2w_abysm_sign::index() const {
  10854. return index_;
  10855. }
  10856. inline void packetc2w_abysm_sign::set_index(::google::protobuf::int32 value) {
  10857. set_has_index();
  10858. index_ = value;
  10859. }
  10860. // -------------------------------------------------------------------
  10861. // packetw2c_abysm_sign_result
  10862. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_result];
  10863. inline bool packetw2c_abysm_sign_result::has_packet_id() const {
  10864. return (_has_bits_[0] & 0x00000001u) != 0;
  10865. }
  10866. inline void packetw2c_abysm_sign_result::set_has_packet_id() {
  10867. _has_bits_[0] |= 0x00000001u;
  10868. }
  10869. inline void packetw2c_abysm_sign_result::clear_has_packet_id() {
  10870. _has_bits_[0] &= ~0x00000001u;
  10871. }
  10872. inline void packetw2c_abysm_sign_result::clear_packet_id() {
  10873. packet_id_ = 7810;
  10874. clear_has_packet_id();
  10875. }
  10876. inline ::client2world_protocols::e_server_msg_type packetw2c_abysm_sign_result::packet_id() const {
  10877. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10878. }
  10879. inline void packetw2c_abysm_sign_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10880. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10881. set_has_packet_id();
  10882. packet_id_ = value;
  10883. }
  10884. // optional int32 result = 2;
  10885. inline bool packetw2c_abysm_sign_result::has_result() const {
  10886. return (_has_bits_[0] & 0x00000002u) != 0;
  10887. }
  10888. inline void packetw2c_abysm_sign_result::set_has_result() {
  10889. _has_bits_[0] |= 0x00000002u;
  10890. }
  10891. inline void packetw2c_abysm_sign_result::clear_has_result() {
  10892. _has_bits_[0] &= ~0x00000002u;
  10893. }
  10894. inline void packetw2c_abysm_sign_result::clear_result() {
  10895. result_ = 0;
  10896. clear_has_result();
  10897. }
  10898. inline ::google::protobuf::int32 packetw2c_abysm_sign_result::result() const {
  10899. return result_;
  10900. }
  10901. inline void packetw2c_abysm_sign_result::set_result(::google::protobuf::int32 value) {
  10902. set_has_result();
  10903. result_ = value;
  10904. }
  10905. // optional int32 index = 3;
  10906. inline bool packetw2c_abysm_sign_result::has_index() const {
  10907. return (_has_bits_[0] & 0x00000004u) != 0;
  10908. }
  10909. inline void packetw2c_abysm_sign_result::set_has_index() {
  10910. _has_bits_[0] |= 0x00000004u;
  10911. }
  10912. inline void packetw2c_abysm_sign_result::clear_has_index() {
  10913. _has_bits_[0] &= ~0x00000004u;
  10914. }
  10915. inline void packetw2c_abysm_sign_result::clear_index() {
  10916. index_ = 0;
  10917. clear_has_index();
  10918. }
  10919. inline ::google::protobuf::int32 packetw2c_abysm_sign_result::index() const {
  10920. return index_;
  10921. }
  10922. inline void packetw2c_abysm_sign_result::set_index(::google::protobuf::int32 value) {
  10923. set_has_index();
  10924. index_ = value;
  10925. }
  10926. // repeated .msg_info_def.ItemInfo rewardItem = 4;
  10927. inline int packetw2c_abysm_sign_result::rewarditem_size() const {
  10928. return rewarditem_.size();
  10929. }
  10930. inline void packetw2c_abysm_sign_result::clear_rewarditem() {
  10931. rewarditem_.Clear();
  10932. }
  10933. inline const ::msg_info_def::ItemInfo& packetw2c_abysm_sign_result::rewarditem(int index) const {
  10934. return rewarditem_.Get(index);
  10935. }
  10936. inline ::msg_info_def::ItemInfo* packetw2c_abysm_sign_result::mutable_rewarditem(int index) {
  10937. return rewarditem_.Mutable(index);
  10938. }
  10939. inline ::msg_info_def::ItemInfo* packetw2c_abysm_sign_result::add_rewarditem() {
  10940. return rewarditem_.Add();
  10941. }
  10942. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  10943. packetw2c_abysm_sign_result::rewarditem() const {
  10944. return rewarditem_;
  10945. }
  10946. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  10947. packetw2c_abysm_sign_result::mutable_rewarditem() {
  10948. return &rewarditem_;
  10949. }
  10950. // -------------------------------------------------------------------
  10951. // packetc2w_dragonball_lottery
  10952. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  10953. inline bool packetc2w_dragonball_lottery::has_packet_id() const {
  10954. return (_has_bits_[0] & 0x00000001u) != 0;
  10955. }
  10956. inline void packetc2w_dragonball_lottery::set_has_packet_id() {
  10957. _has_bits_[0] |= 0x00000001u;
  10958. }
  10959. inline void packetc2w_dragonball_lottery::clear_has_packet_id() {
  10960. _has_bits_[0] &= ~0x00000001u;
  10961. }
  10962. inline void packetc2w_dragonball_lottery::clear_packet_id() {
  10963. packet_id_ = 5276;
  10964. clear_has_packet_id();
  10965. }
  10966. inline ::client2world_protocols::e_server_msg_type packetc2w_dragonball_lottery::packet_id() const {
  10967. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  10968. }
  10969. inline void packetc2w_dragonball_lottery::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  10970. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  10971. set_has_packet_id();
  10972. packet_id_ = value;
  10973. }
  10974. // optional int32 count = 2;
  10975. inline bool packetc2w_dragonball_lottery::has_count() const {
  10976. return (_has_bits_[0] & 0x00000002u) != 0;
  10977. }
  10978. inline void packetc2w_dragonball_lottery::set_has_count() {
  10979. _has_bits_[0] |= 0x00000002u;
  10980. }
  10981. inline void packetc2w_dragonball_lottery::clear_has_count() {
  10982. _has_bits_[0] &= ~0x00000002u;
  10983. }
  10984. inline void packetc2w_dragonball_lottery::clear_count() {
  10985. count_ = 0;
  10986. clear_has_count();
  10987. }
  10988. inline ::google::protobuf::int32 packetc2w_dragonball_lottery::count() const {
  10989. return count_;
  10990. }
  10991. inline void packetc2w_dragonball_lottery::set_count(::google::protobuf::int32 value) {
  10992. set_has_count();
  10993. count_ = value;
  10994. }
  10995. // -------------------------------------------------------------------
  10996. // packetw2c_dragonball_lottery_result
  10997. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_result];
  10998. inline bool packetw2c_dragonball_lottery_result::has_packet_id() const {
  10999. return (_has_bits_[0] & 0x00000001u) != 0;
  11000. }
  11001. inline void packetw2c_dragonball_lottery_result::set_has_packet_id() {
  11002. _has_bits_[0] |= 0x00000001u;
  11003. }
  11004. inline void packetw2c_dragonball_lottery_result::clear_has_packet_id() {
  11005. _has_bits_[0] &= ~0x00000001u;
  11006. }
  11007. inline void packetw2c_dragonball_lottery_result::clear_packet_id() {
  11008. packet_id_ = 7828;
  11009. clear_has_packet_id();
  11010. }
  11011. inline ::client2world_protocols::e_server_msg_type packetw2c_dragonball_lottery_result::packet_id() const {
  11012. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  11013. }
  11014. inline void packetw2c_dragonball_lottery_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  11015. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  11016. set_has_packet_id();
  11017. packet_id_ = value;
  11018. }
  11019. // optional int32 result = 2;
  11020. inline bool packetw2c_dragonball_lottery_result::has_result() const {
  11021. return (_has_bits_[0] & 0x00000002u) != 0;
  11022. }
  11023. inline void packetw2c_dragonball_lottery_result::set_has_result() {
  11024. _has_bits_[0] |= 0x00000002u;
  11025. }
  11026. inline void packetw2c_dragonball_lottery_result::clear_has_result() {
  11027. _has_bits_[0] &= ~0x00000002u;
  11028. }
  11029. inline void packetw2c_dragonball_lottery_result::clear_result() {
  11030. result_ = 0;
  11031. clear_has_result();
  11032. }
  11033. inline ::google::protobuf::int32 packetw2c_dragonball_lottery_result::result() const {
  11034. return result_;
  11035. }
  11036. inline void packetw2c_dragonball_lottery_result::set_result(::google::protobuf::int32 value) {
  11037. set_has_result();
  11038. result_ = value;
  11039. }
  11040. // optional int32 count = 3;
  11041. inline bool packetw2c_dragonball_lottery_result::has_count() const {
  11042. return (_has_bits_[0] & 0x00000004u) != 0;
  11043. }
  11044. inline void packetw2c_dragonball_lottery_result::set_has_count() {
  11045. _has_bits_[0] |= 0x00000004u;
  11046. }
  11047. inline void packetw2c_dragonball_lottery_result::clear_has_count() {
  11048. _has_bits_[0] &= ~0x00000004u;
  11049. }
  11050. inline void packetw2c_dragonball_lottery_result::clear_count() {
  11051. count_ = 0;
  11052. clear_has_count();
  11053. }
  11054. inline ::google::protobuf::int32 packetw2c_dragonball_lottery_result::count() const {
  11055. return count_;
  11056. }
  11057. inline void packetw2c_dragonball_lottery_result::set_count(::google::protobuf::int32 value) {
  11058. set_has_count();
  11059. count_ = value;
  11060. }
  11061. // optional int32 curlucky = 4;
  11062. inline bool packetw2c_dragonball_lottery_result::has_curlucky() const {
  11063. return (_has_bits_[0] & 0x00000008u) != 0;
  11064. }
  11065. inline void packetw2c_dragonball_lottery_result::set_has_curlucky() {
  11066. _has_bits_[0] |= 0x00000008u;
  11067. }
  11068. inline void packetw2c_dragonball_lottery_result::clear_has_curlucky() {
  11069. _has_bits_[0] &= ~0x00000008u;
  11070. }
  11071. inline void packetw2c_dragonball_lottery_result::clear_curlucky() {
  11072. curlucky_ = 0;
  11073. clear_has_curlucky();
  11074. }
  11075. inline ::google::protobuf::int32 packetw2c_dragonball_lottery_result::curlucky() const {
  11076. return curlucky_;
  11077. }
  11078. inline void packetw2c_dragonball_lottery_result::set_curlucky(::google::protobuf::int32 value) {
  11079. set_has_curlucky();
  11080. curlucky_ = value;
  11081. }
  11082. // optional int32 dragonball = 5;
  11083. inline bool packetw2c_dragonball_lottery_result::has_dragonball() const {
  11084. return (_has_bits_[0] & 0x00000010u) != 0;
  11085. }
  11086. inline void packetw2c_dragonball_lottery_result::set_has_dragonball() {
  11087. _has_bits_[0] |= 0x00000010u;
  11088. }
  11089. inline void packetw2c_dragonball_lottery_result::clear_has_dragonball() {
  11090. _has_bits_[0] &= ~0x00000010u;
  11091. }
  11092. inline void packetw2c_dragonball_lottery_result::clear_dragonball() {
  11093. dragonball_ = 0;
  11094. clear_has_dragonball();
  11095. }
  11096. inline ::google::protobuf::int32 packetw2c_dragonball_lottery_result::dragonball() const {
  11097. return dragonball_;
  11098. }
  11099. inline void packetw2c_dragonball_lottery_result::set_dragonball(::google::protobuf::int32 value) {
  11100. set_has_dragonball();
  11101. dragonball_ = value;
  11102. }
  11103. // repeated int32 rewards = 6;
  11104. inline int packetw2c_dragonball_lottery_result::rewards_size() const {
  11105. return rewards_.size();
  11106. }
  11107. inline void packetw2c_dragonball_lottery_result::clear_rewards() {
  11108. rewards_.Clear();
  11109. }
  11110. inline ::google::protobuf::int32 packetw2c_dragonball_lottery_result::rewards(int index) const {
  11111. return rewards_.Get(index);
  11112. }
  11113. inline void packetw2c_dragonball_lottery_result::set_rewards(int index, ::google::protobuf::int32 value) {
  11114. rewards_.Set(index, value);
  11115. }
  11116. inline void packetw2c_dragonball_lottery_result::add_rewards(::google::protobuf::int32 value) {
  11117. rewards_.Add(value);
  11118. }
  11119. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  11120. packetw2c_dragonball_lottery_result::rewards() const {
  11121. return rewards_;
  11122. }
  11123. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  11124. packetw2c_dragonball_lottery_result::mutable_rewards() {
  11125. return &rewards_;
  11126. }
  11127. // @@protoc_insertion_point(namespace_scope)
  11128. } // namespace client2world_protocols
  11129. #ifndef SWIG
  11130. namespace google {
  11131. namespace protobuf {
  11132. } // namespace google
  11133. } // namespace protobuf
  11134. #endif // SWIG
  11135. // @@protoc_insertion_point(global_scope)
  11136. #endif // PROTOBUF_client2world_5fprotocol_2eproto__INCLUDED