You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Message2Clients.cs 268 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: Message2Clients.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021, 8981
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Protobuf {
  12. /// <summary>Holder for reflection information generated from Message2Clients.proto</summary>
  13. public static partial class Message2ClientsReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for Message2Clients.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static Message2ClientsReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "ChVNZXNzYWdlMkNsaWVudHMucHJvdG8SCHByb3RvYnVmGhFNZXNzYWdlVHlw",
  24. "ZS5wcm90byLbBAoQTWVzc2FnZU9mU3R1ZGVudBIJCgF4GAEgASgFEgkKAXkY",
  25. "AiABKAUSDQoFc3BlZWQYAyABKAUSFQoNZGV0ZXJtaW5hdGlvbhgEIAEoBRIR",
  26. "CglhZGRpY3Rpb24YBSABKAUSIgoadGltZV91bnRpbF9za2lsbF9hdmFpbGFi",
  27. "bGUYBiADKAESIgoFcGxhY2UYByABKA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUS",
  28. "IAoEcHJvcBgIIAMoDjISLnByb3RvYnVmLlByb3BUeXBlEisKDHBsYXllcl9z",
  29. "dGF0ZRgJIAEoDjIVLnByb3RvYnVmLlBsYXllclN0YXRlEgwKBGd1aWQYCiAB",
  30. "KAMSKQoLYnVsbGV0X3R5cGUYDCABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBl",
  31. "EhYKDmxlYXJuaW5nX3NwZWVkGA0gASgFEhMKC3RyZWF0X3NwZWVkGA4gASgF",
  32. "EhEKCXBsYXllcl9pZBgPIAEoAxISCgp2aWV3X3JhbmdlGBAgASgFEg4KBnJh",
  33. "ZGl1cxgRIAEoBRIUCgxkYW5nZXJfYWxlcnQYEyABKAESDQoFc2NvcmUYFCAB",
  34. "KAUSFgoOdHJlYXRfcHJvZ3Jlc3MYFSABKAUSFwoPcmVzY3VlX3Byb2dyZXNz",
  35. "GBYgASgFEisKDHN0dWRlbnRfdHlwZRgXIAEoDjIVLnByb3RvYnVmLlN0dWRl",
  36. "bnRUeXBlEhgKEGZhY2luZ19kaXJlY3Rpb24YGCABKAESJwoEYnVmZhgZIAMo",
  37. "DjIZLnByb3RvYnVmLlN0dWRlbnRCdWZmVHlwZSLpAwoQTWVzc2FnZU9mVHJp",
  38. "Y2tlchIJCgF4GAEgASgFEgkKAXkYAiABKAUSDQoFc3BlZWQYAyABKAUSIgoa",
  39. "dGltZV91bnRpbF9za2lsbF9hdmFpbGFibGUYBSADKAESIgoFcGxhY2UYBiAB",
  40. "KA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUSIAoEcHJvcBgHIAMoDjISLnByb3Rv",
  41. "YnVmLlByb3BUeXBlEisKDHRyaWNrZXJfdHlwZRgIIAEoDjIVLnByb3RvYnVm",
  42. "LlRyaWNrZXJUeXBlEgwKBGd1aWQYCSABKAMSDQoFc2NvcmUYCiABKAUSEQoJ",
  43. "cGxheWVyX2lkGAsgASgDEhIKCnZpZXdfcmFuZ2UYDCABKAUSDgoGcmFkaXVz",
  44. "GA0gASgFEisKDHBsYXllcl9zdGF0ZRgOIAEoDjIVLnByb3RvYnVmLlBsYXll",
  45. "clN0YXRlEhQKDHRyaWNrX2Rlc2lyZRgPIAEoARIUCgxjbGFzc192b2x1bWUY",
  46. "ECABKAESGAoQZmFjaW5nX2RpcmVjdGlvbhgRIAEoARIpCgtidWxsZXRfdHlw",
  47. "ZRgSIAEoDjIULnByb3RvYnVmLkJ1bGxldFR5cGUSJwoEYnVmZhgTIAMoDjIZ",
  48. "LnByb3RvYnVmLlRyaWNrZXJCdWZmVHlwZSLeAQoPTWVzc2FnZU9mQnVsbGV0",
  49. "EiIKBHR5cGUYASABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBlEgkKAXgYAiAB",
  50. "KAUSCQoBeRgDIAEoBRIYChBmYWNpbmdfZGlyZWN0aW9uGAQgASgBEgwKBGd1",
  51. "aWQYBSABKAMSIgoEdGVhbRgGIAEoDjIULnByb3RvYnVmLlBsYXllclR5cGUS",
  52. "IgoFcGxhY2UYByABKA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUSEgoKYm9tYl9y",
  53. "YW5nZRgIIAEoARINCgVzcGVlZBgJIAEoBSKTAQoVTWVzc2FnZU9mQm9tYmVk",
  54. "QnVsbGV0EiIKBHR5cGUYASABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBlEgkK",
  55. "AXgYAiABKAUSCQoBeRgDIAEoBRIYChBmYWNpbmdfZGlyZWN0aW9uGAQgASgB",
  56. "EhIKCm1hcHBpbmdfaWQYBSABKAMSEgoKYm9tYl9yYW5nZRgGIAEoASKTAQoN",
  57. "TWVzc2FnZU9mUHJvcBIgCgR0eXBlGAEgASgOMhIucHJvdG9idWYuUHJvcFR5",
  58. "cGUSCQoBeBgCIAEoBRIJCgF5GAMgASgFEhgKEGZhY2luZ19kaXJlY3Rpb24Y",
  59. "BCABKAESDAoEZ3VpZBgFIAEoAxIiCgVwbGFjZRgGIAEoDjITLnByb3RvYnVm",
  60. "LlBsYWNlVHlwZSJ7ChNNZXNzYWdlT2ZQaWNrZWRQcm9wEiAKBHR5cGUYASAB",
  61. "KA4yEi5wcm90b2J1Zi5Qcm9wVHlwZRIJCgF4GAIgASgFEgkKAXkYAyABKAUS",
  62. "GAoQZmFjaW5nX2RpcmVjdGlvbhgEIAEoARISCgptYXBwaW5nX2lkGAUgASgD",
  63. "IjwKEk1lc3NhZ2VPZkNsYXNzcm9vbRIJCgF4GAEgASgFEgkKAXkYAiABKAUS",
  64. "EAoIcHJvZ3Jlc3MYAyABKAUiNwoNTWVzc2FnZU9mR2F0ZRIJCgF4GAEgASgF",
  65. "EgkKAXkYAiABKAUSEAoIcHJvZ3Jlc3MYAyABKAUiOwoTTWVzc2FnZU9mSGlk",
  66. "ZGVuR2F0ZRIJCgF4GAEgASgFEgkKAXkYAiABKAUSDgoGb3BlbmVkGAMgASgI",
  67. "IkgKDU1lc3NhZ2VPZkRvb3ISCQoBeBgBIAEoBRIJCgF5GAIgASgFEg8KB2lz",
  68. "X29wZW4YAyABKAgSEAoIcHJvZ3Jlc3MYBCABKAUiOAoOTWVzc2FnZU9mQ2hl",
  69. "c3QSCQoBeBgBIAEoBRIJCgF5GAIgASgFEhAKCHByb2dyZXNzGAMgASgFImAK",
  70. "DE1lc3NhZ2VPZk1hcBInCgNyb3cYAiADKAsyGi5wcm90b2J1Zi5NZXNzYWdl",
  71. "T2ZNYXAuUm93GicKA1JvdxIgCgNjb2wYASADKA4yEy5wcm90b2J1Zi5QbGFj",
  72. "ZVR5cGUiPQoNTWVzc2FnZU9mTmV3cxIMCgRuZXdzGAEgASgJEg8KB2Zyb21f",
  73. "aWQYAiABKAMSDQoFdG9faWQYAyABKAMipAUKDE1lc3NhZ2VPZk9iahI1Cg9z",
  74. "dHVkZW50X21lc3NhZ2UYASABKAsyGi5wcm90b2J1Zi5NZXNzYWdlT2ZTdHVk",
  75. "ZW50SAASNQoPdHJpY2tlcl9tZXNzYWdlGAIgASgLMhoucHJvdG9idWYuTWVz",
  76. "c2FnZU9mVHJpY2tlckgAEi8KDHByb3BfbWVzc2FnZRgDIAEoCzIXLnByb3Rv",
  77. "YnVmLk1lc3NhZ2VPZlByb3BIABIzCg5idWxsZXRfbWVzc2FnZRgEIAEoCzIZ",
  78. "LnByb3RvYnVmLk1lc3NhZ2VPZkJ1bGxldEgAEkAKFWJvbWJlZF9idWxsZXRf",
  79. "bWVzc2FnZRgFIAEoCzIfLnByb3RvYnVmLk1lc3NhZ2VPZkJvbWJlZEJ1bGxl",
  80. "dEgAEjkKEWNsYXNzcm9vbV9tZXNzYWdlGAYgASgLMhwucHJvdG9idWYuTWVz",
  81. "c2FnZU9mQ2xhc3Nyb29tSAASLwoMZG9vcl9tZXNzYWdlGAcgASgLMhcucHJv",
  82. "dG9idWYuTWVzc2FnZU9mRG9vckgAEi8KDGdhdGVfbWVzc2FnZRgIIAEoCzIX",
  83. "LnByb3RvYnVmLk1lc3NhZ2VPZkdhdGVIABIxCg1jaGVzdF9tZXNzYWdlGAkg",
  84. "ASgLMhgucHJvdG9idWYuTWVzc2FnZU9mQ2hlc3RIABI8ChNoaWRkZW5fZ2F0",
  85. "ZV9tZXNzYWdlGAogASgLMh0ucHJvdG9idWYuTWVzc2FnZU9mSGlkZGVuR2F0",
  86. "ZUgAEi8KDG5ld3NfbWVzc2FnZRgLIAEoCzIXLnByb3RvYnVmLk1lc3NhZ2VP",
  87. "Zk5ld3NIABItCgttYXBfbWVzc2FnZRgMIAEoCzIWLnByb3RvYnVmLk1lc3Nh",
  88. "Z2VPZk1hcEgAQhAKDm1lc3NhZ2Vfb2Zfb2JqIugBCgxNZXNzYWdlT2ZBbGwS",
  89. "EQoJZ2FtZV90aW1lGAEgASgFEhQKDHN1YmplY3RfbGVmdBgCIAEoBRIZChFz",
  90. "dHVkZW50X2dyYWR1YXRlZBgDIAEoBRIWCg5zdHVkZW50X3F1aXRlZBgEIAEo",
  91. "BRIVCg1zdHVkZW50X3Njb3JlGAUgASgFEhUKDXRyaWNrZXJfc2NvcmUYBiAB",
  92. "KAUSEwoLZ2F0ZV9vcGVuZWQYByABKAgSHQoVaGlkZGVuX2dhdGVfcmVmcmVz",
  93. "aGVkGAggASgIEhoKEmhpZGRlbl9nYXRlX29wZW5lZBgJIAEoCCKUAQoPTWVz",
  94. "c2FnZVRvQ2xpZW50EisKC29ial9tZXNzYWdlGAEgAygLMhYucHJvdG9idWYu",
  95. "TWVzc2FnZU9mT2JqEicKCmdhbWVfc3RhdGUYAiABKA4yEy5wcm90b2J1Zi5H",
  96. "YW1lU3RhdGUSKwoLYWxsX21lc3NhZ2UYAyABKAsyFi5wcm90b2J1Zi5NZXNz",
  97. "YWdlT2ZBbGwiSgoHTW92ZVJlcxIUCgxhY3R1YWxfc3BlZWQYASABKAMSFAoM",
  98. "YWN0dWFsX2FuZ2xlGAIgASgBEhMKC2FjdF9zdWNjZXNzGAMgASgIIh4KB0Jv",
  99. "b2xSZXMSEwoLYWN0X3N1Y2Nlc3MYASABKAhiBnByb3RvMw=="));
  100. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  101. new pbr::FileDescriptor[] { global::Protobuf.MessageTypeReflection.Descriptor, },
  102. new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
  103. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfStudent), global::Protobuf.MessageOfStudent.Parser, new[]{ "X", "Y", "Speed", "Determination", "Addiction", "TimeUntilSkillAvailable", "Place", "Prop", "PlayerState", "Guid", "BulletType", "LearningSpeed", "TreatSpeed", "PlayerId", "ViewRange", "Radius", "DangerAlert", "Score", "TreatProgress", "RescueProgress", "StudentType", "FacingDirection", "Buff" }, null, null, null, null),
  104. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfTricker), global::Protobuf.MessageOfTricker.Parser, new[]{ "X", "Y", "Speed", "TimeUntilSkillAvailable", "Place", "Prop", "TrickerType", "Guid", "Score", "PlayerId", "ViewRange", "Radius", "PlayerState", "TrickDesire", "ClassVolume", "FacingDirection", "BulletType", "Buff" }, null, null, null, null),
  105. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfBullet), global::Protobuf.MessageOfBullet.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "Guid", "Team", "Place", "BombRange", "Speed" }, null, null, null, null),
  106. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfBombedBullet), global::Protobuf.MessageOfBombedBullet.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "MappingId", "BombRange" }, null, null, null, null),
  107. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfProp), global::Protobuf.MessageOfProp.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "Guid", "Place" }, null, null, null, null),
  108. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfPickedProp), global::Protobuf.MessageOfPickedProp.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "MappingId" }, null, null, null, null),
  109. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfClassroom), global::Protobuf.MessageOfClassroom.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
  110. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfGate), global::Protobuf.MessageOfGate.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
  111. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfHiddenGate), global::Protobuf.MessageOfHiddenGate.Parser, new[]{ "X", "Y", "Opened" }, null, null, null, null),
  112. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfDoor), global::Protobuf.MessageOfDoor.Parser, new[]{ "X", "Y", "IsOpen", "Progress" }, null, null, null, null),
  113. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfChest), global::Protobuf.MessageOfChest.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
  114. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfMap), global::Protobuf.MessageOfMap.Parser, new[]{ "Row" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfMap.Types.Row), global::Protobuf.MessageOfMap.Types.Row.Parser, new[]{ "Col" }, null, null, null, null)}),
  115. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfNews), global::Protobuf.MessageOfNews.Parser, new[]{ "News", "FromId", "ToId" }, null, null, null, null),
  116. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfObj), global::Protobuf.MessageOfObj.Parser, new[]{ "StudentMessage", "TrickerMessage", "PropMessage", "BulletMessage", "BombedBulletMessage", "ClassroomMessage", "DoorMessage", "GateMessage", "ChestMessage", "HiddenGateMessage", "NewsMessage", "MapMessage" }, new[]{ "MessageOfObj" }, null, null, null),
  117. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfAll), global::Protobuf.MessageOfAll.Parser, new[]{ "GameTime", "SubjectLeft", "StudentGraduated", "StudentQuited", "StudentScore", "TrickerScore", "GateOpened", "HiddenGateRefreshed", "HiddenGateOpened" }, null, null, null, null),
  118. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageToClient), global::Protobuf.MessageToClient.Parser, new[]{ "ObjMessage", "GameState", "AllMessage" }, null, null, null, null),
  119. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MoveRes), global::Protobuf.MoveRes.Parser, new[]{ "ActualSpeed", "ActualAngle", "ActSuccess" }, null, null, null, null),
  120. new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BoolRes), global::Protobuf.BoolRes.Parser, new[]{ "ActSuccess" }, null, null, null, null)
  121. }));
  122. }
  123. #endregion
  124. }
  125. #region Messages
  126. public sealed partial class MessageOfStudent : pb::IMessage<MessageOfStudent>
  127. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  128. , pb::IBufferMessage
  129. #endif
  130. {
  131. private static readonly pb::MessageParser<MessageOfStudent> _parser = new pb::MessageParser<MessageOfStudent>(() => new MessageOfStudent());
  132. private pb::UnknownFieldSet _unknownFields;
  133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  134. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  135. public static pb::MessageParser<MessageOfStudent> Parser { get { return _parser; } }
  136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  137. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  138. public static pbr::MessageDescriptor Descriptor {
  139. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[0]; }
  140. }
  141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  142. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  143. pbr::MessageDescriptor pb::IMessage.Descriptor {
  144. get { return Descriptor; }
  145. }
  146. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  147. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  148. public MessageOfStudent() {
  149. OnConstruction();
  150. }
  151. partial void OnConstruction();
  152. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  153. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  154. public MessageOfStudent(MessageOfStudent other) : this() {
  155. x_ = other.x_;
  156. y_ = other.y_;
  157. speed_ = other.speed_;
  158. determination_ = other.determination_;
  159. addiction_ = other.addiction_;
  160. timeUntilSkillAvailable_ = other.timeUntilSkillAvailable_.Clone();
  161. place_ = other.place_;
  162. prop_ = other.prop_.Clone();
  163. playerState_ = other.playerState_;
  164. guid_ = other.guid_;
  165. bulletType_ = other.bulletType_;
  166. learningSpeed_ = other.learningSpeed_;
  167. treatSpeed_ = other.treatSpeed_;
  168. playerId_ = other.playerId_;
  169. viewRange_ = other.viewRange_;
  170. radius_ = other.radius_;
  171. dangerAlert_ = other.dangerAlert_;
  172. score_ = other.score_;
  173. treatProgress_ = other.treatProgress_;
  174. rescueProgress_ = other.rescueProgress_;
  175. studentType_ = other.studentType_;
  176. facingDirection_ = other.facingDirection_;
  177. buff_ = other.buff_.Clone();
  178. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  179. }
  180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  181. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  182. public MessageOfStudent Clone() {
  183. return new MessageOfStudent(this);
  184. }
  185. /// <summary>Field number for the "x" field.</summary>
  186. public const int XFieldNumber = 1;
  187. private int x_;
  188. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  189. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  190. public int X {
  191. get { return x_; }
  192. set {
  193. x_ = value;
  194. }
  195. }
  196. /// <summary>Field number for the "y" field.</summary>
  197. public const int YFieldNumber = 2;
  198. private int y_;
  199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  200. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  201. public int Y {
  202. get { return y_; }
  203. set {
  204. y_ = value;
  205. }
  206. }
  207. /// <summary>Field number for the "speed" field.</summary>
  208. public const int SpeedFieldNumber = 3;
  209. private int speed_;
  210. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  211. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  212. public int Speed {
  213. get { return speed_; }
  214. set {
  215. speed_ = value;
  216. }
  217. }
  218. /// <summary>Field number for the "determination" field.</summary>
  219. public const int DeterminationFieldNumber = 4;
  220. private int determination_;
  221. /// <summary>
  222. /// 剩余的学习毅力,相当于血量
  223. /// </summary>
  224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  225. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  226. public int Determination {
  227. get { return determination_; }
  228. set {
  229. determination_ = value;
  230. }
  231. }
  232. /// <summary>Field number for the "addiction" field.</summary>
  233. public const int AddictionFieldNumber = 5;
  234. private int addiction_;
  235. /// <summary>
  236. /// 沉迷程度,相当于淘汰进度
  237. /// </summary>
  238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  239. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  240. public int Addiction {
  241. get { return addiction_; }
  242. set {
  243. addiction_ = value;
  244. }
  245. }
  246. /// <summary>Field number for the "time_until_skill_available" field.</summary>
  247. public const int TimeUntilSkillAvailableFieldNumber = 6;
  248. private static readonly pb::FieldCodec<double> _repeated_timeUntilSkillAvailable_codec
  249. = pb::FieldCodec.ForDouble(50);
  250. private readonly pbc::RepeatedField<double> timeUntilSkillAvailable_ = new pbc::RepeatedField<double>();
  251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  252. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  253. public pbc::RepeatedField<double> TimeUntilSkillAvailable {
  254. get { return timeUntilSkillAvailable_; }
  255. }
  256. /// <summary>Field number for the "place" field.</summary>
  257. public const int PlaceFieldNumber = 7;
  258. private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
  259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  260. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  261. public global::Protobuf.PlaceType Place {
  262. get { return place_; }
  263. set {
  264. place_ = value;
  265. }
  266. }
  267. /// <summary>Field number for the "prop" field.</summary>
  268. public const int PropFieldNumber = 8;
  269. private static readonly pb::FieldCodec<global::Protobuf.PropType> _repeated_prop_codec
  270. = pb::FieldCodec.ForEnum(66, x => (int) x, x => (global::Protobuf.PropType) x);
  271. private readonly pbc::RepeatedField<global::Protobuf.PropType> prop_ = new pbc::RepeatedField<global::Protobuf.PropType>();
  272. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  273. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  274. public pbc::RepeatedField<global::Protobuf.PropType> Prop {
  275. get { return prop_; }
  276. }
  277. /// <summary>Field number for the "player_state" field.</summary>
  278. public const int PlayerStateFieldNumber = 9;
  279. private global::Protobuf.PlayerState playerState_ = global::Protobuf.PlayerState.NullStatus;
  280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  281. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  282. public global::Protobuf.PlayerState PlayerState {
  283. get { return playerState_; }
  284. set {
  285. playerState_ = value;
  286. }
  287. }
  288. /// <summary>Field number for the "guid" field.</summary>
  289. public const int GuidFieldNumber = 10;
  290. private long guid_;
  291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  292. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  293. public long Guid {
  294. get { return guid_; }
  295. set {
  296. guid_ = value;
  297. }
  298. }
  299. /// <summary>Field number for the "bullet_type" field.</summary>
  300. public const int BulletTypeFieldNumber = 12;
  301. private global::Protobuf.BulletType bulletType_ = global::Protobuf.BulletType.NullBulletType;
  302. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  303. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  304. public global::Protobuf.BulletType BulletType {
  305. get { return bulletType_; }
  306. set {
  307. bulletType_ = value;
  308. }
  309. }
  310. /// <summary>Field number for the "learning_speed" field.</summary>
  311. public const int LearningSpeedFieldNumber = 13;
  312. private int learningSpeed_;
  313. /// <summary>
  314. /// 修理电机的速度
  315. /// </summary>
  316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  317. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  318. public int LearningSpeed {
  319. get { return learningSpeed_; }
  320. set {
  321. learningSpeed_ = value;
  322. }
  323. }
  324. /// <summary>Field number for the "treat_speed" field.</summary>
  325. public const int TreatSpeedFieldNumber = 14;
  326. private int treatSpeed_;
  327. /// <summary>
  328. /// 治疗的速度
  329. /// </summary>
  330. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  331. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  332. public int TreatSpeed {
  333. get { return treatSpeed_; }
  334. set {
  335. treatSpeed_ = value;
  336. }
  337. }
  338. /// <summary>Field number for the "player_id" field.</summary>
  339. public const int PlayerIdFieldNumber = 15;
  340. private long playerId_;
  341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  342. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  343. public long PlayerId {
  344. get { return playerId_; }
  345. set {
  346. playerId_ = value;
  347. }
  348. }
  349. /// <summary>Field number for the "view_range" field.</summary>
  350. public const int ViewRangeFieldNumber = 16;
  351. private int viewRange_;
  352. /// <summary>
  353. /// 视野距离
  354. /// </summary>
  355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  356. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  357. public int ViewRange {
  358. get { return viewRange_; }
  359. set {
  360. viewRange_ = value;
  361. }
  362. }
  363. /// <summary>Field number for the "radius" field.</summary>
  364. public const int RadiusFieldNumber = 17;
  365. private int radius_;
  366. /// <summary>
  367. /// 半径
  368. /// </summary>
  369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  370. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  371. public int Radius {
  372. get { return radius_; }
  373. set {
  374. radius_ = value;
  375. }
  376. }
  377. /// <summary>Field number for the "danger_alert" field.</summary>
  378. public const int DangerAlertFieldNumber = 19;
  379. private double dangerAlert_;
  380. /// <summary>
  381. /// 危险警报,在捣蛋鬼靠近时会有预警
  382. /// </summary>
  383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  384. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  385. public double DangerAlert {
  386. get { return dangerAlert_; }
  387. set {
  388. dangerAlert_ = value;
  389. }
  390. }
  391. /// <summary>Field number for the "score" field.</summary>
  392. public const int ScoreFieldNumber = 20;
  393. private int score_;
  394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  395. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  396. public int Score {
  397. get { return score_; }
  398. set {
  399. score_ = value;
  400. }
  401. }
  402. /// <summary>Field number for the "treat_progress" field.</summary>
  403. public const int TreatProgressFieldNumber = 21;
  404. private int treatProgress_;
  405. /// <summary>
  406. /// 治疗进度
  407. /// </summary>
  408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  409. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  410. public int TreatProgress {
  411. get { return treatProgress_; }
  412. set {
  413. treatProgress_ = value;
  414. }
  415. }
  416. /// <summary>Field number for the "rescue_progress" field.</summary>
  417. public const int RescueProgressFieldNumber = 22;
  418. private int rescueProgress_;
  419. /// <summary>
  420. /// 救援进度
  421. /// </summary>
  422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  423. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  424. public int RescueProgress {
  425. get { return rescueProgress_; }
  426. set {
  427. rescueProgress_ = value;
  428. }
  429. }
  430. /// <summary>Field number for the "student_type" field.</summary>
  431. public const int StudentTypeFieldNumber = 23;
  432. private global::Protobuf.StudentType studentType_ = global::Protobuf.StudentType.NullStudentType;
  433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  434. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  435. public global::Protobuf.StudentType StudentType {
  436. get { return studentType_; }
  437. set {
  438. studentType_ = value;
  439. }
  440. }
  441. /// <summary>Field number for the "facing_direction" field.</summary>
  442. public const int FacingDirectionFieldNumber = 24;
  443. private double facingDirection_;
  444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  445. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  446. public double FacingDirection {
  447. get { return facingDirection_; }
  448. set {
  449. facingDirection_ = value;
  450. }
  451. }
  452. /// <summary>Field number for the "buff" field.</summary>
  453. public const int BuffFieldNumber = 25;
  454. private static readonly pb::FieldCodec<global::Protobuf.StudentBuffType> _repeated_buff_codec
  455. = pb::FieldCodec.ForEnum(202, x => (int) x, x => (global::Protobuf.StudentBuffType) x);
  456. private readonly pbc::RepeatedField<global::Protobuf.StudentBuffType> buff_ = new pbc::RepeatedField<global::Protobuf.StudentBuffType>();
  457. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  458. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  459. public pbc::RepeatedField<global::Protobuf.StudentBuffType> Buff {
  460. get { return buff_; }
  461. }
  462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  463. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  464. public override bool Equals(object other) {
  465. return Equals(other as MessageOfStudent);
  466. }
  467. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  468. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  469. public bool Equals(MessageOfStudent other) {
  470. if (ReferenceEquals(other, null)) {
  471. return false;
  472. }
  473. if (ReferenceEquals(other, this)) {
  474. return true;
  475. }
  476. if (X != other.X) return false;
  477. if (Y != other.Y) return false;
  478. if (Speed != other.Speed) return false;
  479. if (Determination != other.Determination) return false;
  480. if (Addiction != other.Addiction) return false;
  481. if(!timeUntilSkillAvailable_.Equals(other.timeUntilSkillAvailable_)) return false;
  482. if (Place != other.Place) return false;
  483. if(!prop_.Equals(other.prop_)) return false;
  484. if (PlayerState != other.PlayerState) return false;
  485. if (Guid != other.Guid) return false;
  486. if (BulletType != other.BulletType) return false;
  487. if (LearningSpeed != other.LearningSpeed) return false;
  488. if (TreatSpeed != other.TreatSpeed) return false;
  489. if (PlayerId != other.PlayerId) return false;
  490. if (ViewRange != other.ViewRange) return false;
  491. if (Radius != other.Radius) return false;
  492. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DangerAlert, other.DangerAlert)) return false;
  493. if (Score != other.Score) return false;
  494. if (TreatProgress != other.TreatProgress) return false;
  495. if (RescueProgress != other.RescueProgress) return false;
  496. if (StudentType != other.StudentType) return false;
  497. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
  498. if(!buff_.Equals(other.buff_)) return false;
  499. return Equals(_unknownFields, other._unknownFields);
  500. }
  501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  502. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  503. public override int GetHashCode() {
  504. int hash = 1;
  505. if (X != 0) hash ^= X.GetHashCode();
  506. if (Y != 0) hash ^= Y.GetHashCode();
  507. if (Speed != 0) hash ^= Speed.GetHashCode();
  508. if (Determination != 0) hash ^= Determination.GetHashCode();
  509. if (Addiction != 0) hash ^= Addiction.GetHashCode();
  510. hash ^= timeUntilSkillAvailable_.GetHashCode();
  511. if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
  512. hash ^= prop_.GetHashCode();
  513. if (PlayerState != global::Protobuf.PlayerState.NullStatus) hash ^= PlayerState.GetHashCode();
  514. if (Guid != 0L) hash ^= Guid.GetHashCode();
  515. if (BulletType != global::Protobuf.BulletType.NullBulletType) hash ^= BulletType.GetHashCode();
  516. if (LearningSpeed != 0) hash ^= LearningSpeed.GetHashCode();
  517. if (TreatSpeed != 0) hash ^= TreatSpeed.GetHashCode();
  518. if (PlayerId != 0L) hash ^= PlayerId.GetHashCode();
  519. if (ViewRange != 0) hash ^= ViewRange.GetHashCode();
  520. if (Radius != 0) hash ^= Radius.GetHashCode();
  521. if (DangerAlert != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DangerAlert);
  522. if (Score != 0) hash ^= Score.GetHashCode();
  523. if (TreatProgress != 0) hash ^= TreatProgress.GetHashCode();
  524. if (RescueProgress != 0) hash ^= RescueProgress.GetHashCode();
  525. if (StudentType != global::Protobuf.StudentType.NullStudentType) hash ^= StudentType.GetHashCode();
  526. if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
  527. hash ^= buff_.GetHashCode();
  528. if (_unknownFields != null) {
  529. hash ^= _unknownFields.GetHashCode();
  530. }
  531. return hash;
  532. }
  533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  534. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  535. public override string ToString() {
  536. return pb::JsonFormatter.ToDiagnosticString(this);
  537. }
  538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  539. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  540. public void WriteTo(pb::CodedOutputStream output) {
  541. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  542. output.WriteRawMessage(this);
  543. #else
  544. if (X != 0) {
  545. output.WriteRawTag(8);
  546. output.WriteInt32(X);
  547. }
  548. if (Y != 0) {
  549. output.WriteRawTag(16);
  550. output.WriteInt32(Y);
  551. }
  552. if (Speed != 0) {
  553. output.WriteRawTag(24);
  554. output.WriteInt32(Speed);
  555. }
  556. if (Determination != 0) {
  557. output.WriteRawTag(32);
  558. output.WriteInt32(Determination);
  559. }
  560. if (Addiction != 0) {
  561. output.WriteRawTag(40);
  562. output.WriteInt32(Addiction);
  563. }
  564. timeUntilSkillAvailable_.WriteTo(output, _repeated_timeUntilSkillAvailable_codec);
  565. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  566. output.WriteRawTag(56);
  567. output.WriteEnum((int) Place);
  568. }
  569. prop_.WriteTo(output, _repeated_prop_codec);
  570. if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
  571. output.WriteRawTag(72);
  572. output.WriteEnum((int) PlayerState);
  573. }
  574. if (Guid != 0L) {
  575. output.WriteRawTag(80);
  576. output.WriteInt64(Guid);
  577. }
  578. if (BulletType != global::Protobuf.BulletType.NullBulletType) {
  579. output.WriteRawTag(96);
  580. output.WriteEnum((int) BulletType);
  581. }
  582. if (LearningSpeed != 0) {
  583. output.WriteRawTag(104);
  584. output.WriteInt32(LearningSpeed);
  585. }
  586. if (TreatSpeed != 0) {
  587. output.WriteRawTag(112);
  588. output.WriteInt32(TreatSpeed);
  589. }
  590. if (PlayerId != 0L) {
  591. output.WriteRawTag(120);
  592. output.WriteInt64(PlayerId);
  593. }
  594. if (ViewRange != 0) {
  595. output.WriteRawTag(128, 1);
  596. output.WriteInt32(ViewRange);
  597. }
  598. if (Radius != 0) {
  599. output.WriteRawTag(136, 1);
  600. output.WriteInt32(Radius);
  601. }
  602. if (DangerAlert != 0D) {
  603. output.WriteRawTag(153, 1);
  604. output.WriteDouble(DangerAlert);
  605. }
  606. if (Score != 0) {
  607. output.WriteRawTag(160, 1);
  608. output.WriteInt32(Score);
  609. }
  610. if (TreatProgress != 0) {
  611. output.WriteRawTag(168, 1);
  612. output.WriteInt32(TreatProgress);
  613. }
  614. if (RescueProgress != 0) {
  615. output.WriteRawTag(176, 1);
  616. output.WriteInt32(RescueProgress);
  617. }
  618. if (StudentType != global::Protobuf.StudentType.NullStudentType) {
  619. output.WriteRawTag(184, 1);
  620. output.WriteEnum((int) StudentType);
  621. }
  622. if (FacingDirection != 0D) {
  623. output.WriteRawTag(193, 1);
  624. output.WriteDouble(FacingDirection);
  625. }
  626. buff_.WriteTo(output, _repeated_buff_codec);
  627. if (_unknownFields != null) {
  628. _unknownFields.WriteTo(output);
  629. }
  630. #endif
  631. }
  632. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  633. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  634. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  635. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  636. if (X != 0) {
  637. output.WriteRawTag(8);
  638. output.WriteInt32(X);
  639. }
  640. if (Y != 0) {
  641. output.WriteRawTag(16);
  642. output.WriteInt32(Y);
  643. }
  644. if (Speed != 0) {
  645. output.WriteRawTag(24);
  646. output.WriteInt32(Speed);
  647. }
  648. if (Determination != 0) {
  649. output.WriteRawTag(32);
  650. output.WriteInt32(Determination);
  651. }
  652. if (Addiction != 0) {
  653. output.WriteRawTag(40);
  654. output.WriteInt32(Addiction);
  655. }
  656. timeUntilSkillAvailable_.WriteTo(ref output, _repeated_timeUntilSkillAvailable_codec);
  657. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  658. output.WriteRawTag(56);
  659. output.WriteEnum((int) Place);
  660. }
  661. prop_.WriteTo(ref output, _repeated_prop_codec);
  662. if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
  663. output.WriteRawTag(72);
  664. output.WriteEnum((int) PlayerState);
  665. }
  666. if (Guid != 0L) {
  667. output.WriteRawTag(80);
  668. output.WriteInt64(Guid);
  669. }
  670. if (BulletType != global::Protobuf.BulletType.NullBulletType) {
  671. output.WriteRawTag(96);
  672. output.WriteEnum((int) BulletType);
  673. }
  674. if (LearningSpeed != 0) {
  675. output.WriteRawTag(104);
  676. output.WriteInt32(LearningSpeed);
  677. }
  678. if (TreatSpeed != 0) {
  679. output.WriteRawTag(112);
  680. output.WriteInt32(TreatSpeed);
  681. }
  682. if (PlayerId != 0L) {
  683. output.WriteRawTag(120);
  684. output.WriteInt64(PlayerId);
  685. }
  686. if (ViewRange != 0) {
  687. output.WriteRawTag(128, 1);
  688. output.WriteInt32(ViewRange);
  689. }
  690. if (Radius != 0) {
  691. output.WriteRawTag(136, 1);
  692. output.WriteInt32(Radius);
  693. }
  694. if (DangerAlert != 0D) {
  695. output.WriteRawTag(153, 1);
  696. output.WriteDouble(DangerAlert);
  697. }
  698. if (Score != 0) {
  699. output.WriteRawTag(160, 1);
  700. output.WriteInt32(Score);
  701. }
  702. if (TreatProgress != 0) {
  703. output.WriteRawTag(168, 1);
  704. output.WriteInt32(TreatProgress);
  705. }
  706. if (RescueProgress != 0) {
  707. output.WriteRawTag(176, 1);
  708. output.WriteInt32(RescueProgress);
  709. }
  710. if (StudentType != global::Protobuf.StudentType.NullStudentType) {
  711. output.WriteRawTag(184, 1);
  712. output.WriteEnum((int) StudentType);
  713. }
  714. if (FacingDirection != 0D) {
  715. output.WriteRawTag(193, 1);
  716. output.WriteDouble(FacingDirection);
  717. }
  718. buff_.WriteTo(ref output, _repeated_buff_codec);
  719. if (_unknownFields != null) {
  720. _unknownFields.WriteTo(ref output);
  721. }
  722. }
  723. #endif
  724. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  725. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  726. public int CalculateSize() {
  727. int size = 0;
  728. if (X != 0) {
  729. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  730. }
  731. if (Y != 0) {
  732. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  733. }
  734. if (Speed != 0) {
  735. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
  736. }
  737. if (Determination != 0) {
  738. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Determination);
  739. }
  740. if (Addiction != 0) {
  741. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Addiction);
  742. }
  743. size += timeUntilSkillAvailable_.CalculateSize(_repeated_timeUntilSkillAvailable_codec);
  744. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  745. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
  746. }
  747. size += prop_.CalculateSize(_repeated_prop_codec);
  748. if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
  749. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerState);
  750. }
  751. if (Guid != 0L) {
  752. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
  753. }
  754. if (BulletType != global::Protobuf.BulletType.NullBulletType) {
  755. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BulletType);
  756. }
  757. if (LearningSpeed != 0) {
  758. size += 1 + pb::CodedOutputStream.ComputeInt32Size(LearningSpeed);
  759. }
  760. if (TreatSpeed != 0) {
  761. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TreatSpeed);
  762. }
  763. if (PlayerId != 0L) {
  764. size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId);
  765. }
  766. if (ViewRange != 0) {
  767. size += 2 + pb::CodedOutputStream.ComputeInt32Size(ViewRange);
  768. }
  769. if (Radius != 0) {
  770. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Radius);
  771. }
  772. if (DangerAlert != 0D) {
  773. size += 2 + 8;
  774. }
  775. if (Score != 0) {
  776. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Score);
  777. }
  778. if (TreatProgress != 0) {
  779. size += 2 + pb::CodedOutputStream.ComputeInt32Size(TreatProgress);
  780. }
  781. if (RescueProgress != 0) {
  782. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RescueProgress);
  783. }
  784. if (StudentType != global::Protobuf.StudentType.NullStudentType) {
  785. size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) StudentType);
  786. }
  787. if (FacingDirection != 0D) {
  788. size += 2 + 8;
  789. }
  790. size += buff_.CalculateSize(_repeated_buff_codec);
  791. if (_unknownFields != null) {
  792. size += _unknownFields.CalculateSize();
  793. }
  794. return size;
  795. }
  796. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  797. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  798. public void MergeFrom(MessageOfStudent other) {
  799. if (other == null) {
  800. return;
  801. }
  802. if (other.X != 0) {
  803. X = other.X;
  804. }
  805. if (other.Y != 0) {
  806. Y = other.Y;
  807. }
  808. if (other.Speed != 0) {
  809. Speed = other.Speed;
  810. }
  811. if (other.Determination != 0) {
  812. Determination = other.Determination;
  813. }
  814. if (other.Addiction != 0) {
  815. Addiction = other.Addiction;
  816. }
  817. timeUntilSkillAvailable_.Add(other.timeUntilSkillAvailable_);
  818. if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
  819. Place = other.Place;
  820. }
  821. prop_.Add(other.prop_);
  822. if (other.PlayerState != global::Protobuf.PlayerState.NullStatus) {
  823. PlayerState = other.PlayerState;
  824. }
  825. if (other.Guid != 0L) {
  826. Guid = other.Guid;
  827. }
  828. if (other.BulletType != global::Protobuf.BulletType.NullBulletType) {
  829. BulletType = other.BulletType;
  830. }
  831. if (other.LearningSpeed != 0) {
  832. LearningSpeed = other.LearningSpeed;
  833. }
  834. if (other.TreatSpeed != 0) {
  835. TreatSpeed = other.TreatSpeed;
  836. }
  837. if (other.PlayerId != 0L) {
  838. PlayerId = other.PlayerId;
  839. }
  840. if (other.ViewRange != 0) {
  841. ViewRange = other.ViewRange;
  842. }
  843. if (other.Radius != 0) {
  844. Radius = other.Radius;
  845. }
  846. if (other.DangerAlert != 0D) {
  847. DangerAlert = other.DangerAlert;
  848. }
  849. if (other.Score != 0) {
  850. Score = other.Score;
  851. }
  852. if (other.TreatProgress != 0) {
  853. TreatProgress = other.TreatProgress;
  854. }
  855. if (other.RescueProgress != 0) {
  856. RescueProgress = other.RescueProgress;
  857. }
  858. if (other.StudentType != global::Protobuf.StudentType.NullStudentType) {
  859. StudentType = other.StudentType;
  860. }
  861. if (other.FacingDirection != 0D) {
  862. FacingDirection = other.FacingDirection;
  863. }
  864. buff_.Add(other.buff_);
  865. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  866. }
  867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  868. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  869. public void MergeFrom(pb::CodedInputStream input) {
  870. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  871. input.ReadRawMessage(this);
  872. #else
  873. uint tag;
  874. while ((tag = input.ReadTag()) != 0) {
  875. switch(tag) {
  876. default:
  877. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  878. break;
  879. case 8: {
  880. X = input.ReadInt32();
  881. break;
  882. }
  883. case 16: {
  884. Y = input.ReadInt32();
  885. break;
  886. }
  887. case 24: {
  888. Speed = input.ReadInt32();
  889. break;
  890. }
  891. case 32: {
  892. Determination = input.ReadInt32();
  893. break;
  894. }
  895. case 40: {
  896. Addiction = input.ReadInt32();
  897. break;
  898. }
  899. case 50:
  900. case 49: {
  901. timeUntilSkillAvailable_.AddEntriesFrom(input, _repeated_timeUntilSkillAvailable_codec);
  902. break;
  903. }
  904. case 56: {
  905. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  906. break;
  907. }
  908. case 66:
  909. case 64: {
  910. prop_.AddEntriesFrom(input, _repeated_prop_codec);
  911. break;
  912. }
  913. case 72: {
  914. PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
  915. break;
  916. }
  917. case 80: {
  918. Guid = input.ReadInt64();
  919. break;
  920. }
  921. case 96: {
  922. BulletType = (global::Protobuf.BulletType) input.ReadEnum();
  923. break;
  924. }
  925. case 104: {
  926. LearningSpeed = input.ReadInt32();
  927. break;
  928. }
  929. case 112: {
  930. TreatSpeed = input.ReadInt32();
  931. break;
  932. }
  933. case 120: {
  934. PlayerId = input.ReadInt64();
  935. break;
  936. }
  937. case 128: {
  938. ViewRange = input.ReadInt32();
  939. break;
  940. }
  941. case 136: {
  942. Radius = input.ReadInt32();
  943. break;
  944. }
  945. case 153: {
  946. DangerAlert = input.ReadDouble();
  947. break;
  948. }
  949. case 160: {
  950. Score = input.ReadInt32();
  951. break;
  952. }
  953. case 168: {
  954. TreatProgress = input.ReadInt32();
  955. break;
  956. }
  957. case 176: {
  958. RescueProgress = input.ReadInt32();
  959. break;
  960. }
  961. case 184: {
  962. StudentType = (global::Protobuf.StudentType) input.ReadEnum();
  963. break;
  964. }
  965. case 193: {
  966. FacingDirection = input.ReadDouble();
  967. break;
  968. }
  969. case 202:
  970. case 200: {
  971. buff_.AddEntriesFrom(input, _repeated_buff_codec);
  972. break;
  973. }
  974. }
  975. }
  976. #endif
  977. }
  978. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  979. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  980. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  981. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  982. uint tag;
  983. while ((tag = input.ReadTag()) != 0) {
  984. switch(tag) {
  985. default:
  986. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  987. break;
  988. case 8: {
  989. X = input.ReadInt32();
  990. break;
  991. }
  992. case 16: {
  993. Y = input.ReadInt32();
  994. break;
  995. }
  996. case 24: {
  997. Speed = input.ReadInt32();
  998. break;
  999. }
  1000. case 32: {
  1001. Determination = input.ReadInt32();
  1002. break;
  1003. }
  1004. case 40: {
  1005. Addiction = input.ReadInt32();
  1006. break;
  1007. }
  1008. case 50:
  1009. case 49: {
  1010. timeUntilSkillAvailable_.AddEntriesFrom(ref input, _repeated_timeUntilSkillAvailable_codec);
  1011. break;
  1012. }
  1013. case 56: {
  1014. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  1015. break;
  1016. }
  1017. case 66:
  1018. case 64: {
  1019. prop_.AddEntriesFrom(ref input, _repeated_prop_codec);
  1020. break;
  1021. }
  1022. case 72: {
  1023. PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
  1024. break;
  1025. }
  1026. case 80: {
  1027. Guid = input.ReadInt64();
  1028. break;
  1029. }
  1030. case 96: {
  1031. BulletType = (global::Protobuf.BulletType) input.ReadEnum();
  1032. break;
  1033. }
  1034. case 104: {
  1035. LearningSpeed = input.ReadInt32();
  1036. break;
  1037. }
  1038. case 112: {
  1039. TreatSpeed = input.ReadInt32();
  1040. break;
  1041. }
  1042. case 120: {
  1043. PlayerId = input.ReadInt64();
  1044. break;
  1045. }
  1046. case 128: {
  1047. ViewRange = input.ReadInt32();
  1048. break;
  1049. }
  1050. case 136: {
  1051. Radius = input.ReadInt32();
  1052. break;
  1053. }
  1054. case 153: {
  1055. DangerAlert = input.ReadDouble();
  1056. break;
  1057. }
  1058. case 160: {
  1059. Score = input.ReadInt32();
  1060. break;
  1061. }
  1062. case 168: {
  1063. TreatProgress = input.ReadInt32();
  1064. break;
  1065. }
  1066. case 176: {
  1067. RescueProgress = input.ReadInt32();
  1068. break;
  1069. }
  1070. case 184: {
  1071. StudentType = (global::Protobuf.StudentType) input.ReadEnum();
  1072. break;
  1073. }
  1074. case 193: {
  1075. FacingDirection = input.ReadDouble();
  1076. break;
  1077. }
  1078. case 202:
  1079. case 200: {
  1080. buff_.AddEntriesFrom(ref input, _repeated_buff_codec);
  1081. break;
  1082. }
  1083. }
  1084. }
  1085. }
  1086. #endif
  1087. }
  1088. public sealed partial class MessageOfTricker : pb::IMessage<MessageOfTricker>
  1089. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1090. , pb::IBufferMessage
  1091. #endif
  1092. {
  1093. private static readonly pb::MessageParser<MessageOfTricker> _parser = new pb::MessageParser<MessageOfTricker>(() => new MessageOfTricker());
  1094. private pb::UnknownFieldSet _unknownFields;
  1095. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1096. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1097. public static pb::MessageParser<MessageOfTricker> Parser { get { return _parser; } }
  1098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1099. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1100. public static pbr::MessageDescriptor Descriptor {
  1101. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[1]; }
  1102. }
  1103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1104. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1105. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1106. get { return Descriptor; }
  1107. }
  1108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1109. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1110. public MessageOfTricker() {
  1111. OnConstruction();
  1112. }
  1113. partial void OnConstruction();
  1114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1115. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1116. public MessageOfTricker(MessageOfTricker other) : this() {
  1117. x_ = other.x_;
  1118. y_ = other.y_;
  1119. speed_ = other.speed_;
  1120. timeUntilSkillAvailable_ = other.timeUntilSkillAvailable_.Clone();
  1121. place_ = other.place_;
  1122. prop_ = other.prop_.Clone();
  1123. trickerType_ = other.trickerType_;
  1124. guid_ = other.guid_;
  1125. score_ = other.score_;
  1126. playerId_ = other.playerId_;
  1127. viewRange_ = other.viewRange_;
  1128. radius_ = other.radius_;
  1129. playerState_ = other.playerState_;
  1130. trickDesire_ = other.trickDesire_;
  1131. classVolume_ = other.classVolume_;
  1132. facingDirection_ = other.facingDirection_;
  1133. bulletType_ = other.bulletType_;
  1134. buff_ = other.buff_.Clone();
  1135. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1136. }
  1137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1138. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1139. public MessageOfTricker Clone() {
  1140. return new MessageOfTricker(this);
  1141. }
  1142. /// <summary>Field number for the "x" field.</summary>
  1143. public const int XFieldNumber = 1;
  1144. private int x_;
  1145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1146. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1147. public int X {
  1148. get { return x_; }
  1149. set {
  1150. x_ = value;
  1151. }
  1152. }
  1153. /// <summary>Field number for the "y" field.</summary>
  1154. public const int YFieldNumber = 2;
  1155. private int y_;
  1156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1157. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1158. public int Y {
  1159. get { return y_; }
  1160. set {
  1161. y_ = value;
  1162. }
  1163. }
  1164. /// <summary>Field number for the "speed" field.</summary>
  1165. public const int SpeedFieldNumber = 3;
  1166. private int speed_;
  1167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1168. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1169. public int Speed {
  1170. get { return speed_; }
  1171. set {
  1172. speed_ = value;
  1173. }
  1174. }
  1175. /// <summary>Field number for the "time_until_skill_available" field.</summary>
  1176. public const int TimeUntilSkillAvailableFieldNumber = 5;
  1177. private static readonly pb::FieldCodec<double> _repeated_timeUntilSkillAvailable_codec
  1178. = pb::FieldCodec.ForDouble(42);
  1179. private readonly pbc::RepeatedField<double> timeUntilSkillAvailable_ = new pbc::RepeatedField<double>();
  1180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1181. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1182. public pbc::RepeatedField<double> TimeUntilSkillAvailable {
  1183. get { return timeUntilSkillAvailable_; }
  1184. }
  1185. /// <summary>Field number for the "place" field.</summary>
  1186. public const int PlaceFieldNumber = 6;
  1187. private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
  1188. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1189. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1190. public global::Protobuf.PlaceType Place {
  1191. get { return place_; }
  1192. set {
  1193. place_ = value;
  1194. }
  1195. }
  1196. /// <summary>Field number for the "prop" field.</summary>
  1197. public const int PropFieldNumber = 7;
  1198. private static readonly pb::FieldCodec<global::Protobuf.PropType> _repeated_prop_codec
  1199. = pb::FieldCodec.ForEnum(58, x => (int) x, x => (global::Protobuf.PropType) x);
  1200. private readonly pbc::RepeatedField<global::Protobuf.PropType> prop_ = new pbc::RepeatedField<global::Protobuf.PropType>();
  1201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1202. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1203. public pbc::RepeatedField<global::Protobuf.PropType> Prop {
  1204. get { return prop_; }
  1205. }
  1206. /// <summary>Field number for the "tricker_type" field.</summary>
  1207. public const int TrickerTypeFieldNumber = 8;
  1208. private global::Protobuf.TrickerType trickerType_ = global::Protobuf.TrickerType.NullTrickerType;
  1209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1210. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1211. public global::Protobuf.TrickerType TrickerType {
  1212. get { return trickerType_; }
  1213. set {
  1214. trickerType_ = value;
  1215. }
  1216. }
  1217. /// <summary>Field number for the "guid" field.</summary>
  1218. public const int GuidFieldNumber = 9;
  1219. private long guid_;
  1220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1221. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1222. public long Guid {
  1223. get { return guid_; }
  1224. set {
  1225. guid_ = value;
  1226. }
  1227. }
  1228. /// <summary>Field number for the "score" field.</summary>
  1229. public const int ScoreFieldNumber = 10;
  1230. private int score_;
  1231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1232. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1233. public int Score {
  1234. get { return score_; }
  1235. set {
  1236. score_ = value;
  1237. }
  1238. }
  1239. /// <summary>Field number for the "player_id" field.</summary>
  1240. public const int PlayerIdFieldNumber = 11;
  1241. private long playerId_;
  1242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1243. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1244. public long PlayerId {
  1245. get { return playerId_; }
  1246. set {
  1247. playerId_ = value;
  1248. }
  1249. }
  1250. /// <summary>Field number for the "view_range" field.</summary>
  1251. public const int ViewRangeFieldNumber = 12;
  1252. private int viewRange_;
  1253. /// <summary>
  1254. /// 视野距离
  1255. /// </summary>
  1256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1257. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1258. public int ViewRange {
  1259. get { return viewRange_; }
  1260. set {
  1261. viewRange_ = value;
  1262. }
  1263. }
  1264. /// <summary>Field number for the "radius" field.</summary>
  1265. public const int RadiusFieldNumber = 13;
  1266. private int radius_;
  1267. /// <summary>
  1268. /// 半径
  1269. /// </summary>
  1270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1271. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1272. public int Radius {
  1273. get { return radius_; }
  1274. set {
  1275. radius_ = value;
  1276. }
  1277. }
  1278. /// <summary>Field number for the "player_state" field.</summary>
  1279. public const int PlayerStateFieldNumber = 14;
  1280. private global::Protobuf.PlayerState playerState_ = global::Protobuf.PlayerState.NullStatus;
  1281. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1282. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1283. public global::Protobuf.PlayerState PlayerState {
  1284. get { return playerState_; }
  1285. set {
  1286. playerState_ = value;
  1287. }
  1288. }
  1289. /// <summary>Field number for the "trick_desire" field.</summary>
  1290. public const int TrickDesireFieldNumber = 15;
  1291. private double trickDesire_;
  1292. /// <summary>
  1293. ///bgm
  1294. /// </summary>
  1295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1296. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1297. public double TrickDesire {
  1298. get { return trickDesire_; }
  1299. set {
  1300. trickDesire_ = value;
  1301. }
  1302. }
  1303. /// <summary>Field number for the "class_volume" field.</summary>
  1304. public const int ClassVolumeFieldNumber = 16;
  1305. private double classVolume_;
  1306. /// <summary>
  1307. ///bgm
  1308. /// </summary>
  1309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1310. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1311. public double ClassVolume {
  1312. get { return classVolume_; }
  1313. set {
  1314. classVolume_ = value;
  1315. }
  1316. }
  1317. /// <summary>Field number for the "facing_direction" field.</summary>
  1318. public const int FacingDirectionFieldNumber = 17;
  1319. private double facingDirection_;
  1320. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1321. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1322. public double FacingDirection {
  1323. get { return facingDirection_; }
  1324. set {
  1325. facingDirection_ = value;
  1326. }
  1327. }
  1328. /// <summary>Field number for the "bullet_type" field.</summary>
  1329. public const int BulletTypeFieldNumber = 18;
  1330. private global::Protobuf.BulletType bulletType_ = global::Protobuf.BulletType.NullBulletType;
  1331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1332. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1333. public global::Protobuf.BulletType BulletType {
  1334. get { return bulletType_; }
  1335. set {
  1336. bulletType_ = value;
  1337. }
  1338. }
  1339. /// <summary>Field number for the "buff" field.</summary>
  1340. public const int BuffFieldNumber = 19;
  1341. private static readonly pb::FieldCodec<global::Protobuf.TrickerBuffType> _repeated_buff_codec
  1342. = pb::FieldCodec.ForEnum(154, x => (int) x, x => (global::Protobuf.TrickerBuffType) x);
  1343. private readonly pbc::RepeatedField<global::Protobuf.TrickerBuffType> buff_ = new pbc::RepeatedField<global::Protobuf.TrickerBuffType>();
  1344. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1345. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1346. public pbc::RepeatedField<global::Protobuf.TrickerBuffType> Buff {
  1347. get { return buff_; }
  1348. }
  1349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1350. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1351. public override bool Equals(object other) {
  1352. return Equals(other as MessageOfTricker);
  1353. }
  1354. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1355. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1356. public bool Equals(MessageOfTricker other) {
  1357. if (ReferenceEquals(other, null)) {
  1358. return false;
  1359. }
  1360. if (ReferenceEquals(other, this)) {
  1361. return true;
  1362. }
  1363. if (X != other.X) return false;
  1364. if (Y != other.Y) return false;
  1365. if (Speed != other.Speed) return false;
  1366. if(!timeUntilSkillAvailable_.Equals(other.timeUntilSkillAvailable_)) return false;
  1367. if (Place != other.Place) return false;
  1368. if(!prop_.Equals(other.prop_)) return false;
  1369. if (TrickerType != other.TrickerType) return false;
  1370. if (Guid != other.Guid) return false;
  1371. if (Score != other.Score) return false;
  1372. if (PlayerId != other.PlayerId) return false;
  1373. if (ViewRange != other.ViewRange) return false;
  1374. if (Radius != other.Radius) return false;
  1375. if (PlayerState != other.PlayerState) return false;
  1376. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TrickDesire, other.TrickDesire)) return false;
  1377. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ClassVolume, other.ClassVolume)) return false;
  1378. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
  1379. if (BulletType != other.BulletType) return false;
  1380. if(!buff_.Equals(other.buff_)) return false;
  1381. return Equals(_unknownFields, other._unknownFields);
  1382. }
  1383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1384. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1385. public override int GetHashCode() {
  1386. int hash = 1;
  1387. if (X != 0) hash ^= X.GetHashCode();
  1388. if (Y != 0) hash ^= Y.GetHashCode();
  1389. if (Speed != 0) hash ^= Speed.GetHashCode();
  1390. hash ^= timeUntilSkillAvailable_.GetHashCode();
  1391. if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
  1392. hash ^= prop_.GetHashCode();
  1393. if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) hash ^= TrickerType.GetHashCode();
  1394. if (Guid != 0L) hash ^= Guid.GetHashCode();
  1395. if (Score != 0) hash ^= Score.GetHashCode();
  1396. if (PlayerId != 0L) hash ^= PlayerId.GetHashCode();
  1397. if (ViewRange != 0) hash ^= ViewRange.GetHashCode();
  1398. if (Radius != 0) hash ^= Radius.GetHashCode();
  1399. if (PlayerState != global::Protobuf.PlayerState.NullStatus) hash ^= PlayerState.GetHashCode();
  1400. if (TrickDesire != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TrickDesire);
  1401. if (ClassVolume != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ClassVolume);
  1402. if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
  1403. if (BulletType != global::Protobuf.BulletType.NullBulletType) hash ^= BulletType.GetHashCode();
  1404. hash ^= buff_.GetHashCode();
  1405. if (_unknownFields != null) {
  1406. hash ^= _unknownFields.GetHashCode();
  1407. }
  1408. return hash;
  1409. }
  1410. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1411. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1412. public override string ToString() {
  1413. return pb::JsonFormatter.ToDiagnosticString(this);
  1414. }
  1415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1416. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1417. public void WriteTo(pb::CodedOutputStream output) {
  1418. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1419. output.WriteRawMessage(this);
  1420. #else
  1421. if (X != 0) {
  1422. output.WriteRawTag(8);
  1423. output.WriteInt32(X);
  1424. }
  1425. if (Y != 0) {
  1426. output.WriteRawTag(16);
  1427. output.WriteInt32(Y);
  1428. }
  1429. if (Speed != 0) {
  1430. output.WriteRawTag(24);
  1431. output.WriteInt32(Speed);
  1432. }
  1433. timeUntilSkillAvailable_.WriteTo(output, _repeated_timeUntilSkillAvailable_codec);
  1434. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  1435. output.WriteRawTag(48);
  1436. output.WriteEnum((int) Place);
  1437. }
  1438. prop_.WriteTo(output, _repeated_prop_codec);
  1439. if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
  1440. output.WriteRawTag(64);
  1441. output.WriteEnum((int) TrickerType);
  1442. }
  1443. if (Guid != 0L) {
  1444. output.WriteRawTag(72);
  1445. output.WriteInt64(Guid);
  1446. }
  1447. if (Score != 0) {
  1448. output.WriteRawTag(80);
  1449. output.WriteInt32(Score);
  1450. }
  1451. if (PlayerId != 0L) {
  1452. output.WriteRawTag(88);
  1453. output.WriteInt64(PlayerId);
  1454. }
  1455. if (ViewRange != 0) {
  1456. output.WriteRawTag(96);
  1457. output.WriteInt32(ViewRange);
  1458. }
  1459. if (Radius != 0) {
  1460. output.WriteRawTag(104);
  1461. output.WriteInt32(Radius);
  1462. }
  1463. if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
  1464. output.WriteRawTag(112);
  1465. output.WriteEnum((int) PlayerState);
  1466. }
  1467. if (TrickDesire != 0D) {
  1468. output.WriteRawTag(121);
  1469. output.WriteDouble(TrickDesire);
  1470. }
  1471. if (ClassVolume != 0D) {
  1472. output.WriteRawTag(129, 1);
  1473. output.WriteDouble(ClassVolume);
  1474. }
  1475. if (FacingDirection != 0D) {
  1476. output.WriteRawTag(137, 1);
  1477. output.WriteDouble(FacingDirection);
  1478. }
  1479. if (BulletType != global::Protobuf.BulletType.NullBulletType) {
  1480. output.WriteRawTag(144, 1);
  1481. output.WriteEnum((int) BulletType);
  1482. }
  1483. buff_.WriteTo(output, _repeated_buff_codec);
  1484. if (_unknownFields != null) {
  1485. _unknownFields.WriteTo(output);
  1486. }
  1487. #endif
  1488. }
  1489. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1490. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1491. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1492. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1493. if (X != 0) {
  1494. output.WriteRawTag(8);
  1495. output.WriteInt32(X);
  1496. }
  1497. if (Y != 0) {
  1498. output.WriteRawTag(16);
  1499. output.WriteInt32(Y);
  1500. }
  1501. if (Speed != 0) {
  1502. output.WriteRawTag(24);
  1503. output.WriteInt32(Speed);
  1504. }
  1505. timeUntilSkillAvailable_.WriteTo(ref output, _repeated_timeUntilSkillAvailable_codec);
  1506. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  1507. output.WriteRawTag(48);
  1508. output.WriteEnum((int) Place);
  1509. }
  1510. prop_.WriteTo(ref output, _repeated_prop_codec);
  1511. if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
  1512. output.WriteRawTag(64);
  1513. output.WriteEnum((int) TrickerType);
  1514. }
  1515. if (Guid != 0L) {
  1516. output.WriteRawTag(72);
  1517. output.WriteInt64(Guid);
  1518. }
  1519. if (Score != 0) {
  1520. output.WriteRawTag(80);
  1521. output.WriteInt32(Score);
  1522. }
  1523. if (PlayerId != 0L) {
  1524. output.WriteRawTag(88);
  1525. output.WriteInt64(PlayerId);
  1526. }
  1527. if (ViewRange != 0) {
  1528. output.WriteRawTag(96);
  1529. output.WriteInt32(ViewRange);
  1530. }
  1531. if (Radius != 0) {
  1532. output.WriteRawTag(104);
  1533. output.WriteInt32(Radius);
  1534. }
  1535. if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
  1536. output.WriteRawTag(112);
  1537. output.WriteEnum((int) PlayerState);
  1538. }
  1539. if (TrickDesire != 0D) {
  1540. output.WriteRawTag(121);
  1541. output.WriteDouble(TrickDesire);
  1542. }
  1543. if (ClassVolume != 0D) {
  1544. output.WriteRawTag(129, 1);
  1545. output.WriteDouble(ClassVolume);
  1546. }
  1547. if (FacingDirection != 0D) {
  1548. output.WriteRawTag(137, 1);
  1549. output.WriteDouble(FacingDirection);
  1550. }
  1551. if (BulletType != global::Protobuf.BulletType.NullBulletType) {
  1552. output.WriteRawTag(144, 1);
  1553. output.WriteEnum((int) BulletType);
  1554. }
  1555. buff_.WriteTo(ref output, _repeated_buff_codec);
  1556. if (_unknownFields != null) {
  1557. _unknownFields.WriteTo(ref output);
  1558. }
  1559. }
  1560. #endif
  1561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1562. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1563. public int CalculateSize() {
  1564. int size = 0;
  1565. if (X != 0) {
  1566. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  1567. }
  1568. if (Y != 0) {
  1569. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  1570. }
  1571. if (Speed != 0) {
  1572. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
  1573. }
  1574. size += timeUntilSkillAvailable_.CalculateSize(_repeated_timeUntilSkillAvailable_codec);
  1575. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  1576. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
  1577. }
  1578. size += prop_.CalculateSize(_repeated_prop_codec);
  1579. if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
  1580. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TrickerType);
  1581. }
  1582. if (Guid != 0L) {
  1583. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
  1584. }
  1585. if (Score != 0) {
  1586. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score);
  1587. }
  1588. if (PlayerId != 0L) {
  1589. size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId);
  1590. }
  1591. if (ViewRange != 0) {
  1592. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ViewRange);
  1593. }
  1594. if (Radius != 0) {
  1595. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Radius);
  1596. }
  1597. if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
  1598. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerState);
  1599. }
  1600. if (TrickDesire != 0D) {
  1601. size += 1 + 8;
  1602. }
  1603. if (ClassVolume != 0D) {
  1604. size += 2 + 8;
  1605. }
  1606. if (FacingDirection != 0D) {
  1607. size += 2 + 8;
  1608. }
  1609. if (BulletType != global::Protobuf.BulletType.NullBulletType) {
  1610. size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BulletType);
  1611. }
  1612. size += buff_.CalculateSize(_repeated_buff_codec);
  1613. if (_unknownFields != null) {
  1614. size += _unknownFields.CalculateSize();
  1615. }
  1616. return size;
  1617. }
  1618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1619. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1620. public void MergeFrom(MessageOfTricker other) {
  1621. if (other == null) {
  1622. return;
  1623. }
  1624. if (other.X != 0) {
  1625. X = other.X;
  1626. }
  1627. if (other.Y != 0) {
  1628. Y = other.Y;
  1629. }
  1630. if (other.Speed != 0) {
  1631. Speed = other.Speed;
  1632. }
  1633. timeUntilSkillAvailable_.Add(other.timeUntilSkillAvailable_);
  1634. if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
  1635. Place = other.Place;
  1636. }
  1637. prop_.Add(other.prop_);
  1638. if (other.TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
  1639. TrickerType = other.TrickerType;
  1640. }
  1641. if (other.Guid != 0L) {
  1642. Guid = other.Guid;
  1643. }
  1644. if (other.Score != 0) {
  1645. Score = other.Score;
  1646. }
  1647. if (other.PlayerId != 0L) {
  1648. PlayerId = other.PlayerId;
  1649. }
  1650. if (other.ViewRange != 0) {
  1651. ViewRange = other.ViewRange;
  1652. }
  1653. if (other.Radius != 0) {
  1654. Radius = other.Radius;
  1655. }
  1656. if (other.PlayerState != global::Protobuf.PlayerState.NullStatus) {
  1657. PlayerState = other.PlayerState;
  1658. }
  1659. if (other.TrickDesire != 0D) {
  1660. TrickDesire = other.TrickDesire;
  1661. }
  1662. if (other.ClassVolume != 0D) {
  1663. ClassVolume = other.ClassVolume;
  1664. }
  1665. if (other.FacingDirection != 0D) {
  1666. FacingDirection = other.FacingDirection;
  1667. }
  1668. if (other.BulletType != global::Protobuf.BulletType.NullBulletType) {
  1669. BulletType = other.BulletType;
  1670. }
  1671. buff_.Add(other.buff_);
  1672. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1673. }
  1674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1675. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1676. public void MergeFrom(pb::CodedInputStream input) {
  1677. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1678. input.ReadRawMessage(this);
  1679. #else
  1680. uint tag;
  1681. while ((tag = input.ReadTag()) != 0) {
  1682. switch(tag) {
  1683. default:
  1684. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1685. break;
  1686. case 8: {
  1687. X = input.ReadInt32();
  1688. break;
  1689. }
  1690. case 16: {
  1691. Y = input.ReadInt32();
  1692. break;
  1693. }
  1694. case 24: {
  1695. Speed = input.ReadInt32();
  1696. break;
  1697. }
  1698. case 42:
  1699. case 41: {
  1700. timeUntilSkillAvailable_.AddEntriesFrom(input, _repeated_timeUntilSkillAvailable_codec);
  1701. break;
  1702. }
  1703. case 48: {
  1704. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  1705. break;
  1706. }
  1707. case 58:
  1708. case 56: {
  1709. prop_.AddEntriesFrom(input, _repeated_prop_codec);
  1710. break;
  1711. }
  1712. case 64: {
  1713. TrickerType = (global::Protobuf.TrickerType) input.ReadEnum();
  1714. break;
  1715. }
  1716. case 72: {
  1717. Guid = input.ReadInt64();
  1718. break;
  1719. }
  1720. case 80: {
  1721. Score = input.ReadInt32();
  1722. break;
  1723. }
  1724. case 88: {
  1725. PlayerId = input.ReadInt64();
  1726. break;
  1727. }
  1728. case 96: {
  1729. ViewRange = input.ReadInt32();
  1730. break;
  1731. }
  1732. case 104: {
  1733. Radius = input.ReadInt32();
  1734. break;
  1735. }
  1736. case 112: {
  1737. PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
  1738. break;
  1739. }
  1740. case 121: {
  1741. TrickDesire = input.ReadDouble();
  1742. break;
  1743. }
  1744. case 129: {
  1745. ClassVolume = input.ReadDouble();
  1746. break;
  1747. }
  1748. case 137: {
  1749. FacingDirection = input.ReadDouble();
  1750. break;
  1751. }
  1752. case 144: {
  1753. BulletType = (global::Protobuf.BulletType) input.ReadEnum();
  1754. break;
  1755. }
  1756. case 154:
  1757. case 152: {
  1758. buff_.AddEntriesFrom(input, _repeated_buff_codec);
  1759. break;
  1760. }
  1761. }
  1762. }
  1763. #endif
  1764. }
  1765. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1766. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1767. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1768. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1769. uint tag;
  1770. while ((tag = input.ReadTag()) != 0) {
  1771. switch(tag) {
  1772. default:
  1773. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1774. break;
  1775. case 8: {
  1776. X = input.ReadInt32();
  1777. break;
  1778. }
  1779. case 16: {
  1780. Y = input.ReadInt32();
  1781. break;
  1782. }
  1783. case 24: {
  1784. Speed = input.ReadInt32();
  1785. break;
  1786. }
  1787. case 42:
  1788. case 41: {
  1789. timeUntilSkillAvailable_.AddEntriesFrom(ref input, _repeated_timeUntilSkillAvailable_codec);
  1790. break;
  1791. }
  1792. case 48: {
  1793. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  1794. break;
  1795. }
  1796. case 58:
  1797. case 56: {
  1798. prop_.AddEntriesFrom(ref input, _repeated_prop_codec);
  1799. break;
  1800. }
  1801. case 64: {
  1802. TrickerType = (global::Protobuf.TrickerType) input.ReadEnum();
  1803. break;
  1804. }
  1805. case 72: {
  1806. Guid = input.ReadInt64();
  1807. break;
  1808. }
  1809. case 80: {
  1810. Score = input.ReadInt32();
  1811. break;
  1812. }
  1813. case 88: {
  1814. PlayerId = input.ReadInt64();
  1815. break;
  1816. }
  1817. case 96: {
  1818. ViewRange = input.ReadInt32();
  1819. break;
  1820. }
  1821. case 104: {
  1822. Radius = input.ReadInt32();
  1823. break;
  1824. }
  1825. case 112: {
  1826. PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
  1827. break;
  1828. }
  1829. case 121: {
  1830. TrickDesire = input.ReadDouble();
  1831. break;
  1832. }
  1833. case 129: {
  1834. ClassVolume = input.ReadDouble();
  1835. break;
  1836. }
  1837. case 137: {
  1838. FacingDirection = input.ReadDouble();
  1839. break;
  1840. }
  1841. case 144: {
  1842. BulletType = (global::Protobuf.BulletType) input.ReadEnum();
  1843. break;
  1844. }
  1845. case 154:
  1846. case 152: {
  1847. buff_.AddEntriesFrom(ref input, _repeated_buff_codec);
  1848. break;
  1849. }
  1850. }
  1851. }
  1852. }
  1853. #endif
  1854. }
  1855. public sealed partial class MessageOfBullet : pb::IMessage<MessageOfBullet>
  1856. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1857. , pb::IBufferMessage
  1858. #endif
  1859. {
  1860. private static readonly pb::MessageParser<MessageOfBullet> _parser = new pb::MessageParser<MessageOfBullet>(() => new MessageOfBullet());
  1861. private pb::UnknownFieldSet _unknownFields;
  1862. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1863. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1864. public static pb::MessageParser<MessageOfBullet> Parser { get { return _parser; } }
  1865. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1866. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1867. public static pbr::MessageDescriptor Descriptor {
  1868. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[2]; }
  1869. }
  1870. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1871. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1872. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1873. get { return Descriptor; }
  1874. }
  1875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1876. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1877. public MessageOfBullet() {
  1878. OnConstruction();
  1879. }
  1880. partial void OnConstruction();
  1881. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1882. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1883. public MessageOfBullet(MessageOfBullet other) : this() {
  1884. type_ = other.type_;
  1885. x_ = other.x_;
  1886. y_ = other.y_;
  1887. facingDirection_ = other.facingDirection_;
  1888. guid_ = other.guid_;
  1889. team_ = other.team_;
  1890. place_ = other.place_;
  1891. bombRange_ = other.bombRange_;
  1892. speed_ = other.speed_;
  1893. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1894. }
  1895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1896. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1897. public MessageOfBullet Clone() {
  1898. return new MessageOfBullet(this);
  1899. }
  1900. /// <summary>Field number for the "type" field.</summary>
  1901. public const int TypeFieldNumber = 1;
  1902. private global::Protobuf.BulletType type_ = global::Protobuf.BulletType.NullBulletType;
  1903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1904. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1905. public global::Protobuf.BulletType Type {
  1906. get { return type_; }
  1907. set {
  1908. type_ = value;
  1909. }
  1910. }
  1911. /// <summary>Field number for the "x" field.</summary>
  1912. public const int XFieldNumber = 2;
  1913. private int x_;
  1914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1915. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1916. public int X {
  1917. get { return x_; }
  1918. set {
  1919. x_ = value;
  1920. }
  1921. }
  1922. /// <summary>Field number for the "y" field.</summary>
  1923. public const int YFieldNumber = 3;
  1924. private int y_;
  1925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1926. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1927. public int Y {
  1928. get { return y_; }
  1929. set {
  1930. y_ = value;
  1931. }
  1932. }
  1933. /// <summary>Field number for the "facing_direction" field.</summary>
  1934. public const int FacingDirectionFieldNumber = 4;
  1935. private double facingDirection_;
  1936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1937. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1938. public double FacingDirection {
  1939. get { return facingDirection_; }
  1940. set {
  1941. facingDirection_ = value;
  1942. }
  1943. }
  1944. /// <summary>Field number for the "guid" field.</summary>
  1945. public const int GuidFieldNumber = 5;
  1946. private long guid_;
  1947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1948. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1949. public long Guid {
  1950. get { return guid_; }
  1951. set {
  1952. guid_ = value;
  1953. }
  1954. }
  1955. /// <summary>Field number for the "team" field.</summary>
  1956. public const int TeamFieldNumber = 6;
  1957. private global::Protobuf.PlayerType team_ = global::Protobuf.PlayerType.NullPlayerType;
  1958. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1959. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1960. public global::Protobuf.PlayerType Team {
  1961. get { return team_; }
  1962. set {
  1963. team_ = value;
  1964. }
  1965. }
  1966. /// <summary>Field number for the "place" field.</summary>
  1967. public const int PlaceFieldNumber = 7;
  1968. private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
  1969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1970. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1971. public global::Protobuf.PlaceType Place {
  1972. get { return place_; }
  1973. set {
  1974. place_ = value;
  1975. }
  1976. }
  1977. /// <summary>Field number for the "bomb_range" field.</summary>
  1978. public const int BombRangeFieldNumber = 8;
  1979. private double bombRange_;
  1980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1981. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1982. public double BombRange {
  1983. get { return bombRange_; }
  1984. set {
  1985. bombRange_ = value;
  1986. }
  1987. }
  1988. /// <summary>Field number for the "speed" field.</summary>
  1989. public const int SpeedFieldNumber = 9;
  1990. private int speed_;
  1991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1992. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1993. public int Speed {
  1994. get { return speed_; }
  1995. set {
  1996. speed_ = value;
  1997. }
  1998. }
  1999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2000. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2001. public override bool Equals(object other) {
  2002. return Equals(other as MessageOfBullet);
  2003. }
  2004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2005. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2006. public bool Equals(MessageOfBullet other) {
  2007. if (ReferenceEquals(other, null)) {
  2008. return false;
  2009. }
  2010. if (ReferenceEquals(other, this)) {
  2011. return true;
  2012. }
  2013. if (Type != other.Type) return false;
  2014. if (X != other.X) return false;
  2015. if (Y != other.Y) return false;
  2016. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
  2017. if (Guid != other.Guid) return false;
  2018. if (Team != other.Team) return false;
  2019. if (Place != other.Place) return false;
  2020. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BombRange, other.BombRange)) return false;
  2021. if (Speed != other.Speed) return false;
  2022. return Equals(_unknownFields, other._unknownFields);
  2023. }
  2024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2025. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2026. public override int GetHashCode() {
  2027. int hash = 1;
  2028. if (Type != global::Protobuf.BulletType.NullBulletType) hash ^= Type.GetHashCode();
  2029. if (X != 0) hash ^= X.GetHashCode();
  2030. if (Y != 0) hash ^= Y.GetHashCode();
  2031. if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
  2032. if (Guid != 0L) hash ^= Guid.GetHashCode();
  2033. if (Team != global::Protobuf.PlayerType.NullPlayerType) hash ^= Team.GetHashCode();
  2034. if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
  2035. if (BombRange != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BombRange);
  2036. if (Speed != 0) hash ^= Speed.GetHashCode();
  2037. if (_unknownFields != null) {
  2038. hash ^= _unknownFields.GetHashCode();
  2039. }
  2040. return hash;
  2041. }
  2042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2043. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2044. public override string ToString() {
  2045. return pb::JsonFormatter.ToDiagnosticString(this);
  2046. }
  2047. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2048. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2049. public void WriteTo(pb::CodedOutputStream output) {
  2050. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2051. output.WriteRawMessage(this);
  2052. #else
  2053. if (Type != global::Protobuf.BulletType.NullBulletType) {
  2054. output.WriteRawTag(8);
  2055. output.WriteEnum((int) Type);
  2056. }
  2057. if (X != 0) {
  2058. output.WriteRawTag(16);
  2059. output.WriteInt32(X);
  2060. }
  2061. if (Y != 0) {
  2062. output.WriteRawTag(24);
  2063. output.WriteInt32(Y);
  2064. }
  2065. if (FacingDirection != 0D) {
  2066. output.WriteRawTag(33);
  2067. output.WriteDouble(FacingDirection);
  2068. }
  2069. if (Guid != 0L) {
  2070. output.WriteRawTag(40);
  2071. output.WriteInt64(Guid);
  2072. }
  2073. if (Team != global::Protobuf.PlayerType.NullPlayerType) {
  2074. output.WriteRawTag(48);
  2075. output.WriteEnum((int) Team);
  2076. }
  2077. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  2078. output.WriteRawTag(56);
  2079. output.WriteEnum((int) Place);
  2080. }
  2081. if (BombRange != 0D) {
  2082. output.WriteRawTag(65);
  2083. output.WriteDouble(BombRange);
  2084. }
  2085. if (Speed != 0) {
  2086. output.WriteRawTag(72);
  2087. output.WriteInt32(Speed);
  2088. }
  2089. if (_unknownFields != null) {
  2090. _unknownFields.WriteTo(output);
  2091. }
  2092. #endif
  2093. }
  2094. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2095. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2096. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2097. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2098. if (Type != global::Protobuf.BulletType.NullBulletType) {
  2099. output.WriteRawTag(8);
  2100. output.WriteEnum((int) Type);
  2101. }
  2102. if (X != 0) {
  2103. output.WriteRawTag(16);
  2104. output.WriteInt32(X);
  2105. }
  2106. if (Y != 0) {
  2107. output.WriteRawTag(24);
  2108. output.WriteInt32(Y);
  2109. }
  2110. if (FacingDirection != 0D) {
  2111. output.WriteRawTag(33);
  2112. output.WriteDouble(FacingDirection);
  2113. }
  2114. if (Guid != 0L) {
  2115. output.WriteRawTag(40);
  2116. output.WriteInt64(Guid);
  2117. }
  2118. if (Team != global::Protobuf.PlayerType.NullPlayerType) {
  2119. output.WriteRawTag(48);
  2120. output.WriteEnum((int) Team);
  2121. }
  2122. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  2123. output.WriteRawTag(56);
  2124. output.WriteEnum((int) Place);
  2125. }
  2126. if (BombRange != 0D) {
  2127. output.WriteRawTag(65);
  2128. output.WriteDouble(BombRange);
  2129. }
  2130. if (Speed != 0) {
  2131. output.WriteRawTag(72);
  2132. output.WriteInt32(Speed);
  2133. }
  2134. if (_unknownFields != null) {
  2135. _unknownFields.WriteTo(ref output);
  2136. }
  2137. }
  2138. #endif
  2139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2140. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2141. public int CalculateSize() {
  2142. int size = 0;
  2143. if (Type != global::Protobuf.BulletType.NullBulletType) {
  2144. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
  2145. }
  2146. if (X != 0) {
  2147. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  2148. }
  2149. if (Y != 0) {
  2150. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  2151. }
  2152. if (FacingDirection != 0D) {
  2153. size += 1 + 8;
  2154. }
  2155. if (Guid != 0L) {
  2156. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
  2157. }
  2158. if (Team != global::Protobuf.PlayerType.NullPlayerType) {
  2159. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Team);
  2160. }
  2161. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  2162. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
  2163. }
  2164. if (BombRange != 0D) {
  2165. size += 1 + 8;
  2166. }
  2167. if (Speed != 0) {
  2168. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
  2169. }
  2170. if (_unknownFields != null) {
  2171. size += _unknownFields.CalculateSize();
  2172. }
  2173. return size;
  2174. }
  2175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2176. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2177. public void MergeFrom(MessageOfBullet other) {
  2178. if (other == null) {
  2179. return;
  2180. }
  2181. if (other.Type != global::Protobuf.BulletType.NullBulletType) {
  2182. Type = other.Type;
  2183. }
  2184. if (other.X != 0) {
  2185. X = other.X;
  2186. }
  2187. if (other.Y != 0) {
  2188. Y = other.Y;
  2189. }
  2190. if (other.FacingDirection != 0D) {
  2191. FacingDirection = other.FacingDirection;
  2192. }
  2193. if (other.Guid != 0L) {
  2194. Guid = other.Guid;
  2195. }
  2196. if (other.Team != global::Protobuf.PlayerType.NullPlayerType) {
  2197. Team = other.Team;
  2198. }
  2199. if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
  2200. Place = other.Place;
  2201. }
  2202. if (other.BombRange != 0D) {
  2203. BombRange = other.BombRange;
  2204. }
  2205. if (other.Speed != 0) {
  2206. Speed = other.Speed;
  2207. }
  2208. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2209. }
  2210. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2211. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2212. public void MergeFrom(pb::CodedInputStream input) {
  2213. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2214. input.ReadRawMessage(this);
  2215. #else
  2216. uint tag;
  2217. while ((tag = input.ReadTag()) != 0) {
  2218. switch(tag) {
  2219. default:
  2220. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2221. break;
  2222. case 8: {
  2223. Type = (global::Protobuf.BulletType) input.ReadEnum();
  2224. break;
  2225. }
  2226. case 16: {
  2227. X = input.ReadInt32();
  2228. break;
  2229. }
  2230. case 24: {
  2231. Y = input.ReadInt32();
  2232. break;
  2233. }
  2234. case 33: {
  2235. FacingDirection = input.ReadDouble();
  2236. break;
  2237. }
  2238. case 40: {
  2239. Guid = input.ReadInt64();
  2240. break;
  2241. }
  2242. case 48: {
  2243. Team = (global::Protobuf.PlayerType) input.ReadEnum();
  2244. break;
  2245. }
  2246. case 56: {
  2247. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  2248. break;
  2249. }
  2250. case 65: {
  2251. BombRange = input.ReadDouble();
  2252. break;
  2253. }
  2254. case 72: {
  2255. Speed = input.ReadInt32();
  2256. break;
  2257. }
  2258. }
  2259. }
  2260. #endif
  2261. }
  2262. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2264. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2265. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2266. uint tag;
  2267. while ((tag = input.ReadTag()) != 0) {
  2268. switch(tag) {
  2269. default:
  2270. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2271. break;
  2272. case 8: {
  2273. Type = (global::Protobuf.BulletType) input.ReadEnum();
  2274. break;
  2275. }
  2276. case 16: {
  2277. X = input.ReadInt32();
  2278. break;
  2279. }
  2280. case 24: {
  2281. Y = input.ReadInt32();
  2282. break;
  2283. }
  2284. case 33: {
  2285. FacingDirection = input.ReadDouble();
  2286. break;
  2287. }
  2288. case 40: {
  2289. Guid = input.ReadInt64();
  2290. break;
  2291. }
  2292. case 48: {
  2293. Team = (global::Protobuf.PlayerType) input.ReadEnum();
  2294. break;
  2295. }
  2296. case 56: {
  2297. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  2298. break;
  2299. }
  2300. case 65: {
  2301. BombRange = input.ReadDouble();
  2302. break;
  2303. }
  2304. case 72: {
  2305. Speed = input.ReadInt32();
  2306. break;
  2307. }
  2308. }
  2309. }
  2310. }
  2311. #endif
  2312. }
  2313. public sealed partial class MessageOfBombedBullet : pb::IMessage<MessageOfBombedBullet>
  2314. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2315. , pb::IBufferMessage
  2316. #endif
  2317. {
  2318. private static readonly pb::MessageParser<MessageOfBombedBullet> _parser = new pb::MessageParser<MessageOfBombedBullet>(() => new MessageOfBombedBullet());
  2319. private pb::UnknownFieldSet _unknownFields;
  2320. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2321. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2322. public static pb::MessageParser<MessageOfBombedBullet> Parser { get { return _parser; } }
  2323. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2324. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2325. public static pbr::MessageDescriptor Descriptor {
  2326. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[3]; }
  2327. }
  2328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2329. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2330. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2331. get { return Descriptor; }
  2332. }
  2333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2334. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2335. public MessageOfBombedBullet() {
  2336. OnConstruction();
  2337. }
  2338. partial void OnConstruction();
  2339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2340. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2341. public MessageOfBombedBullet(MessageOfBombedBullet other) : this() {
  2342. type_ = other.type_;
  2343. x_ = other.x_;
  2344. y_ = other.y_;
  2345. facingDirection_ = other.facingDirection_;
  2346. mappingId_ = other.mappingId_;
  2347. bombRange_ = other.bombRange_;
  2348. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2349. }
  2350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2351. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2352. public MessageOfBombedBullet Clone() {
  2353. return new MessageOfBombedBullet(this);
  2354. }
  2355. /// <summary>Field number for the "type" field.</summary>
  2356. public const int TypeFieldNumber = 1;
  2357. private global::Protobuf.BulletType type_ = global::Protobuf.BulletType.NullBulletType;
  2358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2359. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2360. public global::Protobuf.BulletType Type {
  2361. get { return type_; }
  2362. set {
  2363. type_ = value;
  2364. }
  2365. }
  2366. /// <summary>Field number for the "x" field.</summary>
  2367. public const int XFieldNumber = 2;
  2368. private int x_;
  2369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2370. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2371. public int X {
  2372. get { return x_; }
  2373. set {
  2374. x_ = value;
  2375. }
  2376. }
  2377. /// <summary>Field number for the "y" field.</summary>
  2378. public const int YFieldNumber = 3;
  2379. private int y_;
  2380. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2381. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2382. public int Y {
  2383. get { return y_; }
  2384. set {
  2385. y_ = value;
  2386. }
  2387. }
  2388. /// <summary>Field number for the "facing_direction" field.</summary>
  2389. public const int FacingDirectionFieldNumber = 4;
  2390. private double facingDirection_;
  2391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2392. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2393. public double FacingDirection {
  2394. get { return facingDirection_; }
  2395. set {
  2396. facingDirection_ = value;
  2397. }
  2398. }
  2399. /// <summary>Field number for the "mapping_id" field.</summary>
  2400. public const int MappingIdFieldNumber = 5;
  2401. private long mappingId_;
  2402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2403. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2404. public long MappingId {
  2405. get { return mappingId_; }
  2406. set {
  2407. mappingId_ = value;
  2408. }
  2409. }
  2410. /// <summary>Field number for the "bomb_range" field.</summary>
  2411. public const int BombRangeFieldNumber = 6;
  2412. private double bombRange_;
  2413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2414. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2415. public double BombRange {
  2416. get { return bombRange_; }
  2417. set {
  2418. bombRange_ = value;
  2419. }
  2420. }
  2421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2422. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2423. public override bool Equals(object other) {
  2424. return Equals(other as MessageOfBombedBullet);
  2425. }
  2426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2427. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2428. public bool Equals(MessageOfBombedBullet other) {
  2429. if (ReferenceEquals(other, null)) {
  2430. return false;
  2431. }
  2432. if (ReferenceEquals(other, this)) {
  2433. return true;
  2434. }
  2435. if (Type != other.Type) return false;
  2436. if (X != other.X) return false;
  2437. if (Y != other.Y) return false;
  2438. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
  2439. if (MappingId != other.MappingId) return false;
  2440. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BombRange, other.BombRange)) return false;
  2441. return Equals(_unknownFields, other._unknownFields);
  2442. }
  2443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2444. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2445. public override int GetHashCode() {
  2446. int hash = 1;
  2447. if (Type != global::Protobuf.BulletType.NullBulletType) hash ^= Type.GetHashCode();
  2448. if (X != 0) hash ^= X.GetHashCode();
  2449. if (Y != 0) hash ^= Y.GetHashCode();
  2450. if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
  2451. if (MappingId != 0L) hash ^= MappingId.GetHashCode();
  2452. if (BombRange != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BombRange);
  2453. if (_unknownFields != null) {
  2454. hash ^= _unknownFields.GetHashCode();
  2455. }
  2456. return hash;
  2457. }
  2458. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2459. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2460. public override string ToString() {
  2461. return pb::JsonFormatter.ToDiagnosticString(this);
  2462. }
  2463. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2464. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2465. public void WriteTo(pb::CodedOutputStream output) {
  2466. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2467. output.WriteRawMessage(this);
  2468. #else
  2469. if (Type != global::Protobuf.BulletType.NullBulletType) {
  2470. output.WriteRawTag(8);
  2471. output.WriteEnum((int) Type);
  2472. }
  2473. if (X != 0) {
  2474. output.WriteRawTag(16);
  2475. output.WriteInt32(X);
  2476. }
  2477. if (Y != 0) {
  2478. output.WriteRawTag(24);
  2479. output.WriteInt32(Y);
  2480. }
  2481. if (FacingDirection != 0D) {
  2482. output.WriteRawTag(33);
  2483. output.WriteDouble(FacingDirection);
  2484. }
  2485. if (MappingId != 0L) {
  2486. output.WriteRawTag(40);
  2487. output.WriteInt64(MappingId);
  2488. }
  2489. if (BombRange != 0D) {
  2490. output.WriteRawTag(49);
  2491. output.WriteDouble(BombRange);
  2492. }
  2493. if (_unknownFields != null) {
  2494. _unknownFields.WriteTo(output);
  2495. }
  2496. #endif
  2497. }
  2498. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2500. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2501. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2502. if (Type != global::Protobuf.BulletType.NullBulletType) {
  2503. output.WriteRawTag(8);
  2504. output.WriteEnum((int) Type);
  2505. }
  2506. if (X != 0) {
  2507. output.WriteRawTag(16);
  2508. output.WriteInt32(X);
  2509. }
  2510. if (Y != 0) {
  2511. output.WriteRawTag(24);
  2512. output.WriteInt32(Y);
  2513. }
  2514. if (FacingDirection != 0D) {
  2515. output.WriteRawTag(33);
  2516. output.WriteDouble(FacingDirection);
  2517. }
  2518. if (MappingId != 0L) {
  2519. output.WriteRawTag(40);
  2520. output.WriteInt64(MappingId);
  2521. }
  2522. if (BombRange != 0D) {
  2523. output.WriteRawTag(49);
  2524. output.WriteDouble(BombRange);
  2525. }
  2526. if (_unknownFields != null) {
  2527. _unknownFields.WriteTo(ref output);
  2528. }
  2529. }
  2530. #endif
  2531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2532. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2533. public int CalculateSize() {
  2534. int size = 0;
  2535. if (Type != global::Protobuf.BulletType.NullBulletType) {
  2536. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
  2537. }
  2538. if (X != 0) {
  2539. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  2540. }
  2541. if (Y != 0) {
  2542. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  2543. }
  2544. if (FacingDirection != 0D) {
  2545. size += 1 + 8;
  2546. }
  2547. if (MappingId != 0L) {
  2548. size += 1 + pb::CodedOutputStream.ComputeInt64Size(MappingId);
  2549. }
  2550. if (BombRange != 0D) {
  2551. size += 1 + 8;
  2552. }
  2553. if (_unknownFields != null) {
  2554. size += _unknownFields.CalculateSize();
  2555. }
  2556. return size;
  2557. }
  2558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2559. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2560. public void MergeFrom(MessageOfBombedBullet other) {
  2561. if (other == null) {
  2562. return;
  2563. }
  2564. if (other.Type != global::Protobuf.BulletType.NullBulletType) {
  2565. Type = other.Type;
  2566. }
  2567. if (other.X != 0) {
  2568. X = other.X;
  2569. }
  2570. if (other.Y != 0) {
  2571. Y = other.Y;
  2572. }
  2573. if (other.FacingDirection != 0D) {
  2574. FacingDirection = other.FacingDirection;
  2575. }
  2576. if (other.MappingId != 0L) {
  2577. MappingId = other.MappingId;
  2578. }
  2579. if (other.BombRange != 0D) {
  2580. BombRange = other.BombRange;
  2581. }
  2582. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2583. }
  2584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2585. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2586. public void MergeFrom(pb::CodedInputStream input) {
  2587. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2588. input.ReadRawMessage(this);
  2589. #else
  2590. uint tag;
  2591. while ((tag = input.ReadTag()) != 0) {
  2592. switch(tag) {
  2593. default:
  2594. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2595. break;
  2596. case 8: {
  2597. Type = (global::Protobuf.BulletType) input.ReadEnum();
  2598. break;
  2599. }
  2600. case 16: {
  2601. X = input.ReadInt32();
  2602. break;
  2603. }
  2604. case 24: {
  2605. Y = input.ReadInt32();
  2606. break;
  2607. }
  2608. case 33: {
  2609. FacingDirection = input.ReadDouble();
  2610. break;
  2611. }
  2612. case 40: {
  2613. MappingId = input.ReadInt64();
  2614. break;
  2615. }
  2616. case 49: {
  2617. BombRange = input.ReadDouble();
  2618. break;
  2619. }
  2620. }
  2621. }
  2622. #endif
  2623. }
  2624. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2625. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2626. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2627. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2628. uint tag;
  2629. while ((tag = input.ReadTag()) != 0) {
  2630. switch(tag) {
  2631. default:
  2632. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2633. break;
  2634. case 8: {
  2635. Type = (global::Protobuf.BulletType) input.ReadEnum();
  2636. break;
  2637. }
  2638. case 16: {
  2639. X = input.ReadInt32();
  2640. break;
  2641. }
  2642. case 24: {
  2643. Y = input.ReadInt32();
  2644. break;
  2645. }
  2646. case 33: {
  2647. FacingDirection = input.ReadDouble();
  2648. break;
  2649. }
  2650. case 40: {
  2651. MappingId = input.ReadInt64();
  2652. break;
  2653. }
  2654. case 49: {
  2655. BombRange = input.ReadDouble();
  2656. break;
  2657. }
  2658. }
  2659. }
  2660. }
  2661. #endif
  2662. }
  2663. public sealed partial class MessageOfProp : pb::IMessage<MessageOfProp>
  2664. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2665. , pb::IBufferMessage
  2666. #endif
  2667. {
  2668. private static readonly pb::MessageParser<MessageOfProp> _parser = new pb::MessageParser<MessageOfProp>(() => new MessageOfProp());
  2669. private pb::UnknownFieldSet _unknownFields;
  2670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2671. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2672. public static pb::MessageParser<MessageOfProp> Parser { get { return _parser; } }
  2673. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2674. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2675. public static pbr::MessageDescriptor Descriptor {
  2676. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[4]; }
  2677. }
  2678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2679. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2680. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2681. get { return Descriptor; }
  2682. }
  2683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2684. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2685. public MessageOfProp() {
  2686. OnConstruction();
  2687. }
  2688. partial void OnConstruction();
  2689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2690. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2691. public MessageOfProp(MessageOfProp other) : this() {
  2692. type_ = other.type_;
  2693. x_ = other.x_;
  2694. y_ = other.y_;
  2695. facingDirection_ = other.facingDirection_;
  2696. guid_ = other.guid_;
  2697. place_ = other.place_;
  2698. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2699. }
  2700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2701. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2702. public MessageOfProp Clone() {
  2703. return new MessageOfProp(this);
  2704. }
  2705. /// <summary>Field number for the "type" field.</summary>
  2706. public const int TypeFieldNumber = 1;
  2707. private global::Protobuf.PropType type_ = global::Protobuf.PropType.NullPropType;
  2708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2709. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2710. public global::Protobuf.PropType Type {
  2711. get { return type_; }
  2712. set {
  2713. type_ = value;
  2714. }
  2715. }
  2716. /// <summary>Field number for the "x" field.</summary>
  2717. public const int XFieldNumber = 2;
  2718. private int x_;
  2719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2720. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2721. public int X {
  2722. get { return x_; }
  2723. set {
  2724. x_ = value;
  2725. }
  2726. }
  2727. /// <summary>Field number for the "y" field.</summary>
  2728. public const int YFieldNumber = 3;
  2729. private int y_;
  2730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2731. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2732. public int Y {
  2733. get { return y_; }
  2734. set {
  2735. y_ = value;
  2736. }
  2737. }
  2738. /// <summary>Field number for the "facing_direction" field.</summary>
  2739. public const int FacingDirectionFieldNumber = 4;
  2740. private double facingDirection_;
  2741. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2742. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2743. public double FacingDirection {
  2744. get { return facingDirection_; }
  2745. set {
  2746. facingDirection_ = value;
  2747. }
  2748. }
  2749. /// <summary>Field number for the "guid" field.</summary>
  2750. public const int GuidFieldNumber = 5;
  2751. private long guid_;
  2752. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2753. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2754. public long Guid {
  2755. get { return guid_; }
  2756. set {
  2757. guid_ = value;
  2758. }
  2759. }
  2760. /// <summary>Field number for the "place" field.</summary>
  2761. public const int PlaceFieldNumber = 6;
  2762. private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
  2763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2764. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2765. public global::Protobuf.PlaceType Place {
  2766. get { return place_; }
  2767. set {
  2768. place_ = value;
  2769. }
  2770. }
  2771. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2772. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2773. public override bool Equals(object other) {
  2774. return Equals(other as MessageOfProp);
  2775. }
  2776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2777. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2778. public bool Equals(MessageOfProp other) {
  2779. if (ReferenceEquals(other, null)) {
  2780. return false;
  2781. }
  2782. if (ReferenceEquals(other, this)) {
  2783. return true;
  2784. }
  2785. if (Type != other.Type) return false;
  2786. if (X != other.X) return false;
  2787. if (Y != other.Y) return false;
  2788. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
  2789. if (Guid != other.Guid) return false;
  2790. if (Place != other.Place) return false;
  2791. return Equals(_unknownFields, other._unknownFields);
  2792. }
  2793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2794. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2795. public override int GetHashCode() {
  2796. int hash = 1;
  2797. if (Type != global::Protobuf.PropType.NullPropType) hash ^= Type.GetHashCode();
  2798. if (X != 0) hash ^= X.GetHashCode();
  2799. if (Y != 0) hash ^= Y.GetHashCode();
  2800. if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
  2801. if (Guid != 0L) hash ^= Guid.GetHashCode();
  2802. if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
  2803. if (_unknownFields != null) {
  2804. hash ^= _unknownFields.GetHashCode();
  2805. }
  2806. return hash;
  2807. }
  2808. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2809. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2810. public override string ToString() {
  2811. return pb::JsonFormatter.ToDiagnosticString(this);
  2812. }
  2813. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2814. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2815. public void WriteTo(pb::CodedOutputStream output) {
  2816. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2817. output.WriteRawMessage(this);
  2818. #else
  2819. if (Type != global::Protobuf.PropType.NullPropType) {
  2820. output.WriteRawTag(8);
  2821. output.WriteEnum((int) Type);
  2822. }
  2823. if (X != 0) {
  2824. output.WriteRawTag(16);
  2825. output.WriteInt32(X);
  2826. }
  2827. if (Y != 0) {
  2828. output.WriteRawTag(24);
  2829. output.WriteInt32(Y);
  2830. }
  2831. if (FacingDirection != 0D) {
  2832. output.WriteRawTag(33);
  2833. output.WriteDouble(FacingDirection);
  2834. }
  2835. if (Guid != 0L) {
  2836. output.WriteRawTag(40);
  2837. output.WriteInt64(Guid);
  2838. }
  2839. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  2840. output.WriteRawTag(48);
  2841. output.WriteEnum((int) Place);
  2842. }
  2843. if (_unknownFields != null) {
  2844. _unknownFields.WriteTo(output);
  2845. }
  2846. #endif
  2847. }
  2848. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2849. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2850. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2851. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2852. if (Type != global::Protobuf.PropType.NullPropType) {
  2853. output.WriteRawTag(8);
  2854. output.WriteEnum((int) Type);
  2855. }
  2856. if (X != 0) {
  2857. output.WriteRawTag(16);
  2858. output.WriteInt32(X);
  2859. }
  2860. if (Y != 0) {
  2861. output.WriteRawTag(24);
  2862. output.WriteInt32(Y);
  2863. }
  2864. if (FacingDirection != 0D) {
  2865. output.WriteRawTag(33);
  2866. output.WriteDouble(FacingDirection);
  2867. }
  2868. if (Guid != 0L) {
  2869. output.WriteRawTag(40);
  2870. output.WriteInt64(Guid);
  2871. }
  2872. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  2873. output.WriteRawTag(48);
  2874. output.WriteEnum((int) Place);
  2875. }
  2876. if (_unknownFields != null) {
  2877. _unknownFields.WriteTo(ref output);
  2878. }
  2879. }
  2880. #endif
  2881. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2882. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2883. public int CalculateSize() {
  2884. int size = 0;
  2885. if (Type != global::Protobuf.PropType.NullPropType) {
  2886. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
  2887. }
  2888. if (X != 0) {
  2889. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  2890. }
  2891. if (Y != 0) {
  2892. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  2893. }
  2894. if (FacingDirection != 0D) {
  2895. size += 1 + 8;
  2896. }
  2897. if (Guid != 0L) {
  2898. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
  2899. }
  2900. if (Place != global::Protobuf.PlaceType.NullPlaceType) {
  2901. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
  2902. }
  2903. if (_unknownFields != null) {
  2904. size += _unknownFields.CalculateSize();
  2905. }
  2906. return size;
  2907. }
  2908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2909. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2910. public void MergeFrom(MessageOfProp other) {
  2911. if (other == null) {
  2912. return;
  2913. }
  2914. if (other.Type != global::Protobuf.PropType.NullPropType) {
  2915. Type = other.Type;
  2916. }
  2917. if (other.X != 0) {
  2918. X = other.X;
  2919. }
  2920. if (other.Y != 0) {
  2921. Y = other.Y;
  2922. }
  2923. if (other.FacingDirection != 0D) {
  2924. FacingDirection = other.FacingDirection;
  2925. }
  2926. if (other.Guid != 0L) {
  2927. Guid = other.Guid;
  2928. }
  2929. if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
  2930. Place = other.Place;
  2931. }
  2932. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2933. }
  2934. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2935. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2936. public void MergeFrom(pb::CodedInputStream input) {
  2937. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2938. input.ReadRawMessage(this);
  2939. #else
  2940. uint tag;
  2941. while ((tag = input.ReadTag()) != 0) {
  2942. switch(tag) {
  2943. default:
  2944. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2945. break;
  2946. case 8: {
  2947. Type = (global::Protobuf.PropType) input.ReadEnum();
  2948. break;
  2949. }
  2950. case 16: {
  2951. X = input.ReadInt32();
  2952. break;
  2953. }
  2954. case 24: {
  2955. Y = input.ReadInt32();
  2956. break;
  2957. }
  2958. case 33: {
  2959. FacingDirection = input.ReadDouble();
  2960. break;
  2961. }
  2962. case 40: {
  2963. Guid = input.ReadInt64();
  2964. break;
  2965. }
  2966. case 48: {
  2967. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  2968. break;
  2969. }
  2970. }
  2971. }
  2972. #endif
  2973. }
  2974. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2976. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2977. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2978. uint tag;
  2979. while ((tag = input.ReadTag()) != 0) {
  2980. switch(tag) {
  2981. default:
  2982. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2983. break;
  2984. case 8: {
  2985. Type = (global::Protobuf.PropType) input.ReadEnum();
  2986. break;
  2987. }
  2988. case 16: {
  2989. X = input.ReadInt32();
  2990. break;
  2991. }
  2992. case 24: {
  2993. Y = input.ReadInt32();
  2994. break;
  2995. }
  2996. case 33: {
  2997. FacingDirection = input.ReadDouble();
  2998. break;
  2999. }
  3000. case 40: {
  3001. Guid = input.ReadInt64();
  3002. break;
  3003. }
  3004. case 48: {
  3005. Place = (global::Protobuf.PlaceType) input.ReadEnum();
  3006. break;
  3007. }
  3008. }
  3009. }
  3010. }
  3011. #endif
  3012. }
  3013. public sealed partial class MessageOfPickedProp : pb::IMessage<MessageOfPickedProp>
  3014. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3015. , pb::IBufferMessage
  3016. #endif
  3017. {
  3018. private static readonly pb::MessageParser<MessageOfPickedProp> _parser = new pb::MessageParser<MessageOfPickedProp>(() => new MessageOfPickedProp());
  3019. private pb::UnknownFieldSet _unknownFields;
  3020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3021. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3022. public static pb::MessageParser<MessageOfPickedProp> Parser { get { return _parser; } }
  3023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3024. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3025. public static pbr::MessageDescriptor Descriptor {
  3026. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[5]; }
  3027. }
  3028. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3029. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3030. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3031. get { return Descriptor; }
  3032. }
  3033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3034. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3035. public MessageOfPickedProp() {
  3036. OnConstruction();
  3037. }
  3038. partial void OnConstruction();
  3039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3040. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3041. public MessageOfPickedProp(MessageOfPickedProp other) : this() {
  3042. type_ = other.type_;
  3043. x_ = other.x_;
  3044. y_ = other.y_;
  3045. facingDirection_ = other.facingDirection_;
  3046. mappingId_ = other.mappingId_;
  3047. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3048. }
  3049. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3050. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3051. public MessageOfPickedProp Clone() {
  3052. return new MessageOfPickedProp(this);
  3053. }
  3054. /// <summary>Field number for the "type" field.</summary>
  3055. public const int TypeFieldNumber = 1;
  3056. private global::Protobuf.PropType type_ = global::Protobuf.PropType.NullPropType;
  3057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3058. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3059. public global::Protobuf.PropType Type {
  3060. get { return type_; }
  3061. set {
  3062. type_ = value;
  3063. }
  3064. }
  3065. /// <summary>Field number for the "x" field.</summary>
  3066. public const int XFieldNumber = 2;
  3067. private int x_;
  3068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3069. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3070. public int X {
  3071. get { return x_; }
  3072. set {
  3073. x_ = value;
  3074. }
  3075. }
  3076. /// <summary>Field number for the "y" field.</summary>
  3077. public const int YFieldNumber = 3;
  3078. private int y_;
  3079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3080. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3081. public int Y {
  3082. get { return y_; }
  3083. set {
  3084. y_ = value;
  3085. }
  3086. }
  3087. /// <summary>Field number for the "facing_direction" field.</summary>
  3088. public const int FacingDirectionFieldNumber = 4;
  3089. private double facingDirection_;
  3090. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3091. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3092. public double FacingDirection {
  3093. get { return facingDirection_; }
  3094. set {
  3095. facingDirection_ = value;
  3096. }
  3097. }
  3098. /// <summary>Field number for the "mapping_id" field.</summary>
  3099. public const int MappingIdFieldNumber = 5;
  3100. private long mappingId_;
  3101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3102. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3103. public long MappingId {
  3104. get { return mappingId_; }
  3105. set {
  3106. mappingId_ = value;
  3107. }
  3108. }
  3109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3110. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3111. public override bool Equals(object other) {
  3112. return Equals(other as MessageOfPickedProp);
  3113. }
  3114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3115. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3116. public bool Equals(MessageOfPickedProp other) {
  3117. if (ReferenceEquals(other, null)) {
  3118. return false;
  3119. }
  3120. if (ReferenceEquals(other, this)) {
  3121. return true;
  3122. }
  3123. if (Type != other.Type) return false;
  3124. if (X != other.X) return false;
  3125. if (Y != other.Y) return false;
  3126. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
  3127. if (MappingId != other.MappingId) return false;
  3128. return Equals(_unknownFields, other._unknownFields);
  3129. }
  3130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3131. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3132. public override int GetHashCode() {
  3133. int hash = 1;
  3134. if (Type != global::Protobuf.PropType.NullPropType) hash ^= Type.GetHashCode();
  3135. if (X != 0) hash ^= X.GetHashCode();
  3136. if (Y != 0) hash ^= Y.GetHashCode();
  3137. if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
  3138. if (MappingId != 0L) hash ^= MappingId.GetHashCode();
  3139. if (_unknownFields != null) {
  3140. hash ^= _unknownFields.GetHashCode();
  3141. }
  3142. return hash;
  3143. }
  3144. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3145. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3146. public override string ToString() {
  3147. return pb::JsonFormatter.ToDiagnosticString(this);
  3148. }
  3149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3150. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3151. public void WriteTo(pb::CodedOutputStream output) {
  3152. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3153. output.WriteRawMessage(this);
  3154. #else
  3155. if (Type != global::Protobuf.PropType.NullPropType) {
  3156. output.WriteRawTag(8);
  3157. output.WriteEnum((int) Type);
  3158. }
  3159. if (X != 0) {
  3160. output.WriteRawTag(16);
  3161. output.WriteInt32(X);
  3162. }
  3163. if (Y != 0) {
  3164. output.WriteRawTag(24);
  3165. output.WriteInt32(Y);
  3166. }
  3167. if (FacingDirection != 0D) {
  3168. output.WriteRawTag(33);
  3169. output.WriteDouble(FacingDirection);
  3170. }
  3171. if (MappingId != 0L) {
  3172. output.WriteRawTag(40);
  3173. output.WriteInt64(MappingId);
  3174. }
  3175. if (_unknownFields != null) {
  3176. _unknownFields.WriteTo(output);
  3177. }
  3178. #endif
  3179. }
  3180. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3182. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3183. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3184. if (Type != global::Protobuf.PropType.NullPropType) {
  3185. output.WriteRawTag(8);
  3186. output.WriteEnum((int) Type);
  3187. }
  3188. if (X != 0) {
  3189. output.WriteRawTag(16);
  3190. output.WriteInt32(X);
  3191. }
  3192. if (Y != 0) {
  3193. output.WriteRawTag(24);
  3194. output.WriteInt32(Y);
  3195. }
  3196. if (FacingDirection != 0D) {
  3197. output.WriteRawTag(33);
  3198. output.WriteDouble(FacingDirection);
  3199. }
  3200. if (MappingId != 0L) {
  3201. output.WriteRawTag(40);
  3202. output.WriteInt64(MappingId);
  3203. }
  3204. if (_unknownFields != null) {
  3205. _unknownFields.WriteTo(ref output);
  3206. }
  3207. }
  3208. #endif
  3209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3210. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3211. public int CalculateSize() {
  3212. int size = 0;
  3213. if (Type != global::Protobuf.PropType.NullPropType) {
  3214. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
  3215. }
  3216. if (X != 0) {
  3217. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  3218. }
  3219. if (Y != 0) {
  3220. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  3221. }
  3222. if (FacingDirection != 0D) {
  3223. size += 1 + 8;
  3224. }
  3225. if (MappingId != 0L) {
  3226. size += 1 + pb::CodedOutputStream.ComputeInt64Size(MappingId);
  3227. }
  3228. if (_unknownFields != null) {
  3229. size += _unknownFields.CalculateSize();
  3230. }
  3231. return size;
  3232. }
  3233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3234. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3235. public void MergeFrom(MessageOfPickedProp other) {
  3236. if (other == null) {
  3237. return;
  3238. }
  3239. if (other.Type != global::Protobuf.PropType.NullPropType) {
  3240. Type = other.Type;
  3241. }
  3242. if (other.X != 0) {
  3243. X = other.X;
  3244. }
  3245. if (other.Y != 0) {
  3246. Y = other.Y;
  3247. }
  3248. if (other.FacingDirection != 0D) {
  3249. FacingDirection = other.FacingDirection;
  3250. }
  3251. if (other.MappingId != 0L) {
  3252. MappingId = other.MappingId;
  3253. }
  3254. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3255. }
  3256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3257. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3258. public void MergeFrom(pb::CodedInputStream input) {
  3259. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3260. input.ReadRawMessage(this);
  3261. #else
  3262. uint tag;
  3263. while ((tag = input.ReadTag()) != 0) {
  3264. switch(tag) {
  3265. default:
  3266. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3267. break;
  3268. case 8: {
  3269. Type = (global::Protobuf.PropType) input.ReadEnum();
  3270. break;
  3271. }
  3272. case 16: {
  3273. X = input.ReadInt32();
  3274. break;
  3275. }
  3276. case 24: {
  3277. Y = input.ReadInt32();
  3278. break;
  3279. }
  3280. case 33: {
  3281. FacingDirection = input.ReadDouble();
  3282. break;
  3283. }
  3284. case 40: {
  3285. MappingId = input.ReadInt64();
  3286. break;
  3287. }
  3288. }
  3289. }
  3290. #endif
  3291. }
  3292. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3294. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3295. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3296. uint tag;
  3297. while ((tag = input.ReadTag()) != 0) {
  3298. switch(tag) {
  3299. default:
  3300. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3301. break;
  3302. case 8: {
  3303. Type = (global::Protobuf.PropType) input.ReadEnum();
  3304. break;
  3305. }
  3306. case 16: {
  3307. X = input.ReadInt32();
  3308. break;
  3309. }
  3310. case 24: {
  3311. Y = input.ReadInt32();
  3312. break;
  3313. }
  3314. case 33: {
  3315. FacingDirection = input.ReadDouble();
  3316. break;
  3317. }
  3318. case 40: {
  3319. MappingId = input.ReadInt64();
  3320. break;
  3321. }
  3322. }
  3323. }
  3324. }
  3325. #endif
  3326. }
  3327. public sealed partial class MessageOfClassroom : pb::IMessage<MessageOfClassroom>
  3328. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3329. , pb::IBufferMessage
  3330. #endif
  3331. {
  3332. private static readonly pb::MessageParser<MessageOfClassroom> _parser = new pb::MessageParser<MessageOfClassroom>(() => new MessageOfClassroom());
  3333. private pb::UnknownFieldSet _unknownFields;
  3334. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3335. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3336. public static pb::MessageParser<MessageOfClassroom> Parser { get { return _parser; } }
  3337. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3338. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3339. public static pbr::MessageDescriptor Descriptor {
  3340. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[6]; }
  3341. }
  3342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3343. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3344. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3345. get { return Descriptor; }
  3346. }
  3347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3348. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3349. public MessageOfClassroom() {
  3350. OnConstruction();
  3351. }
  3352. partial void OnConstruction();
  3353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3354. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3355. public MessageOfClassroom(MessageOfClassroom other) : this() {
  3356. x_ = other.x_;
  3357. y_ = other.y_;
  3358. progress_ = other.progress_;
  3359. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3360. }
  3361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3362. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3363. public MessageOfClassroom Clone() {
  3364. return new MessageOfClassroom(this);
  3365. }
  3366. /// <summary>Field number for the "x" field.</summary>
  3367. public const int XFieldNumber = 1;
  3368. private int x_;
  3369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3370. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3371. public int X {
  3372. get { return x_; }
  3373. set {
  3374. x_ = value;
  3375. }
  3376. }
  3377. /// <summary>Field number for the "y" field.</summary>
  3378. public const int YFieldNumber = 2;
  3379. private int y_;
  3380. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3381. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3382. public int Y {
  3383. get { return y_; }
  3384. set {
  3385. y_ = value;
  3386. }
  3387. }
  3388. /// <summary>Field number for the "progress" field.</summary>
  3389. public const int ProgressFieldNumber = 3;
  3390. private int progress_;
  3391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3392. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3393. public int Progress {
  3394. get { return progress_; }
  3395. set {
  3396. progress_ = value;
  3397. }
  3398. }
  3399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3400. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3401. public override bool Equals(object other) {
  3402. return Equals(other as MessageOfClassroom);
  3403. }
  3404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3405. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3406. public bool Equals(MessageOfClassroom other) {
  3407. if (ReferenceEquals(other, null)) {
  3408. return false;
  3409. }
  3410. if (ReferenceEquals(other, this)) {
  3411. return true;
  3412. }
  3413. if (X != other.X) return false;
  3414. if (Y != other.Y) return false;
  3415. if (Progress != other.Progress) return false;
  3416. return Equals(_unknownFields, other._unknownFields);
  3417. }
  3418. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3419. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3420. public override int GetHashCode() {
  3421. int hash = 1;
  3422. if (X != 0) hash ^= X.GetHashCode();
  3423. if (Y != 0) hash ^= Y.GetHashCode();
  3424. if (Progress != 0) hash ^= Progress.GetHashCode();
  3425. if (_unknownFields != null) {
  3426. hash ^= _unknownFields.GetHashCode();
  3427. }
  3428. return hash;
  3429. }
  3430. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3431. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3432. public override string ToString() {
  3433. return pb::JsonFormatter.ToDiagnosticString(this);
  3434. }
  3435. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3436. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3437. public void WriteTo(pb::CodedOutputStream output) {
  3438. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3439. output.WriteRawMessage(this);
  3440. #else
  3441. if (X != 0) {
  3442. output.WriteRawTag(8);
  3443. output.WriteInt32(X);
  3444. }
  3445. if (Y != 0) {
  3446. output.WriteRawTag(16);
  3447. output.WriteInt32(Y);
  3448. }
  3449. if (Progress != 0) {
  3450. output.WriteRawTag(24);
  3451. output.WriteInt32(Progress);
  3452. }
  3453. if (_unknownFields != null) {
  3454. _unknownFields.WriteTo(output);
  3455. }
  3456. #endif
  3457. }
  3458. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3460. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3461. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3462. if (X != 0) {
  3463. output.WriteRawTag(8);
  3464. output.WriteInt32(X);
  3465. }
  3466. if (Y != 0) {
  3467. output.WriteRawTag(16);
  3468. output.WriteInt32(Y);
  3469. }
  3470. if (Progress != 0) {
  3471. output.WriteRawTag(24);
  3472. output.WriteInt32(Progress);
  3473. }
  3474. if (_unknownFields != null) {
  3475. _unknownFields.WriteTo(ref output);
  3476. }
  3477. }
  3478. #endif
  3479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3480. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3481. public int CalculateSize() {
  3482. int size = 0;
  3483. if (X != 0) {
  3484. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  3485. }
  3486. if (Y != 0) {
  3487. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  3488. }
  3489. if (Progress != 0) {
  3490. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
  3491. }
  3492. if (_unknownFields != null) {
  3493. size += _unknownFields.CalculateSize();
  3494. }
  3495. return size;
  3496. }
  3497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3498. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3499. public void MergeFrom(MessageOfClassroom other) {
  3500. if (other == null) {
  3501. return;
  3502. }
  3503. if (other.X != 0) {
  3504. X = other.X;
  3505. }
  3506. if (other.Y != 0) {
  3507. Y = other.Y;
  3508. }
  3509. if (other.Progress != 0) {
  3510. Progress = other.Progress;
  3511. }
  3512. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3513. }
  3514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3515. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3516. public void MergeFrom(pb::CodedInputStream input) {
  3517. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3518. input.ReadRawMessage(this);
  3519. #else
  3520. uint tag;
  3521. while ((tag = input.ReadTag()) != 0) {
  3522. switch(tag) {
  3523. default:
  3524. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3525. break;
  3526. case 8: {
  3527. X = input.ReadInt32();
  3528. break;
  3529. }
  3530. case 16: {
  3531. Y = input.ReadInt32();
  3532. break;
  3533. }
  3534. case 24: {
  3535. Progress = input.ReadInt32();
  3536. break;
  3537. }
  3538. }
  3539. }
  3540. #endif
  3541. }
  3542. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3544. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3545. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3546. uint tag;
  3547. while ((tag = input.ReadTag()) != 0) {
  3548. switch(tag) {
  3549. default:
  3550. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3551. break;
  3552. case 8: {
  3553. X = input.ReadInt32();
  3554. break;
  3555. }
  3556. case 16: {
  3557. Y = input.ReadInt32();
  3558. break;
  3559. }
  3560. case 24: {
  3561. Progress = input.ReadInt32();
  3562. break;
  3563. }
  3564. }
  3565. }
  3566. }
  3567. #endif
  3568. }
  3569. public sealed partial class MessageOfGate : pb::IMessage<MessageOfGate>
  3570. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3571. , pb::IBufferMessage
  3572. #endif
  3573. {
  3574. private static readonly pb::MessageParser<MessageOfGate> _parser = new pb::MessageParser<MessageOfGate>(() => new MessageOfGate());
  3575. private pb::UnknownFieldSet _unknownFields;
  3576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3577. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3578. public static pb::MessageParser<MessageOfGate> Parser { get { return _parser; } }
  3579. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3580. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3581. public static pbr::MessageDescriptor Descriptor {
  3582. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[7]; }
  3583. }
  3584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3585. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3586. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3587. get { return Descriptor; }
  3588. }
  3589. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3590. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3591. public MessageOfGate() {
  3592. OnConstruction();
  3593. }
  3594. partial void OnConstruction();
  3595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3596. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3597. public MessageOfGate(MessageOfGate other) : this() {
  3598. x_ = other.x_;
  3599. y_ = other.y_;
  3600. progress_ = other.progress_;
  3601. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3602. }
  3603. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3604. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3605. public MessageOfGate Clone() {
  3606. return new MessageOfGate(this);
  3607. }
  3608. /// <summary>Field number for the "x" field.</summary>
  3609. public const int XFieldNumber = 1;
  3610. private int x_;
  3611. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3612. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3613. public int X {
  3614. get { return x_; }
  3615. set {
  3616. x_ = value;
  3617. }
  3618. }
  3619. /// <summary>Field number for the "y" field.</summary>
  3620. public const int YFieldNumber = 2;
  3621. private int y_;
  3622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3623. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3624. public int Y {
  3625. get { return y_; }
  3626. set {
  3627. y_ = value;
  3628. }
  3629. }
  3630. /// <summary>Field number for the "progress" field.</summary>
  3631. public const int ProgressFieldNumber = 3;
  3632. private int progress_;
  3633. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3634. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3635. public int Progress {
  3636. get { return progress_; }
  3637. set {
  3638. progress_ = value;
  3639. }
  3640. }
  3641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3642. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3643. public override bool Equals(object other) {
  3644. return Equals(other as MessageOfGate);
  3645. }
  3646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3647. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3648. public bool Equals(MessageOfGate other) {
  3649. if (ReferenceEquals(other, null)) {
  3650. return false;
  3651. }
  3652. if (ReferenceEquals(other, this)) {
  3653. return true;
  3654. }
  3655. if (X != other.X) return false;
  3656. if (Y != other.Y) return false;
  3657. if (Progress != other.Progress) return false;
  3658. return Equals(_unknownFields, other._unknownFields);
  3659. }
  3660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3661. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3662. public override int GetHashCode() {
  3663. int hash = 1;
  3664. if (X != 0) hash ^= X.GetHashCode();
  3665. if (Y != 0) hash ^= Y.GetHashCode();
  3666. if (Progress != 0) hash ^= Progress.GetHashCode();
  3667. if (_unknownFields != null) {
  3668. hash ^= _unknownFields.GetHashCode();
  3669. }
  3670. return hash;
  3671. }
  3672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3673. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3674. public override string ToString() {
  3675. return pb::JsonFormatter.ToDiagnosticString(this);
  3676. }
  3677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3678. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3679. public void WriteTo(pb::CodedOutputStream output) {
  3680. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3681. output.WriteRawMessage(this);
  3682. #else
  3683. if (X != 0) {
  3684. output.WriteRawTag(8);
  3685. output.WriteInt32(X);
  3686. }
  3687. if (Y != 0) {
  3688. output.WriteRawTag(16);
  3689. output.WriteInt32(Y);
  3690. }
  3691. if (Progress != 0) {
  3692. output.WriteRawTag(24);
  3693. output.WriteInt32(Progress);
  3694. }
  3695. if (_unknownFields != null) {
  3696. _unknownFields.WriteTo(output);
  3697. }
  3698. #endif
  3699. }
  3700. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3702. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3703. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3704. if (X != 0) {
  3705. output.WriteRawTag(8);
  3706. output.WriteInt32(X);
  3707. }
  3708. if (Y != 0) {
  3709. output.WriteRawTag(16);
  3710. output.WriteInt32(Y);
  3711. }
  3712. if (Progress != 0) {
  3713. output.WriteRawTag(24);
  3714. output.WriteInt32(Progress);
  3715. }
  3716. if (_unknownFields != null) {
  3717. _unknownFields.WriteTo(ref output);
  3718. }
  3719. }
  3720. #endif
  3721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3722. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3723. public int CalculateSize() {
  3724. int size = 0;
  3725. if (X != 0) {
  3726. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  3727. }
  3728. if (Y != 0) {
  3729. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  3730. }
  3731. if (Progress != 0) {
  3732. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
  3733. }
  3734. if (_unknownFields != null) {
  3735. size += _unknownFields.CalculateSize();
  3736. }
  3737. return size;
  3738. }
  3739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3740. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3741. public void MergeFrom(MessageOfGate other) {
  3742. if (other == null) {
  3743. return;
  3744. }
  3745. if (other.X != 0) {
  3746. X = other.X;
  3747. }
  3748. if (other.Y != 0) {
  3749. Y = other.Y;
  3750. }
  3751. if (other.Progress != 0) {
  3752. Progress = other.Progress;
  3753. }
  3754. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3755. }
  3756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3757. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3758. public void MergeFrom(pb::CodedInputStream input) {
  3759. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3760. input.ReadRawMessage(this);
  3761. #else
  3762. uint tag;
  3763. while ((tag = input.ReadTag()) != 0) {
  3764. switch(tag) {
  3765. default:
  3766. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3767. break;
  3768. case 8: {
  3769. X = input.ReadInt32();
  3770. break;
  3771. }
  3772. case 16: {
  3773. Y = input.ReadInt32();
  3774. break;
  3775. }
  3776. case 24: {
  3777. Progress = input.ReadInt32();
  3778. break;
  3779. }
  3780. }
  3781. }
  3782. #endif
  3783. }
  3784. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3786. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3787. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3788. uint tag;
  3789. while ((tag = input.ReadTag()) != 0) {
  3790. switch(tag) {
  3791. default:
  3792. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3793. break;
  3794. case 8: {
  3795. X = input.ReadInt32();
  3796. break;
  3797. }
  3798. case 16: {
  3799. Y = input.ReadInt32();
  3800. break;
  3801. }
  3802. case 24: {
  3803. Progress = input.ReadInt32();
  3804. break;
  3805. }
  3806. }
  3807. }
  3808. }
  3809. #endif
  3810. }
  3811. public sealed partial class MessageOfHiddenGate : pb::IMessage<MessageOfHiddenGate>
  3812. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3813. , pb::IBufferMessage
  3814. #endif
  3815. {
  3816. private static readonly pb::MessageParser<MessageOfHiddenGate> _parser = new pb::MessageParser<MessageOfHiddenGate>(() => new MessageOfHiddenGate());
  3817. private pb::UnknownFieldSet _unknownFields;
  3818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3819. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3820. public static pb::MessageParser<MessageOfHiddenGate> Parser { get { return _parser; } }
  3821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3822. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3823. public static pbr::MessageDescriptor Descriptor {
  3824. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[8]; }
  3825. }
  3826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3827. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3828. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3829. get { return Descriptor; }
  3830. }
  3831. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3832. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3833. public MessageOfHiddenGate() {
  3834. OnConstruction();
  3835. }
  3836. partial void OnConstruction();
  3837. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3838. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3839. public MessageOfHiddenGate(MessageOfHiddenGate other) : this() {
  3840. x_ = other.x_;
  3841. y_ = other.y_;
  3842. opened_ = other.opened_;
  3843. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3844. }
  3845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3846. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3847. public MessageOfHiddenGate Clone() {
  3848. return new MessageOfHiddenGate(this);
  3849. }
  3850. /// <summary>Field number for the "x" field.</summary>
  3851. public const int XFieldNumber = 1;
  3852. private int x_;
  3853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3854. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3855. public int X {
  3856. get { return x_; }
  3857. set {
  3858. x_ = value;
  3859. }
  3860. }
  3861. /// <summary>Field number for the "y" field.</summary>
  3862. public const int YFieldNumber = 2;
  3863. private int y_;
  3864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3865. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3866. public int Y {
  3867. get { return y_; }
  3868. set {
  3869. y_ = value;
  3870. }
  3871. }
  3872. /// <summary>Field number for the "opened" field.</summary>
  3873. public const int OpenedFieldNumber = 3;
  3874. private bool opened_;
  3875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3876. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3877. public bool Opened {
  3878. get { return opened_; }
  3879. set {
  3880. opened_ = value;
  3881. }
  3882. }
  3883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3884. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3885. public override bool Equals(object other) {
  3886. return Equals(other as MessageOfHiddenGate);
  3887. }
  3888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3889. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3890. public bool Equals(MessageOfHiddenGate other) {
  3891. if (ReferenceEquals(other, null)) {
  3892. return false;
  3893. }
  3894. if (ReferenceEquals(other, this)) {
  3895. return true;
  3896. }
  3897. if (X != other.X) return false;
  3898. if (Y != other.Y) return false;
  3899. if (Opened != other.Opened) return false;
  3900. return Equals(_unknownFields, other._unknownFields);
  3901. }
  3902. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3903. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3904. public override int GetHashCode() {
  3905. int hash = 1;
  3906. if (X != 0) hash ^= X.GetHashCode();
  3907. if (Y != 0) hash ^= Y.GetHashCode();
  3908. if (Opened != false) hash ^= Opened.GetHashCode();
  3909. if (_unknownFields != null) {
  3910. hash ^= _unknownFields.GetHashCode();
  3911. }
  3912. return hash;
  3913. }
  3914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3915. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3916. public override string ToString() {
  3917. return pb::JsonFormatter.ToDiagnosticString(this);
  3918. }
  3919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3920. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3921. public void WriteTo(pb::CodedOutputStream output) {
  3922. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3923. output.WriteRawMessage(this);
  3924. #else
  3925. if (X != 0) {
  3926. output.WriteRawTag(8);
  3927. output.WriteInt32(X);
  3928. }
  3929. if (Y != 0) {
  3930. output.WriteRawTag(16);
  3931. output.WriteInt32(Y);
  3932. }
  3933. if (Opened != false) {
  3934. output.WriteRawTag(24);
  3935. output.WriteBool(Opened);
  3936. }
  3937. if (_unknownFields != null) {
  3938. _unknownFields.WriteTo(output);
  3939. }
  3940. #endif
  3941. }
  3942. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3943. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3944. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3945. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3946. if (X != 0) {
  3947. output.WriteRawTag(8);
  3948. output.WriteInt32(X);
  3949. }
  3950. if (Y != 0) {
  3951. output.WriteRawTag(16);
  3952. output.WriteInt32(Y);
  3953. }
  3954. if (Opened != false) {
  3955. output.WriteRawTag(24);
  3956. output.WriteBool(Opened);
  3957. }
  3958. if (_unknownFields != null) {
  3959. _unknownFields.WriteTo(ref output);
  3960. }
  3961. }
  3962. #endif
  3963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3964. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3965. public int CalculateSize() {
  3966. int size = 0;
  3967. if (X != 0) {
  3968. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  3969. }
  3970. if (Y != 0) {
  3971. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  3972. }
  3973. if (Opened != false) {
  3974. size += 1 + 1;
  3975. }
  3976. if (_unknownFields != null) {
  3977. size += _unknownFields.CalculateSize();
  3978. }
  3979. return size;
  3980. }
  3981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3982. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3983. public void MergeFrom(MessageOfHiddenGate other) {
  3984. if (other == null) {
  3985. return;
  3986. }
  3987. if (other.X != 0) {
  3988. X = other.X;
  3989. }
  3990. if (other.Y != 0) {
  3991. Y = other.Y;
  3992. }
  3993. if (other.Opened != false) {
  3994. Opened = other.Opened;
  3995. }
  3996. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3997. }
  3998. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3999. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4000. public void MergeFrom(pb::CodedInputStream input) {
  4001. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4002. input.ReadRawMessage(this);
  4003. #else
  4004. uint tag;
  4005. while ((tag = input.ReadTag()) != 0) {
  4006. switch(tag) {
  4007. default:
  4008. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4009. break;
  4010. case 8: {
  4011. X = input.ReadInt32();
  4012. break;
  4013. }
  4014. case 16: {
  4015. Y = input.ReadInt32();
  4016. break;
  4017. }
  4018. case 24: {
  4019. Opened = input.ReadBool();
  4020. break;
  4021. }
  4022. }
  4023. }
  4024. #endif
  4025. }
  4026. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4027. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4028. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4029. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4030. uint tag;
  4031. while ((tag = input.ReadTag()) != 0) {
  4032. switch(tag) {
  4033. default:
  4034. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4035. break;
  4036. case 8: {
  4037. X = input.ReadInt32();
  4038. break;
  4039. }
  4040. case 16: {
  4041. Y = input.ReadInt32();
  4042. break;
  4043. }
  4044. case 24: {
  4045. Opened = input.ReadBool();
  4046. break;
  4047. }
  4048. }
  4049. }
  4050. }
  4051. #endif
  4052. }
  4053. public sealed partial class MessageOfDoor : pb::IMessage<MessageOfDoor>
  4054. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4055. , pb::IBufferMessage
  4056. #endif
  4057. {
  4058. private static readonly pb::MessageParser<MessageOfDoor> _parser = new pb::MessageParser<MessageOfDoor>(() => new MessageOfDoor());
  4059. private pb::UnknownFieldSet _unknownFields;
  4060. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4061. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4062. public static pb::MessageParser<MessageOfDoor> Parser { get { return _parser; } }
  4063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4064. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4065. public static pbr::MessageDescriptor Descriptor {
  4066. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[9]; }
  4067. }
  4068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4069. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4070. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4071. get { return Descriptor; }
  4072. }
  4073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4074. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4075. public MessageOfDoor() {
  4076. OnConstruction();
  4077. }
  4078. partial void OnConstruction();
  4079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4080. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4081. public MessageOfDoor(MessageOfDoor other) : this() {
  4082. x_ = other.x_;
  4083. y_ = other.y_;
  4084. isOpen_ = other.isOpen_;
  4085. progress_ = other.progress_;
  4086. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4087. }
  4088. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4089. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4090. public MessageOfDoor Clone() {
  4091. return new MessageOfDoor(this);
  4092. }
  4093. /// <summary>Field number for the "x" field.</summary>
  4094. public const int XFieldNumber = 1;
  4095. private int x_;
  4096. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4097. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4098. public int X {
  4099. get { return x_; }
  4100. set {
  4101. x_ = value;
  4102. }
  4103. }
  4104. /// <summary>Field number for the "y" field.</summary>
  4105. public const int YFieldNumber = 2;
  4106. private int y_;
  4107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4108. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4109. public int Y {
  4110. get { return y_; }
  4111. set {
  4112. y_ = value;
  4113. }
  4114. }
  4115. /// <summary>Field number for the "is_open" field.</summary>
  4116. public const int IsOpenFieldNumber = 3;
  4117. private bool isOpen_;
  4118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4119. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4120. public bool IsOpen {
  4121. get { return isOpen_; }
  4122. set {
  4123. isOpen_ = value;
  4124. }
  4125. }
  4126. /// <summary>Field number for the "progress" field.</summary>
  4127. public const int ProgressFieldNumber = 4;
  4128. private int progress_;
  4129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4130. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4131. public int Progress {
  4132. get { return progress_; }
  4133. set {
  4134. progress_ = value;
  4135. }
  4136. }
  4137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4138. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4139. public override bool Equals(object other) {
  4140. return Equals(other as MessageOfDoor);
  4141. }
  4142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4143. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4144. public bool Equals(MessageOfDoor other) {
  4145. if (ReferenceEquals(other, null)) {
  4146. return false;
  4147. }
  4148. if (ReferenceEquals(other, this)) {
  4149. return true;
  4150. }
  4151. if (X != other.X) return false;
  4152. if (Y != other.Y) return false;
  4153. if (IsOpen != other.IsOpen) return false;
  4154. if (Progress != other.Progress) return false;
  4155. return Equals(_unknownFields, other._unknownFields);
  4156. }
  4157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4158. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4159. public override int GetHashCode() {
  4160. int hash = 1;
  4161. if (X != 0) hash ^= X.GetHashCode();
  4162. if (Y != 0) hash ^= Y.GetHashCode();
  4163. if (IsOpen != false) hash ^= IsOpen.GetHashCode();
  4164. if (Progress != 0) hash ^= Progress.GetHashCode();
  4165. if (_unknownFields != null) {
  4166. hash ^= _unknownFields.GetHashCode();
  4167. }
  4168. return hash;
  4169. }
  4170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4171. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4172. public override string ToString() {
  4173. return pb::JsonFormatter.ToDiagnosticString(this);
  4174. }
  4175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4176. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4177. public void WriteTo(pb::CodedOutputStream output) {
  4178. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4179. output.WriteRawMessage(this);
  4180. #else
  4181. if (X != 0) {
  4182. output.WriteRawTag(8);
  4183. output.WriteInt32(X);
  4184. }
  4185. if (Y != 0) {
  4186. output.WriteRawTag(16);
  4187. output.WriteInt32(Y);
  4188. }
  4189. if (IsOpen != false) {
  4190. output.WriteRawTag(24);
  4191. output.WriteBool(IsOpen);
  4192. }
  4193. if (Progress != 0) {
  4194. output.WriteRawTag(32);
  4195. output.WriteInt32(Progress);
  4196. }
  4197. if (_unknownFields != null) {
  4198. _unknownFields.WriteTo(output);
  4199. }
  4200. #endif
  4201. }
  4202. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4204. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4205. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4206. if (X != 0) {
  4207. output.WriteRawTag(8);
  4208. output.WriteInt32(X);
  4209. }
  4210. if (Y != 0) {
  4211. output.WriteRawTag(16);
  4212. output.WriteInt32(Y);
  4213. }
  4214. if (IsOpen != false) {
  4215. output.WriteRawTag(24);
  4216. output.WriteBool(IsOpen);
  4217. }
  4218. if (Progress != 0) {
  4219. output.WriteRawTag(32);
  4220. output.WriteInt32(Progress);
  4221. }
  4222. if (_unknownFields != null) {
  4223. _unknownFields.WriteTo(ref output);
  4224. }
  4225. }
  4226. #endif
  4227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4228. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4229. public int CalculateSize() {
  4230. int size = 0;
  4231. if (X != 0) {
  4232. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  4233. }
  4234. if (Y != 0) {
  4235. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  4236. }
  4237. if (IsOpen != false) {
  4238. size += 1 + 1;
  4239. }
  4240. if (Progress != 0) {
  4241. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
  4242. }
  4243. if (_unknownFields != null) {
  4244. size += _unknownFields.CalculateSize();
  4245. }
  4246. return size;
  4247. }
  4248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4249. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4250. public void MergeFrom(MessageOfDoor other) {
  4251. if (other == null) {
  4252. return;
  4253. }
  4254. if (other.X != 0) {
  4255. X = other.X;
  4256. }
  4257. if (other.Y != 0) {
  4258. Y = other.Y;
  4259. }
  4260. if (other.IsOpen != false) {
  4261. IsOpen = other.IsOpen;
  4262. }
  4263. if (other.Progress != 0) {
  4264. Progress = other.Progress;
  4265. }
  4266. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4267. }
  4268. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4269. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4270. public void MergeFrom(pb::CodedInputStream input) {
  4271. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4272. input.ReadRawMessage(this);
  4273. #else
  4274. uint tag;
  4275. while ((tag = input.ReadTag()) != 0) {
  4276. switch(tag) {
  4277. default:
  4278. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4279. break;
  4280. case 8: {
  4281. X = input.ReadInt32();
  4282. break;
  4283. }
  4284. case 16: {
  4285. Y = input.ReadInt32();
  4286. break;
  4287. }
  4288. case 24: {
  4289. IsOpen = input.ReadBool();
  4290. break;
  4291. }
  4292. case 32: {
  4293. Progress = input.ReadInt32();
  4294. break;
  4295. }
  4296. }
  4297. }
  4298. #endif
  4299. }
  4300. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4302. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4303. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4304. uint tag;
  4305. while ((tag = input.ReadTag()) != 0) {
  4306. switch(tag) {
  4307. default:
  4308. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4309. break;
  4310. case 8: {
  4311. X = input.ReadInt32();
  4312. break;
  4313. }
  4314. case 16: {
  4315. Y = input.ReadInt32();
  4316. break;
  4317. }
  4318. case 24: {
  4319. IsOpen = input.ReadBool();
  4320. break;
  4321. }
  4322. case 32: {
  4323. Progress = input.ReadInt32();
  4324. break;
  4325. }
  4326. }
  4327. }
  4328. }
  4329. #endif
  4330. }
  4331. public sealed partial class MessageOfChest : pb::IMessage<MessageOfChest>
  4332. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4333. , pb::IBufferMessage
  4334. #endif
  4335. {
  4336. private static readonly pb::MessageParser<MessageOfChest> _parser = new pb::MessageParser<MessageOfChest>(() => new MessageOfChest());
  4337. private pb::UnknownFieldSet _unknownFields;
  4338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4339. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4340. public static pb::MessageParser<MessageOfChest> Parser { get { return _parser; } }
  4341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4342. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4343. public static pbr::MessageDescriptor Descriptor {
  4344. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[10]; }
  4345. }
  4346. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4347. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4348. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4349. get { return Descriptor; }
  4350. }
  4351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4352. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4353. public MessageOfChest() {
  4354. OnConstruction();
  4355. }
  4356. partial void OnConstruction();
  4357. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4358. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4359. public MessageOfChest(MessageOfChest other) : this() {
  4360. x_ = other.x_;
  4361. y_ = other.y_;
  4362. progress_ = other.progress_;
  4363. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4364. }
  4365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4366. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4367. public MessageOfChest Clone() {
  4368. return new MessageOfChest(this);
  4369. }
  4370. /// <summary>Field number for the "x" field.</summary>
  4371. public const int XFieldNumber = 1;
  4372. private int x_;
  4373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4374. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4375. public int X {
  4376. get { return x_; }
  4377. set {
  4378. x_ = value;
  4379. }
  4380. }
  4381. /// <summary>Field number for the "y" field.</summary>
  4382. public const int YFieldNumber = 2;
  4383. private int y_;
  4384. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4385. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4386. public int Y {
  4387. get { return y_; }
  4388. set {
  4389. y_ = value;
  4390. }
  4391. }
  4392. /// <summary>Field number for the "progress" field.</summary>
  4393. public const int ProgressFieldNumber = 3;
  4394. private int progress_;
  4395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4396. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4397. public int Progress {
  4398. get { return progress_; }
  4399. set {
  4400. progress_ = value;
  4401. }
  4402. }
  4403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4404. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4405. public override bool Equals(object other) {
  4406. return Equals(other as MessageOfChest);
  4407. }
  4408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4409. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4410. public bool Equals(MessageOfChest other) {
  4411. if (ReferenceEquals(other, null)) {
  4412. return false;
  4413. }
  4414. if (ReferenceEquals(other, this)) {
  4415. return true;
  4416. }
  4417. if (X != other.X) return false;
  4418. if (Y != other.Y) return false;
  4419. if (Progress != other.Progress) return false;
  4420. return Equals(_unknownFields, other._unknownFields);
  4421. }
  4422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4423. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4424. public override int GetHashCode() {
  4425. int hash = 1;
  4426. if (X != 0) hash ^= X.GetHashCode();
  4427. if (Y != 0) hash ^= Y.GetHashCode();
  4428. if (Progress != 0) hash ^= Progress.GetHashCode();
  4429. if (_unknownFields != null) {
  4430. hash ^= _unknownFields.GetHashCode();
  4431. }
  4432. return hash;
  4433. }
  4434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4435. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4436. public override string ToString() {
  4437. return pb::JsonFormatter.ToDiagnosticString(this);
  4438. }
  4439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4440. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4441. public void WriteTo(pb::CodedOutputStream output) {
  4442. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4443. output.WriteRawMessage(this);
  4444. #else
  4445. if (X != 0) {
  4446. output.WriteRawTag(8);
  4447. output.WriteInt32(X);
  4448. }
  4449. if (Y != 0) {
  4450. output.WriteRawTag(16);
  4451. output.WriteInt32(Y);
  4452. }
  4453. if (Progress != 0) {
  4454. output.WriteRawTag(24);
  4455. output.WriteInt32(Progress);
  4456. }
  4457. if (_unknownFields != null) {
  4458. _unknownFields.WriteTo(output);
  4459. }
  4460. #endif
  4461. }
  4462. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4463. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4464. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4465. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4466. if (X != 0) {
  4467. output.WriteRawTag(8);
  4468. output.WriteInt32(X);
  4469. }
  4470. if (Y != 0) {
  4471. output.WriteRawTag(16);
  4472. output.WriteInt32(Y);
  4473. }
  4474. if (Progress != 0) {
  4475. output.WriteRawTag(24);
  4476. output.WriteInt32(Progress);
  4477. }
  4478. if (_unknownFields != null) {
  4479. _unknownFields.WriteTo(ref output);
  4480. }
  4481. }
  4482. #endif
  4483. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4484. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4485. public int CalculateSize() {
  4486. int size = 0;
  4487. if (X != 0) {
  4488. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  4489. }
  4490. if (Y != 0) {
  4491. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
  4492. }
  4493. if (Progress != 0) {
  4494. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
  4495. }
  4496. if (_unknownFields != null) {
  4497. size += _unknownFields.CalculateSize();
  4498. }
  4499. return size;
  4500. }
  4501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4502. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4503. public void MergeFrom(MessageOfChest other) {
  4504. if (other == null) {
  4505. return;
  4506. }
  4507. if (other.X != 0) {
  4508. X = other.X;
  4509. }
  4510. if (other.Y != 0) {
  4511. Y = other.Y;
  4512. }
  4513. if (other.Progress != 0) {
  4514. Progress = other.Progress;
  4515. }
  4516. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4517. }
  4518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4519. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4520. public void MergeFrom(pb::CodedInputStream input) {
  4521. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4522. input.ReadRawMessage(this);
  4523. #else
  4524. uint tag;
  4525. while ((tag = input.ReadTag()) != 0) {
  4526. switch(tag) {
  4527. default:
  4528. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4529. break;
  4530. case 8: {
  4531. X = input.ReadInt32();
  4532. break;
  4533. }
  4534. case 16: {
  4535. Y = input.ReadInt32();
  4536. break;
  4537. }
  4538. case 24: {
  4539. Progress = input.ReadInt32();
  4540. break;
  4541. }
  4542. }
  4543. }
  4544. #endif
  4545. }
  4546. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4548. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4549. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4550. uint tag;
  4551. while ((tag = input.ReadTag()) != 0) {
  4552. switch(tag) {
  4553. default:
  4554. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4555. break;
  4556. case 8: {
  4557. X = input.ReadInt32();
  4558. break;
  4559. }
  4560. case 16: {
  4561. Y = input.ReadInt32();
  4562. break;
  4563. }
  4564. case 24: {
  4565. Progress = input.ReadInt32();
  4566. break;
  4567. }
  4568. }
  4569. }
  4570. }
  4571. #endif
  4572. }
  4573. public sealed partial class MessageOfMap : pb::IMessage<MessageOfMap>
  4574. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4575. , pb::IBufferMessage
  4576. #endif
  4577. {
  4578. private static readonly pb::MessageParser<MessageOfMap> _parser = new pb::MessageParser<MessageOfMap>(() => new MessageOfMap());
  4579. private pb::UnknownFieldSet _unknownFields;
  4580. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4581. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4582. public static pb::MessageParser<MessageOfMap> Parser { get { return _parser; } }
  4583. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4584. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4585. public static pbr::MessageDescriptor Descriptor {
  4586. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[11]; }
  4587. }
  4588. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4589. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4590. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4591. get { return Descriptor; }
  4592. }
  4593. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4594. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4595. public MessageOfMap() {
  4596. OnConstruction();
  4597. }
  4598. partial void OnConstruction();
  4599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4600. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4601. public MessageOfMap(MessageOfMap other) : this() {
  4602. row_ = other.row_.Clone();
  4603. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4604. }
  4605. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4606. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4607. public MessageOfMap Clone() {
  4608. return new MessageOfMap(this);
  4609. }
  4610. /// <summary>Field number for the "row" field.</summary>
  4611. public const int RowFieldNumber = 2;
  4612. private static readonly pb::FieldCodec<global::Protobuf.MessageOfMap.Types.Row> _repeated_row_codec
  4613. = pb::FieldCodec.ForMessage(18, global::Protobuf.MessageOfMap.Types.Row.Parser);
  4614. private readonly pbc::RepeatedField<global::Protobuf.MessageOfMap.Types.Row> row_ = new pbc::RepeatedField<global::Protobuf.MessageOfMap.Types.Row>();
  4615. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4616. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4617. public pbc::RepeatedField<global::Protobuf.MessageOfMap.Types.Row> Row {
  4618. get { return row_; }
  4619. }
  4620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4621. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4622. public override bool Equals(object other) {
  4623. return Equals(other as MessageOfMap);
  4624. }
  4625. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4626. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4627. public bool Equals(MessageOfMap other) {
  4628. if (ReferenceEquals(other, null)) {
  4629. return false;
  4630. }
  4631. if (ReferenceEquals(other, this)) {
  4632. return true;
  4633. }
  4634. if(!row_.Equals(other.row_)) return false;
  4635. return Equals(_unknownFields, other._unknownFields);
  4636. }
  4637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4638. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4639. public override int GetHashCode() {
  4640. int hash = 1;
  4641. hash ^= row_.GetHashCode();
  4642. if (_unknownFields != null) {
  4643. hash ^= _unknownFields.GetHashCode();
  4644. }
  4645. return hash;
  4646. }
  4647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4648. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4649. public override string ToString() {
  4650. return pb::JsonFormatter.ToDiagnosticString(this);
  4651. }
  4652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4653. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4654. public void WriteTo(pb::CodedOutputStream output) {
  4655. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4656. output.WriteRawMessage(this);
  4657. #else
  4658. row_.WriteTo(output, _repeated_row_codec);
  4659. if (_unknownFields != null) {
  4660. _unknownFields.WriteTo(output);
  4661. }
  4662. #endif
  4663. }
  4664. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4665. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4666. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4667. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4668. row_.WriteTo(ref output, _repeated_row_codec);
  4669. if (_unknownFields != null) {
  4670. _unknownFields.WriteTo(ref output);
  4671. }
  4672. }
  4673. #endif
  4674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4675. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4676. public int CalculateSize() {
  4677. int size = 0;
  4678. size += row_.CalculateSize(_repeated_row_codec);
  4679. if (_unknownFields != null) {
  4680. size += _unknownFields.CalculateSize();
  4681. }
  4682. return size;
  4683. }
  4684. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4685. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4686. public void MergeFrom(MessageOfMap other) {
  4687. if (other == null) {
  4688. return;
  4689. }
  4690. row_.Add(other.row_);
  4691. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4692. }
  4693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4694. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4695. public void MergeFrom(pb::CodedInputStream input) {
  4696. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4697. input.ReadRawMessage(this);
  4698. #else
  4699. uint tag;
  4700. while ((tag = input.ReadTag()) != 0) {
  4701. switch(tag) {
  4702. default:
  4703. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4704. break;
  4705. case 18: {
  4706. row_.AddEntriesFrom(input, _repeated_row_codec);
  4707. break;
  4708. }
  4709. }
  4710. }
  4711. #endif
  4712. }
  4713. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4714. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4715. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4716. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4717. uint tag;
  4718. while ((tag = input.ReadTag()) != 0) {
  4719. switch(tag) {
  4720. default:
  4721. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4722. break;
  4723. case 18: {
  4724. row_.AddEntriesFrom(ref input, _repeated_row_codec);
  4725. break;
  4726. }
  4727. }
  4728. }
  4729. }
  4730. #endif
  4731. #region Nested types
  4732. /// <summary>Container for nested types declared in the MessageOfMap message type.</summary>
  4733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4734. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4735. public static partial class Types {
  4736. public sealed partial class Row : pb::IMessage<Row>
  4737. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4738. , pb::IBufferMessage
  4739. #endif
  4740. {
  4741. private static readonly pb::MessageParser<Row> _parser = new pb::MessageParser<Row>(() => new Row());
  4742. private pb::UnknownFieldSet _unknownFields;
  4743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4744. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4745. public static pb::MessageParser<Row> Parser { get { return _parser; } }
  4746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4747. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4748. public static pbr::MessageDescriptor Descriptor {
  4749. get { return global::Protobuf.MessageOfMap.Descriptor.NestedTypes[0]; }
  4750. }
  4751. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4752. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4753. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4754. get { return Descriptor; }
  4755. }
  4756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4757. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4758. public Row() {
  4759. OnConstruction();
  4760. }
  4761. partial void OnConstruction();
  4762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4763. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4764. public Row(Row other) : this() {
  4765. col_ = other.col_.Clone();
  4766. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4767. }
  4768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4769. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4770. public Row Clone() {
  4771. return new Row(this);
  4772. }
  4773. /// <summary>Field number for the "col" field.</summary>
  4774. public const int ColFieldNumber = 1;
  4775. private static readonly pb::FieldCodec<global::Protobuf.PlaceType> _repeated_col_codec
  4776. = pb::FieldCodec.ForEnum(10, x => (int) x, x => (global::Protobuf.PlaceType) x);
  4777. private readonly pbc::RepeatedField<global::Protobuf.PlaceType> col_ = new pbc::RepeatedField<global::Protobuf.PlaceType>();
  4778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4779. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4780. public pbc::RepeatedField<global::Protobuf.PlaceType> Col {
  4781. get { return col_; }
  4782. }
  4783. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4784. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4785. public override bool Equals(object other) {
  4786. return Equals(other as Row);
  4787. }
  4788. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4789. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4790. public bool Equals(Row other) {
  4791. if (ReferenceEquals(other, null)) {
  4792. return false;
  4793. }
  4794. if (ReferenceEquals(other, this)) {
  4795. return true;
  4796. }
  4797. if(!col_.Equals(other.col_)) return false;
  4798. return Equals(_unknownFields, other._unknownFields);
  4799. }
  4800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4801. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4802. public override int GetHashCode() {
  4803. int hash = 1;
  4804. hash ^= col_.GetHashCode();
  4805. if (_unknownFields != null) {
  4806. hash ^= _unknownFields.GetHashCode();
  4807. }
  4808. return hash;
  4809. }
  4810. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4811. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4812. public override string ToString() {
  4813. return pb::JsonFormatter.ToDiagnosticString(this);
  4814. }
  4815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4816. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4817. public void WriteTo(pb::CodedOutputStream output) {
  4818. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4819. output.WriteRawMessage(this);
  4820. #else
  4821. col_.WriteTo(output, _repeated_col_codec);
  4822. if (_unknownFields != null) {
  4823. _unknownFields.WriteTo(output);
  4824. }
  4825. #endif
  4826. }
  4827. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4829. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4830. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4831. col_.WriteTo(ref output, _repeated_col_codec);
  4832. if (_unknownFields != null) {
  4833. _unknownFields.WriteTo(ref output);
  4834. }
  4835. }
  4836. #endif
  4837. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4838. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4839. public int CalculateSize() {
  4840. int size = 0;
  4841. size += col_.CalculateSize(_repeated_col_codec);
  4842. if (_unknownFields != null) {
  4843. size += _unknownFields.CalculateSize();
  4844. }
  4845. return size;
  4846. }
  4847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4848. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4849. public void MergeFrom(Row other) {
  4850. if (other == null) {
  4851. return;
  4852. }
  4853. col_.Add(other.col_);
  4854. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4855. }
  4856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4857. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4858. public void MergeFrom(pb::CodedInputStream input) {
  4859. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4860. input.ReadRawMessage(this);
  4861. #else
  4862. uint tag;
  4863. while ((tag = input.ReadTag()) != 0) {
  4864. switch(tag) {
  4865. default:
  4866. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4867. break;
  4868. case 10:
  4869. case 8: {
  4870. col_.AddEntriesFrom(input, _repeated_col_codec);
  4871. break;
  4872. }
  4873. }
  4874. }
  4875. #endif
  4876. }
  4877. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4879. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4880. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4881. uint tag;
  4882. while ((tag = input.ReadTag()) != 0) {
  4883. switch(tag) {
  4884. default:
  4885. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4886. break;
  4887. case 10:
  4888. case 8: {
  4889. col_.AddEntriesFrom(ref input, _repeated_col_codec);
  4890. break;
  4891. }
  4892. }
  4893. }
  4894. }
  4895. #endif
  4896. }
  4897. }
  4898. #endregion
  4899. }
  4900. public sealed partial class MessageOfNews : pb::IMessage<MessageOfNews>
  4901. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4902. , pb::IBufferMessage
  4903. #endif
  4904. {
  4905. private static readonly pb::MessageParser<MessageOfNews> _parser = new pb::MessageParser<MessageOfNews>(() => new MessageOfNews());
  4906. private pb::UnknownFieldSet _unknownFields;
  4907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4908. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4909. public static pb::MessageParser<MessageOfNews> Parser { get { return _parser; } }
  4910. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4911. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4912. public static pbr::MessageDescriptor Descriptor {
  4913. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[12]; }
  4914. }
  4915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4916. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4917. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4918. get { return Descriptor; }
  4919. }
  4920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4921. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4922. public MessageOfNews() {
  4923. OnConstruction();
  4924. }
  4925. partial void OnConstruction();
  4926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4927. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4928. public MessageOfNews(MessageOfNews other) : this() {
  4929. news_ = other.news_;
  4930. fromId_ = other.fromId_;
  4931. toId_ = other.toId_;
  4932. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4933. }
  4934. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4935. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4936. public MessageOfNews Clone() {
  4937. return new MessageOfNews(this);
  4938. }
  4939. /// <summary>Field number for the "news" field.</summary>
  4940. public const int NewsFieldNumber = 1;
  4941. private string news_ = "";
  4942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4943. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4944. public string News {
  4945. get { return news_; }
  4946. set {
  4947. news_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  4948. }
  4949. }
  4950. /// <summary>Field number for the "from_id" field.</summary>
  4951. public const int FromIdFieldNumber = 2;
  4952. private long fromId_;
  4953. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4954. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4955. public long FromId {
  4956. get { return fromId_; }
  4957. set {
  4958. fromId_ = value;
  4959. }
  4960. }
  4961. /// <summary>Field number for the "to_id" field.</summary>
  4962. public const int ToIdFieldNumber = 3;
  4963. private long toId_;
  4964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4965. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4966. public long ToId {
  4967. get { return toId_; }
  4968. set {
  4969. toId_ = value;
  4970. }
  4971. }
  4972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4973. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4974. public override bool Equals(object other) {
  4975. return Equals(other as MessageOfNews);
  4976. }
  4977. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4978. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4979. public bool Equals(MessageOfNews other) {
  4980. if (ReferenceEquals(other, null)) {
  4981. return false;
  4982. }
  4983. if (ReferenceEquals(other, this)) {
  4984. return true;
  4985. }
  4986. if (News != other.News) return false;
  4987. if (FromId != other.FromId) return false;
  4988. if (ToId != other.ToId) return false;
  4989. return Equals(_unknownFields, other._unknownFields);
  4990. }
  4991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4992. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  4993. public override int GetHashCode() {
  4994. int hash = 1;
  4995. if (News.Length != 0) hash ^= News.GetHashCode();
  4996. if (FromId != 0L) hash ^= FromId.GetHashCode();
  4997. if (ToId != 0L) hash ^= ToId.GetHashCode();
  4998. if (_unknownFields != null) {
  4999. hash ^= _unknownFields.GetHashCode();
  5000. }
  5001. return hash;
  5002. }
  5003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5004. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5005. public override string ToString() {
  5006. return pb::JsonFormatter.ToDiagnosticString(this);
  5007. }
  5008. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5009. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5010. public void WriteTo(pb::CodedOutputStream output) {
  5011. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5012. output.WriteRawMessage(this);
  5013. #else
  5014. if (News.Length != 0) {
  5015. output.WriteRawTag(10);
  5016. output.WriteString(News);
  5017. }
  5018. if (FromId != 0L) {
  5019. output.WriteRawTag(16);
  5020. output.WriteInt64(FromId);
  5021. }
  5022. if (ToId != 0L) {
  5023. output.WriteRawTag(24);
  5024. output.WriteInt64(ToId);
  5025. }
  5026. if (_unknownFields != null) {
  5027. _unknownFields.WriteTo(output);
  5028. }
  5029. #endif
  5030. }
  5031. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5033. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5034. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5035. if (News.Length != 0) {
  5036. output.WriteRawTag(10);
  5037. output.WriteString(News);
  5038. }
  5039. if (FromId != 0L) {
  5040. output.WriteRawTag(16);
  5041. output.WriteInt64(FromId);
  5042. }
  5043. if (ToId != 0L) {
  5044. output.WriteRawTag(24);
  5045. output.WriteInt64(ToId);
  5046. }
  5047. if (_unknownFields != null) {
  5048. _unknownFields.WriteTo(ref output);
  5049. }
  5050. }
  5051. #endif
  5052. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5053. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5054. public int CalculateSize() {
  5055. int size = 0;
  5056. if (News.Length != 0) {
  5057. size += 1 + pb::CodedOutputStream.ComputeStringSize(News);
  5058. }
  5059. if (FromId != 0L) {
  5060. size += 1 + pb::CodedOutputStream.ComputeInt64Size(FromId);
  5061. }
  5062. if (ToId != 0L) {
  5063. size += 1 + pb::CodedOutputStream.ComputeInt64Size(ToId);
  5064. }
  5065. if (_unknownFields != null) {
  5066. size += _unknownFields.CalculateSize();
  5067. }
  5068. return size;
  5069. }
  5070. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5071. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5072. public void MergeFrom(MessageOfNews other) {
  5073. if (other == null) {
  5074. return;
  5075. }
  5076. if (other.News.Length != 0) {
  5077. News = other.News;
  5078. }
  5079. if (other.FromId != 0L) {
  5080. FromId = other.FromId;
  5081. }
  5082. if (other.ToId != 0L) {
  5083. ToId = other.ToId;
  5084. }
  5085. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5086. }
  5087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5088. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5089. public void MergeFrom(pb::CodedInputStream input) {
  5090. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5091. input.ReadRawMessage(this);
  5092. #else
  5093. uint tag;
  5094. while ((tag = input.ReadTag()) != 0) {
  5095. switch(tag) {
  5096. default:
  5097. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5098. break;
  5099. case 10: {
  5100. News = input.ReadString();
  5101. break;
  5102. }
  5103. case 16: {
  5104. FromId = input.ReadInt64();
  5105. break;
  5106. }
  5107. case 24: {
  5108. ToId = input.ReadInt64();
  5109. break;
  5110. }
  5111. }
  5112. }
  5113. #endif
  5114. }
  5115. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5116. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5117. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5118. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  5119. uint tag;
  5120. while ((tag = input.ReadTag()) != 0) {
  5121. switch(tag) {
  5122. default:
  5123. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  5124. break;
  5125. case 10: {
  5126. News = input.ReadString();
  5127. break;
  5128. }
  5129. case 16: {
  5130. FromId = input.ReadInt64();
  5131. break;
  5132. }
  5133. case 24: {
  5134. ToId = input.ReadInt64();
  5135. break;
  5136. }
  5137. }
  5138. }
  5139. }
  5140. #endif
  5141. }
  5142. public sealed partial class MessageOfObj : pb::IMessage<MessageOfObj>
  5143. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5144. , pb::IBufferMessage
  5145. #endif
  5146. {
  5147. private static readonly pb::MessageParser<MessageOfObj> _parser = new pb::MessageParser<MessageOfObj>(() => new MessageOfObj());
  5148. private pb::UnknownFieldSet _unknownFields;
  5149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5150. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5151. public static pb::MessageParser<MessageOfObj> Parser { get { return _parser; } }
  5152. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5153. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5154. public static pbr::MessageDescriptor Descriptor {
  5155. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[13]; }
  5156. }
  5157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5158. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5159. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5160. get { return Descriptor; }
  5161. }
  5162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5163. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5164. public MessageOfObj() {
  5165. OnConstruction();
  5166. }
  5167. partial void OnConstruction();
  5168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5169. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5170. public MessageOfObj(MessageOfObj other) : this() {
  5171. switch (other.MessageOfObjCase) {
  5172. case MessageOfObjOneofCase.StudentMessage:
  5173. StudentMessage = other.StudentMessage.Clone();
  5174. break;
  5175. case MessageOfObjOneofCase.TrickerMessage:
  5176. TrickerMessage = other.TrickerMessage.Clone();
  5177. break;
  5178. case MessageOfObjOneofCase.PropMessage:
  5179. PropMessage = other.PropMessage.Clone();
  5180. break;
  5181. case MessageOfObjOneofCase.BulletMessage:
  5182. BulletMessage = other.BulletMessage.Clone();
  5183. break;
  5184. case MessageOfObjOneofCase.BombedBulletMessage:
  5185. BombedBulletMessage = other.BombedBulletMessage.Clone();
  5186. break;
  5187. case MessageOfObjOneofCase.ClassroomMessage:
  5188. ClassroomMessage = other.ClassroomMessage.Clone();
  5189. break;
  5190. case MessageOfObjOneofCase.DoorMessage:
  5191. DoorMessage = other.DoorMessage.Clone();
  5192. break;
  5193. case MessageOfObjOneofCase.GateMessage:
  5194. GateMessage = other.GateMessage.Clone();
  5195. break;
  5196. case MessageOfObjOneofCase.ChestMessage:
  5197. ChestMessage = other.ChestMessage.Clone();
  5198. break;
  5199. case MessageOfObjOneofCase.HiddenGateMessage:
  5200. HiddenGateMessage = other.HiddenGateMessage.Clone();
  5201. break;
  5202. case MessageOfObjOneofCase.NewsMessage:
  5203. NewsMessage = other.NewsMessage.Clone();
  5204. break;
  5205. case MessageOfObjOneofCase.MapMessage:
  5206. MapMessage = other.MapMessage.Clone();
  5207. break;
  5208. }
  5209. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5210. }
  5211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5212. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5213. public MessageOfObj Clone() {
  5214. return new MessageOfObj(this);
  5215. }
  5216. /// <summary>Field number for the "student_message" field.</summary>
  5217. public const int StudentMessageFieldNumber = 1;
  5218. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5219. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5220. public global::Protobuf.MessageOfStudent StudentMessage {
  5221. get { return messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage ? (global::Protobuf.MessageOfStudent) messageOfObj_ : null; }
  5222. set {
  5223. messageOfObj_ = value;
  5224. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.StudentMessage;
  5225. }
  5226. }
  5227. /// <summary>Field number for the "tricker_message" field.</summary>
  5228. public const int TrickerMessageFieldNumber = 2;
  5229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5230. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5231. public global::Protobuf.MessageOfTricker TrickerMessage {
  5232. get { return messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage ? (global::Protobuf.MessageOfTricker) messageOfObj_ : null; }
  5233. set {
  5234. messageOfObj_ = value;
  5235. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.TrickerMessage;
  5236. }
  5237. }
  5238. /// <summary>Field number for the "prop_message" field.</summary>
  5239. public const int PropMessageFieldNumber = 3;
  5240. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5241. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5242. public global::Protobuf.MessageOfProp PropMessage {
  5243. get { return messageOfObjCase_ == MessageOfObjOneofCase.PropMessage ? (global::Protobuf.MessageOfProp) messageOfObj_ : null; }
  5244. set {
  5245. messageOfObj_ = value;
  5246. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.PropMessage;
  5247. }
  5248. }
  5249. /// <summary>Field number for the "bullet_message" field.</summary>
  5250. public const int BulletMessageFieldNumber = 4;
  5251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5252. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5253. public global::Protobuf.MessageOfBullet BulletMessage {
  5254. get { return messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage ? (global::Protobuf.MessageOfBullet) messageOfObj_ : null; }
  5255. set {
  5256. messageOfObj_ = value;
  5257. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.BulletMessage;
  5258. }
  5259. }
  5260. /// <summary>Field number for the "bombed_bullet_message" field.</summary>
  5261. public const int BombedBulletMessageFieldNumber = 5;
  5262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5263. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5264. public global::Protobuf.MessageOfBombedBullet BombedBulletMessage {
  5265. get { return messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage ? (global::Protobuf.MessageOfBombedBullet) messageOfObj_ : null; }
  5266. set {
  5267. messageOfObj_ = value;
  5268. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.BombedBulletMessage;
  5269. }
  5270. }
  5271. /// <summary>Field number for the "classroom_message" field.</summary>
  5272. public const int ClassroomMessageFieldNumber = 6;
  5273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5274. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5275. public global::Protobuf.MessageOfClassroom ClassroomMessage {
  5276. get { return messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage ? (global::Protobuf.MessageOfClassroom) messageOfObj_ : null; }
  5277. set {
  5278. messageOfObj_ = value;
  5279. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.ClassroomMessage;
  5280. }
  5281. }
  5282. /// <summary>Field number for the "door_message" field.</summary>
  5283. public const int DoorMessageFieldNumber = 7;
  5284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5285. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5286. public global::Protobuf.MessageOfDoor DoorMessage {
  5287. get { return messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage ? (global::Protobuf.MessageOfDoor) messageOfObj_ : null; }
  5288. set {
  5289. messageOfObj_ = value;
  5290. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.DoorMessage;
  5291. }
  5292. }
  5293. /// <summary>Field number for the "gate_message" field.</summary>
  5294. public const int GateMessageFieldNumber = 8;
  5295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5296. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5297. public global::Protobuf.MessageOfGate GateMessage {
  5298. get { return messageOfObjCase_ == MessageOfObjOneofCase.GateMessage ? (global::Protobuf.MessageOfGate) messageOfObj_ : null; }
  5299. set {
  5300. messageOfObj_ = value;
  5301. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.GateMessage;
  5302. }
  5303. }
  5304. /// <summary>Field number for the "chest_message" field.</summary>
  5305. public const int ChestMessageFieldNumber = 9;
  5306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5307. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5308. public global::Protobuf.MessageOfChest ChestMessage {
  5309. get { return messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage ? (global::Protobuf.MessageOfChest) messageOfObj_ : null; }
  5310. set {
  5311. messageOfObj_ = value;
  5312. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.ChestMessage;
  5313. }
  5314. }
  5315. /// <summary>Field number for the "hidden_gate_message" field.</summary>
  5316. public const int HiddenGateMessageFieldNumber = 10;
  5317. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5318. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5319. public global::Protobuf.MessageOfHiddenGate HiddenGateMessage {
  5320. get { return messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage ? (global::Protobuf.MessageOfHiddenGate) messageOfObj_ : null; }
  5321. set {
  5322. messageOfObj_ = value;
  5323. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.HiddenGateMessage;
  5324. }
  5325. }
  5326. /// <summary>Field number for the "news_message" field.</summary>
  5327. public const int NewsMessageFieldNumber = 11;
  5328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5329. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5330. public global::Protobuf.MessageOfNews NewsMessage {
  5331. get { return messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage ? (global::Protobuf.MessageOfNews) messageOfObj_ : null; }
  5332. set {
  5333. messageOfObj_ = value;
  5334. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.NewsMessage;
  5335. }
  5336. }
  5337. /// <summary>Field number for the "map_message" field.</summary>
  5338. public const int MapMessageFieldNumber = 12;
  5339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5340. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5341. public global::Protobuf.MessageOfMap MapMessage {
  5342. get { return messageOfObjCase_ == MessageOfObjOneofCase.MapMessage ? (global::Protobuf.MessageOfMap) messageOfObj_ : null; }
  5343. set {
  5344. messageOfObj_ = value;
  5345. messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.MapMessage;
  5346. }
  5347. }
  5348. private object messageOfObj_;
  5349. /// <summary>Enum of possible cases for the "message_of_obj" oneof.</summary>
  5350. public enum MessageOfObjOneofCase {
  5351. None = 0,
  5352. StudentMessage = 1,
  5353. TrickerMessage = 2,
  5354. PropMessage = 3,
  5355. BulletMessage = 4,
  5356. BombedBulletMessage = 5,
  5357. ClassroomMessage = 6,
  5358. DoorMessage = 7,
  5359. GateMessage = 8,
  5360. ChestMessage = 9,
  5361. HiddenGateMessage = 10,
  5362. NewsMessage = 11,
  5363. MapMessage = 12,
  5364. }
  5365. private MessageOfObjOneofCase messageOfObjCase_ = MessageOfObjOneofCase.None;
  5366. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5367. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5368. public MessageOfObjOneofCase MessageOfObjCase {
  5369. get { return messageOfObjCase_; }
  5370. }
  5371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5372. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5373. public void ClearMessageOfObj() {
  5374. messageOfObjCase_ = MessageOfObjOneofCase.None;
  5375. messageOfObj_ = null;
  5376. }
  5377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5378. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5379. public override bool Equals(object other) {
  5380. return Equals(other as MessageOfObj);
  5381. }
  5382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5383. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5384. public bool Equals(MessageOfObj other) {
  5385. if (ReferenceEquals(other, null)) {
  5386. return false;
  5387. }
  5388. if (ReferenceEquals(other, this)) {
  5389. return true;
  5390. }
  5391. if (!object.Equals(StudentMessage, other.StudentMessage)) return false;
  5392. if (!object.Equals(TrickerMessage, other.TrickerMessage)) return false;
  5393. if (!object.Equals(PropMessage, other.PropMessage)) return false;
  5394. if (!object.Equals(BulletMessage, other.BulletMessage)) return false;
  5395. if (!object.Equals(BombedBulletMessage, other.BombedBulletMessage)) return false;
  5396. if (!object.Equals(ClassroomMessage, other.ClassroomMessage)) return false;
  5397. if (!object.Equals(DoorMessage, other.DoorMessage)) return false;
  5398. if (!object.Equals(GateMessage, other.GateMessage)) return false;
  5399. if (!object.Equals(ChestMessage, other.ChestMessage)) return false;
  5400. if (!object.Equals(HiddenGateMessage, other.HiddenGateMessage)) return false;
  5401. if (!object.Equals(NewsMessage, other.NewsMessage)) return false;
  5402. if (!object.Equals(MapMessage, other.MapMessage)) return false;
  5403. if (MessageOfObjCase != other.MessageOfObjCase) return false;
  5404. return Equals(_unknownFields, other._unknownFields);
  5405. }
  5406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5407. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5408. public override int GetHashCode() {
  5409. int hash = 1;
  5410. if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) hash ^= StudentMessage.GetHashCode();
  5411. if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) hash ^= TrickerMessage.GetHashCode();
  5412. if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) hash ^= PropMessage.GetHashCode();
  5413. if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) hash ^= BulletMessage.GetHashCode();
  5414. if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) hash ^= BombedBulletMessage.GetHashCode();
  5415. if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) hash ^= ClassroomMessage.GetHashCode();
  5416. if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) hash ^= DoorMessage.GetHashCode();
  5417. if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) hash ^= GateMessage.GetHashCode();
  5418. if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) hash ^= ChestMessage.GetHashCode();
  5419. if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) hash ^= HiddenGateMessage.GetHashCode();
  5420. if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) hash ^= NewsMessage.GetHashCode();
  5421. if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) hash ^= MapMessage.GetHashCode();
  5422. hash ^= (int) messageOfObjCase_;
  5423. if (_unknownFields != null) {
  5424. hash ^= _unknownFields.GetHashCode();
  5425. }
  5426. return hash;
  5427. }
  5428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5429. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5430. public override string ToString() {
  5431. return pb::JsonFormatter.ToDiagnosticString(this);
  5432. }
  5433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5434. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5435. public void WriteTo(pb::CodedOutputStream output) {
  5436. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5437. output.WriteRawMessage(this);
  5438. #else
  5439. if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
  5440. output.WriteRawTag(10);
  5441. output.WriteMessage(StudentMessage);
  5442. }
  5443. if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
  5444. output.WriteRawTag(18);
  5445. output.WriteMessage(TrickerMessage);
  5446. }
  5447. if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
  5448. output.WriteRawTag(26);
  5449. output.WriteMessage(PropMessage);
  5450. }
  5451. if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
  5452. output.WriteRawTag(34);
  5453. output.WriteMessage(BulletMessage);
  5454. }
  5455. if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
  5456. output.WriteRawTag(42);
  5457. output.WriteMessage(BombedBulletMessage);
  5458. }
  5459. if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
  5460. output.WriteRawTag(50);
  5461. output.WriteMessage(ClassroomMessage);
  5462. }
  5463. if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
  5464. output.WriteRawTag(58);
  5465. output.WriteMessage(DoorMessage);
  5466. }
  5467. if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
  5468. output.WriteRawTag(66);
  5469. output.WriteMessage(GateMessage);
  5470. }
  5471. if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
  5472. output.WriteRawTag(74);
  5473. output.WriteMessage(ChestMessage);
  5474. }
  5475. if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
  5476. output.WriteRawTag(82);
  5477. output.WriteMessage(HiddenGateMessage);
  5478. }
  5479. if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
  5480. output.WriteRawTag(90);
  5481. output.WriteMessage(NewsMessage);
  5482. }
  5483. if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
  5484. output.WriteRawTag(98);
  5485. output.WriteMessage(MapMessage);
  5486. }
  5487. if (_unknownFields != null) {
  5488. _unknownFields.WriteTo(output);
  5489. }
  5490. #endif
  5491. }
  5492. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5494. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5495. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5496. if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
  5497. output.WriteRawTag(10);
  5498. output.WriteMessage(StudentMessage);
  5499. }
  5500. if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
  5501. output.WriteRawTag(18);
  5502. output.WriteMessage(TrickerMessage);
  5503. }
  5504. if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
  5505. output.WriteRawTag(26);
  5506. output.WriteMessage(PropMessage);
  5507. }
  5508. if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
  5509. output.WriteRawTag(34);
  5510. output.WriteMessage(BulletMessage);
  5511. }
  5512. if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
  5513. output.WriteRawTag(42);
  5514. output.WriteMessage(BombedBulletMessage);
  5515. }
  5516. if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
  5517. output.WriteRawTag(50);
  5518. output.WriteMessage(ClassroomMessage);
  5519. }
  5520. if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
  5521. output.WriteRawTag(58);
  5522. output.WriteMessage(DoorMessage);
  5523. }
  5524. if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
  5525. output.WriteRawTag(66);
  5526. output.WriteMessage(GateMessage);
  5527. }
  5528. if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
  5529. output.WriteRawTag(74);
  5530. output.WriteMessage(ChestMessage);
  5531. }
  5532. if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
  5533. output.WriteRawTag(82);
  5534. output.WriteMessage(HiddenGateMessage);
  5535. }
  5536. if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
  5537. output.WriteRawTag(90);
  5538. output.WriteMessage(NewsMessage);
  5539. }
  5540. if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
  5541. output.WriteRawTag(98);
  5542. output.WriteMessage(MapMessage);
  5543. }
  5544. if (_unknownFields != null) {
  5545. _unknownFields.WriteTo(ref output);
  5546. }
  5547. }
  5548. #endif
  5549. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5550. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5551. public int CalculateSize() {
  5552. int size = 0;
  5553. if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
  5554. size += 1 + pb::CodedOutputStream.ComputeMessageSize(StudentMessage);
  5555. }
  5556. if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
  5557. size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrickerMessage);
  5558. }
  5559. if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
  5560. size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropMessage);
  5561. }
  5562. if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
  5563. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BulletMessage);
  5564. }
  5565. if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
  5566. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BombedBulletMessage);
  5567. }
  5568. if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
  5569. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClassroomMessage);
  5570. }
  5571. if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
  5572. size += 1 + pb::CodedOutputStream.ComputeMessageSize(DoorMessage);
  5573. }
  5574. if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
  5575. size += 1 + pb::CodedOutputStream.ComputeMessageSize(GateMessage);
  5576. }
  5577. if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
  5578. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChestMessage);
  5579. }
  5580. if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
  5581. size += 1 + pb::CodedOutputStream.ComputeMessageSize(HiddenGateMessage);
  5582. }
  5583. if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
  5584. size += 1 + pb::CodedOutputStream.ComputeMessageSize(NewsMessage);
  5585. }
  5586. if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
  5587. size += 1 + pb::CodedOutputStream.ComputeMessageSize(MapMessage);
  5588. }
  5589. if (_unknownFields != null) {
  5590. size += _unknownFields.CalculateSize();
  5591. }
  5592. return size;
  5593. }
  5594. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5595. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5596. public void MergeFrom(MessageOfObj other) {
  5597. if (other == null) {
  5598. return;
  5599. }
  5600. switch (other.MessageOfObjCase) {
  5601. case MessageOfObjOneofCase.StudentMessage:
  5602. if (StudentMessage == null) {
  5603. StudentMessage = new global::Protobuf.MessageOfStudent();
  5604. }
  5605. StudentMessage.MergeFrom(other.StudentMessage);
  5606. break;
  5607. case MessageOfObjOneofCase.TrickerMessage:
  5608. if (TrickerMessage == null) {
  5609. TrickerMessage = new global::Protobuf.MessageOfTricker();
  5610. }
  5611. TrickerMessage.MergeFrom(other.TrickerMessage);
  5612. break;
  5613. case MessageOfObjOneofCase.PropMessage:
  5614. if (PropMessage == null) {
  5615. PropMessage = new global::Protobuf.MessageOfProp();
  5616. }
  5617. PropMessage.MergeFrom(other.PropMessage);
  5618. break;
  5619. case MessageOfObjOneofCase.BulletMessage:
  5620. if (BulletMessage == null) {
  5621. BulletMessage = new global::Protobuf.MessageOfBullet();
  5622. }
  5623. BulletMessage.MergeFrom(other.BulletMessage);
  5624. break;
  5625. case MessageOfObjOneofCase.BombedBulletMessage:
  5626. if (BombedBulletMessage == null) {
  5627. BombedBulletMessage = new global::Protobuf.MessageOfBombedBullet();
  5628. }
  5629. BombedBulletMessage.MergeFrom(other.BombedBulletMessage);
  5630. break;
  5631. case MessageOfObjOneofCase.ClassroomMessage:
  5632. if (ClassroomMessage == null) {
  5633. ClassroomMessage = new global::Protobuf.MessageOfClassroom();
  5634. }
  5635. ClassroomMessage.MergeFrom(other.ClassroomMessage);
  5636. break;
  5637. case MessageOfObjOneofCase.DoorMessage:
  5638. if (DoorMessage == null) {
  5639. DoorMessage = new global::Protobuf.MessageOfDoor();
  5640. }
  5641. DoorMessage.MergeFrom(other.DoorMessage);
  5642. break;
  5643. case MessageOfObjOneofCase.GateMessage:
  5644. if (GateMessage == null) {
  5645. GateMessage = new global::Protobuf.MessageOfGate();
  5646. }
  5647. GateMessage.MergeFrom(other.GateMessage);
  5648. break;
  5649. case MessageOfObjOneofCase.ChestMessage:
  5650. if (ChestMessage == null) {
  5651. ChestMessage = new global::Protobuf.MessageOfChest();
  5652. }
  5653. ChestMessage.MergeFrom(other.ChestMessage);
  5654. break;
  5655. case MessageOfObjOneofCase.HiddenGateMessage:
  5656. if (HiddenGateMessage == null) {
  5657. HiddenGateMessage = new global::Protobuf.MessageOfHiddenGate();
  5658. }
  5659. HiddenGateMessage.MergeFrom(other.HiddenGateMessage);
  5660. break;
  5661. case MessageOfObjOneofCase.NewsMessage:
  5662. if (NewsMessage == null) {
  5663. NewsMessage = new global::Protobuf.MessageOfNews();
  5664. }
  5665. NewsMessage.MergeFrom(other.NewsMessage);
  5666. break;
  5667. case MessageOfObjOneofCase.MapMessage:
  5668. if (MapMessage == null) {
  5669. MapMessage = new global::Protobuf.MessageOfMap();
  5670. }
  5671. MapMessage.MergeFrom(other.MapMessage);
  5672. break;
  5673. }
  5674. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5675. }
  5676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5677. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5678. public void MergeFrom(pb::CodedInputStream input) {
  5679. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5680. input.ReadRawMessage(this);
  5681. #else
  5682. uint tag;
  5683. while ((tag = input.ReadTag()) != 0) {
  5684. switch(tag) {
  5685. default:
  5686. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5687. break;
  5688. case 10: {
  5689. global::Protobuf.MessageOfStudent subBuilder = new global::Protobuf.MessageOfStudent();
  5690. if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
  5691. subBuilder.MergeFrom(StudentMessage);
  5692. }
  5693. input.ReadMessage(subBuilder);
  5694. StudentMessage = subBuilder;
  5695. break;
  5696. }
  5697. case 18: {
  5698. global::Protobuf.MessageOfTricker subBuilder = new global::Protobuf.MessageOfTricker();
  5699. if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
  5700. subBuilder.MergeFrom(TrickerMessage);
  5701. }
  5702. input.ReadMessage(subBuilder);
  5703. TrickerMessage = subBuilder;
  5704. break;
  5705. }
  5706. case 26: {
  5707. global::Protobuf.MessageOfProp subBuilder = new global::Protobuf.MessageOfProp();
  5708. if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
  5709. subBuilder.MergeFrom(PropMessage);
  5710. }
  5711. input.ReadMessage(subBuilder);
  5712. PropMessage = subBuilder;
  5713. break;
  5714. }
  5715. case 34: {
  5716. global::Protobuf.MessageOfBullet subBuilder = new global::Protobuf.MessageOfBullet();
  5717. if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
  5718. subBuilder.MergeFrom(BulletMessage);
  5719. }
  5720. input.ReadMessage(subBuilder);
  5721. BulletMessage = subBuilder;
  5722. break;
  5723. }
  5724. case 42: {
  5725. global::Protobuf.MessageOfBombedBullet subBuilder = new global::Protobuf.MessageOfBombedBullet();
  5726. if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
  5727. subBuilder.MergeFrom(BombedBulletMessage);
  5728. }
  5729. input.ReadMessage(subBuilder);
  5730. BombedBulletMessage = subBuilder;
  5731. break;
  5732. }
  5733. case 50: {
  5734. global::Protobuf.MessageOfClassroom subBuilder = new global::Protobuf.MessageOfClassroom();
  5735. if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
  5736. subBuilder.MergeFrom(ClassroomMessage);
  5737. }
  5738. input.ReadMessage(subBuilder);
  5739. ClassroomMessage = subBuilder;
  5740. break;
  5741. }
  5742. case 58: {
  5743. global::Protobuf.MessageOfDoor subBuilder = new global::Protobuf.MessageOfDoor();
  5744. if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
  5745. subBuilder.MergeFrom(DoorMessage);
  5746. }
  5747. input.ReadMessage(subBuilder);
  5748. DoorMessage = subBuilder;
  5749. break;
  5750. }
  5751. case 66: {
  5752. global::Protobuf.MessageOfGate subBuilder = new global::Protobuf.MessageOfGate();
  5753. if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
  5754. subBuilder.MergeFrom(GateMessage);
  5755. }
  5756. input.ReadMessage(subBuilder);
  5757. GateMessage = subBuilder;
  5758. break;
  5759. }
  5760. case 74: {
  5761. global::Protobuf.MessageOfChest subBuilder = new global::Protobuf.MessageOfChest();
  5762. if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
  5763. subBuilder.MergeFrom(ChestMessage);
  5764. }
  5765. input.ReadMessage(subBuilder);
  5766. ChestMessage = subBuilder;
  5767. break;
  5768. }
  5769. case 82: {
  5770. global::Protobuf.MessageOfHiddenGate subBuilder = new global::Protobuf.MessageOfHiddenGate();
  5771. if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
  5772. subBuilder.MergeFrom(HiddenGateMessage);
  5773. }
  5774. input.ReadMessage(subBuilder);
  5775. HiddenGateMessage = subBuilder;
  5776. break;
  5777. }
  5778. case 90: {
  5779. global::Protobuf.MessageOfNews subBuilder = new global::Protobuf.MessageOfNews();
  5780. if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
  5781. subBuilder.MergeFrom(NewsMessage);
  5782. }
  5783. input.ReadMessage(subBuilder);
  5784. NewsMessage = subBuilder;
  5785. break;
  5786. }
  5787. case 98: {
  5788. global::Protobuf.MessageOfMap subBuilder = new global::Protobuf.MessageOfMap();
  5789. if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
  5790. subBuilder.MergeFrom(MapMessage);
  5791. }
  5792. input.ReadMessage(subBuilder);
  5793. MapMessage = subBuilder;
  5794. break;
  5795. }
  5796. }
  5797. }
  5798. #endif
  5799. }
  5800. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5801. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5802. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5803. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  5804. uint tag;
  5805. while ((tag = input.ReadTag()) != 0) {
  5806. switch(tag) {
  5807. default:
  5808. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  5809. break;
  5810. case 10: {
  5811. global::Protobuf.MessageOfStudent subBuilder = new global::Protobuf.MessageOfStudent();
  5812. if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
  5813. subBuilder.MergeFrom(StudentMessage);
  5814. }
  5815. input.ReadMessage(subBuilder);
  5816. StudentMessage = subBuilder;
  5817. break;
  5818. }
  5819. case 18: {
  5820. global::Protobuf.MessageOfTricker subBuilder = new global::Protobuf.MessageOfTricker();
  5821. if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
  5822. subBuilder.MergeFrom(TrickerMessage);
  5823. }
  5824. input.ReadMessage(subBuilder);
  5825. TrickerMessage = subBuilder;
  5826. break;
  5827. }
  5828. case 26: {
  5829. global::Protobuf.MessageOfProp subBuilder = new global::Protobuf.MessageOfProp();
  5830. if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
  5831. subBuilder.MergeFrom(PropMessage);
  5832. }
  5833. input.ReadMessage(subBuilder);
  5834. PropMessage = subBuilder;
  5835. break;
  5836. }
  5837. case 34: {
  5838. global::Protobuf.MessageOfBullet subBuilder = new global::Protobuf.MessageOfBullet();
  5839. if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
  5840. subBuilder.MergeFrom(BulletMessage);
  5841. }
  5842. input.ReadMessage(subBuilder);
  5843. BulletMessage = subBuilder;
  5844. break;
  5845. }
  5846. case 42: {
  5847. global::Protobuf.MessageOfBombedBullet subBuilder = new global::Protobuf.MessageOfBombedBullet();
  5848. if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
  5849. subBuilder.MergeFrom(BombedBulletMessage);
  5850. }
  5851. input.ReadMessage(subBuilder);
  5852. BombedBulletMessage = subBuilder;
  5853. break;
  5854. }
  5855. case 50: {
  5856. global::Protobuf.MessageOfClassroom subBuilder = new global::Protobuf.MessageOfClassroom();
  5857. if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
  5858. subBuilder.MergeFrom(ClassroomMessage);
  5859. }
  5860. input.ReadMessage(subBuilder);
  5861. ClassroomMessage = subBuilder;
  5862. break;
  5863. }
  5864. case 58: {
  5865. global::Protobuf.MessageOfDoor subBuilder = new global::Protobuf.MessageOfDoor();
  5866. if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
  5867. subBuilder.MergeFrom(DoorMessage);
  5868. }
  5869. input.ReadMessage(subBuilder);
  5870. DoorMessage = subBuilder;
  5871. break;
  5872. }
  5873. case 66: {
  5874. global::Protobuf.MessageOfGate subBuilder = new global::Protobuf.MessageOfGate();
  5875. if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
  5876. subBuilder.MergeFrom(GateMessage);
  5877. }
  5878. input.ReadMessage(subBuilder);
  5879. GateMessage = subBuilder;
  5880. break;
  5881. }
  5882. case 74: {
  5883. global::Protobuf.MessageOfChest subBuilder = new global::Protobuf.MessageOfChest();
  5884. if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
  5885. subBuilder.MergeFrom(ChestMessage);
  5886. }
  5887. input.ReadMessage(subBuilder);
  5888. ChestMessage = subBuilder;
  5889. break;
  5890. }
  5891. case 82: {
  5892. global::Protobuf.MessageOfHiddenGate subBuilder = new global::Protobuf.MessageOfHiddenGate();
  5893. if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
  5894. subBuilder.MergeFrom(HiddenGateMessage);
  5895. }
  5896. input.ReadMessage(subBuilder);
  5897. HiddenGateMessage = subBuilder;
  5898. break;
  5899. }
  5900. case 90: {
  5901. global::Protobuf.MessageOfNews subBuilder = new global::Protobuf.MessageOfNews();
  5902. if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
  5903. subBuilder.MergeFrom(NewsMessage);
  5904. }
  5905. input.ReadMessage(subBuilder);
  5906. NewsMessage = subBuilder;
  5907. break;
  5908. }
  5909. case 98: {
  5910. global::Protobuf.MessageOfMap subBuilder = new global::Protobuf.MessageOfMap();
  5911. if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
  5912. subBuilder.MergeFrom(MapMessage);
  5913. }
  5914. input.ReadMessage(subBuilder);
  5915. MapMessage = subBuilder;
  5916. break;
  5917. }
  5918. }
  5919. }
  5920. }
  5921. #endif
  5922. }
  5923. public sealed partial class MessageOfAll : pb::IMessage<MessageOfAll>
  5924. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5925. , pb::IBufferMessage
  5926. #endif
  5927. {
  5928. private static readonly pb::MessageParser<MessageOfAll> _parser = new pb::MessageParser<MessageOfAll>(() => new MessageOfAll());
  5929. private pb::UnknownFieldSet _unknownFields;
  5930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5931. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5932. public static pb::MessageParser<MessageOfAll> Parser { get { return _parser; } }
  5933. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5934. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5935. public static pbr::MessageDescriptor Descriptor {
  5936. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[14]; }
  5937. }
  5938. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5939. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5940. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5941. get { return Descriptor; }
  5942. }
  5943. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5944. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5945. public MessageOfAll() {
  5946. OnConstruction();
  5947. }
  5948. partial void OnConstruction();
  5949. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5950. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5951. public MessageOfAll(MessageOfAll other) : this() {
  5952. gameTime_ = other.gameTime_;
  5953. subjectLeft_ = other.subjectLeft_;
  5954. studentGraduated_ = other.studentGraduated_;
  5955. studentQuited_ = other.studentQuited_;
  5956. studentScore_ = other.studentScore_;
  5957. trickerScore_ = other.trickerScore_;
  5958. gateOpened_ = other.gateOpened_;
  5959. hiddenGateRefreshed_ = other.hiddenGateRefreshed_;
  5960. hiddenGateOpened_ = other.hiddenGateOpened_;
  5961. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5962. }
  5963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5964. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5965. public MessageOfAll Clone() {
  5966. return new MessageOfAll(this);
  5967. }
  5968. /// <summary>Field number for the "game_time" field.</summary>
  5969. public const int GameTimeFieldNumber = 1;
  5970. private int gameTime_;
  5971. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5972. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5973. public int GameTime {
  5974. get { return gameTime_; }
  5975. set {
  5976. gameTime_ = value;
  5977. }
  5978. }
  5979. /// <summary>Field number for the "subject_left" field.</summary>
  5980. public const int SubjectLeftFieldNumber = 2;
  5981. private int subjectLeft_;
  5982. /// <summary>
  5983. /// 剩余的科目数
  5984. /// </summary>
  5985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5986. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  5987. public int SubjectLeft {
  5988. get { return subjectLeft_; }
  5989. set {
  5990. subjectLeft_ = value;
  5991. }
  5992. }
  5993. /// <summary>Field number for the "student_graduated" field.</summary>
  5994. public const int StudentGraduatedFieldNumber = 3;
  5995. private int studentGraduated_;
  5996. /// <summary>
  5997. /// 已经毕业的学生数
  5998. /// </summary>
  5999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6000. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6001. public int StudentGraduated {
  6002. get { return studentGraduated_; }
  6003. set {
  6004. studentGraduated_ = value;
  6005. }
  6006. }
  6007. /// <summary>Field number for the "student_quited" field.</summary>
  6008. public const int StudentQuitedFieldNumber = 4;
  6009. private int studentQuited_;
  6010. /// <summary>
  6011. /// 已经退学的学生数
  6012. /// </summary>
  6013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6014. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6015. public int StudentQuited {
  6016. get { return studentQuited_; }
  6017. set {
  6018. studentQuited_ = value;
  6019. }
  6020. }
  6021. /// <summary>Field number for the "student_score" field.</summary>
  6022. public const int StudentScoreFieldNumber = 5;
  6023. private int studentScore_;
  6024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6025. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6026. public int StudentScore {
  6027. get { return studentScore_; }
  6028. set {
  6029. studentScore_ = value;
  6030. }
  6031. }
  6032. /// <summary>Field number for the "tricker_score" field.</summary>
  6033. public const int TrickerScoreFieldNumber = 6;
  6034. private int trickerScore_;
  6035. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6036. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6037. public int TrickerScore {
  6038. get { return trickerScore_; }
  6039. set {
  6040. trickerScore_ = value;
  6041. }
  6042. }
  6043. /// <summary>Field number for the "gate_opened" field.</summary>
  6044. public const int GateOpenedFieldNumber = 7;
  6045. private bool gateOpened_;
  6046. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6047. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6048. public bool GateOpened {
  6049. get { return gateOpened_; }
  6050. set {
  6051. gateOpened_ = value;
  6052. }
  6053. }
  6054. /// <summary>Field number for the "hidden_gate_refreshed" field.</summary>
  6055. public const int HiddenGateRefreshedFieldNumber = 8;
  6056. private bool hiddenGateRefreshed_;
  6057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6058. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6059. public bool HiddenGateRefreshed {
  6060. get { return hiddenGateRefreshed_; }
  6061. set {
  6062. hiddenGateRefreshed_ = value;
  6063. }
  6064. }
  6065. /// <summary>Field number for the "hidden_gate_opened" field.</summary>
  6066. public const int HiddenGateOpenedFieldNumber = 9;
  6067. private bool hiddenGateOpened_;
  6068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6069. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6070. public bool HiddenGateOpened {
  6071. get { return hiddenGateOpened_; }
  6072. set {
  6073. hiddenGateOpened_ = value;
  6074. }
  6075. }
  6076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6077. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6078. public override bool Equals(object other) {
  6079. return Equals(other as MessageOfAll);
  6080. }
  6081. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6082. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6083. public bool Equals(MessageOfAll other) {
  6084. if (ReferenceEquals(other, null)) {
  6085. return false;
  6086. }
  6087. if (ReferenceEquals(other, this)) {
  6088. return true;
  6089. }
  6090. if (GameTime != other.GameTime) return false;
  6091. if (SubjectLeft != other.SubjectLeft) return false;
  6092. if (StudentGraduated != other.StudentGraduated) return false;
  6093. if (StudentQuited != other.StudentQuited) return false;
  6094. if (StudentScore != other.StudentScore) return false;
  6095. if (TrickerScore != other.TrickerScore) return false;
  6096. if (GateOpened != other.GateOpened) return false;
  6097. if (HiddenGateRefreshed != other.HiddenGateRefreshed) return false;
  6098. if (HiddenGateOpened != other.HiddenGateOpened) return false;
  6099. return Equals(_unknownFields, other._unknownFields);
  6100. }
  6101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6102. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6103. public override int GetHashCode() {
  6104. int hash = 1;
  6105. if (GameTime != 0) hash ^= GameTime.GetHashCode();
  6106. if (SubjectLeft != 0) hash ^= SubjectLeft.GetHashCode();
  6107. if (StudentGraduated != 0) hash ^= StudentGraduated.GetHashCode();
  6108. if (StudentQuited != 0) hash ^= StudentQuited.GetHashCode();
  6109. if (StudentScore != 0) hash ^= StudentScore.GetHashCode();
  6110. if (TrickerScore != 0) hash ^= TrickerScore.GetHashCode();
  6111. if (GateOpened != false) hash ^= GateOpened.GetHashCode();
  6112. if (HiddenGateRefreshed != false) hash ^= HiddenGateRefreshed.GetHashCode();
  6113. if (HiddenGateOpened != false) hash ^= HiddenGateOpened.GetHashCode();
  6114. if (_unknownFields != null) {
  6115. hash ^= _unknownFields.GetHashCode();
  6116. }
  6117. return hash;
  6118. }
  6119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6120. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6121. public override string ToString() {
  6122. return pb::JsonFormatter.ToDiagnosticString(this);
  6123. }
  6124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6125. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6126. public void WriteTo(pb::CodedOutputStream output) {
  6127. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6128. output.WriteRawMessage(this);
  6129. #else
  6130. if (GameTime != 0) {
  6131. output.WriteRawTag(8);
  6132. output.WriteInt32(GameTime);
  6133. }
  6134. if (SubjectLeft != 0) {
  6135. output.WriteRawTag(16);
  6136. output.WriteInt32(SubjectLeft);
  6137. }
  6138. if (StudentGraduated != 0) {
  6139. output.WriteRawTag(24);
  6140. output.WriteInt32(StudentGraduated);
  6141. }
  6142. if (StudentQuited != 0) {
  6143. output.WriteRawTag(32);
  6144. output.WriteInt32(StudentQuited);
  6145. }
  6146. if (StudentScore != 0) {
  6147. output.WriteRawTag(40);
  6148. output.WriteInt32(StudentScore);
  6149. }
  6150. if (TrickerScore != 0) {
  6151. output.WriteRawTag(48);
  6152. output.WriteInt32(TrickerScore);
  6153. }
  6154. if (GateOpened != false) {
  6155. output.WriteRawTag(56);
  6156. output.WriteBool(GateOpened);
  6157. }
  6158. if (HiddenGateRefreshed != false) {
  6159. output.WriteRawTag(64);
  6160. output.WriteBool(HiddenGateRefreshed);
  6161. }
  6162. if (HiddenGateOpened != false) {
  6163. output.WriteRawTag(72);
  6164. output.WriteBool(HiddenGateOpened);
  6165. }
  6166. if (_unknownFields != null) {
  6167. _unknownFields.WriteTo(output);
  6168. }
  6169. #endif
  6170. }
  6171. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6173. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6174. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  6175. if (GameTime != 0) {
  6176. output.WriteRawTag(8);
  6177. output.WriteInt32(GameTime);
  6178. }
  6179. if (SubjectLeft != 0) {
  6180. output.WriteRawTag(16);
  6181. output.WriteInt32(SubjectLeft);
  6182. }
  6183. if (StudentGraduated != 0) {
  6184. output.WriteRawTag(24);
  6185. output.WriteInt32(StudentGraduated);
  6186. }
  6187. if (StudentQuited != 0) {
  6188. output.WriteRawTag(32);
  6189. output.WriteInt32(StudentQuited);
  6190. }
  6191. if (StudentScore != 0) {
  6192. output.WriteRawTag(40);
  6193. output.WriteInt32(StudentScore);
  6194. }
  6195. if (TrickerScore != 0) {
  6196. output.WriteRawTag(48);
  6197. output.WriteInt32(TrickerScore);
  6198. }
  6199. if (GateOpened != false) {
  6200. output.WriteRawTag(56);
  6201. output.WriteBool(GateOpened);
  6202. }
  6203. if (HiddenGateRefreshed != false) {
  6204. output.WriteRawTag(64);
  6205. output.WriteBool(HiddenGateRefreshed);
  6206. }
  6207. if (HiddenGateOpened != false) {
  6208. output.WriteRawTag(72);
  6209. output.WriteBool(HiddenGateOpened);
  6210. }
  6211. if (_unknownFields != null) {
  6212. _unknownFields.WriteTo(ref output);
  6213. }
  6214. }
  6215. #endif
  6216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6217. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6218. public int CalculateSize() {
  6219. int size = 0;
  6220. if (GameTime != 0) {
  6221. size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameTime);
  6222. }
  6223. if (SubjectLeft != 0) {
  6224. size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubjectLeft);
  6225. }
  6226. if (StudentGraduated != 0) {
  6227. size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentGraduated);
  6228. }
  6229. if (StudentQuited != 0) {
  6230. size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentQuited);
  6231. }
  6232. if (StudentScore != 0) {
  6233. size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentScore);
  6234. }
  6235. if (TrickerScore != 0) {
  6236. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TrickerScore);
  6237. }
  6238. if (GateOpened != false) {
  6239. size += 1 + 1;
  6240. }
  6241. if (HiddenGateRefreshed != false) {
  6242. size += 1 + 1;
  6243. }
  6244. if (HiddenGateOpened != false) {
  6245. size += 1 + 1;
  6246. }
  6247. if (_unknownFields != null) {
  6248. size += _unknownFields.CalculateSize();
  6249. }
  6250. return size;
  6251. }
  6252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6253. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6254. public void MergeFrom(MessageOfAll other) {
  6255. if (other == null) {
  6256. return;
  6257. }
  6258. if (other.GameTime != 0) {
  6259. GameTime = other.GameTime;
  6260. }
  6261. if (other.SubjectLeft != 0) {
  6262. SubjectLeft = other.SubjectLeft;
  6263. }
  6264. if (other.StudentGraduated != 0) {
  6265. StudentGraduated = other.StudentGraduated;
  6266. }
  6267. if (other.StudentQuited != 0) {
  6268. StudentQuited = other.StudentQuited;
  6269. }
  6270. if (other.StudentScore != 0) {
  6271. StudentScore = other.StudentScore;
  6272. }
  6273. if (other.TrickerScore != 0) {
  6274. TrickerScore = other.TrickerScore;
  6275. }
  6276. if (other.GateOpened != false) {
  6277. GateOpened = other.GateOpened;
  6278. }
  6279. if (other.HiddenGateRefreshed != false) {
  6280. HiddenGateRefreshed = other.HiddenGateRefreshed;
  6281. }
  6282. if (other.HiddenGateOpened != false) {
  6283. HiddenGateOpened = other.HiddenGateOpened;
  6284. }
  6285. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  6286. }
  6287. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6288. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6289. public void MergeFrom(pb::CodedInputStream input) {
  6290. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6291. input.ReadRawMessage(this);
  6292. #else
  6293. uint tag;
  6294. while ((tag = input.ReadTag()) != 0) {
  6295. switch(tag) {
  6296. default:
  6297. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  6298. break;
  6299. case 8: {
  6300. GameTime = input.ReadInt32();
  6301. break;
  6302. }
  6303. case 16: {
  6304. SubjectLeft = input.ReadInt32();
  6305. break;
  6306. }
  6307. case 24: {
  6308. StudentGraduated = input.ReadInt32();
  6309. break;
  6310. }
  6311. case 32: {
  6312. StudentQuited = input.ReadInt32();
  6313. break;
  6314. }
  6315. case 40: {
  6316. StudentScore = input.ReadInt32();
  6317. break;
  6318. }
  6319. case 48: {
  6320. TrickerScore = input.ReadInt32();
  6321. break;
  6322. }
  6323. case 56: {
  6324. GateOpened = input.ReadBool();
  6325. break;
  6326. }
  6327. case 64: {
  6328. HiddenGateRefreshed = input.ReadBool();
  6329. break;
  6330. }
  6331. case 72: {
  6332. HiddenGateOpened = input.ReadBool();
  6333. break;
  6334. }
  6335. }
  6336. }
  6337. #endif
  6338. }
  6339. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6340. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6341. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6342. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  6343. uint tag;
  6344. while ((tag = input.ReadTag()) != 0) {
  6345. switch(tag) {
  6346. default:
  6347. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  6348. break;
  6349. case 8: {
  6350. GameTime = input.ReadInt32();
  6351. break;
  6352. }
  6353. case 16: {
  6354. SubjectLeft = input.ReadInt32();
  6355. break;
  6356. }
  6357. case 24: {
  6358. StudentGraduated = input.ReadInt32();
  6359. break;
  6360. }
  6361. case 32: {
  6362. StudentQuited = input.ReadInt32();
  6363. break;
  6364. }
  6365. case 40: {
  6366. StudentScore = input.ReadInt32();
  6367. break;
  6368. }
  6369. case 48: {
  6370. TrickerScore = input.ReadInt32();
  6371. break;
  6372. }
  6373. case 56: {
  6374. GateOpened = input.ReadBool();
  6375. break;
  6376. }
  6377. case 64: {
  6378. HiddenGateRefreshed = input.ReadBool();
  6379. break;
  6380. }
  6381. case 72: {
  6382. HiddenGateOpened = input.ReadBool();
  6383. break;
  6384. }
  6385. }
  6386. }
  6387. }
  6388. #endif
  6389. }
  6390. public sealed partial class MessageToClient : pb::IMessage<MessageToClient>
  6391. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6392. , pb::IBufferMessage
  6393. #endif
  6394. {
  6395. private static readonly pb::MessageParser<MessageToClient> _parser = new pb::MessageParser<MessageToClient>(() => new MessageToClient());
  6396. private pb::UnknownFieldSet _unknownFields;
  6397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6398. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6399. public static pb::MessageParser<MessageToClient> Parser { get { return _parser; } }
  6400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6401. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6402. public static pbr::MessageDescriptor Descriptor {
  6403. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[15]; }
  6404. }
  6405. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6406. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6407. pbr::MessageDescriptor pb::IMessage.Descriptor {
  6408. get { return Descriptor; }
  6409. }
  6410. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6411. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6412. public MessageToClient() {
  6413. OnConstruction();
  6414. }
  6415. partial void OnConstruction();
  6416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6417. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6418. public MessageToClient(MessageToClient other) : this() {
  6419. objMessage_ = other.objMessage_.Clone();
  6420. gameState_ = other.gameState_;
  6421. allMessage_ = other.allMessage_ != null ? other.allMessage_.Clone() : null;
  6422. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  6423. }
  6424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6425. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6426. public MessageToClient Clone() {
  6427. return new MessageToClient(this);
  6428. }
  6429. /// <summary>Field number for the "obj_message" field.</summary>
  6430. public const int ObjMessageFieldNumber = 1;
  6431. private static readonly pb::FieldCodec<global::Protobuf.MessageOfObj> _repeated_objMessage_codec
  6432. = pb::FieldCodec.ForMessage(10, global::Protobuf.MessageOfObj.Parser);
  6433. private readonly pbc::RepeatedField<global::Protobuf.MessageOfObj> objMessage_ = new pbc::RepeatedField<global::Protobuf.MessageOfObj>();
  6434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6435. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6436. public pbc::RepeatedField<global::Protobuf.MessageOfObj> ObjMessage {
  6437. get { return objMessage_; }
  6438. }
  6439. /// <summary>Field number for the "game_state" field.</summary>
  6440. public const int GameStateFieldNumber = 2;
  6441. private global::Protobuf.GameState gameState_ = global::Protobuf.GameState.NullGameState;
  6442. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6443. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6444. public global::Protobuf.GameState GameState {
  6445. get { return gameState_; }
  6446. set {
  6447. gameState_ = value;
  6448. }
  6449. }
  6450. /// <summary>Field number for the "all_message" field.</summary>
  6451. public const int AllMessageFieldNumber = 3;
  6452. private global::Protobuf.MessageOfAll allMessage_;
  6453. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6454. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6455. public global::Protobuf.MessageOfAll AllMessage {
  6456. get { return allMessage_; }
  6457. set {
  6458. allMessage_ = value;
  6459. }
  6460. }
  6461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6462. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6463. public override bool Equals(object other) {
  6464. return Equals(other as MessageToClient);
  6465. }
  6466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6467. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6468. public bool Equals(MessageToClient other) {
  6469. if (ReferenceEquals(other, null)) {
  6470. return false;
  6471. }
  6472. if (ReferenceEquals(other, this)) {
  6473. return true;
  6474. }
  6475. if(!objMessage_.Equals(other.objMessage_)) return false;
  6476. if (GameState != other.GameState) return false;
  6477. if (!object.Equals(AllMessage, other.AllMessage)) return false;
  6478. return Equals(_unknownFields, other._unknownFields);
  6479. }
  6480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6481. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6482. public override int GetHashCode() {
  6483. int hash = 1;
  6484. hash ^= objMessage_.GetHashCode();
  6485. if (GameState != global::Protobuf.GameState.NullGameState) hash ^= GameState.GetHashCode();
  6486. if (allMessage_ != null) hash ^= AllMessage.GetHashCode();
  6487. if (_unknownFields != null) {
  6488. hash ^= _unknownFields.GetHashCode();
  6489. }
  6490. return hash;
  6491. }
  6492. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6493. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6494. public override string ToString() {
  6495. return pb::JsonFormatter.ToDiagnosticString(this);
  6496. }
  6497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6498. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6499. public void WriteTo(pb::CodedOutputStream output) {
  6500. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6501. output.WriteRawMessage(this);
  6502. #else
  6503. objMessage_.WriteTo(output, _repeated_objMessage_codec);
  6504. if (GameState != global::Protobuf.GameState.NullGameState) {
  6505. output.WriteRawTag(16);
  6506. output.WriteEnum((int) GameState);
  6507. }
  6508. if (allMessage_ != null) {
  6509. output.WriteRawTag(26);
  6510. output.WriteMessage(AllMessage);
  6511. }
  6512. if (_unknownFields != null) {
  6513. _unknownFields.WriteTo(output);
  6514. }
  6515. #endif
  6516. }
  6517. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6519. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6520. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  6521. objMessage_.WriteTo(ref output, _repeated_objMessage_codec);
  6522. if (GameState != global::Protobuf.GameState.NullGameState) {
  6523. output.WriteRawTag(16);
  6524. output.WriteEnum((int) GameState);
  6525. }
  6526. if (allMessage_ != null) {
  6527. output.WriteRawTag(26);
  6528. output.WriteMessage(AllMessage);
  6529. }
  6530. if (_unknownFields != null) {
  6531. _unknownFields.WriteTo(ref output);
  6532. }
  6533. }
  6534. #endif
  6535. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6536. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6537. public int CalculateSize() {
  6538. int size = 0;
  6539. size += objMessage_.CalculateSize(_repeated_objMessage_codec);
  6540. if (GameState != global::Protobuf.GameState.NullGameState) {
  6541. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GameState);
  6542. }
  6543. if (allMessage_ != null) {
  6544. size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllMessage);
  6545. }
  6546. if (_unknownFields != null) {
  6547. size += _unknownFields.CalculateSize();
  6548. }
  6549. return size;
  6550. }
  6551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6552. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6553. public void MergeFrom(MessageToClient other) {
  6554. if (other == null) {
  6555. return;
  6556. }
  6557. objMessage_.Add(other.objMessage_);
  6558. if (other.GameState != global::Protobuf.GameState.NullGameState) {
  6559. GameState = other.GameState;
  6560. }
  6561. if (other.allMessage_ != null) {
  6562. if (allMessage_ == null) {
  6563. AllMessage = new global::Protobuf.MessageOfAll();
  6564. }
  6565. AllMessage.MergeFrom(other.AllMessage);
  6566. }
  6567. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  6568. }
  6569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6570. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6571. public void MergeFrom(pb::CodedInputStream input) {
  6572. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6573. input.ReadRawMessage(this);
  6574. #else
  6575. uint tag;
  6576. while ((tag = input.ReadTag()) != 0) {
  6577. switch(tag) {
  6578. default:
  6579. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  6580. break;
  6581. case 10: {
  6582. objMessage_.AddEntriesFrom(input, _repeated_objMessage_codec);
  6583. break;
  6584. }
  6585. case 16: {
  6586. GameState = (global::Protobuf.GameState) input.ReadEnum();
  6587. break;
  6588. }
  6589. case 26: {
  6590. if (allMessage_ == null) {
  6591. AllMessage = new global::Protobuf.MessageOfAll();
  6592. }
  6593. input.ReadMessage(AllMessage);
  6594. break;
  6595. }
  6596. }
  6597. }
  6598. #endif
  6599. }
  6600. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6601. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6602. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6603. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  6604. uint tag;
  6605. while ((tag = input.ReadTag()) != 0) {
  6606. switch(tag) {
  6607. default:
  6608. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  6609. break;
  6610. case 10: {
  6611. objMessage_.AddEntriesFrom(ref input, _repeated_objMessage_codec);
  6612. break;
  6613. }
  6614. case 16: {
  6615. GameState = (global::Protobuf.GameState) input.ReadEnum();
  6616. break;
  6617. }
  6618. case 26: {
  6619. if (allMessage_ == null) {
  6620. AllMessage = new global::Protobuf.MessageOfAll();
  6621. }
  6622. input.ReadMessage(AllMessage);
  6623. break;
  6624. }
  6625. }
  6626. }
  6627. }
  6628. #endif
  6629. }
  6630. public sealed partial class MoveRes : pb::IMessage<MoveRes>
  6631. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6632. , pb::IBufferMessage
  6633. #endif
  6634. {
  6635. private static readonly pb::MessageParser<MoveRes> _parser = new pb::MessageParser<MoveRes>(() => new MoveRes());
  6636. private pb::UnknownFieldSet _unknownFields;
  6637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6638. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6639. public static pb::MessageParser<MoveRes> Parser { get { return _parser; } }
  6640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6641. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6642. public static pbr::MessageDescriptor Descriptor {
  6643. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[16]; }
  6644. }
  6645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6646. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6647. pbr::MessageDescriptor pb::IMessage.Descriptor {
  6648. get { return Descriptor; }
  6649. }
  6650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6651. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6652. public MoveRes() {
  6653. OnConstruction();
  6654. }
  6655. partial void OnConstruction();
  6656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6657. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6658. public MoveRes(MoveRes other) : this() {
  6659. actualSpeed_ = other.actualSpeed_;
  6660. actualAngle_ = other.actualAngle_;
  6661. actSuccess_ = other.actSuccess_;
  6662. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  6663. }
  6664. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6665. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6666. public MoveRes Clone() {
  6667. return new MoveRes(this);
  6668. }
  6669. /// <summary>Field number for the "actual_speed" field.</summary>
  6670. public const int ActualSpeedFieldNumber = 1;
  6671. private long actualSpeed_;
  6672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6673. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6674. public long ActualSpeed {
  6675. get { return actualSpeed_; }
  6676. set {
  6677. actualSpeed_ = value;
  6678. }
  6679. }
  6680. /// <summary>Field number for the "actual_angle" field.</summary>
  6681. public const int ActualAngleFieldNumber = 2;
  6682. private double actualAngle_;
  6683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6684. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6685. public double ActualAngle {
  6686. get { return actualAngle_; }
  6687. set {
  6688. actualAngle_ = value;
  6689. }
  6690. }
  6691. /// <summary>Field number for the "act_success" field.</summary>
  6692. public const int ActSuccessFieldNumber = 3;
  6693. private bool actSuccess_;
  6694. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6695. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6696. public bool ActSuccess {
  6697. get { return actSuccess_; }
  6698. set {
  6699. actSuccess_ = value;
  6700. }
  6701. }
  6702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6703. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6704. public override bool Equals(object other) {
  6705. return Equals(other as MoveRes);
  6706. }
  6707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6708. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6709. public bool Equals(MoveRes other) {
  6710. if (ReferenceEquals(other, null)) {
  6711. return false;
  6712. }
  6713. if (ReferenceEquals(other, this)) {
  6714. return true;
  6715. }
  6716. if (ActualSpeed != other.ActualSpeed) return false;
  6717. if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ActualAngle, other.ActualAngle)) return false;
  6718. if (ActSuccess != other.ActSuccess) return false;
  6719. return Equals(_unknownFields, other._unknownFields);
  6720. }
  6721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6722. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6723. public override int GetHashCode() {
  6724. int hash = 1;
  6725. if (ActualSpeed != 0L) hash ^= ActualSpeed.GetHashCode();
  6726. if (ActualAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ActualAngle);
  6727. if (ActSuccess != false) hash ^= ActSuccess.GetHashCode();
  6728. if (_unknownFields != null) {
  6729. hash ^= _unknownFields.GetHashCode();
  6730. }
  6731. return hash;
  6732. }
  6733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6734. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6735. public override string ToString() {
  6736. return pb::JsonFormatter.ToDiagnosticString(this);
  6737. }
  6738. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6739. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6740. public void WriteTo(pb::CodedOutputStream output) {
  6741. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6742. output.WriteRawMessage(this);
  6743. #else
  6744. if (ActualSpeed != 0L) {
  6745. output.WriteRawTag(8);
  6746. output.WriteInt64(ActualSpeed);
  6747. }
  6748. if (ActualAngle != 0D) {
  6749. output.WriteRawTag(17);
  6750. output.WriteDouble(ActualAngle);
  6751. }
  6752. if (ActSuccess != false) {
  6753. output.WriteRawTag(24);
  6754. output.WriteBool(ActSuccess);
  6755. }
  6756. if (_unknownFields != null) {
  6757. _unknownFields.WriteTo(output);
  6758. }
  6759. #endif
  6760. }
  6761. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6763. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6764. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  6765. if (ActualSpeed != 0L) {
  6766. output.WriteRawTag(8);
  6767. output.WriteInt64(ActualSpeed);
  6768. }
  6769. if (ActualAngle != 0D) {
  6770. output.WriteRawTag(17);
  6771. output.WriteDouble(ActualAngle);
  6772. }
  6773. if (ActSuccess != false) {
  6774. output.WriteRawTag(24);
  6775. output.WriteBool(ActSuccess);
  6776. }
  6777. if (_unknownFields != null) {
  6778. _unknownFields.WriteTo(ref output);
  6779. }
  6780. }
  6781. #endif
  6782. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6783. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6784. public int CalculateSize() {
  6785. int size = 0;
  6786. if (ActualSpeed != 0L) {
  6787. size += 1 + pb::CodedOutputStream.ComputeInt64Size(ActualSpeed);
  6788. }
  6789. if (ActualAngle != 0D) {
  6790. size += 1 + 8;
  6791. }
  6792. if (ActSuccess != false) {
  6793. size += 1 + 1;
  6794. }
  6795. if (_unknownFields != null) {
  6796. size += _unknownFields.CalculateSize();
  6797. }
  6798. return size;
  6799. }
  6800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6801. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6802. public void MergeFrom(MoveRes other) {
  6803. if (other == null) {
  6804. return;
  6805. }
  6806. if (other.ActualSpeed != 0L) {
  6807. ActualSpeed = other.ActualSpeed;
  6808. }
  6809. if (other.ActualAngle != 0D) {
  6810. ActualAngle = other.ActualAngle;
  6811. }
  6812. if (other.ActSuccess != false) {
  6813. ActSuccess = other.ActSuccess;
  6814. }
  6815. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  6816. }
  6817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6818. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6819. public void MergeFrom(pb::CodedInputStream input) {
  6820. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6821. input.ReadRawMessage(this);
  6822. #else
  6823. uint tag;
  6824. while ((tag = input.ReadTag()) != 0) {
  6825. switch(tag) {
  6826. default:
  6827. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  6828. break;
  6829. case 8: {
  6830. ActualSpeed = input.ReadInt64();
  6831. break;
  6832. }
  6833. case 17: {
  6834. ActualAngle = input.ReadDouble();
  6835. break;
  6836. }
  6837. case 24: {
  6838. ActSuccess = input.ReadBool();
  6839. break;
  6840. }
  6841. }
  6842. }
  6843. #endif
  6844. }
  6845. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6847. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6848. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  6849. uint tag;
  6850. while ((tag = input.ReadTag()) != 0) {
  6851. switch(tag) {
  6852. default:
  6853. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  6854. break;
  6855. case 8: {
  6856. ActualSpeed = input.ReadInt64();
  6857. break;
  6858. }
  6859. case 17: {
  6860. ActualAngle = input.ReadDouble();
  6861. break;
  6862. }
  6863. case 24: {
  6864. ActSuccess = input.ReadBool();
  6865. break;
  6866. }
  6867. }
  6868. }
  6869. }
  6870. #endif
  6871. }
  6872. public sealed partial class BoolRes : pb::IMessage<BoolRes>
  6873. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6874. , pb::IBufferMessage
  6875. #endif
  6876. {
  6877. private static readonly pb::MessageParser<BoolRes> _parser = new pb::MessageParser<BoolRes>(() => new BoolRes());
  6878. private pb::UnknownFieldSet _unknownFields;
  6879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6880. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6881. public static pb::MessageParser<BoolRes> Parser { get { return _parser; } }
  6882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6883. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6884. public static pbr::MessageDescriptor Descriptor {
  6885. get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[17]; }
  6886. }
  6887. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6888. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6889. pbr::MessageDescriptor pb::IMessage.Descriptor {
  6890. get { return Descriptor; }
  6891. }
  6892. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6893. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6894. public BoolRes() {
  6895. OnConstruction();
  6896. }
  6897. partial void OnConstruction();
  6898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6899. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6900. public BoolRes(BoolRes other) : this() {
  6901. actSuccess_ = other.actSuccess_;
  6902. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  6903. }
  6904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6905. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6906. public BoolRes Clone() {
  6907. return new BoolRes(this);
  6908. }
  6909. /// <summary>Field number for the "act_success" field.</summary>
  6910. public const int ActSuccessFieldNumber = 1;
  6911. private bool actSuccess_;
  6912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6913. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6914. public bool ActSuccess {
  6915. get { return actSuccess_; }
  6916. set {
  6917. actSuccess_ = value;
  6918. }
  6919. }
  6920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6921. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6922. public override bool Equals(object other) {
  6923. return Equals(other as BoolRes);
  6924. }
  6925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6926. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6927. public bool Equals(BoolRes other) {
  6928. if (ReferenceEquals(other, null)) {
  6929. return false;
  6930. }
  6931. if (ReferenceEquals(other, this)) {
  6932. return true;
  6933. }
  6934. if (ActSuccess != other.ActSuccess) return false;
  6935. return Equals(_unknownFields, other._unknownFields);
  6936. }
  6937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6938. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6939. public override int GetHashCode() {
  6940. int hash = 1;
  6941. if (ActSuccess != false) hash ^= ActSuccess.GetHashCode();
  6942. if (_unknownFields != null) {
  6943. hash ^= _unknownFields.GetHashCode();
  6944. }
  6945. return hash;
  6946. }
  6947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6948. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6949. public override string ToString() {
  6950. return pb::JsonFormatter.ToDiagnosticString(this);
  6951. }
  6952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6953. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6954. public void WriteTo(pb::CodedOutputStream output) {
  6955. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6956. output.WriteRawMessage(this);
  6957. #else
  6958. if (ActSuccess != false) {
  6959. output.WriteRawTag(8);
  6960. output.WriteBool(ActSuccess);
  6961. }
  6962. if (_unknownFields != null) {
  6963. _unknownFields.WriteTo(output);
  6964. }
  6965. #endif
  6966. }
  6967. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6968. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6969. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6970. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  6971. if (ActSuccess != false) {
  6972. output.WriteRawTag(8);
  6973. output.WriteBool(ActSuccess);
  6974. }
  6975. if (_unknownFields != null) {
  6976. _unknownFields.WriteTo(ref output);
  6977. }
  6978. }
  6979. #endif
  6980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6981. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6982. public int CalculateSize() {
  6983. int size = 0;
  6984. if (ActSuccess != false) {
  6985. size += 1 + 1;
  6986. }
  6987. if (_unknownFields != null) {
  6988. size += _unknownFields.CalculateSize();
  6989. }
  6990. return size;
  6991. }
  6992. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6993. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  6994. public void MergeFrom(BoolRes other) {
  6995. if (other == null) {
  6996. return;
  6997. }
  6998. if (other.ActSuccess != false) {
  6999. ActSuccess = other.ActSuccess;
  7000. }
  7001. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  7002. }
  7003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  7004. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  7005. public void MergeFrom(pb::CodedInputStream input) {
  7006. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  7007. input.ReadRawMessage(this);
  7008. #else
  7009. uint tag;
  7010. while ((tag = input.ReadTag()) != 0) {
  7011. switch(tag) {
  7012. default:
  7013. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  7014. break;
  7015. case 8: {
  7016. ActSuccess = input.ReadBool();
  7017. break;
  7018. }
  7019. }
  7020. }
  7021. #endif
  7022. }
  7023. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  7024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  7025. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  7026. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  7027. uint tag;
  7028. while ((tag = input.ReadTag()) != 0) {
  7029. switch(tag) {
  7030. default:
  7031. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  7032. break;
  7033. case 8: {
  7034. ActSuccess = input.ReadBool();
  7035. break;
  7036. }
  7037. }
  7038. }
  7039. }
  7040. #endif
  7041. }
  7042. #endregion
  7043. }
  7044. #endregion Designer generated code