|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514 |
- // <auto-generated>
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: Message2Clients.proto
- // </auto-generated>
- #pragma warning disable 1591, 0612, 3021, 8981
- #region Designer generated code
-
- using pb = global::Google.Protobuf;
- using pbc = global::Google.Protobuf.Collections;
- using pbr = global::Google.Protobuf.Reflection;
- using scg = global::System.Collections.Generic;
- namespace Protobuf {
-
- /// <summary>Holder for reflection information generated from Message2Clients.proto</summary>
- public static partial class Message2ClientsReflection {
-
- #region Descriptor
- /// <summary>File descriptor for Message2Clients.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static Message2ClientsReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChVNZXNzYWdlMkNsaWVudHMucHJvdG8SCHByb3RvYnVmGhFNZXNzYWdlVHlw",
- "ZS5wcm90byLbBAoQTWVzc2FnZU9mU3R1ZGVudBIJCgF4GAEgASgFEgkKAXkY",
- "AiABKAUSDQoFc3BlZWQYAyABKAUSFQoNZGV0ZXJtaW5hdGlvbhgEIAEoBRIR",
- "CglhZGRpY3Rpb24YBSABKAUSIgoadGltZV91bnRpbF9za2lsbF9hdmFpbGFi",
- "bGUYBiADKAESIgoFcGxhY2UYByABKA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUS",
- "IAoEcHJvcBgIIAMoDjISLnByb3RvYnVmLlByb3BUeXBlEisKDHBsYXllcl9z",
- "dGF0ZRgJIAEoDjIVLnByb3RvYnVmLlBsYXllclN0YXRlEgwKBGd1aWQYCiAB",
- "KAMSKQoLYnVsbGV0X3R5cGUYDCABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBl",
- "EhYKDmxlYXJuaW5nX3NwZWVkGA0gASgFEhMKC3RyZWF0X3NwZWVkGA4gASgF",
- "EhEKCXBsYXllcl9pZBgPIAEoAxISCgp2aWV3X3JhbmdlGBAgASgFEg4KBnJh",
- "ZGl1cxgRIAEoBRIUCgxkYW5nZXJfYWxlcnQYEyABKAESDQoFc2NvcmUYFCAB",
- "KAUSFgoOdHJlYXRfcHJvZ3Jlc3MYFSABKAUSFwoPcmVzY3VlX3Byb2dyZXNz",
- "GBYgASgFEisKDHN0dWRlbnRfdHlwZRgXIAEoDjIVLnByb3RvYnVmLlN0dWRl",
- "bnRUeXBlEhgKEGZhY2luZ19kaXJlY3Rpb24YGCABKAESJwoEYnVmZhgZIAMo",
- "DjIZLnByb3RvYnVmLlN0dWRlbnRCdWZmVHlwZSLpAwoQTWVzc2FnZU9mVHJp",
- "Y2tlchIJCgF4GAEgASgFEgkKAXkYAiABKAUSDQoFc3BlZWQYAyABKAUSIgoa",
- "dGltZV91bnRpbF9za2lsbF9hdmFpbGFibGUYBSADKAESIgoFcGxhY2UYBiAB",
- "KA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUSIAoEcHJvcBgHIAMoDjISLnByb3Rv",
- "YnVmLlByb3BUeXBlEisKDHRyaWNrZXJfdHlwZRgIIAEoDjIVLnByb3RvYnVm",
- "LlRyaWNrZXJUeXBlEgwKBGd1aWQYCSABKAMSDQoFc2NvcmUYCiABKAUSEQoJ",
- "cGxheWVyX2lkGAsgASgDEhIKCnZpZXdfcmFuZ2UYDCABKAUSDgoGcmFkaXVz",
- "GA0gASgFEisKDHBsYXllcl9zdGF0ZRgOIAEoDjIVLnByb3RvYnVmLlBsYXll",
- "clN0YXRlEhQKDHRyaWNrX2Rlc2lyZRgPIAEoARIUCgxjbGFzc192b2x1bWUY",
- "ECABKAESGAoQZmFjaW5nX2RpcmVjdGlvbhgRIAEoARIpCgtidWxsZXRfdHlw",
- "ZRgSIAEoDjIULnByb3RvYnVmLkJ1bGxldFR5cGUSJwoEYnVmZhgTIAMoDjIZ",
- "LnByb3RvYnVmLlRyaWNrZXJCdWZmVHlwZSLeAQoPTWVzc2FnZU9mQnVsbGV0",
- "EiIKBHR5cGUYASABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBlEgkKAXgYAiAB",
- "KAUSCQoBeRgDIAEoBRIYChBmYWNpbmdfZGlyZWN0aW9uGAQgASgBEgwKBGd1",
- "aWQYBSABKAMSIgoEdGVhbRgGIAEoDjIULnByb3RvYnVmLlBsYXllclR5cGUS",
- "IgoFcGxhY2UYByABKA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUSEgoKYm9tYl9y",
- "YW5nZRgIIAEoARINCgVzcGVlZBgJIAEoBSKTAQoVTWVzc2FnZU9mQm9tYmVk",
- "QnVsbGV0EiIKBHR5cGUYASABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBlEgkK",
- "AXgYAiABKAUSCQoBeRgDIAEoBRIYChBmYWNpbmdfZGlyZWN0aW9uGAQgASgB",
- "EhIKCm1hcHBpbmdfaWQYBSABKAMSEgoKYm9tYl9yYW5nZRgGIAEoASKTAQoN",
- "TWVzc2FnZU9mUHJvcBIgCgR0eXBlGAEgASgOMhIucHJvdG9idWYuUHJvcFR5",
- "cGUSCQoBeBgCIAEoBRIJCgF5GAMgASgFEhgKEGZhY2luZ19kaXJlY3Rpb24Y",
- "BCABKAESDAoEZ3VpZBgFIAEoAxIiCgVwbGFjZRgGIAEoDjITLnByb3RvYnVm",
- "LlBsYWNlVHlwZSJ7ChNNZXNzYWdlT2ZQaWNrZWRQcm9wEiAKBHR5cGUYASAB",
- "KA4yEi5wcm90b2J1Zi5Qcm9wVHlwZRIJCgF4GAIgASgFEgkKAXkYAyABKAUS",
- "GAoQZmFjaW5nX2RpcmVjdGlvbhgEIAEoARISCgptYXBwaW5nX2lkGAUgASgD",
- "IjwKEk1lc3NhZ2VPZkNsYXNzcm9vbRIJCgF4GAEgASgFEgkKAXkYAiABKAUS",
- "EAoIcHJvZ3Jlc3MYAyABKAUiNwoNTWVzc2FnZU9mR2F0ZRIJCgF4GAEgASgF",
- "EgkKAXkYAiABKAUSEAoIcHJvZ3Jlc3MYAyABKAUiOwoTTWVzc2FnZU9mSGlk",
- "ZGVuR2F0ZRIJCgF4GAEgASgFEgkKAXkYAiABKAUSDgoGb3BlbmVkGAMgASgI",
- "IkgKDU1lc3NhZ2VPZkRvb3ISCQoBeBgBIAEoBRIJCgF5GAIgASgFEg8KB2lz",
- "X29wZW4YAyABKAgSEAoIcHJvZ3Jlc3MYBCABKAUiOAoOTWVzc2FnZU9mQ2hl",
- "c3QSCQoBeBgBIAEoBRIJCgF5GAIgASgFEhAKCHByb2dyZXNzGAMgASgFImAK",
- "DE1lc3NhZ2VPZk1hcBInCgNyb3cYAiADKAsyGi5wcm90b2J1Zi5NZXNzYWdl",
- "T2ZNYXAuUm93GicKA1JvdxIgCgNjb2wYASADKA4yEy5wcm90b2J1Zi5QbGFj",
- "ZVR5cGUiPQoNTWVzc2FnZU9mTmV3cxIMCgRuZXdzGAEgASgJEg8KB2Zyb21f",
- "aWQYAiABKAMSDQoFdG9faWQYAyABKAMipAUKDE1lc3NhZ2VPZk9iahI1Cg9z",
- "dHVkZW50X21lc3NhZ2UYASABKAsyGi5wcm90b2J1Zi5NZXNzYWdlT2ZTdHVk",
- "ZW50SAASNQoPdHJpY2tlcl9tZXNzYWdlGAIgASgLMhoucHJvdG9idWYuTWVz",
- "c2FnZU9mVHJpY2tlckgAEi8KDHByb3BfbWVzc2FnZRgDIAEoCzIXLnByb3Rv",
- "YnVmLk1lc3NhZ2VPZlByb3BIABIzCg5idWxsZXRfbWVzc2FnZRgEIAEoCzIZ",
- "LnByb3RvYnVmLk1lc3NhZ2VPZkJ1bGxldEgAEkAKFWJvbWJlZF9idWxsZXRf",
- "bWVzc2FnZRgFIAEoCzIfLnByb3RvYnVmLk1lc3NhZ2VPZkJvbWJlZEJ1bGxl",
- "dEgAEjkKEWNsYXNzcm9vbV9tZXNzYWdlGAYgASgLMhwucHJvdG9idWYuTWVz",
- "c2FnZU9mQ2xhc3Nyb29tSAASLwoMZG9vcl9tZXNzYWdlGAcgASgLMhcucHJv",
- "dG9idWYuTWVzc2FnZU9mRG9vckgAEi8KDGdhdGVfbWVzc2FnZRgIIAEoCzIX",
- "LnByb3RvYnVmLk1lc3NhZ2VPZkdhdGVIABIxCg1jaGVzdF9tZXNzYWdlGAkg",
- "ASgLMhgucHJvdG9idWYuTWVzc2FnZU9mQ2hlc3RIABI8ChNoaWRkZW5fZ2F0",
- "ZV9tZXNzYWdlGAogASgLMh0ucHJvdG9idWYuTWVzc2FnZU9mSGlkZGVuR2F0",
- "ZUgAEi8KDG5ld3NfbWVzc2FnZRgLIAEoCzIXLnByb3RvYnVmLk1lc3NhZ2VP",
- "Zk5ld3NIABItCgttYXBfbWVzc2FnZRgMIAEoCzIWLnByb3RvYnVmLk1lc3Nh",
- "Z2VPZk1hcEgAQhAKDm1lc3NhZ2Vfb2Zfb2JqIugBCgxNZXNzYWdlT2ZBbGwS",
- "EQoJZ2FtZV90aW1lGAEgASgFEhQKDHN1YmplY3RfbGVmdBgCIAEoBRIZChFz",
- "dHVkZW50X2dyYWR1YXRlZBgDIAEoBRIWCg5zdHVkZW50X3F1aXRlZBgEIAEo",
- "BRIVCg1zdHVkZW50X3Njb3JlGAUgASgFEhUKDXRyaWNrZXJfc2NvcmUYBiAB",
- "KAUSEwoLZ2F0ZV9vcGVuZWQYByABKAgSHQoVaGlkZGVuX2dhdGVfcmVmcmVz",
- "aGVkGAggASgIEhoKEmhpZGRlbl9nYXRlX29wZW5lZBgJIAEoCCKUAQoPTWVz",
- "c2FnZVRvQ2xpZW50EisKC29ial9tZXNzYWdlGAEgAygLMhYucHJvdG9idWYu",
- "TWVzc2FnZU9mT2JqEicKCmdhbWVfc3RhdGUYAiABKA4yEy5wcm90b2J1Zi5H",
- "YW1lU3RhdGUSKwoLYWxsX21lc3NhZ2UYAyABKAsyFi5wcm90b2J1Zi5NZXNz",
- "YWdlT2ZBbGwiSgoHTW92ZVJlcxIUCgxhY3R1YWxfc3BlZWQYASABKAMSFAoM",
- "YWN0dWFsX2FuZ2xlGAIgASgBEhMKC2FjdF9zdWNjZXNzGAMgASgIIh4KB0Jv",
- "b2xSZXMSEwoLYWN0X3N1Y2Nlc3MYASABKAhiBnByb3RvMw=="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Protobuf.MessageTypeReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
- 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),
- 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),
- 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),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfBombedBullet), global::Protobuf.MessageOfBombedBullet.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "MappingId", "BombRange" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfProp), global::Protobuf.MessageOfProp.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "Guid", "Place" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfPickedProp), global::Protobuf.MessageOfPickedProp.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "MappingId" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfClassroom), global::Protobuf.MessageOfClassroom.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfGate), global::Protobuf.MessageOfGate.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfHiddenGate), global::Protobuf.MessageOfHiddenGate.Parser, new[]{ "X", "Y", "Opened" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfDoor), global::Protobuf.MessageOfDoor.Parser, new[]{ "X", "Y", "IsOpen", "Progress" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfChest), global::Protobuf.MessageOfChest.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
- 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)}),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfNews), global::Protobuf.MessageOfNews.Parser, new[]{ "News", "FromId", "ToId" }, null, null, null, null),
- 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),
- 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),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageToClient), global::Protobuf.MessageToClient.Parser, new[]{ "ObjMessage", "GameState", "AllMessage" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MoveRes), global::Protobuf.MoveRes.Parser, new[]{ "ActualSpeed", "ActualAngle", "ActSuccess" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BoolRes), global::Protobuf.BoolRes.Parser, new[]{ "ActSuccess" }, null, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class MessageOfStudent : pb::IMessage<MessageOfStudent>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfStudent> _parser = new pb::MessageParser<MessageOfStudent>(() => new MessageOfStudent());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfStudent> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfStudent() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfStudent(MessageOfStudent other) : this() {
- x_ = other.x_;
- y_ = other.y_;
- speed_ = other.speed_;
- determination_ = other.determination_;
- addiction_ = other.addiction_;
- timeUntilSkillAvailable_ = other.timeUntilSkillAvailable_.Clone();
- place_ = other.place_;
- prop_ = other.prop_.Clone();
- playerState_ = other.playerState_;
- guid_ = other.guid_;
- bulletType_ = other.bulletType_;
- learningSpeed_ = other.learningSpeed_;
- treatSpeed_ = other.treatSpeed_;
- playerId_ = other.playerId_;
- viewRange_ = other.viewRange_;
- radius_ = other.radius_;
- dangerAlert_ = other.dangerAlert_;
- score_ = other.score_;
- treatProgress_ = other.treatProgress_;
- rescueProgress_ = other.rescueProgress_;
- studentType_ = other.studentType_;
- facingDirection_ = other.facingDirection_;
- buff_ = other.buff_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfStudent Clone() {
- return new MessageOfStudent(this);
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 1;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 2;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "speed" field.</summary>
- public const int SpeedFieldNumber = 3;
- private int speed_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Speed {
- get { return speed_; }
- set {
- speed_ = value;
- }
- }
-
- /// <summary>Field number for the "determination" field.</summary>
- public const int DeterminationFieldNumber = 4;
- private int determination_;
- /// <summary>
- /// 剩余的学习毅力,相当于血量
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Determination {
- get { return determination_; }
- set {
- determination_ = value;
- }
- }
-
- /// <summary>Field number for the "addiction" field.</summary>
- public const int AddictionFieldNumber = 5;
- private int addiction_;
- /// <summary>
- /// 沉迷程度,相当于淘汰进度
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Addiction {
- get { return addiction_; }
- set {
- addiction_ = value;
- }
- }
-
- /// <summary>Field number for the "time_until_skill_available" field.</summary>
- public const int TimeUntilSkillAvailableFieldNumber = 6;
- private static readonly pb::FieldCodec<double> _repeated_timeUntilSkillAvailable_codec
- = pb::FieldCodec.ForDouble(50);
- private readonly pbc::RepeatedField<double> timeUntilSkillAvailable_ = new pbc::RepeatedField<double>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<double> TimeUntilSkillAvailable {
- get { return timeUntilSkillAvailable_; }
- }
-
- /// <summary>Field number for the "place" field.</summary>
- public const int PlaceFieldNumber = 7;
- private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PlaceType Place {
- get { return place_; }
- set {
- place_ = value;
- }
- }
-
- /// <summary>Field number for the "prop" field.</summary>
- public const int PropFieldNumber = 8;
- private static readonly pb::FieldCodec<global::Protobuf.PropType> _repeated_prop_codec
- = pb::FieldCodec.ForEnum(66, x => (int) x, x => (global::Protobuf.PropType) x);
- private readonly pbc::RepeatedField<global::Protobuf.PropType> prop_ = new pbc::RepeatedField<global::Protobuf.PropType>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Protobuf.PropType> Prop {
- get { return prop_; }
- }
-
- /// <summary>Field number for the "player_state" field.</summary>
- public const int PlayerStateFieldNumber = 9;
- private global::Protobuf.PlayerState playerState_ = global::Protobuf.PlayerState.NullStatus;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PlayerState PlayerState {
- get { return playerState_; }
- set {
- playerState_ = value;
- }
- }
-
- /// <summary>Field number for the "guid" field.</summary>
- public const int GuidFieldNumber = 10;
- private long guid_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long Guid {
- get { return guid_; }
- set {
- guid_ = value;
- }
- }
-
- /// <summary>Field number for the "bullet_type" field.</summary>
- public const int BulletTypeFieldNumber = 12;
- private global::Protobuf.BulletType bulletType_ = global::Protobuf.BulletType.NullBulletType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.BulletType BulletType {
- get { return bulletType_; }
- set {
- bulletType_ = value;
- }
- }
-
- /// <summary>Field number for the "learning_speed" field.</summary>
- public const int LearningSpeedFieldNumber = 13;
- private int learningSpeed_;
- /// <summary>
- /// 修理电机的速度
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int LearningSpeed {
- get { return learningSpeed_; }
- set {
- learningSpeed_ = value;
- }
- }
-
- /// <summary>Field number for the "treat_speed" field.</summary>
- public const int TreatSpeedFieldNumber = 14;
- private int treatSpeed_;
- /// <summary>
- /// 治疗的速度
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int TreatSpeed {
- get { return treatSpeed_; }
- set {
- treatSpeed_ = value;
- }
- }
-
- /// <summary>Field number for the "player_id" field.</summary>
- public const int PlayerIdFieldNumber = 15;
- private long playerId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long PlayerId {
- get { return playerId_; }
- set {
- playerId_ = value;
- }
- }
-
- /// <summary>Field number for the "view_range" field.</summary>
- public const int ViewRangeFieldNumber = 16;
- private int viewRange_;
- /// <summary>
- /// 视野距离
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int ViewRange {
- get { return viewRange_; }
- set {
- viewRange_ = value;
- }
- }
-
- /// <summary>Field number for the "radius" field.</summary>
- public const int RadiusFieldNumber = 17;
- private int radius_;
- /// <summary>
- /// 半径
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Radius {
- get { return radius_; }
- set {
- radius_ = value;
- }
- }
-
- /// <summary>Field number for the "danger_alert" field.</summary>
- public const int DangerAlertFieldNumber = 19;
- private double dangerAlert_;
- /// <summary>
- /// 危险警报,在捣蛋鬼靠近时会有预警
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double DangerAlert {
- get { return dangerAlert_; }
- set {
- dangerAlert_ = value;
- }
- }
-
- /// <summary>Field number for the "score" field.</summary>
- public const int ScoreFieldNumber = 20;
- private int score_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Score {
- get { return score_; }
- set {
- score_ = value;
- }
- }
-
- /// <summary>Field number for the "treat_progress" field.</summary>
- public const int TreatProgressFieldNumber = 21;
- private int treatProgress_;
- /// <summary>
- /// 治疗进度
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int TreatProgress {
- get { return treatProgress_; }
- set {
- treatProgress_ = value;
- }
- }
-
- /// <summary>Field number for the "rescue_progress" field.</summary>
- public const int RescueProgressFieldNumber = 22;
- private int rescueProgress_;
- /// <summary>
- /// 救援进度
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int RescueProgress {
- get { return rescueProgress_; }
- set {
- rescueProgress_ = value;
- }
- }
-
- /// <summary>Field number for the "student_type" field.</summary>
- public const int StudentTypeFieldNumber = 23;
- private global::Protobuf.StudentType studentType_ = global::Protobuf.StudentType.NullStudentType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.StudentType StudentType {
- get { return studentType_; }
- set {
- studentType_ = value;
- }
- }
-
- /// <summary>Field number for the "facing_direction" field.</summary>
- public const int FacingDirectionFieldNumber = 24;
- private double facingDirection_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double FacingDirection {
- get { return facingDirection_; }
- set {
- facingDirection_ = value;
- }
- }
-
- /// <summary>Field number for the "buff" field.</summary>
- public const int BuffFieldNumber = 25;
- private static readonly pb::FieldCodec<global::Protobuf.StudentBuffType> _repeated_buff_codec
- = pb::FieldCodec.ForEnum(202, x => (int) x, x => (global::Protobuf.StudentBuffType) x);
- private readonly pbc::RepeatedField<global::Protobuf.StudentBuffType> buff_ = new pbc::RepeatedField<global::Protobuf.StudentBuffType>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Protobuf.StudentBuffType> Buff {
- get { return buff_; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfStudent);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfStudent other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (Speed != other.Speed) return false;
- if (Determination != other.Determination) return false;
- if (Addiction != other.Addiction) return false;
- if(!timeUntilSkillAvailable_.Equals(other.timeUntilSkillAvailable_)) return false;
- if (Place != other.Place) return false;
- if(!prop_.Equals(other.prop_)) return false;
- if (PlayerState != other.PlayerState) return false;
- if (Guid != other.Guid) return false;
- if (BulletType != other.BulletType) return false;
- if (LearningSpeed != other.LearningSpeed) return false;
- if (TreatSpeed != other.TreatSpeed) return false;
- if (PlayerId != other.PlayerId) return false;
- if (ViewRange != other.ViewRange) return false;
- if (Radius != other.Radius) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DangerAlert, other.DangerAlert)) return false;
- if (Score != other.Score) return false;
- if (TreatProgress != other.TreatProgress) return false;
- if (RescueProgress != other.RescueProgress) return false;
- if (StudentType != other.StudentType) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
- if(!buff_.Equals(other.buff_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (Speed != 0) hash ^= Speed.GetHashCode();
- if (Determination != 0) hash ^= Determination.GetHashCode();
- if (Addiction != 0) hash ^= Addiction.GetHashCode();
- hash ^= timeUntilSkillAvailable_.GetHashCode();
- if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
- hash ^= prop_.GetHashCode();
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) hash ^= PlayerState.GetHashCode();
- if (Guid != 0L) hash ^= Guid.GetHashCode();
- if (BulletType != global::Protobuf.BulletType.NullBulletType) hash ^= BulletType.GetHashCode();
- if (LearningSpeed != 0) hash ^= LearningSpeed.GetHashCode();
- if (TreatSpeed != 0) hash ^= TreatSpeed.GetHashCode();
- if (PlayerId != 0L) hash ^= PlayerId.GetHashCode();
- if (ViewRange != 0) hash ^= ViewRange.GetHashCode();
- if (Radius != 0) hash ^= Radius.GetHashCode();
- if (DangerAlert != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DangerAlert);
- if (Score != 0) hash ^= Score.GetHashCode();
- if (TreatProgress != 0) hash ^= TreatProgress.GetHashCode();
- if (RescueProgress != 0) hash ^= RescueProgress.GetHashCode();
- if (StudentType != global::Protobuf.StudentType.NullStudentType) hash ^= StudentType.GetHashCode();
- if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
- hash ^= buff_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Speed != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Speed);
- }
- if (Determination != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(Determination);
- }
- if (Addiction != 0) {
- output.WriteRawTag(40);
- output.WriteInt32(Addiction);
- }
- timeUntilSkillAvailable_.WriteTo(output, _repeated_timeUntilSkillAvailable_codec);
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(56);
- output.WriteEnum((int) Place);
- }
- prop_.WriteTo(output, _repeated_prop_codec);
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
- output.WriteRawTag(72);
- output.WriteEnum((int) PlayerState);
- }
- if (Guid != 0L) {
- output.WriteRawTag(80);
- output.WriteInt64(Guid);
- }
- if (BulletType != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(96);
- output.WriteEnum((int) BulletType);
- }
- if (LearningSpeed != 0) {
- output.WriteRawTag(104);
- output.WriteInt32(LearningSpeed);
- }
- if (TreatSpeed != 0) {
- output.WriteRawTag(112);
- output.WriteInt32(TreatSpeed);
- }
- if (PlayerId != 0L) {
- output.WriteRawTag(120);
- output.WriteInt64(PlayerId);
- }
- if (ViewRange != 0) {
- output.WriteRawTag(128, 1);
- output.WriteInt32(ViewRange);
- }
- if (Radius != 0) {
- output.WriteRawTag(136, 1);
- output.WriteInt32(Radius);
- }
- if (DangerAlert != 0D) {
- output.WriteRawTag(153, 1);
- output.WriteDouble(DangerAlert);
- }
- if (Score != 0) {
- output.WriteRawTag(160, 1);
- output.WriteInt32(Score);
- }
- if (TreatProgress != 0) {
- output.WriteRawTag(168, 1);
- output.WriteInt32(TreatProgress);
- }
- if (RescueProgress != 0) {
- output.WriteRawTag(176, 1);
- output.WriteInt32(RescueProgress);
- }
- if (StudentType != global::Protobuf.StudentType.NullStudentType) {
- output.WriteRawTag(184, 1);
- output.WriteEnum((int) StudentType);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(193, 1);
- output.WriteDouble(FacingDirection);
- }
- buff_.WriteTo(output, _repeated_buff_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Speed != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Speed);
- }
- if (Determination != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(Determination);
- }
- if (Addiction != 0) {
- output.WriteRawTag(40);
- output.WriteInt32(Addiction);
- }
- timeUntilSkillAvailable_.WriteTo(ref output, _repeated_timeUntilSkillAvailable_codec);
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(56);
- output.WriteEnum((int) Place);
- }
- prop_.WriteTo(ref output, _repeated_prop_codec);
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
- output.WriteRawTag(72);
- output.WriteEnum((int) PlayerState);
- }
- if (Guid != 0L) {
- output.WriteRawTag(80);
- output.WriteInt64(Guid);
- }
- if (BulletType != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(96);
- output.WriteEnum((int) BulletType);
- }
- if (LearningSpeed != 0) {
- output.WriteRawTag(104);
- output.WriteInt32(LearningSpeed);
- }
- if (TreatSpeed != 0) {
- output.WriteRawTag(112);
- output.WriteInt32(TreatSpeed);
- }
- if (PlayerId != 0L) {
- output.WriteRawTag(120);
- output.WriteInt64(PlayerId);
- }
- if (ViewRange != 0) {
- output.WriteRawTag(128, 1);
- output.WriteInt32(ViewRange);
- }
- if (Radius != 0) {
- output.WriteRawTag(136, 1);
- output.WriteInt32(Radius);
- }
- if (DangerAlert != 0D) {
- output.WriteRawTag(153, 1);
- output.WriteDouble(DangerAlert);
- }
- if (Score != 0) {
- output.WriteRawTag(160, 1);
- output.WriteInt32(Score);
- }
- if (TreatProgress != 0) {
- output.WriteRawTag(168, 1);
- output.WriteInt32(TreatProgress);
- }
- if (RescueProgress != 0) {
- output.WriteRawTag(176, 1);
- output.WriteInt32(RescueProgress);
- }
- if (StudentType != global::Protobuf.StudentType.NullStudentType) {
- output.WriteRawTag(184, 1);
- output.WriteEnum((int) StudentType);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(193, 1);
- output.WriteDouble(FacingDirection);
- }
- buff_.WriteTo(ref output, _repeated_buff_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (Speed != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
- }
- if (Determination != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Determination);
- }
- if (Addiction != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Addiction);
- }
- size += timeUntilSkillAvailable_.CalculateSize(_repeated_timeUntilSkillAvailable_codec);
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
- }
- size += prop_.CalculateSize(_repeated_prop_codec);
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerState);
- }
- if (Guid != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
- }
- if (BulletType != global::Protobuf.BulletType.NullBulletType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BulletType);
- }
- if (LearningSpeed != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(LearningSpeed);
- }
- if (TreatSpeed != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(TreatSpeed);
- }
- if (PlayerId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId);
- }
- if (ViewRange != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(ViewRange);
- }
- if (Radius != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(Radius);
- }
- if (DangerAlert != 0D) {
- size += 2 + 8;
- }
- if (Score != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(Score);
- }
- if (TreatProgress != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(TreatProgress);
- }
- if (RescueProgress != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RescueProgress);
- }
- if (StudentType != global::Protobuf.StudentType.NullStudentType) {
- size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) StudentType);
- }
- if (FacingDirection != 0D) {
- size += 2 + 8;
- }
- size += buff_.CalculateSize(_repeated_buff_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfStudent other) {
- if (other == null) {
- return;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.Speed != 0) {
- Speed = other.Speed;
- }
- if (other.Determination != 0) {
- Determination = other.Determination;
- }
- if (other.Addiction != 0) {
- Addiction = other.Addiction;
- }
- timeUntilSkillAvailable_.Add(other.timeUntilSkillAvailable_);
- if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
- Place = other.Place;
- }
- prop_.Add(other.prop_);
- if (other.PlayerState != global::Protobuf.PlayerState.NullStatus) {
- PlayerState = other.PlayerState;
- }
- if (other.Guid != 0L) {
- Guid = other.Guid;
- }
- if (other.BulletType != global::Protobuf.BulletType.NullBulletType) {
- BulletType = other.BulletType;
- }
- if (other.LearningSpeed != 0) {
- LearningSpeed = other.LearningSpeed;
- }
- if (other.TreatSpeed != 0) {
- TreatSpeed = other.TreatSpeed;
- }
- if (other.PlayerId != 0L) {
- PlayerId = other.PlayerId;
- }
- if (other.ViewRange != 0) {
- ViewRange = other.ViewRange;
- }
- if (other.Radius != 0) {
- Radius = other.Radius;
- }
- if (other.DangerAlert != 0D) {
- DangerAlert = other.DangerAlert;
- }
- if (other.Score != 0) {
- Score = other.Score;
- }
- if (other.TreatProgress != 0) {
- TreatProgress = other.TreatProgress;
- }
- if (other.RescueProgress != 0) {
- RescueProgress = other.RescueProgress;
- }
- if (other.StudentType != global::Protobuf.StudentType.NullStudentType) {
- StudentType = other.StudentType;
- }
- if (other.FacingDirection != 0D) {
- FacingDirection = other.FacingDirection;
- }
- buff_.Add(other.buff_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Speed = input.ReadInt32();
- break;
- }
- case 32: {
- Determination = input.ReadInt32();
- break;
- }
- case 40: {
- Addiction = input.ReadInt32();
- break;
- }
- case 50:
- case 49: {
- timeUntilSkillAvailable_.AddEntriesFrom(input, _repeated_timeUntilSkillAvailable_codec);
- break;
- }
- case 56: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- case 66:
- case 64: {
- prop_.AddEntriesFrom(input, _repeated_prop_codec);
- break;
- }
- case 72: {
- PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
- break;
- }
- case 80: {
- Guid = input.ReadInt64();
- break;
- }
- case 96: {
- BulletType = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 104: {
- LearningSpeed = input.ReadInt32();
- break;
- }
- case 112: {
- TreatSpeed = input.ReadInt32();
- break;
- }
- case 120: {
- PlayerId = input.ReadInt64();
- break;
- }
- case 128: {
- ViewRange = input.ReadInt32();
- break;
- }
- case 136: {
- Radius = input.ReadInt32();
- break;
- }
- case 153: {
- DangerAlert = input.ReadDouble();
- break;
- }
- case 160: {
- Score = input.ReadInt32();
- break;
- }
- case 168: {
- TreatProgress = input.ReadInt32();
- break;
- }
- case 176: {
- RescueProgress = input.ReadInt32();
- break;
- }
- case 184: {
- StudentType = (global::Protobuf.StudentType) input.ReadEnum();
- break;
- }
- case 193: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 202:
- case 200: {
- buff_.AddEntriesFrom(input, _repeated_buff_codec);
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Speed = input.ReadInt32();
- break;
- }
- case 32: {
- Determination = input.ReadInt32();
- break;
- }
- case 40: {
- Addiction = input.ReadInt32();
- break;
- }
- case 50:
- case 49: {
- timeUntilSkillAvailable_.AddEntriesFrom(ref input, _repeated_timeUntilSkillAvailable_codec);
- break;
- }
- case 56: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- case 66:
- case 64: {
- prop_.AddEntriesFrom(ref input, _repeated_prop_codec);
- break;
- }
- case 72: {
- PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
- break;
- }
- case 80: {
- Guid = input.ReadInt64();
- break;
- }
- case 96: {
- BulletType = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 104: {
- LearningSpeed = input.ReadInt32();
- break;
- }
- case 112: {
- TreatSpeed = input.ReadInt32();
- break;
- }
- case 120: {
- PlayerId = input.ReadInt64();
- break;
- }
- case 128: {
- ViewRange = input.ReadInt32();
- break;
- }
- case 136: {
- Radius = input.ReadInt32();
- break;
- }
- case 153: {
- DangerAlert = input.ReadDouble();
- break;
- }
- case 160: {
- Score = input.ReadInt32();
- break;
- }
- case 168: {
- TreatProgress = input.ReadInt32();
- break;
- }
- case 176: {
- RescueProgress = input.ReadInt32();
- break;
- }
- case 184: {
- StudentType = (global::Protobuf.StudentType) input.ReadEnum();
- break;
- }
- case 193: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 202:
- case 200: {
- buff_.AddEntriesFrom(ref input, _repeated_buff_codec);
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfTricker : pb::IMessage<MessageOfTricker>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfTricker> _parser = new pb::MessageParser<MessageOfTricker>(() => new MessageOfTricker());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfTricker> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[1]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfTricker() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfTricker(MessageOfTricker other) : this() {
- x_ = other.x_;
- y_ = other.y_;
- speed_ = other.speed_;
- timeUntilSkillAvailable_ = other.timeUntilSkillAvailable_.Clone();
- place_ = other.place_;
- prop_ = other.prop_.Clone();
- trickerType_ = other.trickerType_;
- guid_ = other.guid_;
- score_ = other.score_;
- playerId_ = other.playerId_;
- viewRange_ = other.viewRange_;
- radius_ = other.radius_;
- playerState_ = other.playerState_;
- trickDesire_ = other.trickDesire_;
- classVolume_ = other.classVolume_;
- facingDirection_ = other.facingDirection_;
- bulletType_ = other.bulletType_;
- buff_ = other.buff_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfTricker Clone() {
- return new MessageOfTricker(this);
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 1;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 2;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "speed" field.</summary>
- public const int SpeedFieldNumber = 3;
- private int speed_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Speed {
- get { return speed_; }
- set {
- speed_ = value;
- }
- }
-
- /// <summary>Field number for the "time_until_skill_available" field.</summary>
- public const int TimeUntilSkillAvailableFieldNumber = 5;
- private static readonly pb::FieldCodec<double> _repeated_timeUntilSkillAvailable_codec
- = pb::FieldCodec.ForDouble(42);
- private readonly pbc::RepeatedField<double> timeUntilSkillAvailable_ = new pbc::RepeatedField<double>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<double> TimeUntilSkillAvailable {
- get { return timeUntilSkillAvailable_; }
- }
-
- /// <summary>Field number for the "place" field.</summary>
- public const int PlaceFieldNumber = 6;
- private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PlaceType Place {
- get { return place_; }
- set {
- place_ = value;
- }
- }
-
- /// <summary>Field number for the "prop" field.</summary>
- public const int PropFieldNumber = 7;
- private static readonly pb::FieldCodec<global::Protobuf.PropType> _repeated_prop_codec
- = pb::FieldCodec.ForEnum(58, x => (int) x, x => (global::Protobuf.PropType) x);
- private readonly pbc::RepeatedField<global::Protobuf.PropType> prop_ = new pbc::RepeatedField<global::Protobuf.PropType>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Protobuf.PropType> Prop {
- get { return prop_; }
- }
-
- /// <summary>Field number for the "tricker_type" field.</summary>
- public const int TrickerTypeFieldNumber = 8;
- private global::Protobuf.TrickerType trickerType_ = global::Protobuf.TrickerType.NullTrickerType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.TrickerType TrickerType {
- get { return trickerType_; }
- set {
- trickerType_ = value;
- }
- }
-
- /// <summary>Field number for the "guid" field.</summary>
- public const int GuidFieldNumber = 9;
- private long guid_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long Guid {
- get { return guid_; }
- set {
- guid_ = value;
- }
- }
-
- /// <summary>Field number for the "score" field.</summary>
- public const int ScoreFieldNumber = 10;
- private int score_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Score {
- get { return score_; }
- set {
- score_ = value;
- }
- }
-
- /// <summary>Field number for the "player_id" field.</summary>
- public const int PlayerIdFieldNumber = 11;
- private long playerId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long PlayerId {
- get { return playerId_; }
- set {
- playerId_ = value;
- }
- }
-
- /// <summary>Field number for the "view_range" field.</summary>
- public const int ViewRangeFieldNumber = 12;
- private int viewRange_;
- /// <summary>
- /// 视野距离
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int ViewRange {
- get { return viewRange_; }
- set {
- viewRange_ = value;
- }
- }
-
- /// <summary>Field number for the "radius" field.</summary>
- public const int RadiusFieldNumber = 13;
- private int radius_;
- /// <summary>
- /// 半径
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Radius {
- get { return radius_; }
- set {
- radius_ = value;
- }
- }
-
- /// <summary>Field number for the "player_state" field.</summary>
- public const int PlayerStateFieldNumber = 14;
- private global::Protobuf.PlayerState playerState_ = global::Protobuf.PlayerState.NullStatus;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PlayerState PlayerState {
- get { return playerState_; }
- set {
- playerState_ = value;
- }
- }
-
- /// <summary>Field number for the "trick_desire" field.</summary>
- public const int TrickDesireFieldNumber = 15;
- private double trickDesire_;
- /// <summary>
- ///bgm
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double TrickDesire {
- get { return trickDesire_; }
- set {
- trickDesire_ = value;
- }
- }
-
- /// <summary>Field number for the "class_volume" field.</summary>
- public const int ClassVolumeFieldNumber = 16;
- private double classVolume_;
- /// <summary>
- ///bgm
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double ClassVolume {
- get { return classVolume_; }
- set {
- classVolume_ = value;
- }
- }
-
- /// <summary>Field number for the "facing_direction" field.</summary>
- public const int FacingDirectionFieldNumber = 17;
- private double facingDirection_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double FacingDirection {
- get { return facingDirection_; }
- set {
- facingDirection_ = value;
- }
- }
-
- /// <summary>Field number for the "bullet_type" field.</summary>
- public const int BulletTypeFieldNumber = 18;
- private global::Protobuf.BulletType bulletType_ = global::Protobuf.BulletType.NullBulletType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.BulletType BulletType {
- get { return bulletType_; }
- set {
- bulletType_ = value;
- }
- }
-
- /// <summary>Field number for the "buff" field.</summary>
- public const int BuffFieldNumber = 19;
- private static readonly pb::FieldCodec<global::Protobuf.TrickerBuffType> _repeated_buff_codec
- = pb::FieldCodec.ForEnum(154, x => (int) x, x => (global::Protobuf.TrickerBuffType) x);
- private readonly pbc::RepeatedField<global::Protobuf.TrickerBuffType> buff_ = new pbc::RepeatedField<global::Protobuf.TrickerBuffType>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Protobuf.TrickerBuffType> Buff {
- get { return buff_; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfTricker);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfTricker other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (Speed != other.Speed) return false;
- if(!timeUntilSkillAvailable_.Equals(other.timeUntilSkillAvailable_)) return false;
- if (Place != other.Place) return false;
- if(!prop_.Equals(other.prop_)) return false;
- if (TrickerType != other.TrickerType) return false;
- if (Guid != other.Guid) return false;
- if (Score != other.Score) return false;
- if (PlayerId != other.PlayerId) return false;
- if (ViewRange != other.ViewRange) return false;
- if (Radius != other.Radius) return false;
- if (PlayerState != other.PlayerState) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TrickDesire, other.TrickDesire)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ClassVolume, other.ClassVolume)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
- if (BulletType != other.BulletType) return false;
- if(!buff_.Equals(other.buff_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (Speed != 0) hash ^= Speed.GetHashCode();
- hash ^= timeUntilSkillAvailable_.GetHashCode();
- if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
- hash ^= prop_.GetHashCode();
- if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) hash ^= TrickerType.GetHashCode();
- if (Guid != 0L) hash ^= Guid.GetHashCode();
- if (Score != 0) hash ^= Score.GetHashCode();
- if (PlayerId != 0L) hash ^= PlayerId.GetHashCode();
- if (ViewRange != 0) hash ^= ViewRange.GetHashCode();
- if (Radius != 0) hash ^= Radius.GetHashCode();
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) hash ^= PlayerState.GetHashCode();
- if (TrickDesire != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TrickDesire);
- if (ClassVolume != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ClassVolume);
- if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
- if (BulletType != global::Protobuf.BulletType.NullBulletType) hash ^= BulletType.GetHashCode();
- hash ^= buff_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Speed != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Speed);
- }
- timeUntilSkillAvailable_.WriteTo(output, _repeated_timeUntilSkillAvailable_codec);
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Place);
- }
- prop_.WriteTo(output, _repeated_prop_codec);
- if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
- output.WriteRawTag(64);
- output.WriteEnum((int) TrickerType);
- }
- if (Guid != 0L) {
- output.WriteRawTag(72);
- output.WriteInt64(Guid);
- }
- if (Score != 0) {
- output.WriteRawTag(80);
- output.WriteInt32(Score);
- }
- if (PlayerId != 0L) {
- output.WriteRawTag(88);
- output.WriteInt64(PlayerId);
- }
- if (ViewRange != 0) {
- output.WriteRawTag(96);
- output.WriteInt32(ViewRange);
- }
- if (Radius != 0) {
- output.WriteRawTag(104);
- output.WriteInt32(Radius);
- }
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
- output.WriteRawTag(112);
- output.WriteEnum((int) PlayerState);
- }
- if (TrickDesire != 0D) {
- output.WriteRawTag(121);
- output.WriteDouble(TrickDesire);
- }
- if (ClassVolume != 0D) {
- output.WriteRawTag(129, 1);
- output.WriteDouble(ClassVolume);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(137, 1);
- output.WriteDouble(FacingDirection);
- }
- if (BulletType != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(144, 1);
- output.WriteEnum((int) BulletType);
- }
- buff_.WriteTo(output, _repeated_buff_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Speed != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Speed);
- }
- timeUntilSkillAvailable_.WriteTo(ref output, _repeated_timeUntilSkillAvailable_codec);
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Place);
- }
- prop_.WriteTo(ref output, _repeated_prop_codec);
- if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
- output.WriteRawTag(64);
- output.WriteEnum((int) TrickerType);
- }
- if (Guid != 0L) {
- output.WriteRawTag(72);
- output.WriteInt64(Guid);
- }
- if (Score != 0) {
- output.WriteRawTag(80);
- output.WriteInt32(Score);
- }
- if (PlayerId != 0L) {
- output.WriteRawTag(88);
- output.WriteInt64(PlayerId);
- }
- if (ViewRange != 0) {
- output.WriteRawTag(96);
- output.WriteInt32(ViewRange);
- }
- if (Radius != 0) {
- output.WriteRawTag(104);
- output.WriteInt32(Radius);
- }
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
- output.WriteRawTag(112);
- output.WriteEnum((int) PlayerState);
- }
- if (TrickDesire != 0D) {
- output.WriteRawTag(121);
- output.WriteDouble(TrickDesire);
- }
- if (ClassVolume != 0D) {
- output.WriteRawTag(129, 1);
- output.WriteDouble(ClassVolume);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(137, 1);
- output.WriteDouble(FacingDirection);
- }
- if (BulletType != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(144, 1);
- output.WriteEnum((int) BulletType);
- }
- buff_.WriteTo(ref output, _repeated_buff_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (Speed != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
- }
- size += timeUntilSkillAvailable_.CalculateSize(_repeated_timeUntilSkillAvailable_codec);
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
- }
- size += prop_.CalculateSize(_repeated_prop_codec);
- if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TrickerType);
- }
- if (Guid != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
- }
- if (Score != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score);
- }
- if (PlayerId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId);
- }
- if (ViewRange != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ViewRange);
- }
- if (Radius != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Radius);
- }
- if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerState);
- }
- if (TrickDesire != 0D) {
- size += 1 + 8;
- }
- if (ClassVolume != 0D) {
- size += 2 + 8;
- }
- if (FacingDirection != 0D) {
- size += 2 + 8;
- }
- if (BulletType != global::Protobuf.BulletType.NullBulletType) {
- size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BulletType);
- }
- size += buff_.CalculateSize(_repeated_buff_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfTricker other) {
- if (other == null) {
- return;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.Speed != 0) {
- Speed = other.Speed;
- }
- timeUntilSkillAvailable_.Add(other.timeUntilSkillAvailable_);
- if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
- Place = other.Place;
- }
- prop_.Add(other.prop_);
- if (other.TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
- TrickerType = other.TrickerType;
- }
- if (other.Guid != 0L) {
- Guid = other.Guid;
- }
- if (other.Score != 0) {
- Score = other.Score;
- }
- if (other.PlayerId != 0L) {
- PlayerId = other.PlayerId;
- }
- if (other.ViewRange != 0) {
- ViewRange = other.ViewRange;
- }
- if (other.Radius != 0) {
- Radius = other.Radius;
- }
- if (other.PlayerState != global::Protobuf.PlayerState.NullStatus) {
- PlayerState = other.PlayerState;
- }
- if (other.TrickDesire != 0D) {
- TrickDesire = other.TrickDesire;
- }
- if (other.ClassVolume != 0D) {
- ClassVolume = other.ClassVolume;
- }
- if (other.FacingDirection != 0D) {
- FacingDirection = other.FacingDirection;
- }
- if (other.BulletType != global::Protobuf.BulletType.NullBulletType) {
- BulletType = other.BulletType;
- }
- buff_.Add(other.buff_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Speed = input.ReadInt32();
- break;
- }
- case 42:
- case 41: {
- timeUntilSkillAvailable_.AddEntriesFrom(input, _repeated_timeUntilSkillAvailable_codec);
- break;
- }
- case 48: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- case 58:
- case 56: {
- prop_.AddEntriesFrom(input, _repeated_prop_codec);
- break;
- }
- case 64: {
- TrickerType = (global::Protobuf.TrickerType) input.ReadEnum();
- break;
- }
- case 72: {
- Guid = input.ReadInt64();
- break;
- }
- case 80: {
- Score = input.ReadInt32();
- break;
- }
- case 88: {
- PlayerId = input.ReadInt64();
- break;
- }
- case 96: {
- ViewRange = input.ReadInt32();
- break;
- }
- case 104: {
- Radius = input.ReadInt32();
- break;
- }
- case 112: {
- PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
- break;
- }
- case 121: {
- TrickDesire = input.ReadDouble();
- break;
- }
- case 129: {
- ClassVolume = input.ReadDouble();
- break;
- }
- case 137: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 144: {
- BulletType = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 154:
- case 152: {
- buff_.AddEntriesFrom(input, _repeated_buff_codec);
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Speed = input.ReadInt32();
- break;
- }
- case 42:
- case 41: {
- timeUntilSkillAvailable_.AddEntriesFrom(ref input, _repeated_timeUntilSkillAvailable_codec);
- break;
- }
- case 48: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- case 58:
- case 56: {
- prop_.AddEntriesFrom(ref input, _repeated_prop_codec);
- break;
- }
- case 64: {
- TrickerType = (global::Protobuf.TrickerType) input.ReadEnum();
- break;
- }
- case 72: {
- Guid = input.ReadInt64();
- break;
- }
- case 80: {
- Score = input.ReadInt32();
- break;
- }
- case 88: {
- PlayerId = input.ReadInt64();
- break;
- }
- case 96: {
- ViewRange = input.ReadInt32();
- break;
- }
- case 104: {
- Radius = input.ReadInt32();
- break;
- }
- case 112: {
- PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
- break;
- }
- case 121: {
- TrickDesire = input.ReadDouble();
- break;
- }
- case 129: {
- ClassVolume = input.ReadDouble();
- break;
- }
- case 137: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 144: {
- BulletType = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 154:
- case 152: {
- buff_.AddEntriesFrom(ref input, _repeated_buff_codec);
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfBullet : pb::IMessage<MessageOfBullet>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfBullet> _parser = new pb::MessageParser<MessageOfBullet>(() => new MessageOfBullet());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfBullet> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[2]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfBullet() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfBullet(MessageOfBullet other) : this() {
- type_ = other.type_;
- x_ = other.x_;
- y_ = other.y_;
- facingDirection_ = other.facingDirection_;
- guid_ = other.guid_;
- team_ = other.team_;
- place_ = other.place_;
- bombRange_ = other.bombRange_;
- speed_ = other.speed_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfBullet Clone() {
- return new MessageOfBullet(this);
- }
-
- /// <summary>Field number for the "type" field.</summary>
- public const int TypeFieldNumber = 1;
- private global::Protobuf.BulletType type_ = global::Protobuf.BulletType.NullBulletType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.BulletType Type {
- get { return type_; }
- set {
- type_ = value;
- }
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 2;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 3;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "facing_direction" field.</summary>
- public const int FacingDirectionFieldNumber = 4;
- private double facingDirection_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double FacingDirection {
- get { return facingDirection_; }
- set {
- facingDirection_ = value;
- }
- }
-
- /// <summary>Field number for the "guid" field.</summary>
- public const int GuidFieldNumber = 5;
- private long guid_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long Guid {
- get { return guid_; }
- set {
- guid_ = value;
- }
- }
-
- /// <summary>Field number for the "team" field.</summary>
- public const int TeamFieldNumber = 6;
- private global::Protobuf.PlayerType team_ = global::Protobuf.PlayerType.NullPlayerType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PlayerType Team {
- get { return team_; }
- set {
- team_ = value;
- }
- }
-
- /// <summary>Field number for the "place" field.</summary>
- public const int PlaceFieldNumber = 7;
- private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PlaceType Place {
- get { return place_; }
- set {
- place_ = value;
- }
- }
-
- /// <summary>Field number for the "bomb_range" field.</summary>
- public const int BombRangeFieldNumber = 8;
- private double bombRange_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double BombRange {
- get { return bombRange_; }
- set {
- bombRange_ = value;
- }
- }
-
- /// <summary>Field number for the "speed" field.</summary>
- public const int SpeedFieldNumber = 9;
- private int speed_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Speed {
- get { return speed_; }
- set {
- speed_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfBullet);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfBullet other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Type != other.Type) return false;
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
- if (Guid != other.Guid) return false;
- if (Team != other.Team) return false;
- if (Place != other.Place) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BombRange, other.BombRange)) return false;
- if (Speed != other.Speed) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (Type != global::Protobuf.BulletType.NullBulletType) hash ^= Type.GetHashCode();
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
- if (Guid != 0L) hash ^= Guid.GetHashCode();
- if (Team != global::Protobuf.PlayerType.NullPlayerType) hash ^= Team.GetHashCode();
- if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
- if (BombRange != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BombRange);
- if (Speed != 0) hash ^= Speed.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (Type != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (Guid != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(Guid);
- }
- if (Team != global::Protobuf.PlayerType.NullPlayerType) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Team);
- }
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(56);
- output.WriteEnum((int) Place);
- }
- if (BombRange != 0D) {
- output.WriteRawTag(65);
- output.WriteDouble(BombRange);
- }
- if (Speed != 0) {
- output.WriteRawTag(72);
- output.WriteInt32(Speed);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Type != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (Guid != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(Guid);
- }
- if (Team != global::Protobuf.PlayerType.NullPlayerType) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Team);
- }
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(56);
- output.WriteEnum((int) Place);
- }
- if (BombRange != 0D) {
- output.WriteRawTag(65);
- output.WriteDouble(BombRange);
- }
- if (Speed != 0) {
- output.WriteRawTag(72);
- output.WriteInt32(Speed);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (Type != global::Protobuf.BulletType.NullBulletType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
- }
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (FacingDirection != 0D) {
- size += 1 + 8;
- }
- if (Guid != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
- }
- if (Team != global::Protobuf.PlayerType.NullPlayerType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Team);
- }
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
- }
- if (BombRange != 0D) {
- size += 1 + 8;
- }
- if (Speed != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfBullet other) {
- if (other == null) {
- return;
- }
- if (other.Type != global::Protobuf.BulletType.NullBulletType) {
- Type = other.Type;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.FacingDirection != 0D) {
- FacingDirection = other.FacingDirection;
- }
- if (other.Guid != 0L) {
- Guid = other.Guid;
- }
- if (other.Team != global::Protobuf.PlayerType.NullPlayerType) {
- Team = other.Team;
- }
- if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
- Place = other.Place;
- }
- if (other.BombRange != 0D) {
- BombRange = other.BombRange;
- }
- if (other.Speed != 0) {
- Speed = other.Speed;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- Type = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- Guid = input.ReadInt64();
- break;
- }
- case 48: {
- Team = (global::Protobuf.PlayerType) input.ReadEnum();
- break;
- }
- case 56: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- case 65: {
- BombRange = input.ReadDouble();
- break;
- }
- case 72: {
- Speed = input.ReadInt32();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- Type = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- Guid = input.ReadInt64();
- break;
- }
- case 48: {
- Team = (global::Protobuf.PlayerType) input.ReadEnum();
- break;
- }
- case 56: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- case 65: {
- BombRange = input.ReadDouble();
- break;
- }
- case 72: {
- Speed = input.ReadInt32();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfBombedBullet : pb::IMessage<MessageOfBombedBullet>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfBombedBullet> _parser = new pb::MessageParser<MessageOfBombedBullet>(() => new MessageOfBombedBullet());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfBombedBullet> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[3]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfBombedBullet() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfBombedBullet(MessageOfBombedBullet other) : this() {
- type_ = other.type_;
- x_ = other.x_;
- y_ = other.y_;
- facingDirection_ = other.facingDirection_;
- mappingId_ = other.mappingId_;
- bombRange_ = other.bombRange_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfBombedBullet Clone() {
- return new MessageOfBombedBullet(this);
- }
-
- /// <summary>Field number for the "type" field.</summary>
- public const int TypeFieldNumber = 1;
- private global::Protobuf.BulletType type_ = global::Protobuf.BulletType.NullBulletType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.BulletType Type {
- get { return type_; }
- set {
- type_ = value;
- }
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 2;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 3;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "facing_direction" field.</summary>
- public const int FacingDirectionFieldNumber = 4;
- private double facingDirection_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double FacingDirection {
- get { return facingDirection_; }
- set {
- facingDirection_ = value;
- }
- }
-
- /// <summary>Field number for the "mapping_id" field.</summary>
- public const int MappingIdFieldNumber = 5;
- private long mappingId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long MappingId {
- get { return mappingId_; }
- set {
- mappingId_ = value;
- }
- }
-
- /// <summary>Field number for the "bomb_range" field.</summary>
- public const int BombRangeFieldNumber = 6;
- private double bombRange_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double BombRange {
- get { return bombRange_; }
- set {
- bombRange_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfBombedBullet);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfBombedBullet other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Type != other.Type) return false;
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
- if (MappingId != other.MappingId) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BombRange, other.BombRange)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (Type != global::Protobuf.BulletType.NullBulletType) hash ^= Type.GetHashCode();
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
- if (MappingId != 0L) hash ^= MappingId.GetHashCode();
- if (BombRange != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BombRange);
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (Type != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (MappingId != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(MappingId);
- }
- if (BombRange != 0D) {
- output.WriteRawTag(49);
- output.WriteDouble(BombRange);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Type != global::Protobuf.BulletType.NullBulletType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (MappingId != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(MappingId);
- }
- if (BombRange != 0D) {
- output.WriteRawTag(49);
- output.WriteDouble(BombRange);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (Type != global::Protobuf.BulletType.NullBulletType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
- }
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (FacingDirection != 0D) {
- size += 1 + 8;
- }
- if (MappingId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(MappingId);
- }
- if (BombRange != 0D) {
- size += 1 + 8;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfBombedBullet other) {
- if (other == null) {
- return;
- }
- if (other.Type != global::Protobuf.BulletType.NullBulletType) {
- Type = other.Type;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.FacingDirection != 0D) {
- FacingDirection = other.FacingDirection;
- }
- if (other.MappingId != 0L) {
- MappingId = other.MappingId;
- }
- if (other.BombRange != 0D) {
- BombRange = other.BombRange;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- Type = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- MappingId = input.ReadInt64();
- break;
- }
- case 49: {
- BombRange = input.ReadDouble();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- Type = (global::Protobuf.BulletType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- MappingId = input.ReadInt64();
- break;
- }
- case 49: {
- BombRange = input.ReadDouble();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfProp : pb::IMessage<MessageOfProp>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfProp> _parser = new pb::MessageParser<MessageOfProp>(() => new MessageOfProp());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfProp> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[4]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfProp() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfProp(MessageOfProp other) : this() {
- type_ = other.type_;
- x_ = other.x_;
- y_ = other.y_;
- facingDirection_ = other.facingDirection_;
- guid_ = other.guid_;
- place_ = other.place_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfProp Clone() {
- return new MessageOfProp(this);
- }
-
- /// <summary>Field number for the "type" field.</summary>
- public const int TypeFieldNumber = 1;
- private global::Protobuf.PropType type_ = global::Protobuf.PropType.NullPropType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PropType Type {
- get { return type_; }
- set {
- type_ = value;
- }
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 2;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 3;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "facing_direction" field.</summary>
- public const int FacingDirectionFieldNumber = 4;
- private double facingDirection_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double FacingDirection {
- get { return facingDirection_; }
- set {
- facingDirection_ = value;
- }
- }
-
- /// <summary>Field number for the "guid" field.</summary>
- public const int GuidFieldNumber = 5;
- private long guid_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long Guid {
- get { return guid_; }
- set {
- guid_ = value;
- }
- }
-
- /// <summary>Field number for the "place" field.</summary>
- public const int PlaceFieldNumber = 6;
- private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PlaceType Place {
- get { return place_; }
- set {
- place_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfProp);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfProp other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Type != other.Type) return false;
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
- if (Guid != other.Guid) return false;
- if (Place != other.Place) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (Type != global::Protobuf.PropType.NullPropType) hash ^= Type.GetHashCode();
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
- if (Guid != 0L) hash ^= Guid.GetHashCode();
- if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (Type != global::Protobuf.PropType.NullPropType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (Guid != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(Guid);
- }
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Place);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Type != global::Protobuf.PropType.NullPropType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (Guid != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(Guid);
- }
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Place);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (Type != global::Protobuf.PropType.NullPropType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
- }
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (FacingDirection != 0D) {
- size += 1 + 8;
- }
- if (Guid != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
- }
- if (Place != global::Protobuf.PlaceType.NullPlaceType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfProp other) {
- if (other == null) {
- return;
- }
- if (other.Type != global::Protobuf.PropType.NullPropType) {
- Type = other.Type;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.FacingDirection != 0D) {
- FacingDirection = other.FacingDirection;
- }
- if (other.Guid != 0L) {
- Guid = other.Guid;
- }
- if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
- Place = other.Place;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- Type = (global::Protobuf.PropType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- Guid = input.ReadInt64();
- break;
- }
- case 48: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- Type = (global::Protobuf.PropType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- Guid = input.ReadInt64();
- break;
- }
- case 48: {
- Place = (global::Protobuf.PlaceType) input.ReadEnum();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfPickedProp : pb::IMessage<MessageOfPickedProp>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfPickedProp> _parser = new pb::MessageParser<MessageOfPickedProp>(() => new MessageOfPickedProp());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfPickedProp> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[5]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfPickedProp() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfPickedProp(MessageOfPickedProp other) : this() {
- type_ = other.type_;
- x_ = other.x_;
- y_ = other.y_;
- facingDirection_ = other.facingDirection_;
- mappingId_ = other.mappingId_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfPickedProp Clone() {
- return new MessageOfPickedProp(this);
- }
-
- /// <summary>Field number for the "type" field.</summary>
- public const int TypeFieldNumber = 1;
- private global::Protobuf.PropType type_ = global::Protobuf.PropType.NullPropType;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.PropType Type {
- get { return type_; }
- set {
- type_ = value;
- }
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 2;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 3;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "facing_direction" field.</summary>
- public const int FacingDirectionFieldNumber = 4;
- private double facingDirection_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double FacingDirection {
- get { return facingDirection_; }
- set {
- facingDirection_ = value;
- }
- }
-
- /// <summary>Field number for the "mapping_id" field.</summary>
- public const int MappingIdFieldNumber = 5;
- private long mappingId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long MappingId {
- get { return mappingId_; }
- set {
- mappingId_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfPickedProp);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfPickedProp other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Type != other.Type) return false;
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
- if (MappingId != other.MappingId) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (Type != global::Protobuf.PropType.NullPropType) hash ^= Type.GetHashCode();
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
- if (MappingId != 0L) hash ^= MappingId.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (Type != global::Protobuf.PropType.NullPropType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (MappingId != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(MappingId);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Type != global::Protobuf.PropType.NullPropType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Type);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Y);
- }
- if (FacingDirection != 0D) {
- output.WriteRawTag(33);
- output.WriteDouble(FacingDirection);
- }
- if (MappingId != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(MappingId);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (Type != global::Protobuf.PropType.NullPropType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
- }
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (FacingDirection != 0D) {
- size += 1 + 8;
- }
- if (MappingId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(MappingId);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfPickedProp other) {
- if (other == null) {
- return;
- }
- if (other.Type != global::Protobuf.PropType.NullPropType) {
- Type = other.Type;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.FacingDirection != 0D) {
- FacingDirection = other.FacingDirection;
- }
- if (other.MappingId != 0L) {
- MappingId = other.MappingId;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- Type = (global::Protobuf.PropType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- MappingId = input.ReadInt64();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- Type = (global::Protobuf.PropType) input.ReadEnum();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Y = input.ReadInt32();
- break;
- }
- case 33: {
- FacingDirection = input.ReadDouble();
- break;
- }
- case 40: {
- MappingId = input.ReadInt64();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfClassroom : pb::IMessage<MessageOfClassroom>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfClassroom> _parser = new pb::MessageParser<MessageOfClassroom>(() => new MessageOfClassroom());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfClassroom> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[6]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfClassroom() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfClassroom(MessageOfClassroom other) : this() {
- x_ = other.x_;
- y_ = other.y_;
- progress_ = other.progress_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfClassroom Clone() {
- return new MessageOfClassroom(this);
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 1;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 2;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "progress" field.</summary>
- public const int ProgressFieldNumber = 3;
- private int progress_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Progress {
- get { return progress_; }
- set {
- progress_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfClassroom);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfClassroom other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (Progress != other.Progress) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (Progress != 0) hash ^= Progress.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Progress != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Progress != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (Progress != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfClassroom other) {
- if (other == null) {
- return;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.Progress != 0) {
- Progress = other.Progress;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfGate : pb::IMessage<MessageOfGate>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfGate> _parser = new pb::MessageParser<MessageOfGate>(() => new MessageOfGate());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfGate> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[7]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfGate() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfGate(MessageOfGate other) : this() {
- x_ = other.x_;
- y_ = other.y_;
- progress_ = other.progress_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfGate Clone() {
- return new MessageOfGate(this);
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 1;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 2;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "progress" field.</summary>
- public const int ProgressFieldNumber = 3;
- private int progress_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Progress {
- get { return progress_; }
- set {
- progress_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfGate);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfGate other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (Progress != other.Progress) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (Progress != 0) hash ^= Progress.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Progress != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Progress != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (Progress != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfGate other) {
- if (other == null) {
- return;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.Progress != 0) {
- Progress = other.Progress;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfHiddenGate : pb::IMessage<MessageOfHiddenGate>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfHiddenGate> _parser = new pb::MessageParser<MessageOfHiddenGate>(() => new MessageOfHiddenGate());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfHiddenGate> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[8]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfHiddenGate() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfHiddenGate(MessageOfHiddenGate other) : this() {
- x_ = other.x_;
- y_ = other.y_;
- opened_ = other.opened_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfHiddenGate Clone() {
- return new MessageOfHiddenGate(this);
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 1;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 2;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "opened" field.</summary>
- public const int OpenedFieldNumber = 3;
- private bool opened_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Opened {
- get { return opened_; }
- set {
- opened_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfHiddenGate);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfHiddenGate other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (Opened != other.Opened) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (Opened != false) hash ^= Opened.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Opened != false) {
- output.WriteRawTag(24);
- output.WriteBool(Opened);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Opened != false) {
- output.WriteRawTag(24);
- output.WriteBool(Opened);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (Opened != false) {
- size += 1 + 1;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfHiddenGate other) {
- if (other == null) {
- return;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.Opened != false) {
- Opened = other.Opened;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Opened = input.ReadBool();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Opened = input.ReadBool();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfDoor : pb::IMessage<MessageOfDoor>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfDoor> _parser = new pb::MessageParser<MessageOfDoor>(() => new MessageOfDoor());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfDoor> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[9]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfDoor() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfDoor(MessageOfDoor other) : this() {
- x_ = other.x_;
- y_ = other.y_;
- isOpen_ = other.isOpen_;
- progress_ = other.progress_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfDoor Clone() {
- return new MessageOfDoor(this);
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 1;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 2;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "is_open" field.</summary>
- public const int IsOpenFieldNumber = 3;
- private bool isOpen_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool IsOpen {
- get { return isOpen_; }
- set {
- isOpen_ = value;
- }
- }
-
- /// <summary>Field number for the "progress" field.</summary>
- public const int ProgressFieldNumber = 4;
- private int progress_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Progress {
- get { return progress_; }
- set {
- progress_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfDoor);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfDoor other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (IsOpen != other.IsOpen) return false;
- if (Progress != other.Progress) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (IsOpen != false) hash ^= IsOpen.GetHashCode();
- if (Progress != 0) hash ^= Progress.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (IsOpen != false) {
- output.WriteRawTag(24);
- output.WriteBool(IsOpen);
- }
- if (Progress != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (IsOpen != false) {
- output.WriteRawTag(24);
- output.WriteBool(IsOpen);
- }
- if (Progress != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (IsOpen != false) {
- size += 1 + 1;
- }
- if (Progress != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfDoor other) {
- if (other == null) {
- return;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.IsOpen != false) {
- IsOpen = other.IsOpen;
- }
- if (other.Progress != 0) {
- Progress = other.Progress;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- IsOpen = input.ReadBool();
- break;
- }
- case 32: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- IsOpen = input.ReadBool();
- break;
- }
- case 32: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfChest : pb::IMessage<MessageOfChest>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfChest> _parser = new pb::MessageParser<MessageOfChest>(() => new MessageOfChest());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfChest> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[10]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfChest() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfChest(MessageOfChest other) : this() {
- x_ = other.x_;
- y_ = other.y_;
- progress_ = other.progress_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfChest Clone() {
- return new MessageOfChest(this);
- }
-
- /// <summary>Field number for the "x" field.</summary>
- public const int XFieldNumber = 1;
- private int x_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
-
- /// <summary>Field number for the "y" field.</summary>
- public const int YFieldNumber = 2;
- private int y_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Y {
- get { return y_; }
- set {
- y_ = value;
- }
- }
-
- /// <summary>Field number for the "progress" field.</summary>
- public const int ProgressFieldNumber = 3;
- private int progress_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Progress {
- get { return progress_; }
- set {
- progress_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfChest);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfChest other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (X != other.X) return false;
- if (Y != other.Y) return false;
- if (Progress != other.Progress) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (X != 0) hash ^= X.GetHashCode();
- if (Y != 0) hash ^= Y.GetHashCode();
- if (Progress != 0) hash ^= Progress.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Progress != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Y != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Y);
- }
- if (Progress != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Progress);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Y != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
- }
- if (Progress != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfChest other) {
- if (other == null) {
- return;
- }
- if (other.X != 0) {
- X = other.X;
- }
- if (other.Y != 0) {
- Y = other.Y;
- }
- if (other.Progress != 0) {
- Progress = other.Progress;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Y = input.ReadInt32();
- break;
- }
- case 24: {
- Progress = input.ReadInt32();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfMap : pb::IMessage<MessageOfMap>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfMap> _parser = new pb::MessageParser<MessageOfMap>(() => new MessageOfMap());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfMap> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[11]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfMap() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfMap(MessageOfMap other) : this() {
- row_ = other.row_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfMap Clone() {
- return new MessageOfMap(this);
- }
-
- /// <summary>Field number for the "row" field.</summary>
- public const int RowFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Protobuf.MessageOfMap.Types.Row> _repeated_row_codec
- = pb::FieldCodec.ForMessage(18, global::Protobuf.MessageOfMap.Types.Row.Parser);
- private readonly pbc::RepeatedField<global::Protobuf.MessageOfMap.Types.Row> row_ = new pbc::RepeatedField<global::Protobuf.MessageOfMap.Types.Row>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Protobuf.MessageOfMap.Types.Row> Row {
- get { return row_; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfMap);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfMap other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!row_.Equals(other.row_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= row_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- row_.WriteTo(output, _repeated_row_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- row_.WriteTo(ref output, _repeated_row_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- size += row_.CalculateSize(_repeated_row_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfMap other) {
- if (other == null) {
- return;
- }
- row_.Add(other.row_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 18: {
- row_.AddEntriesFrom(input, _repeated_row_codec);
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 18: {
- row_.AddEntriesFrom(ref input, _repeated_row_codec);
- break;
- }
- }
- }
- }
- #endif
-
- #region Nested types
- /// <summary>Container for nested types declared in the MessageOfMap message type.</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static partial class Types {
- public sealed partial class Row : pb::IMessage<Row>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<Row> _parser = new pb::MessageParser<Row>(() => new Row());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<Row> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.MessageOfMap.Descriptor.NestedTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Row() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Row(Row other) : this() {
- col_ = other.col_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Row Clone() {
- return new Row(this);
- }
-
- /// <summary>Field number for the "col" field.</summary>
- public const int ColFieldNumber = 1;
- private static readonly pb::FieldCodec<global::Protobuf.PlaceType> _repeated_col_codec
- = pb::FieldCodec.ForEnum(10, x => (int) x, x => (global::Protobuf.PlaceType) x);
- private readonly pbc::RepeatedField<global::Protobuf.PlaceType> col_ = new pbc::RepeatedField<global::Protobuf.PlaceType>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Protobuf.PlaceType> Col {
- get { return col_; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as Row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(Row other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!col_.Equals(other.col_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= col_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- col_.WriteTo(output, _repeated_col_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- col_.WriteTo(ref output, _repeated_col_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- size += col_.CalculateSize(_repeated_col_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(Row other) {
- if (other == null) {
- return;
- }
- col_.Add(other.col_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10:
- case 8: {
- col_.AddEntriesFrom(input, _repeated_col_codec);
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 10:
- case 8: {
- col_.AddEntriesFrom(ref input, _repeated_col_codec);
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- }
- #endregion
-
- }
-
- public sealed partial class MessageOfNews : pb::IMessage<MessageOfNews>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfNews> _parser = new pb::MessageParser<MessageOfNews>(() => new MessageOfNews());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfNews> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[12]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfNews() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfNews(MessageOfNews other) : this() {
- news_ = other.news_;
- fromId_ = other.fromId_;
- toId_ = other.toId_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfNews Clone() {
- return new MessageOfNews(this);
- }
-
- /// <summary>Field number for the "news" field.</summary>
- public const int NewsFieldNumber = 1;
- private string news_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string News {
- get { return news_; }
- set {
- news_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// <summary>Field number for the "from_id" field.</summary>
- public const int FromIdFieldNumber = 2;
- private long fromId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long FromId {
- get { return fromId_; }
- set {
- fromId_ = value;
- }
- }
-
- /// <summary>Field number for the "to_id" field.</summary>
- public const int ToIdFieldNumber = 3;
- private long toId_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long ToId {
- get { return toId_; }
- set {
- toId_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfNews);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfNews other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (News != other.News) return false;
- if (FromId != other.FromId) return false;
- if (ToId != other.ToId) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (News.Length != 0) hash ^= News.GetHashCode();
- if (FromId != 0L) hash ^= FromId.GetHashCode();
- if (ToId != 0L) hash ^= ToId.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (News.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(News);
- }
- if (FromId != 0L) {
- output.WriteRawTag(16);
- output.WriteInt64(FromId);
- }
- if (ToId != 0L) {
- output.WriteRawTag(24);
- output.WriteInt64(ToId);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (News.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(News);
- }
- if (FromId != 0L) {
- output.WriteRawTag(16);
- output.WriteInt64(FromId);
- }
- if (ToId != 0L) {
- output.WriteRawTag(24);
- output.WriteInt64(ToId);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (News.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(News);
- }
- if (FromId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(FromId);
- }
- if (ToId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(ToId);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfNews other) {
- if (other == null) {
- return;
- }
- if (other.News.Length != 0) {
- News = other.News;
- }
- if (other.FromId != 0L) {
- FromId = other.FromId;
- }
- if (other.ToId != 0L) {
- ToId = other.ToId;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- News = input.ReadString();
- break;
- }
- case 16: {
- FromId = input.ReadInt64();
- break;
- }
- case 24: {
- ToId = input.ReadInt64();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 10: {
- News = input.ReadString();
- break;
- }
- case 16: {
- FromId = input.ReadInt64();
- break;
- }
- case 24: {
- ToId = input.ReadInt64();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfObj : pb::IMessage<MessageOfObj>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfObj> _parser = new pb::MessageParser<MessageOfObj>(() => new MessageOfObj());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfObj> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[13]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfObj() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfObj(MessageOfObj other) : this() {
- switch (other.MessageOfObjCase) {
- case MessageOfObjOneofCase.StudentMessage:
- StudentMessage = other.StudentMessage.Clone();
- break;
- case MessageOfObjOneofCase.TrickerMessage:
- TrickerMessage = other.TrickerMessage.Clone();
- break;
- case MessageOfObjOneofCase.PropMessage:
- PropMessage = other.PropMessage.Clone();
- break;
- case MessageOfObjOneofCase.BulletMessage:
- BulletMessage = other.BulletMessage.Clone();
- break;
- case MessageOfObjOneofCase.BombedBulletMessage:
- BombedBulletMessage = other.BombedBulletMessage.Clone();
- break;
- case MessageOfObjOneofCase.ClassroomMessage:
- ClassroomMessage = other.ClassroomMessage.Clone();
- break;
- case MessageOfObjOneofCase.DoorMessage:
- DoorMessage = other.DoorMessage.Clone();
- break;
- case MessageOfObjOneofCase.GateMessage:
- GateMessage = other.GateMessage.Clone();
- break;
- case MessageOfObjOneofCase.ChestMessage:
- ChestMessage = other.ChestMessage.Clone();
- break;
- case MessageOfObjOneofCase.HiddenGateMessage:
- HiddenGateMessage = other.HiddenGateMessage.Clone();
- break;
- case MessageOfObjOneofCase.NewsMessage:
- NewsMessage = other.NewsMessage.Clone();
- break;
- case MessageOfObjOneofCase.MapMessage:
- MapMessage = other.MapMessage.Clone();
- break;
- }
-
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfObj Clone() {
- return new MessageOfObj(this);
- }
-
- /// <summary>Field number for the "student_message" field.</summary>
- public const int StudentMessageFieldNumber = 1;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfStudent StudentMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage ? (global::Protobuf.MessageOfStudent) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.StudentMessage;
- }
- }
-
- /// <summary>Field number for the "tricker_message" field.</summary>
- public const int TrickerMessageFieldNumber = 2;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfTricker TrickerMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage ? (global::Protobuf.MessageOfTricker) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.TrickerMessage;
- }
- }
-
- /// <summary>Field number for the "prop_message" field.</summary>
- public const int PropMessageFieldNumber = 3;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfProp PropMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.PropMessage ? (global::Protobuf.MessageOfProp) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.PropMessage;
- }
- }
-
- /// <summary>Field number for the "bullet_message" field.</summary>
- public const int BulletMessageFieldNumber = 4;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfBullet BulletMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage ? (global::Protobuf.MessageOfBullet) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.BulletMessage;
- }
- }
-
- /// <summary>Field number for the "bombed_bullet_message" field.</summary>
- public const int BombedBulletMessageFieldNumber = 5;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfBombedBullet BombedBulletMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage ? (global::Protobuf.MessageOfBombedBullet) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.BombedBulletMessage;
- }
- }
-
- /// <summary>Field number for the "classroom_message" field.</summary>
- public const int ClassroomMessageFieldNumber = 6;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfClassroom ClassroomMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage ? (global::Protobuf.MessageOfClassroom) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.ClassroomMessage;
- }
- }
-
- /// <summary>Field number for the "door_message" field.</summary>
- public const int DoorMessageFieldNumber = 7;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfDoor DoorMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage ? (global::Protobuf.MessageOfDoor) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.DoorMessage;
- }
- }
-
- /// <summary>Field number for the "gate_message" field.</summary>
- public const int GateMessageFieldNumber = 8;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfGate GateMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.GateMessage ? (global::Protobuf.MessageOfGate) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.GateMessage;
- }
- }
-
- /// <summary>Field number for the "chest_message" field.</summary>
- public const int ChestMessageFieldNumber = 9;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfChest ChestMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage ? (global::Protobuf.MessageOfChest) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.ChestMessage;
- }
- }
-
- /// <summary>Field number for the "hidden_gate_message" field.</summary>
- public const int HiddenGateMessageFieldNumber = 10;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfHiddenGate HiddenGateMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage ? (global::Protobuf.MessageOfHiddenGate) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.HiddenGateMessage;
- }
- }
-
- /// <summary>Field number for the "news_message" field.</summary>
- public const int NewsMessageFieldNumber = 11;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfNews NewsMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage ? (global::Protobuf.MessageOfNews) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.NewsMessage;
- }
- }
-
- /// <summary>Field number for the "map_message" field.</summary>
- public const int MapMessageFieldNumber = 12;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfMap MapMessage {
- get { return messageOfObjCase_ == MessageOfObjOneofCase.MapMessage ? (global::Protobuf.MessageOfMap) messageOfObj_ : null; }
- set {
- messageOfObj_ = value;
- messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.MapMessage;
- }
- }
-
- private object messageOfObj_;
- /// <summary>Enum of possible cases for the "message_of_obj" oneof.</summary>
- public enum MessageOfObjOneofCase {
- None = 0,
- StudentMessage = 1,
- TrickerMessage = 2,
- PropMessage = 3,
- BulletMessage = 4,
- BombedBulletMessage = 5,
- ClassroomMessage = 6,
- DoorMessage = 7,
- GateMessage = 8,
- ChestMessage = 9,
- HiddenGateMessage = 10,
- NewsMessage = 11,
- MapMessage = 12,
- }
- private MessageOfObjOneofCase messageOfObjCase_ = MessageOfObjOneofCase.None;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfObjOneofCase MessageOfObjCase {
- get { return messageOfObjCase_; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearMessageOfObj() {
- messageOfObjCase_ = MessageOfObjOneofCase.None;
- messageOfObj_ = null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfObj);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfObj other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!object.Equals(StudentMessage, other.StudentMessage)) return false;
- if (!object.Equals(TrickerMessage, other.TrickerMessage)) return false;
- if (!object.Equals(PropMessage, other.PropMessage)) return false;
- if (!object.Equals(BulletMessage, other.BulletMessage)) return false;
- if (!object.Equals(BombedBulletMessage, other.BombedBulletMessage)) return false;
- if (!object.Equals(ClassroomMessage, other.ClassroomMessage)) return false;
- if (!object.Equals(DoorMessage, other.DoorMessage)) return false;
- if (!object.Equals(GateMessage, other.GateMessage)) return false;
- if (!object.Equals(ChestMessage, other.ChestMessage)) return false;
- if (!object.Equals(HiddenGateMessage, other.HiddenGateMessage)) return false;
- if (!object.Equals(NewsMessage, other.NewsMessage)) return false;
- if (!object.Equals(MapMessage, other.MapMessage)) return false;
- if (MessageOfObjCase != other.MessageOfObjCase) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) hash ^= StudentMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) hash ^= TrickerMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) hash ^= PropMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) hash ^= BulletMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) hash ^= BombedBulletMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) hash ^= ClassroomMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) hash ^= DoorMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) hash ^= GateMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) hash ^= ChestMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) hash ^= HiddenGateMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) hash ^= NewsMessage.GetHashCode();
- if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) hash ^= MapMessage.GetHashCode();
- hash ^= (int) messageOfObjCase_;
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
- output.WriteRawTag(10);
- output.WriteMessage(StudentMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
- output.WriteRawTag(18);
- output.WriteMessage(TrickerMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
- output.WriteRawTag(26);
- output.WriteMessage(PropMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
- output.WriteRawTag(34);
- output.WriteMessage(BulletMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
- output.WriteRawTag(42);
- output.WriteMessage(BombedBulletMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
- output.WriteRawTag(50);
- output.WriteMessage(ClassroomMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
- output.WriteRawTag(58);
- output.WriteMessage(DoorMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
- output.WriteRawTag(66);
- output.WriteMessage(GateMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
- output.WriteRawTag(74);
- output.WriteMessage(ChestMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
- output.WriteRawTag(82);
- output.WriteMessage(HiddenGateMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
- output.WriteRawTag(90);
- output.WriteMessage(NewsMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
- output.WriteRawTag(98);
- output.WriteMessage(MapMessage);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
- output.WriteRawTag(10);
- output.WriteMessage(StudentMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
- output.WriteRawTag(18);
- output.WriteMessage(TrickerMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
- output.WriteRawTag(26);
- output.WriteMessage(PropMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
- output.WriteRawTag(34);
- output.WriteMessage(BulletMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
- output.WriteRawTag(42);
- output.WriteMessage(BombedBulletMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
- output.WriteRawTag(50);
- output.WriteMessage(ClassroomMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
- output.WriteRawTag(58);
- output.WriteMessage(DoorMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
- output.WriteRawTag(66);
- output.WriteMessage(GateMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
- output.WriteRawTag(74);
- output.WriteMessage(ChestMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
- output.WriteRawTag(82);
- output.WriteMessage(HiddenGateMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
- output.WriteRawTag(90);
- output.WriteMessage(NewsMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
- output.WriteRawTag(98);
- output.WriteMessage(MapMessage);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(StudentMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrickerMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(BulletMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(BombedBulletMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClassroomMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(DoorMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(GateMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChestMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(HiddenGateMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(NewsMessage);
- }
- if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(MapMessage);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfObj other) {
- if (other == null) {
- return;
- }
- switch (other.MessageOfObjCase) {
- case MessageOfObjOneofCase.StudentMessage:
- if (StudentMessage == null) {
- StudentMessage = new global::Protobuf.MessageOfStudent();
- }
- StudentMessage.MergeFrom(other.StudentMessage);
- break;
- case MessageOfObjOneofCase.TrickerMessage:
- if (TrickerMessage == null) {
- TrickerMessage = new global::Protobuf.MessageOfTricker();
- }
- TrickerMessage.MergeFrom(other.TrickerMessage);
- break;
- case MessageOfObjOneofCase.PropMessage:
- if (PropMessage == null) {
- PropMessage = new global::Protobuf.MessageOfProp();
- }
- PropMessage.MergeFrom(other.PropMessage);
- break;
- case MessageOfObjOneofCase.BulletMessage:
- if (BulletMessage == null) {
- BulletMessage = new global::Protobuf.MessageOfBullet();
- }
- BulletMessage.MergeFrom(other.BulletMessage);
- break;
- case MessageOfObjOneofCase.BombedBulletMessage:
- if (BombedBulletMessage == null) {
- BombedBulletMessage = new global::Protobuf.MessageOfBombedBullet();
- }
- BombedBulletMessage.MergeFrom(other.BombedBulletMessage);
- break;
- case MessageOfObjOneofCase.ClassroomMessage:
- if (ClassroomMessage == null) {
- ClassroomMessage = new global::Protobuf.MessageOfClassroom();
- }
- ClassroomMessage.MergeFrom(other.ClassroomMessage);
- break;
- case MessageOfObjOneofCase.DoorMessage:
- if (DoorMessage == null) {
- DoorMessage = new global::Protobuf.MessageOfDoor();
- }
- DoorMessage.MergeFrom(other.DoorMessage);
- break;
- case MessageOfObjOneofCase.GateMessage:
- if (GateMessage == null) {
- GateMessage = new global::Protobuf.MessageOfGate();
- }
- GateMessage.MergeFrom(other.GateMessage);
- break;
- case MessageOfObjOneofCase.ChestMessage:
- if (ChestMessage == null) {
- ChestMessage = new global::Protobuf.MessageOfChest();
- }
- ChestMessage.MergeFrom(other.ChestMessage);
- break;
- case MessageOfObjOneofCase.HiddenGateMessage:
- if (HiddenGateMessage == null) {
- HiddenGateMessage = new global::Protobuf.MessageOfHiddenGate();
- }
- HiddenGateMessage.MergeFrom(other.HiddenGateMessage);
- break;
- case MessageOfObjOneofCase.NewsMessage:
- if (NewsMessage == null) {
- NewsMessage = new global::Protobuf.MessageOfNews();
- }
- NewsMessage.MergeFrom(other.NewsMessage);
- break;
- case MessageOfObjOneofCase.MapMessage:
- if (MapMessage == null) {
- MapMessage = new global::Protobuf.MessageOfMap();
- }
- MapMessage.MergeFrom(other.MapMessage);
- break;
- }
-
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- global::Protobuf.MessageOfStudent subBuilder = new global::Protobuf.MessageOfStudent();
- if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
- subBuilder.MergeFrom(StudentMessage);
- }
- input.ReadMessage(subBuilder);
- StudentMessage = subBuilder;
- break;
- }
- case 18: {
- global::Protobuf.MessageOfTricker subBuilder = new global::Protobuf.MessageOfTricker();
- if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
- subBuilder.MergeFrom(TrickerMessage);
- }
- input.ReadMessage(subBuilder);
- TrickerMessage = subBuilder;
- break;
- }
- case 26: {
- global::Protobuf.MessageOfProp subBuilder = new global::Protobuf.MessageOfProp();
- if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
- subBuilder.MergeFrom(PropMessage);
- }
- input.ReadMessage(subBuilder);
- PropMessage = subBuilder;
- break;
- }
- case 34: {
- global::Protobuf.MessageOfBullet subBuilder = new global::Protobuf.MessageOfBullet();
- if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
- subBuilder.MergeFrom(BulletMessage);
- }
- input.ReadMessage(subBuilder);
- BulletMessage = subBuilder;
- break;
- }
- case 42: {
- global::Protobuf.MessageOfBombedBullet subBuilder = new global::Protobuf.MessageOfBombedBullet();
- if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
- subBuilder.MergeFrom(BombedBulletMessage);
- }
- input.ReadMessage(subBuilder);
- BombedBulletMessage = subBuilder;
- break;
- }
- case 50: {
- global::Protobuf.MessageOfClassroom subBuilder = new global::Protobuf.MessageOfClassroom();
- if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
- subBuilder.MergeFrom(ClassroomMessage);
- }
- input.ReadMessage(subBuilder);
- ClassroomMessage = subBuilder;
- break;
- }
- case 58: {
- global::Protobuf.MessageOfDoor subBuilder = new global::Protobuf.MessageOfDoor();
- if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
- subBuilder.MergeFrom(DoorMessage);
- }
- input.ReadMessage(subBuilder);
- DoorMessage = subBuilder;
- break;
- }
- case 66: {
- global::Protobuf.MessageOfGate subBuilder = new global::Protobuf.MessageOfGate();
- if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
- subBuilder.MergeFrom(GateMessage);
- }
- input.ReadMessage(subBuilder);
- GateMessage = subBuilder;
- break;
- }
- case 74: {
- global::Protobuf.MessageOfChest subBuilder = new global::Protobuf.MessageOfChest();
- if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
- subBuilder.MergeFrom(ChestMessage);
- }
- input.ReadMessage(subBuilder);
- ChestMessage = subBuilder;
- break;
- }
- case 82: {
- global::Protobuf.MessageOfHiddenGate subBuilder = new global::Protobuf.MessageOfHiddenGate();
- if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
- subBuilder.MergeFrom(HiddenGateMessage);
- }
- input.ReadMessage(subBuilder);
- HiddenGateMessage = subBuilder;
- break;
- }
- case 90: {
- global::Protobuf.MessageOfNews subBuilder = new global::Protobuf.MessageOfNews();
- if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
- subBuilder.MergeFrom(NewsMessage);
- }
- input.ReadMessage(subBuilder);
- NewsMessage = subBuilder;
- break;
- }
- case 98: {
- global::Protobuf.MessageOfMap subBuilder = new global::Protobuf.MessageOfMap();
- if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
- subBuilder.MergeFrom(MapMessage);
- }
- input.ReadMessage(subBuilder);
- MapMessage = subBuilder;
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 10: {
- global::Protobuf.MessageOfStudent subBuilder = new global::Protobuf.MessageOfStudent();
- if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
- subBuilder.MergeFrom(StudentMessage);
- }
- input.ReadMessage(subBuilder);
- StudentMessage = subBuilder;
- break;
- }
- case 18: {
- global::Protobuf.MessageOfTricker subBuilder = new global::Protobuf.MessageOfTricker();
- if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
- subBuilder.MergeFrom(TrickerMessage);
- }
- input.ReadMessage(subBuilder);
- TrickerMessage = subBuilder;
- break;
- }
- case 26: {
- global::Protobuf.MessageOfProp subBuilder = new global::Protobuf.MessageOfProp();
- if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
- subBuilder.MergeFrom(PropMessage);
- }
- input.ReadMessage(subBuilder);
- PropMessage = subBuilder;
- break;
- }
- case 34: {
- global::Protobuf.MessageOfBullet subBuilder = new global::Protobuf.MessageOfBullet();
- if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
- subBuilder.MergeFrom(BulletMessage);
- }
- input.ReadMessage(subBuilder);
- BulletMessage = subBuilder;
- break;
- }
- case 42: {
- global::Protobuf.MessageOfBombedBullet subBuilder = new global::Protobuf.MessageOfBombedBullet();
- if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
- subBuilder.MergeFrom(BombedBulletMessage);
- }
- input.ReadMessage(subBuilder);
- BombedBulletMessage = subBuilder;
- break;
- }
- case 50: {
- global::Protobuf.MessageOfClassroom subBuilder = new global::Protobuf.MessageOfClassroom();
- if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
- subBuilder.MergeFrom(ClassroomMessage);
- }
- input.ReadMessage(subBuilder);
- ClassroomMessage = subBuilder;
- break;
- }
- case 58: {
- global::Protobuf.MessageOfDoor subBuilder = new global::Protobuf.MessageOfDoor();
- if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
- subBuilder.MergeFrom(DoorMessage);
- }
- input.ReadMessage(subBuilder);
- DoorMessage = subBuilder;
- break;
- }
- case 66: {
- global::Protobuf.MessageOfGate subBuilder = new global::Protobuf.MessageOfGate();
- if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
- subBuilder.MergeFrom(GateMessage);
- }
- input.ReadMessage(subBuilder);
- GateMessage = subBuilder;
- break;
- }
- case 74: {
- global::Protobuf.MessageOfChest subBuilder = new global::Protobuf.MessageOfChest();
- if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
- subBuilder.MergeFrom(ChestMessage);
- }
- input.ReadMessage(subBuilder);
- ChestMessage = subBuilder;
- break;
- }
- case 82: {
- global::Protobuf.MessageOfHiddenGate subBuilder = new global::Protobuf.MessageOfHiddenGate();
- if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
- subBuilder.MergeFrom(HiddenGateMessage);
- }
- input.ReadMessage(subBuilder);
- HiddenGateMessage = subBuilder;
- break;
- }
- case 90: {
- global::Protobuf.MessageOfNews subBuilder = new global::Protobuf.MessageOfNews();
- if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
- subBuilder.MergeFrom(NewsMessage);
- }
- input.ReadMessage(subBuilder);
- NewsMessage = subBuilder;
- break;
- }
- case 98: {
- global::Protobuf.MessageOfMap subBuilder = new global::Protobuf.MessageOfMap();
- if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
- subBuilder.MergeFrom(MapMessage);
- }
- input.ReadMessage(subBuilder);
- MapMessage = subBuilder;
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageOfAll : pb::IMessage<MessageOfAll>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageOfAll> _parser = new pb::MessageParser<MessageOfAll>(() => new MessageOfAll());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageOfAll> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[14]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfAll() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfAll(MessageOfAll other) : this() {
- gameTime_ = other.gameTime_;
- subjectLeft_ = other.subjectLeft_;
- studentGraduated_ = other.studentGraduated_;
- studentQuited_ = other.studentQuited_;
- studentScore_ = other.studentScore_;
- trickerScore_ = other.trickerScore_;
- gateOpened_ = other.gateOpened_;
- hiddenGateRefreshed_ = other.hiddenGateRefreshed_;
- hiddenGateOpened_ = other.hiddenGateOpened_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageOfAll Clone() {
- return new MessageOfAll(this);
- }
-
- /// <summary>Field number for the "game_time" field.</summary>
- public const int GameTimeFieldNumber = 1;
- private int gameTime_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int GameTime {
- get { return gameTime_; }
- set {
- gameTime_ = value;
- }
- }
-
- /// <summary>Field number for the "subject_left" field.</summary>
- public const int SubjectLeftFieldNumber = 2;
- private int subjectLeft_;
- /// <summary>
- /// 剩余的科目数
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int SubjectLeft {
- get { return subjectLeft_; }
- set {
- subjectLeft_ = value;
- }
- }
-
- /// <summary>Field number for the "student_graduated" field.</summary>
- public const int StudentGraduatedFieldNumber = 3;
- private int studentGraduated_;
- /// <summary>
- /// 已经毕业的学生数
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int StudentGraduated {
- get { return studentGraduated_; }
- set {
- studentGraduated_ = value;
- }
- }
-
- /// <summary>Field number for the "student_quited" field.</summary>
- public const int StudentQuitedFieldNumber = 4;
- private int studentQuited_;
- /// <summary>
- /// 已经退学的学生数
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int StudentQuited {
- get { return studentQuited_; }
- set {
- studentQuited_ = value;
- }
- }
-
- /// <summary>Field number for the "student_score" field.</summary>
- public const int StudentScoreFieldNumber = 5;
- private int studentScore_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int StudentScore {
- get { return studentScore_; }
- set {
- studentScore_ = value;
- }
- }
-
- /// <summary>Field number for the "tricker_score" field.</summary>
- public const int TrickerScoreFieldNumber = 6;
- private int trickerScore_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int TrickerScore {
- get { return trickerScore_; }
- set {
- trickerScore_ = value;
- }
- }
-
- /// <summary>Field number for the "gate_opened" field.</summary>
- public const int GateOpenedFieldNumber = 7;
- private bool gateOpened_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool GateOpened {
- get { return gateOpened_; }
- set {
- gateOpened_ = value;
- }
- }
-
- /// <summary>Field number for the "hidden_gate_refreshed" field.</summary>
- public const int HiddenGateRefreshedFieldNumber = 8;
- private bool hiddenGateRefreshed_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HiddenGateRefreshed {
- get { return hiddenGateRefreshed_; }
- set {
- hiddenGateRefreshed_ = value;
- }
- }
-
- /// <summary>Field number for the "hidden_gate_opened" field.</summary>
- public const int HiddenGateOpenedFieldNumber = 9;
- private bool hiddenGateOpened_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HiddenGateOpened {
- get { return hiddenGateOpened_; }
- set {
- hiddenGateOpened_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageOfAll);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageOfAll other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (GameTime != other.GameTime) return false;
- if (SubjectLeft != other.SubjectLeft) return false;
- if (StudentGraduated != other.StudentGraduated) return false;
- if (StudentQuited != other.StudentQuited) return false;
- if (StudentScore != other.StudentScore) return false;
- if (TrickerScore != other.TrickerScore) return false;
- if (GateOpened != other.GateOpened) return false;
- if (HiddenGateRefreshed != other.HiddenGateRefreshed) return false;
- if (HiddenGateOpened != other.HiddenGateOpened) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (GameTime != 0) hash ^= GameTime.GetHashCode();
- if (SubjectLeft != 0) hash ^= SubjectLeft.GetHashCode();
- if (StudentGraduated != 0) hash ^= StudentGraduated.GetHashCode();
- if (StudentQuited != 0) hash ^= StudentQuited.GetHashCode();
- if (StudentScore != 0) hash ^= StudentScore.GetHashCode();
- if (TrickerScore != 0) hash ^= TrickerScore.GetHashCode();
- if (GateOpened != false) hash ^= GateOpened.GetHashCode();
- if (HiddenGateRefreshed != false) hash ^= HiddenGateRefreshed.GetHashCode();
- if (HiddenGateOpened != false) hash ^= HiddenGateOpened.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (GameTime != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(GameTime);
- }
- if (SubjectLeft != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(SubjectLeft);
- }
- if (StudentGraduated != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(StudentGraduated);
- }
- if (StudentQuited != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(StudentQuited);
- }
- if (StudentScore != 0) {
- output.WriteRawTag(40);
- output.WriteInt32(StudentScore);
- }
- if (TrickerScore != 0) {
- output.WriteRawTag(48);
- output.WriteInt32(TrickerScore);
- }
- if (GateOpened != false) {
- output.WriteRawTag(56);
- output.WriteBool(GateOpened);
- }
- if (HiddenGateRefreshed != false) {
- output.WriteRawTag(64);
- output.WriteBool(HiddenGateRefreshed);
- }
- if (HiddenGateOpened != false) {
- output.WriteRawTag(72);
- output.WriteBool(HiddenGateOpened);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (GameTime != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(GameTime);
- }
- if (SubjectLeft != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(SubjectLeft);
- }
- if (StudentGraduated != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(StudentGraduated);
- }
- if (StudentQuited != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(StudentQuited);
- }
- if (StudentScore != 0) {
- output.WriteRawTag(40);
- output.WriteInt32(StudentScore);
- }
- if (TrickerScore != 0) {
- output.WriteRawTag(48);
- output.WriteInt32(TrickerScore);
- }
- if (GateOpened != false) {
- output.WriteRawTag(56);
- output.WriteBool(GateOpened);
- }
- if (HiddenGateRefreshed != false) {
- output.WriteRawTag(64);
- output.WriteBool(HiddenGateRefreshed);
- }
- if (HiddenGateOpened != false) {
- output.WriteRawTag(72);
- output.WriteBool(HiddenGateOpened);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (GameTime != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameTime);
- }
- if (SubjectLeft != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubjectLeft);
- }
- if (StudentGraduated != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentGraduated);
- }
- if (StudentQuited != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentQuited);
- }
- if (StudentScore != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentScore);
- }
- if (TrickerScore != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(TrickerScore);
- }
- if (GateOpened != false) {
- size += 1 + 1;
- }
- if (HiddenGateRefreshed != false) {
- size += 1 + 1;
- }
- if (HiddenGateOpened != false) {
- size += 1 + 1;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageOfAll other) {
- if (other == null) {
- return;
- }
- if (other.GameTime != 0) {
- GameTime = other.GameTime;
- }
- if (other.SubjectLeft != 0) {
- SubjectLeft = other.SubjectLeft;
- }
- if (other.StudentGraduated != 0) {
- StudentGraduated = other.StudentGraduated;
- }
- if (other.StudentQuited != 0) {
- StudentQuited = other.StudentQuited;
- }
- if (other.StudentScore != 0) {
- StudentScore = other.StudentScore;
- }
- if (other.TrickerScore != 0) {
- TrickerScore = other.TrickerScore;
- }
- if (other.GateOpened != false) {
- GateOpened = other.GateOpened;
- }
- if (other.HiddenGateRefreshed != false) {
- HiddenGateRefreshed = other.HiddenGateRefreshed;
- }
- if (other.HiddenGateOpened != false) {
- HiddenGateOpened = other.HiddenGateOpened;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- GameTime = input.ReadInt32();
- break;
- }
- case 16: {
- SubjectLeft = input.ReadInt32();
- break;
- }
- case 24: {
- StudentGraduated = input.ReadInt32();
- break;
- }
- case 32: {
- StudentQuited = input.ReadInt32();
- break;
- }
- case 40: {
- StudentScore = input.ReadInt32();
- break;
- }
- case 48: {
- TrickerScore = input.ReadInt32();
- break;
- }
- case 56: {
- GateOpened = input.ReadBool();
- break;
- }
- case 64: {
- HiddenGateRefreshed = input.ReadBool();
- break;
- }
- case 72: {
- HiddenGateOpened = input.ReadBool();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- GameTime = input.ReadInt32();
- break;
- }
- case 16: {
- SubjectLeft = input.ReadInt32();
- break;
- }
- case 24: {
- StudentGraduated = input.ReadInt32();
- break;
- }
- case 32: {
- StudentQuited = input.ReadInt32();
- break;
- }
- case 40: {
- StudentScore = input.ReadInt32();
- break;
- }
- case 48: {
- TrickerScore = input.ReadInt32();
- break;
- }
- case 56: {
- GateOpened = input.ReadBool();
- break;
- }
- case 64: {
- HiddenGateRefreshed = input.ReadBool();
- break;
- }
- case 72: {
- HiddenGateOpened = input.ReadBool();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MessageToClient : pb::IMessage<MessageToClient>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MessageToClient> _parser = new pb::MessageParser<MessageToClient>(() => new MessageToClient());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MessageToClient> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[15]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageToClient() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageToClient(MessageToClient other) : this() {
- objMessage_ = other.objMessage_.Clone();
- gameState_ = other.gameState_;
- allMessage_ = other.allMessage_ != null ? other.allMessage_.Clone() : null;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MessageToClient Clone() {
- return new MessageToClient(this);
- }
-
- /// <summary>Field number for the "obj_message" field.</summary>
- public const int ObjMessageFieldNumber = 1;
- private static readonly pb::FieldCodec<global::Protobuf.MessageOfObj> _repeated_objMessage_codec
- = pb::FieldCodec.ForMessage(10, global::Protobuf.MessageOfObj.Parser);
- private readonly pbc::RepeatedField<global::Protobuf.MessageOfObj> objMessage_ = new pbc::RepeatedField<global::Protobuf.MessageOfObj>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Protobuf.MessageOfObj> ObjMessage {
- get { return objMessage_; }
- }
-
- /// <summary>Field number for the "game_state" field.</summary>
- public const int GameStateFieldNumber = 2;
- private global::Protobuf.GameState gameState_ = global::Protobuf.GameState.NullGameState;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.GameState GameState {
- get { return gameState_; }
- set {
- gameState_ = value;
- }
- }
-
- /// <summary>Field number for the "all_message" field.</summary>
- public const int AllMessageFieldNumber = 3;
- private global::Protobuf.MessageOfAll allMessage_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Protobuf.MessageOfAll AllMessage {
- get { return allMessage_; }
- set {
- allMessage_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MessageToClient);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MessageToClient other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!objMessage_.Equals(other.objMessage_)) return false;
- if (GameState != other.GameState) return false;
- if (!object.Equals(AllMessage, other.AllMessage)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= objMessage_.GetHashCode();
- if (GameState != global::Protobuf.GameState.NullGameState) hash ^= GameState.GetHashCode();
- if (allMessage_ != null) hash ^= AllMessage.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- objMessage_.WriteTo(output, _repeated_objMessage_codec);
- if (GameState != global::Protobuf.GameState.NullGameState) {
- output.WriteRawTag(16);
- output.WriteEnum((int) GameState);
- }
- if (allMessage_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(AllMessage);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- objMessage_.WriteTo(ref output, _repeated_objMessage_codec);
- if (GameState != global::Protobuf.GameState.NullGameState) {
- output.WriteRawTag(16);
- output.WriteEnum((int) GameState);
- }
- if (allMessage_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(AllMessage);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- size += objMessage_.CalculateSize(_repeated_objMessage_codec);
- if (GameState != global::Protobuf.GameState.NullGameState) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GameState);
- }
- if (allMessage_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllMessage);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MessageToClient other) {
- if (other == null) {
- return;
- }
- objMessage_.Add(other.objMessage_);
- if (other.GameState != global::Protobuf.GameState.NullGameState) {
- GameState = other.GameState;
- }
- if (other.allMessage_ != null) {
- if (allMessage_ == null) {
- AllMessage = new global::Protobuf.MessageOfAll();
- }
- AllMessage.MergeFrom(other.AllMessage);
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- objMessage_.AddEntriesFrom(input, _repeated_objMessage_codec);
- break;
- }
- case 16: {
- GameState = (global::Protobuf.GameState) input.ReadEnum();
- break;
- }
- case 26: {
- if (allMessage_ == null) {
- AllMessage = new global::Protobuf.MessageOfAll();
- }
- input.ReadMessage(AllMessage);
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 10: {
- objMessage_.AddEntriesFrom(ref input, _repeated_objMessage_codec);
- break;
- }
- case 16: {
- GameState = (global::Protobuf.GameState) input.ReadEnum();
- break;
- }
- case 26: {
- if (allMessage_ == null) {
- AllMessage = new global::Protobuf.MessageOfAll();
- }
- input.ReadMessage(AllMessage);
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class MoveRes : pb::IMessage<MoveRes>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<MoveRes> _parser = new pb::MessageParser<MoveRes>(() => new MoveRes());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<MoveRes> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[16]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MoveRes() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MoveRes(MoveRes other) : this() {
- actualSpeed_ = other.actualSpeed_;
- actualAngle_ = other.actualAngle_;
- actSuccess_ = other.actSuccess_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public MoveRes Clone() {
- return new MoveRes(this);
- }
-
- /// <summary>Field number for the "actual_speed" field.</summary>
- public const int ActualSpeedFieldNumber = 1;
- private long actualSpeed_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public long ActualSpeed {
- get { return actualSpeed_; }
- set {
- actualSpeed_ = value;
- }
- }
-
- /// <summary>Field number for the "actual_angle" field.</summary>
- public const int ActualAngleFieldNumber = 2;
- private double actualAngle_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public double ActualAngle {
- get { return actualAngle_; }
- set {
- actualAngle_ = value;
- }
- }
-
- /// <summary>Field number for the "act_success" field.</summary>
- public const int ActSuccessFieldNumber = 3;
- private bool actSuccess_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool ActSuccess {
- get { return actSuccess_; }
- set {
- actSuccess_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as MoveRes);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(MoveRes other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ActualSpeed != other.ActualSpeed) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ActualAngle, other.ActualAngle)) return false;
- if (ActSuccess != other.ActSuccess) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (ActualSpeed != 0L) hash ^= ActualSpeed.GetHashCode();
- if (ActualAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ActualAngle);
- if (ActSuccess != false) hash ^= ActSuccess.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (ActualSpeed != 0L) {
- output.WriteRawTag(8);
- output.WriteInt64(ActualSpeed);
- }
- if (ActualAngle != 0D) {
- output.WriteRawTag(17);
- output.WriteDouble(ActualAngle);
- }
- if (ActSuccess != false) {
- output.WriteRawTag(24);
- output.WriteBool(ActSuccess);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (ActualSpeed != 0L) {
- output.WriteRawTag(8);
- output.WriteInt64(ActualSpeed);
- }
- if (ActualAngle != 0D) {
- output.WriteRawTag(17);
- output.WriteDouble(ActualAngle);
- }
- if (ActSuccess != false) {
- output.WriteRawTag(24);
- output.WriteBool(ActSuccess);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (ActualSpeed != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(ActualSpeed);
- }
- if (ActualAngle != 0D) {
- size += 1 + 8;
- }
- if (ActSuccess != false) {
- size += 1 + 1;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(MoveRes other) {
- if (other == null) {
- return;
- }
- if (other.ActualSpeed != 0L) {
- ActualSpeed = other.ActualSpeed;
- }
- if (other.ActualAngle != 0D) {
- ActualAngle = other.ActualAngle;
- }
- if (other.ActSuccess != false) {
- ActSuccess = other.ActSuccess;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- ActualSpeed = input.ReadInt64();
- break;
- }
- case 17: {
- ActualAngle = input.ReadDouble();
- break;
- }
- case 24: {
- ActSuccess = input.ReadBool();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- ActualSpeed = input.ReadInt64();
- break;
- }
- case 17: {
- ActualAngle = input.ReadDouble();
- break;
- }
- case 24: {
- ActSuccess = input.ReadBool();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- public sealed partial class BoolRes : pb::IMessage<BoolRes>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<BoolRes> _parser = new pb::MessageParser<BoolRes>(() => new BoolRes());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<BoolRes> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[17]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public BoolRes() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public BoolRes(BoolRes other) : this() {
- actSuccess_ = other.actSuccess_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public BoolRes Clone() {
- return new BoolRes(this);
- }
-
- /// <summary>Field number for the "act_success" field.</summary>
- public const int ActSuccessFieldNumber = 1;
- private bool actSuccess_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool ActSuccess {
- get { return actSuccess_; }
- set {
- actSuccess_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as BoolRes);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(BoolRes other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ActSuccess != other.ActSuccess) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (ActSuccess != false) hash ^= ActSuccess.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (ActSuccess != false) {
- output.WriteRawTag(8);
- output.WriteBool(ActSuccess);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (ActSuccess != false) {
- output.WriteRawTag(8);
- output.WriteBool(ActSuccess);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (ActSuccess != false) {
- size += 1 + 1;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(BoolRes other) {
- if (other == null) {
- return;
- }
- if (other.ActSuccess != false) {
- ActSuccess = other.ActSuccess;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- ActSuccess = input.ReadBool();
- break;
- }
- }
- }
- #endif
- }
-
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- ActSuccess = input.ReadBool();
- break;
- }
- }
- }
- }
- #endif
-
- }
-
- #endregion
-
- }
-
- #endregion Designer generated code
|