MultiDup.cs 136 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: pb/MultiDup.proto
  3. #pragma warning disable 1591, 0612, 3021
  4. #region Designer generated code
  5. using pb = global::Google.Protobuf;
  6. using pbc = global::Google.Protobuf.Collections;
  7. using pbr = global::Google.Protobuf.Reflection;
  8. using scg = global::System.Collections.Generic;
  9. namespace MultiDup {
  10. /// <summary>Holder for reflection information generated from pb/MultiDup.proto</summary>
  11. public static partial class MultiDupReflection {
  12. #region Descriptor
  13. /// <summary>File descriptor for pb/MultiDup.proto</summary>
  14. public static pbr::FileDescriptor Descriptor {
  15. get { return descriptor; }
  16. }
  17. private static pbr::FileDescriptor descriptor;
  18. static MultiDupReflection() {
  19. byte[] descriptorData = global::System.Convert.FromBase64String(
  20. string.Concat(
  21. "ChFwYi9NdWx0aUR1cC5wcm90bxIITXVsdGlEdXAiLwoQQ1NfTURfRW50ZXJM",
  22. "b2JieRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJIj4KEENTX01EX0Ny",
  23. "ZWF0ZVJvb20SDgoGWm9uZWlkGAEgASgFEgsKA1VpZBgCIAEoCRINCgVNYXBp",
  24. "ZBgDIAEoBSIwChFDU19NRF9HZXRSb29tTGlzdBIOCgZab25laWQYASABKAUS",
  25. "CwoDVWlkGAIgASgJIj4KD0NTX01EX0VudGVyUm9vbRIOCgZab25laWQYASAB",
  26. "KAUSCwoDVWlkGAIgASgJEg4KBlJvb21JZBgDIAEoBSIuCg9DU19NRF9MZWF2",
  27. "ZVJvb20SDgoGWm9uZWlkGAEgASgFEgsKA1VpZBgCIAEoCSItCg5DU19NRF9C",
  28. "ZWdpbkR1cBIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJIjcKC0NTX0JU",
  29. "X0xvZ2luEg4KBlpvbmVpZBgBIAEoBRILCgNVaWQYAiABKAkSCwoDTXNnGAMg",
  30. "ASgJIlYKDENTX0JUX1N0YXR1cxIOCgZab25laWQYASABKAUSEQoJU2VuZGVy",
  31. "VWlkGAIgASgJEhQKDFByb3BlcnR5TmFtZRgDIAEoCRINCgVWYWx1ZRgEIAEo",
  32. "CSJUCg5DU19CVF9Qb3NpdGlvbhIOCgZab25laWQYASABKAUSEQoJU2VuZGVy",
  33. "VWlkGAIgASgJEgkKAVgYAyABKAISCQoBWRgEIAEoAhIJCgFaGAUgASgCIkEK",
  34. "D0NTX0JUX0Jyb2FkQ2FzdBIOCgZab25laWQYASABKAUSEQoJU2VuZGVyVWlk",
  35. "GAIgASgJEgsKA01zZxgDIAEoCSI8CgpDU19CVF9PdmVyEg4KBlpvbmVpZBgB",
  36. "IAEoBRIRCglTZW5kZXJVaWQYAiABKAkSCwoDTXNnGAMgASgJIhIKEFNDX01E",
  37. "X0VudGVyTG9iYnkiTgoQU0NfTURfQ3JlYXRlUm9vbRIOCgZab25laWQYASAB",
  38. "KAUSCwoDVWlkGAIgASgJEg0KBU1hcGlkGAMgASgFEg4KBlJvb21JZBgEIAEo",
  39. "BSK7AQoRU0NfTURfR2V0Um9vbUxpc3QSNwoJUm9vbUluZm9zGAEgAygLMiQu",
  40. "TXVsdGlEdXAuU0NfTURfR2V0Um9vbUxpc3QuUm9vbUluZm8abQoIUm9vbUlu",
  41. "Zm8SDgoGUm9vbUlkGAEgASgFEg0KBU1hcGlkGAIgASgFEhIKClBsYXllclVp",
  42. "ZHMYAyADKAkSFAoMQmF0dGxlc2VydmVyGAQgASgJEhgKEEJhdHRsZVNlcnZl",
  43. "clBvcnQYBSABKAUiawoPU0NfTURfRW50ZXJSb29tEg4KBlpvbmVpZBgBIAEo",
  44. "BRILCgNVaWQYAiABKAkSDQoFTWFwaWQYAyABKAUSCgoCSXAYBCABKAkSDAoE",
  45. "UG9ydBgFIAEoBRISCgpQbGF5ZXJVaWRzGAYgAygJIi4KD1NDX01EX0xlYXZl",
  46. "Um9vbRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJIk8KDlNDX01EX0Jl",
  47. "Z2luRHVwEhQKDEJhdHRsZXNlcnZlchgBIAEoCRIYChBCYXR0bGVTZXJ2ZXJQ",
  48. "b3J0GAIgASgFEg0KBU1hcGlkGAMgASgFIjcKC1NDX0JUX0xvZ2luEg4KBlpv",
  49. "bmVpZBgBIAEoBRILCgNVaWQYAiABKAkSCwoDTXNnGAMgASgJIlYKDFNDX0JU",
  50. "X1N0YXR1cxIOCgZab25laWQYASABKAUSEQoJU2VuZGVyVWlkGAIgASgJEhQK",
  51. "DFByb3BlcnR5TmFtZRgDIAEoCRINCgVWYWx1ZRgEIAEoCSJUCg5TQ19CVF9Q",
  52. "b3NpdGlvbhIOCgZab25laWQYASABKAUSEQoJU2VuZGVyVWlkGAIgASgJEgkK",
  53. "AVgYAyABKAISCQoBWRgEIAEoAhIJCgFaGAUgASgCIkEKD1NDX0JUX0Jyb2Fk",
  54. "Q2FzdBIOCgZab25laWQYASABKAUSEQoJU2VuZGVyVWlkGAIgASgJEgsKA01z",
  55. "ZxgDIAEoCSI8CgpTQ19CVF9PdmVyEg4KBlpvbmVpZBgBIAEoBRIRCglTZW5k",
  56. "ZXJVaWQYAiABKAkSCwoDTXNnGAMgASgJIjsKFVNTX0NyZWF0ZUJhdHRsZVNl",
  57. "cnZlchIOCgZSb29tSWQYASABKAUSEgoKUGxheWVyVWlkcxgCIAMoCSIZChdT",
  58. "U19DcmVhdGVCYXR0bGVTZXJ2ZXJPS2IGcHJvdG8z"));
  59. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  60. new pbr::FileDescriptor[] { },
  61. new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
  62. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_EnterLobby), global::MultiDup.CS_MD_EnterLobby.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  63. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_CreateRoom), global::MultiDup.CS_MD_CreateRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid" }, null, null, null),
  64. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_GetRoomList), global::MultiDup.CS_MD_GetRoomList.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  65. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_EnterRoom), global::MultiDup.CS_MD_EnterRoom.Parser, new[]{ "Zoneid", "Uid", "RoomId" }, null, null, null),
  66. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_LeaveRoom), global::MultiDup.CS_MD_LeaveRoom.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  67. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_BeginDup), global::MultiDup.CS_MD_BeginDup.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  68. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_BT_Login), global::MultiDup.CS_BT_Login.Parser, new[]{ "Zoneid", "Uid", "Msg" }, null, null, null),
  69. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_BT_Status), global::MultiDup.CS_BT_Status.Parser, new[]{ "Zoneid", "SenderUid", "PropertyName", "Value" }, null, null, null),
  70. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_BT_Position), global::MultiDup.CS_BT_Position.Parser, new[]{ "Zoneid", "SenderUid", "X", "Y", "Z" }, null, null, null),
  71. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_BT_BroadCast), global::MultiDup.CS_BT_BroadCast.Parser, new[]{ "Zoneid", "SenderUid", "Msg" }, null, null, null),
  72. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_BT_Over), global::MultiDup.CS_BT_Over.Parser, new[]{ "Zoneid", "SenderUid", "Msg" }, null, null, null),
  73. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_EnterLobby), global::MultiDup.SC_MD_EnterLobby.Parser, null, null, null, null),
  74. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_CreateRoom), global::MultiDup.SC_MD_CreateRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid", "RoomId" }, null, null, null),
  75. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_GetRoomList), global::MultiDup.SC_MD_GetRoomList.Parser, new[]{ "RoomInfos" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo), global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo.Parser, new[]{ "RoomId", "Mapid", "PlayerUids", "Battleserver", "BattleServerPort" }, null, null, null)}),
  76. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_EnterRoom), global::MultiDup.SC_MD_EnterRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid", "Ip", "Port", "PlayerUids" }, null, null, null),
  77. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_LeaveRoom), global::MultiDup.SC_MD_LeaveRoom.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  78. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_BeginDup), global::MultiDup.SC_MD_BeginDup.Parser, new[]{ "Battleserver", "BattleServerPort", "Mapid" }, null, null, null),
  79. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_BT_Login), global::MultiDup.SC_BT_Login.Parser, new[]{ "Zoneid", "Uid", "Msg" }, null, null, null),
  80. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_BT_Status), global::MultiDup.SC_BT_Status.Parser, new[]{ "Zoneid", "SenderUid", "PropertyName", "Value" }, null, null, null),
  81. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_BT_Position), global::MultiDup.SC_BT_Position.Parser, new[]{ "Zoneid", "SenderUid", "X", "Y", "Z" }, null, null, null),
  82. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_BT_BroadCast), global::MultiDup.SC_BT_BroadCast.Parser, new[]{ "Zoneid", "SenderUid", "Msg" }, null, null, null),
  83. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_BT_Over), global::MultiDup.SC_BT_Over.Parser, new[]{ "Zoneid", "SenderUid", "Msg" }, null, null, null),
  84. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SS_CreateBattleServer), global::MultiDup.SS_CreateBattleServer.Parser, new[]{ "RoomId", "PlayerUids" }, null, null, null),
  85. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SS_CreateBattleServerOK), global::MultiDup.SS_CreateBattleServerOK.Parser, null, null, null, null)
  86. }));
  87. }
  88. #endregion
  89. }
  90. #region Messages
  91. /// <summary>
  92. ///
  93. /// 进入大厅(注册下自己的uid)
  94. /// </summary>
  95. public sealed partial class CS_MD_EnterLobby : pb::IMessage<CS_MD_EnterLobby> {
  96. private static readonly pb::MessageParser<CS_MD_EnterLobby> _parser = new pb::MessageParser<CS_MD_EnterLobby>(() => new CS_MD_EnterLobby());
  97. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  98. public static pb::MessageParser<CS_MD_EnterLobby> Parser { get { return _parser; } }
  99. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  100. public static pbr::MessageDescriptor Descriptor {
  101. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[0]; }
  102. }
  103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  104. pbr::MessageDescriptor pb::IMessage.Descriptor {
  105. get { return Descriptor; }
  106. }
  107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  108. public CS_MD_EnterLobby() {
  109. OnConstruction();
  110. }
  111. partial void OnConstruction();
  112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  113. public CS_MD_EnterLobby(CS_MD_EnterLobby other) : this() {
  114. zoneid_ = other.zoneid_;
  115. uid_ = other.uid_;
  116. }
  117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  118. public CS_MD_EnterLobby Clone() {
  119. return new CS_MD_EnterLobby(this);
  120. }
  121. /// <summary>Field number for the "Zoneid" field.</summary>
  122. public const int ZoneidFieldNumber = 1;
  123. private int zoneid_;
  124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  125. public int Zoneid {
  126. get { return zoneid_; }
  127. set {
  128. zoneid_ = value;
  129. }
  130. }
  131. /// <summary>Field number for the "Uid" field.</summary>
  132. public const int UidFieldNumber = 2;
  133. private string uid_ = "";
  134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  135. public string Uid {
  136. get { return uid_; }
  137. set {
  138. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  139. }
  140. }
  141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  142. public override bool Equals(object other) {
  143. return Equals(other as CS_MD_EnterLobby);
  144. }
  145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  146. public bool Equals(CS_MD_EnterLobby other) {
  147. if (ReferenceEquals(other, null)) {
  148. return false;
  149. }
  150. if (ReferenceEquals(other, this)) {
  151. return true;
  152. }
  153. if (Zoneid != other.Zoneid) return false;
  154. if (Uid != other.Uid) return false;
  155. return true;
  156. }
  157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  158. public override int GetHashCode() {
  159. int hash = 1;
  160. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  161. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  162. return hash;
  163. }
  164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  165. public override string ToString() {
  166. return pb::JsonFormatter.ToDiagnosticString(this);
  167. }
  168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  169. public void WriteTo(pb::CodedOutputStream output) {
  170. if (Zoneid != 0) {
  171. output.WriteRawTag(8);
  172. output.WriteInt32(Zoneid);
  173. }
  174. if (Uid.Length != 0) {
  175. output.WriteRawTag(18);
  176. output.WriteString(Uid);
  177. }
  178. }
  179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  180. public int CalculateSize() {
  181. int size = 0;
  182. if (Zoneid != 0) {
  183. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  184. }
  185. if (Uid.Length != 0) {
  186. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  187. }
  188. return size;
  189. }
  190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  191. public void MergeFrom(CS_MD_EnterLobby other) {
  192. if (other == null) {
  193. return;
  194. }
  195. if (other.Zoneid != 0) {
  196. Zoneid = other.Zoneid;
  197. }
  198. if (other.Uid.Length != 0) {
  199. Uid = other.Uid;
  200. }
  201. }
  202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  203. public void MergeFrom(pb::CodedInputStream input) {
  204. uint tag;
  205. while ((tag = input.ReadTag()) != 0) {
  206. switch(tag) {
  207. default:
  208. input.SkipLastField();
  209. break;
  210. case 8: {
  211. Zoneid = input.ReadInt32();
  212. break;
  213. }
  214. case 18: {
  215. Uid = input.ReadString();
  216. break;
  217. }
  218. }
  219. }
  220. }
  221. }
  222. /// <summary>
  223. /// 多人副本, 创建房间
  224. /// </summary>
  225. public sealed partial class CS_MD_CreateRoom : pb::IMessage<CS_MD_CreateRoom> {
  226. private static readonly pb::MessageParser<CS_MD_CreateRoom> _parser = new pb::MessageParser<CS_MD_CreateRoom>(() => new CS_MD_CreateRoom());
  227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  228. public static pb::MessageParser<CS_MD_CreateRoom> Parser { get { return _parser; } }
  229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  230. public static pbr::MessageDescriptor Descriptor {
  231. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[1]; }
  232. }
  233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  234. pbr::MessageDescriptor pb::IMessage.Descriptor {
  235. get { return Descriptor; }
  236. }
  237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  238. public CS_MD_CreateRoom() {
  239. OnConstruction();
  240. }
  241. partial void OnConstruction();
  242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  243. public CS_MD_CreateRoom(CS_MD_CreateRoom other) : this() {
  244. zoneid_ = other.zoneid_;
  245. uid_ = other.uid_;
  246. mapid_ = other.mapid_;
  247. }
  248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  249. public CS_MD_CreateRoom Clone() {
  250. return new CS_MD_CreateRoom(this);
  251. }
  252. /// <summary>Field number for the "Zoneid" field.</summary>
  253. public const int ZoneidFieldNumber = 1;
  254. private int zoneid_;
  255. /// <summary>
  256. /// zoneid
  257. /// </summary>
  258. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  259. public int Zoneid {
  260. get { return zoneid_; }
  261. set {
  262. zoneid_ = value;
  263. }
  264. }
  265. /// <summary>Field number for the "Uid" field.</summary>
  266. public const int UidFieldNumber = 2;
  267. private string uid_ = "";
  268. /// <summary>
  269. /// 玩家id
  270. /// </summary>
  271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  272. public string Uid {
  273. get { return uid_; }
  274. set {
  275. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  276. }
  277. }
  278. /// <summary>Field number for the "Mapid" field.</summary>
  279. public const int MapidFieldNumber = 3;
  280. private int mapid_;
  281. /// <summary>
  282. /// 地图id
  283. /// </summary>
  284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  285. public int Mapid {
  286. get { return mapid_; }
  287. set {
  288. mapid_ = value;
  289. }
  290. }
  291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  292. public override bool Equals(object other) {
  293. return Equals(other as CS_MD_CreateRoom);
  294. }
  295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  296. public bool Equals(CS_MD_CreateRoom other) {
  297. if (ReferenceEquals(other, null)) {
  298. return false;
  299. }
  300. if (ReferenceEquals(other, this)) {
  301. return true;
  302. }
  303. if (Zoneid != other.Zoneid) return false;
  304. if (Uid != other.Uid) return false;
  305. if (Mapid != other.Mapid) return false;
  306. return true;
  307. }
  308. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  309. public override int GetHashCode() {
  310. int hash = 1;
  311. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  312. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  313. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  314. return hash;
  315. }
  316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  317. public override string ToString() {
  318. return pb::JsonFormatter.ToDiagnosticString(this);
  319. }
  320. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  321. public void WriteTo(pb::CodedOutputStream output) {
  322. if (Zoneid != 0) {
  323. output.WriteRawTag(8);
  324. output.WriteInt32(Zoneid);
  325. }
  326. if (Uid.Length != 0) {
  327. output.WriteRawTag(18);
  328. output.WriteString(Uid);
  329. }
  330. if (Mapid != 0) {
  331. output.WriteRawTag(24);
  332. output.WriteInt32(Mapid);
  333. }
  334. }
  335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  336. public int CalculateSize() {
  337. int size = 0;
  338. if (Zoneid != 0) {
  339. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  340. }
  341. if (Uid.Length != 0) {
  342. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  343. }
  344. if (Mapid != 0) {
  345. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  346. }
  347. return size;
  348. }
  349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  350. public void MergeFrom(CS_MD_CreateRoom other) {
  351. if (other == null) {
  352. return;
  353. }
  354. if (other.Zoneid != 0) {
  355. Zoneid = other.Zoneid;
  356. }
  357. if (other.Uid.Length != 0) {
  358. Uid = other.Uid;
  359. }
  360. if (other.Mapid != 0) {
  361. Mapid = other.Mapid;
  362. }
  363. }
  364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  365. public void MergeFrom(pb::CodedInputStream input) {
  366. uint tag;
  367. while ((tag = input.ReadTag()) != 0) {
  368. switch(tag) {
  369. default:
  370. input.SkipLastField();
  371. break;
  372. case 8: {
  373. Zoneid = input.ReadInt32();
  374. break;
  375. }
  376. case 18: {
  377. Uid = input.ReadString();
  378. break;
  379. }
  380. case 24: {
  381. Mapid = input.ReadInt32();
  382. break;
  383. }
  384. }
  385. }
  386. }
  387. }
  388. /// <summary>
  389. /// 多人副本, 申请房间(列表)
  390. /// </summary>
  391. public sealed partial class CS_MD_GetRoomList : pb::IMessage<CS_MD_GetRoomList> {
  392. private static readonly pb::MessageParser<CS_MD_GetRoomList> _parser = new pb::MessageParser<CS_MD_GetRoomList>(() => new CS_MD_GetRoomList());
  393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  394. public static pb::MessageParser<CS_MD_GetRoomList> Parser { get { return _parser; } }
  395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  396. public static pbr::MessageDescriptor Descriptor {
  397. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[2]; }
  398. }
  399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  400. pbr::MessageDescriptor pb::IMessage.Descriptor {
  401. get { return Descriptor; }
  402. }
  403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  404. public CS_MD_GetRoomList() {
  405. OnConstruction();
  406. }
  407. partial void OnConstruction();
  408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  409. public CS_MD_GetRoomList(CS_MD_GetRoomList other) : this() {
  410. zoneid_ = other.zoneid_;
  411. uid_ = other.uid_;
  412. }
  413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  414. public CS_MD_GetRoomList Clone() {
  415. return new CS_MD_GetRoomList(this);
  416. }
  417. /// <summary>Field number for the "Zoneid" field.</summary>
  418. public const int ZoneidFieldNumber = 1;
  419. private int zoneid_;
  420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  421. public int Zoneid {
  422. get { return zoneid_; }
  423. set {
  424. zoneid_ = value;
  425. }
  426. }
  427. /// <summary>Field number for the "Uid" field.</summary>
  428. public const int UidFieldNumber = 2;
  429. private string uid_ = "";
  430. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  431. public string Uid {
  432. get { return uid_; }
  433. set {
  434. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  435. }
  436. }
  437. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  438. public override bool Equals(object other) {
  439. return Equals(other as CS_MD_GetRoomList);
  440. }
  441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  442. public bool Equals(CS_MD_GetRoomList other) {
  443. if (ReferenceEquals(other, null)) {
  444. return false;
  445. }
  446. if (ReferenceEquals(other, this)) {
  447. return true;
  448. }
  449. if (Zoneid != other.Zoneid) return false;
  450. if (Uid != other.Uid) return false;
  451. return true;
  452. }
  453. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  454. public override int GetHashCode() {
  455. int hash = 1;
  456. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  457. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  458. return hash;
  459. }
  460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  461. public override string ToString() {
  462. return pb::JsonFormatter.ToDiagnosticString(this);
  463. }
  464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  465. public void WriteTo(pb::CodedOutputStream output) {
  466. if (Zoneid != 0) {
  467. output.WriteRawTag(8);
  468. output.WriteInt32(Zoneid);
  469. }
  470. if (Uid.Length != 0) {
  471. output.WriteRawTag(18);
  472. output.WriteString(Uid);
  473. }
  474. }
  475. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  476. public int CalculateSize() {
  477. int size = 0;
  478. if (Zoneid != 0) {
  479. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  480. }
  481. if (Uid.Length != 0) {
  482. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  483. }
  484. return size;
  485. }
  486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  487. public void MergeFrom(CS_MD_GetRoomList other) {
  488. if (other == null) {
  489. return;
  490. }
  491. if (other.Zoneid != 0) {
  492. Zoneid = other.Zoneid;
  493. }
  494. if (other.Uid.Length != 0) {
  495. Uid = other.Uid;
  496. }
  497. }
  498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  499. public void MergeFrom(pb::CodedInputStream input) {
  500. uint tag;
  501. while ((tag = input.ReadTag()) != 0) {
  502. switch(tag) {
  503. default:
  504. input.SkipLastField();
  505. break;
  506. case 8: {
  507. Zoneid = input.ReadInt32();
  508. break;
  509. }
  510. case 18: {
  511. Uid = input.ReadString();
  512. break;
  513. }
  514. }
  515. }
  516. }
  517. }
  518. /// <summary>
  519. /// 多人副本, 加入房间
  520. /// </summary>
  521. public sealed partial class CS_MD_EnterRoom : pb::IMessage<CS_MD_EnterRoom> {
  522. private static readonly pb::MessageParser<CS_MD_EnterRoom> _parser = new pb::MessageParser<CS_MD_EnterRoom>(() => new CS_MD_EnterRoom());
  523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  524. public static pb::MessageParser<CS_MD_EnterRoom> Parser { get { return _parser; } }
  525. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  526. public static pbr::MessageDescriptor Descriptor {
  527. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[3]; }
  528. }
  529. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  530. pbr::MessageDescriptor pb::IMessage.Descriptor {
  531. get { return Descriptor; }
  532. }
  533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  534. public CS_MD_EnterRoom() {
  535. OnConstruction();
  536. }
  537. partial void OnConstruction();
  538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  539. public CS_MD_EnterRoom(CS_MD_EnterRoom other) : this() {
  540. zoneid_ = other.zoneid_;
  541. uid_ = other.uid_;
  542. roomId_ = other.roomId_;
  543. }
  544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  545. public CS_MD_EnterRoom Clone() {
  546. return new CS_MD_EnterRoom(this);
  547. }
  548. /// <summary>Field number for the "Zoneid" field.</summary>
  549. public const int ZoneidFieldNumber = 1;
  550. private int zoneid_;
  551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  552. public int Zoneid {
  553. get { return zoneid_; }
  554. set {
  555. zoneid_ = value;
  556. }
  557. }
  558. /// <summary>Field number for the "Uid" field.</summary>
  559. public const int UidFieldNumber = 2;
  560. private string uid_ = "";
  561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  562. public string Uid {
  563. get { return uid_; }
  564. set {
  565. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  566. }
  567. }
  568. /// <summary>Field number for the "RoomId" field.</summary>
  569. public const int RoomIdFieldNumber = 3;
  570. private int roomId_;
  571. /// <summary>
  572. /// 房间id
  573. /// </summary>
  574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  575. public int RoomId {
  576. get { return roomId_; }
  577. set {
  578. roomId_ = value;
  579. }
  580. }
  581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  582. public override bool Equals(object other) {
  583. return Equals(other as CS_MD_EnterRoom);
  584. }
  585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  586. public bool Equals(CS_MD_EnterRoom other) {
  587. if (ReferenceEquals(other, null)) {
  588. return false;
  589. }
  590. if (ReferenceEquals(other, this)) {
  591. return true;
  592. }
  593. if (Zoneid != other.Zoneid) return false;
  594. if (Uid != other.Uid) return false;
  595. if (RoomId != other.RoomId) return false;
  596. return true;
  597. }
  598. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  599. public override int GetHashCode() {
  600. int hash = 1;
  601. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  602. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  603. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  604. return hash;
  605. }
  606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  607. public override string ToString() {
  608. return pb::JsonFormatter.ToDiagnosticString(this);
  609. }
  610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  611. public void WriteTo(pb::CodedOutputStream output) {
  612. if (Zoneid != 0) {
  613. output.WriteRawTag(8);
  614. output.WriteInt32(Zoneid);
  615. }
  616. if (Uid.Length != 0) {
  617. output.WriteRawTag(18);
  618. output.WriteString(Uid);
  619. }
  620. if (RoomId != 0) {
  621. output.WriteRawTag(24);
  622. output.WriteInt32(RoomId);
  623. }
  624. }
  625. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  626. public int CalculateSize() {
  627. int size = 0;
  628. if (Zoneid != 0) {
  629. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  630. }
  631. if (Uid.Length != 0) {
  632. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  633. }
  634. if (RoomId != 0) {
  635. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  636. }
  637. return size;
  638. }
  639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  640. public void MergeFrom(CS_MD_EnterRoom other) {
  641. if (other == null) {
  642. return;
  643. }
  644. if (other.Zoneid != 0) {
  645. Zoneid = other.Zoneid;
  646. }
  647. if (other.Uid.Length != 0) {
  648. Uid = other.Uid;
  649. }
  650. if (other.RoomId != 0) {
  651. RoomId = other.RoomId;
  652. }
  653. }
  654. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  655. public void MergeFrom(pb::CodedInputStream input) {
  656. uint tag;
  657. while ((tag = input.ReadTag()) != 0) {
  658. switch(tag) {
  659. default:
  660. input.SkipLastField();
  661. break;
  662. case 8: {
  663. Zoneid = input.ReadInt32();
  664. break;
  665. }
  666. case 18: {
  667. Uid = input.ReadString();
  668. break;
  669. }
  670. case 24: {
  671. RoomId = input.ReadInt32();
  672. break;
  673. }
  674. }
  675. }
  676. }
  677. }
  678. /// <summary>
  679. /// 多人副本, 离开房间
  680. /// </summary>
  681. public sealed partial class CS_MD_LeaveRoom : pb::IMessage<CS_MD_LeaveRoom> {
  682. private static readonly pb::MessageParser<CS_MD_LeaveRoom> _parser = new pb::MessageParser<CS_MD_LeaveRoom>(() => new CS_MD_LeaveRoom());
  683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  684. public static pb::MessageParser<CS_MD_LeaveRoom> Parser { get { return _parser; } }
  685. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  686. public static pbr::MessageDescriptor Descriptor {
  687. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[4]; }
  688. }
  689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  690. pbr::MessageDescriptor pb::IMessage.Descriptor {
  691. get { return Descriptor; }
  692. }
  693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  694. public CS_MD_LeaveRoom() {
  695. OnConstruction();
  696. }
  697. partial void OnConstruction();
  698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  699. public CS_MD_LeaveRoom(CS_MD_LeaveRoom other) : this() {
  700. zoneid_ = other.zoneid_;
  701. uid_ = other.uid_;
  702. }
  703. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  704. public CS_MD_LeaveRoom Clone() {
  705. return new CS_MD_LeaveRoom(this);
  706. }
  707. /// <summary>Field number for the "Zoneid" field.</summary>
  708. public const int ZoneidFieldNumber = 1;
  709. private int zoneid_;
  710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  711. public int Zoneid {
  712. get { return zoneid_; }
  713. set {
  714. zoneid_ = value;
  715. }
  716. }
  717. /// <summary>Field number for the "Uid" field.</summary>
  718. public const int UidFieldNumber = 2;
  719. private string uid_ = "";
  720. /// <summary>
  721. ///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
  722. /// </summary>
  723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  724. public string Uid {
  725. get { return uid_; }
  726. set {
  727. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  728. }
  729. }
  730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  731. public override bool Equals(object other) {
  732. return Equals(other as CS_MD_LeaveRoom);
  733. }
  734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  735. public bool Equals(CS_MD_LeaveRoom other) {
  736. if (ReferenceEquals(other, null)) {
  737. return false;
  738. }
  739. if (ReferenceEquals(other, this)) {
  740. return true;
  741. }
  742. if (Zoneid != other.Zoneid) return false;
  743. if (Uid != other.Uid) return false;
  744. return true;
  745. }
  746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  747. public override int GetHashCode() {
  748. int hash = 1;
  749. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  750. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  751. return hash;
  752. }
  753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  754. public override string ToString() {
  755. return pb::JsonFormatter.ToDiagnosticString(this);
  756. }
  757. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  758. public void WriteTo(pb::CodedOutputStream output) {
  759. if (Zoneid != 0) {
  760. output.WriteRawTag(8);
  761. output.WriteInt32(Zoneid);
  762. }
  763. if (Uid.Length != 0) {
  764. output.WriteRawTag(18);
  765. output.WriteString(Uid);
  766. }
  767. }
  768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  769. public int CalculateSize() {
  770. int size = 0;
  771. if (Zoneid != 0) {
  772. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  773. }
  774. if (Uid.Length != 0) {
  775. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  776. }
  777. return size;
  778. }
  779. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  780. public void MergeFrom(CS_MD_LeaveRoom other) {
  781. if (other == null) {
  782. return;
  783. }
  784. if (other.Zoneid != 0) {
  785. Zoneid = other.Zoneid;
  786. }
  787. if (other.Uid.Length != 0) {
  788. Uid = other.Uid;
  789. }
  790. }
  791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  792. public void MergeFrom(pb::CodedInputStream input) {
  793. uint tag;
  794. while ((tag = input.ReadTag()) != 0) {
  795. switch(tag) {
  796. default:
  797. input.SkipLastField();
  798. break;
  799. case 8: {
  800. Zoneid = input.ReadInt32();
  801. break;
  802. }
  803. case 18: {
  804. Uid = input.ReadString();
  805. break;
  806. }
  807. }
  808. }
  809. }
  810. }
  811. /// <summary>
  812. /// 多人副本, 开始游戏(创建者)
  813. /// </summary>
  814. public sealed partial class CS_MD_BeginDup : pb::IMessage<CS_MD_BeginDup> {
  815. private static readonly pb::MessageParser<CS_MD_BeginDup> _parser = new pb::MessageParser<CS_MD_BeginDup>(() => new CS_MD_BeginDup());
  816. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  817. public static pb::MessageParser<CS_MD_BeginDup> Parser { get { return _parser; } }
  818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  819. public static pbr::MessageDescriptor Descriptor {
  820. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[5]; }
  821. }
  822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  823. pbr::MessageDescriptor pb::IMessage.Descriptor {
  824. get { return Descriptor; }
  825. }
  826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  827. public CS_MD_BeginDup() {
  828. OnConstruction();
  829. }
  830. partial void OnConstruction();
  831. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  832. public CS_MD_BeginDup(CS_MD_BeginDup other) : this() {
  833. zoneid_ = other.zoneid_;
  834. uid_ = other.uid_;
  835. }
  836. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  837. public CS_MD_BeginDup Clone() {
  838. return new CS_MD_BeginDup(this);
  839. }
  840. /// <summary>Field number for the "Zoneid" field.</summary>
  841. public const int ZoneidFieldNumber = 1;
  842. private int zoneid_;
  843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  844. public int Zoneid {
  845. get { return zoneid_; }
  846. set {
  847. zoneid_ = value;
  848. }
  849. }
  850. /// <summary>Field number for the "Uid" field.</summary>
  851. public const int UidFieldNumber = 2;
  852. private string uid_ = "";
  853. /// <summary>
  854. ///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
  855. /// </summary>
  856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  857. public string Uid {
  858. get { return uid_; }
  859. set {
  860. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  861. }
  862. }
  863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  864. public override bool Equals(object other) {
  865. return Equals(other as CS_MD_BeginDup);
  866. }
  867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  868. public bool Equals(CS_MD_BeginDup other) {
  869. if (ReferenceEquals(other, null)) {
  870. return false;
  871. }
  872. if (ReferenceEquals(other, this)) {
  873. return true;
  874. }
  875. if (Zoneid != other.Zoneid) return false;
  876. if (Uid != other.Uid) return false;
  877. return true;
  878. }
  879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  880. public override int GetHashCode() {
  881. int hash = 1;
  882. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  883. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  884. return hash;
  885. }
  886. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  887. public override string ToString() {
  888. return pb::JsonFormatter.ToDiagnosticString(this);
  889. }
  890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  891. public void WriteTo(pb::CodedOutputStream output) {
  892. if (Zoneid != 0) {
  893. output.WriteRawTag(8);
  894. output.WriteInt32(Zoneid);
  895. }
  896. if (Uid.Length != 0) {
  897. output.WriteRawTag(18);
  898. output.WriteString(Uid);
  899. }
  900. }
  901. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  902. public int CalculateSize() {
  903. int size = 0;
  904. if (Zoneid != 0) {
  905. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  906. }
  907. if (Uid.Length != 0) {
  908. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  909. }
  910. return size;
  911. }
  912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  913. public void MergeFrom(CS_MD_BeginDup other) {
  914. if (other == null) {
  915. return;
  916. }
  917. if (other.Zoneid != 0) {
  918. Zoneid = other.Zoneid;
  919. }
  920. if (other.Uid.Length != 0) {
  921. Uid = other.Uid;
  922. }
  923. }
  924. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  925. public void MergeFrom(pb::CodedInputStream input) {
  926. uint tag;
  927. while ((tag = input.ReadTag()) != 0) {
  928. switch(tag) {
  929. default:
  930. input.SkipLastField();
  931. break;
  932. case 8: {
  933. Zoneid = input.ReadInt32();
  934. break;
  935. }
  936. case 18: {
  937. Uid = input.ReadString();
  938. break;
  939. }
  940. }
  941. }
  942. }
  943. }
  944. public sealed partial class CS_BT_Login : pb::IMessage<CS_BT_Login> {
  945. private static readonly pb::MessageParser<CS_BT_Login> _parser = new pb::MessageParser<CS_BT_Login>(() => new CS_BT_Login());
  946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  947. public static pb::MessageParser<CS_BT_Login> Parser { get { return _parser; } }
  948. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  949. public static pbr::MessageDescriptor Descriptor {
  950. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[6]; }
  951. }
  952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  953. pbr::MessageDescriptor pb::IMessage.Descriptor {
  954. get { return Descriptor; }
  955. }
  956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  957. public CS_BT_Login() {
  958. OnConstruction();
  959. }
  960. partial void OnConstruction();
  961. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  962. public CS_BT_Login(CS_BT_Login other) : this() {
  963. zoneid_ = other.zoneid_;
  964. uid_ = other.uid_;
  965. msg_ = other.msg_;
  966. }
  967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  968. public CS_BT_Login Clone() {
  969. return new CS_BT_Login(this);
  970. }
  971. /// <summary>Field number for the "Zoneid" field.</summary>
  972. public const int ZoneidFieldNumber = 1;
  973. private int zoneid_;
  974. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  975. public int Zoneid {
  976. get { return zoneid_; }
  977. set {
  978. zoneid_ = value;
  979. }
  980. }
  981. /// <summary>Field number for the "Uid" field.</summary>
  982. public const int UidFieldNumber = 2;
  983. private string uid_ = "";
  984. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  985. public string Uid {
  986. get { return uid_; }
  987. set {
  988. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  989. }
  990. }
  991. /// <summary>Field number for the "Msg" field.</summary>
  992. public const int MsgFieldNumber = 3;
  993. private string msg_ = "";
  994. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  995. public string Msg {
  996. get { return msg_; }
  997. set {
  998. msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  999. }
  1000. }
  1001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1002. public override bool Equals(object other) {
  1003. return Equals(other as CS_BT_Login);
  1004. }
  1005. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1006. public bool Equals(CS_BT_Login other) {
  1007. if (ReferenceEquals(other, null)) {
  1008. return false;
  1009. }
  1010. if (ReferenceEquals(other, this)) {
  1011. return true;
  1012. }
  1013. if (Zoneid != other.Zoneid) return false;
  1014. if (Uid != other.Uid) return false;
  1015. if (Msg != other.Msg) return false;
  1016. return true;
  1017. }
  1018. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1019. public override int GetHashCode() {
  1020. int hash = 1;
  1021. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1022. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  1023. if (Msg.Length != 0) hash ^= Msg.GetHashCode();
  1024. return hash;
  1025. }
  1026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1027. public override string ToString() {
  1028. return pb::JsonFormatter.ToDiagnosticString(this);
  1029. }
  1030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1031. public void WriteTo(pb::CodedOutputStream output) {
  1032. if (Zoneid != 0) {
  1033. output.WriteRawTag(8);
  1034. output.WriteInt32(Zoneid);
  1035. }
  1036. if (Uid.Length != 0) {
  1037. output.WriteRawTag(18);
  1038. output.WriteString(Uid);
  1039. }
  1040. if (Msg.Length != 0) {
  1041. output.WriteRawTag(26);
  1042. output.WriteString(Msg);
  1043. }
  1044. }
  1045. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1046. public int CalculateSize() {
  1047. int size = 0;
  1048. if (Zoneid != 0) {
  1049. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  1050. }
  1051. if (Uid.Length != 0) {
  1052. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  1053. }
  1054. if (Msg.Length != 0) {
  1055. size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
  1056. }
  1057. return size;
  1058. }
  1059. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1060. public void MergeFrom(CS_BT_Login other) {
  1061. if (other == null) {
  1062. return;
  1063. }
  1064. if (other.Zoneid != 0) {
  1065. Zoneid = other.Zoneid;
  1066. }
  1067. if (other.Uid.Length != 0) {
  1068. Uid = other.Uid;
  1069. }
  1070. if (other.Msg.Length != 0) {
  1071. Msg = other.Msg;
  1072. }
  1073. }
  1074. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1075. public void MergeFrom(pb::CodedInputStream input) {
  1076. uint tag;
  1077. while ((tag = input.ReadTag()) != 0) {
  1078. switch(tag) {
  1079. default:
  1080. input.SkipLastField();
  1081. break;
  1082. case 8: {
  1083. Zoneid = input.ReadInt32();
  1084. break;
  1085. }
  1086. case 18: {
  1087. Uid = input.ReadString();
  1088. break;
  1089. }
  1090. case 26: {
  1091. Msg = input.ReadString();
  1092. break;
  1093. }
  1094. }
  1095. }
  1096. }
  1097. }
  1098. public sealed partial class CS_BT_Status : pb::IMessage<CS_BT_Status> {
  1099. private static readonly pb::MessageParser<CS_BT_Status> _parser = new pb::MessageParser<CS_BT_Status>(() => new CS_BT_Status());
  1100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1101. public static pb::MessageParser<CS_BT_Status> Parser { get { return _parser; } }
  1102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1103. public static pbr::MessageDescriptor Descriptor {
  1104. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[7]; }
  1105. }
  1106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1107. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1108. get { return Descriptor; }
  1109. }
  1110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1111. public CS_BT_Status() {
  1112. OnConstruction();
  1113. }
  1114. partial void OnConstruction();
  1115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1116. public CS_BT_Status(CS_BT_Status other) : this() {
  1117. zoneid_ = other.zoneid_;
  1118. senderUid_ = other.senderUid_;
  1119. propertyName_ = other.propertyName_;
  1120. value_ = other.value_;
  1121. }
  1122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1123. public CS_BT_Status Clone() {
  1124. return new CS_BT_Status(this);
  1125. }
  1126. /// <summary>Field number for the "Zoneid" field.</summary>
  1127. public const int ZoneidFieldNumber = 1;
  1128. private int zoneid_;
  1129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1130. public int Zoneid {
  1131. get { return zoneid_; }
  1132. set {
  1133. zoneid_ = value;
  1134. }
  1135. }
  1136. /// <summary>Field number for the "SenderUid" field.</summary>
  1137. public const int SenderUidFieldNumber = 2;
  1138. private string senderUid_ = "";
  1139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1140. public string SenderUid {
  1141. get { return senderUid_; }
  1142. set {
  1143. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1144. }
  1145. }
  1146. /// <summary>Field number for the "PropertyName" field.</summary>
  1147. public const int PropertyNameFieldNumber = 3;
  1148. private string propertyName_ = "";
  1149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1150. public string PropertyName {
  1151. get { return propertyName_; }
  1152. set {
  1153. propertyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1154. }
  1155. }
  1156. /// <summary>Field number for the "Value" field.</summary>
  1157. public const int ValueFieldNumber = 4;
  1158. private string value_ = "";
  1159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1160. public string Value {
  1161. get { return value_; }
  1162. set {
  1163. value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1164. }
  1165. }
  1166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1167. public override bool Equals(object other) {
  1168. return Equals(other as CS_BT_Status);
  1169. }
  1170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1171. public bool Equals(CS_BT_Status other) {
  1172. if (ReferenceEquals(other, null)) {
  1173. return false;
  1174. }
  1175. if (ReferenceEquals(other, this)) {
  1176. return true;
  1177. }
  1178. if (Zoneid != other.Zoneid) return false;
  1179. if (SenderUid != other.SenderUid) return false;
  1180. if (PropertyName != other.PropertyName) return false;
  1181. if (Value != other.Value) return false;
  1182. return true;
  1183. }
  1184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1185. public override int GetHashCode() {
  1186. int hash = 1;
  1187. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1188. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  1189. if (PropertyName.Length != 0) hash ^= PropertyName.GetHashCode();
  1190. if (Value.Length != 0) hash ^= Value.GetHashCode();
  1191. return hash;
  1192. }
  1193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1194. public override string ToString() {
  1195. return pb::JsonFormatter.ToDiagnosticString(this);
  1196. }
  1197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1198. public void WriteTo(pb::CodedOutputStream output) {
  1199. if (Zoneid != 0) {
  1200. output.WriteRawTag(8);
  1201. output.WriteInt32(Zoneid);
  1202. }
  1203. if (SenderUid.Length != 0) {
  1204. output.WriteRawTag(18);
  1205. output.WriteString(SenderUid);
  1206. }
  1207. if (PropertyName.Length != 0) {
  1208. output.WriteRawTag(26);
  1209. output.WriteString(PropertyName);
  1210. }
  1211. if (Value.Length != 0) {
  1212. output.WriteRawTag(34);
  1213. output.WriteString(Value);
  1214. }
  1215. }
  1216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1217. public int CalculateSize() {
  1218. int size = 0;
  1219. if (Zoneid != 0) {
  1220. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  1221. }
  1222. if (SenderUid.Length != 0) {
  1223. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  1224. }
  1225. if (PropertyName.Length != 0) {
  1226. size += 1 + pb::CodedOutputStream.ComputeStringSize(PropertyName);
  1227. }
  1228. if (Value.Length != 0) {
  1229. size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
  1230. }
  1231. return size;
  1232. }
  1233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1234. public void MergeFrom(CS_BT_Status other) {
  1235. if (other == null) {
  1236. return;
  1237. }
  1238. if (other.Zoneid != 0) {
  1239. Zoneid = other.Zoneid;
  1240. }
  1241. if (other.SenderUid.Length != 0) {
  1242. SenderUid = other.SenderUid;
  1243. }
  1244. if (other.PropertyName.Length != 0) {
  1245. PropertyName = other.PropertyName;
  1246. }
  1247. if (other.Value.Length != 0) {
  1248. Value = other.Value;
  1249. }
  1250. }
  1251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1252. public void MergeFrom(pb::CodedInputStream input) {
  1253. uint tag;
  1254. while ((tag = input.ReadTag()) != 0) {
  1255. switch(tag) {
  1256. default:
  1257. input.SkipLastField();
  1258. break;
  1259. case 8: {
  1260. Zoneid = input.ReadInt32();
  1261. break;
  1262. }
  1263. case 18: {
  1264. SenderUid = input.ReadString();
  1265. break;
  1266. }
  1267. case 26: {
  1268. PropertyName = input.ReadString();
  1269. break;
  1270. }
  1271. case 34: {
  1272. Value = input.ReadString();
  1273. break;
  1274. }
  1275. }
  1276. }
  1277. }
  1278. }
  1279. public sealed partial class CS_BT_Position : pb::IMessage<CS_BT_Position> {
  1280. private static readonly pb::MessageParser<CS_BT_Position> _parser = new pb::MessageParser<CS_BT_Position>(() => new CS_BT_Position());
  1281. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1282. public static pb::MessageParser<CS_BT_Position> Parser { get { return _parser; } }
  1283. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1284. public static pbr::MessageDescriptor Descriptor {
  1285. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[8]; }
  1286. }
  1287. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1288. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1289. get { return Descriptor; }
  1290. }
  1291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1292. public CS_BT_Position() {
  1293. OnConstruction();
  1294. }
  1295. partial void OnConstruction();
  1296. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1297. public CS_BT_Position(CS_BT_Position other) : this() {
  1298. zoneid_ = other.zoneid_;
  1299. senderUid_ = other.senderUid_;
  1300. x_ = other.x_;
  1301. y_ = other.y_;
  1302. z_ = other.z_;
  1303. }
  1304. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1305. public CS_BT_Position Clone() {
  1306. return new CS_BT_Position(this);
  1307. }
  1308. /// <summary>Field number for the "Zoneid" field.</summary>
  1309. public const int ZoneidFieldNumber = 1;
  1310. private int zoneid_;
  1311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1312. public int Zoneid {
  1313. get { return zoneid_; }
  1314. set {
  1315. zoneid_ = value;
  1316. }
  1317. }
  1318. /// <summary>Field number for the "SenderUid" field.</summary>
  1319. public const int SenderUidFieldNumber = 2;
  1320. private string senderUid_ = "";
  1321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1322. public string SenderUid {
  1323. get { return senderUid_; }
  1324. set {
  1325. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1326. }
  1327. }
  1328. /// <summary>Field number for the "X" field.</summary>
  1329. public const int XFieldNumber = 3;
  1330. private float x_;
  1331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1332. public float X {
  1333. get { return x_; }
  1334. set {
  1335. x_ = value;
  1336. }
  1337. }
  1338. /// <summary>Field number for the "Y" field.</summary>
  1339. public const int YFieldNumber = 4;
  1340. private float y_;
  1341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1342. public float Y {
  1343. get { return y_; }
  1344. set {
  1345. y_ = value;
  1346. }
  1347. }
  1348. /// <summary>Field number for the "Z" field.</summary>
  1349. public const int ZFieldNumber = 5;
  1350. private float z_;
  1351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1352. public float Z {
  1353. get { return z_; }
  1354. set {
  1355. z_ = value;
  1356. }
  1357. }
  1358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1359. public override bool Equals(object other) {
  1360. return Equals(other as CS_BT_Position);
  1361. }
  1362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1363. public bool Equals(CS_BT_Position other) {
  1364. if (ReferenceEquals(other, null)) {
  1365. return false;
  1366. }
  1367. if (ReferenceEquals(other, this)) {
  1368. return true;
  1369. }
  1370. if (Zoneid != other.Zoneid) return false;
  1371. if (SenderUid != other.SenderUid) return false;
  1372. if (X != other.X) return false;
  1373. if (Y != other.Y) return false;
  1374. if (Z != other.Z) return false;
  1375. return true;
  1376. }
  1377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1378. public override int GetHashCode() {
  1379. int hash = 1;
  1380. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1381. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  1382. if (X != 0F) hash ^= X.GetHashCode();
  1383. if (Y != 0F) hash ^= Y.GetHashCode();
  1384. if (Z != 0F) hash ^= Z.GetHashCode();
  1385. return hash;
  1386. }
  1387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1388. public override string ToString() {
  1389. return pb::JsonFormatter.ToDiagnosticString(this);
  1390. }
  1391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1392. public void WriteTo(pb::CodedOutputStream output) {
  1393. if (Zoneid != 0) {
  1394. output.WriteRawTag(8);
  1395. output.WriteInt32(Zoneid);
  1396. }
  1397. if (SenderUid.Length != 0) {
  1398. output.WriteRawTag(18);
  1399. output.WriteString(SenderUid);
  1400. }
  1401. if (X != 0F) {
  1402. output.WriteRawTag(29);
  1403. output.WriteFloat(X);
  1404. }
  1405. if (Y != 0F) {
  1406. output.WriteRawTag(37);
  1407. output.WriteFloat(Y);
  1408. }
  1409. if (Z != 0F) {
  1410. output.WriteRawTag(45);
  1411. output.WriteFloat(Z);
  1412. }
  1413. }
  1414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1415. public int CalculateSize() {
  1416. int size = 0;
  1417. if (Zoneid != 0) {
  1418. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  1419. }
  1420. if (SenderUid.Length != 0) {
  1421. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  1422. }
  1423. if (X != 0F) {
  1424. size += 1 + 4;
  1425. }
  1426. if (Y != 0F) {
  1427. size += 1 + 4;
  1428. }
  1429. if (Z != 0F) {
  1430. size += 1 + 4;
  1431. }
  1432. return size;
  1433. }
  1434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1435. public void MergeFrom(CS_BT_Position other) {
  1436. if (other == null) {
  1437. return;
  1438. }
  1439. if (other.Zoneid != 0) {
  1440. Zoneid = other.Zoneid;
  1441. }
  1442. if (other.SenderUid.Length != 0) {
  1443. SenderUid = other.SenderUid;
  1444. }
  1445. if (other.X != 0F) {
  1446. X = other.X;
  1447. }
  1448. if (other.Y != 0F) {
  1449. Y = other.Y;
  1450. }
  1451. if (other.Z != 0F) {
  1452. Z = other.Z;
  1453. }
  1454. }
  1455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1456. public void MergeFrom(pb::CodedInputStream input) {
  1457. uint tag;
  1458. while ((tag = input.ReadTag()) != 0) {
  1459. switch(tag) {
  1460. default:
  1461. input.SkipLastField();
  1462. break;
  1463. case 8: {
  1464. Zoneid = input.ReadInt32();
  1465. break;
  1466. }
  1467. case 18: {
  1468. SenderUid = input.ReadString();
  1469. break;
  1470. }
  1471. case 29: {
  1472. X = input.ReadFloat();
  1473. break;
  1474. }
  1475. case 37: {
  1476. Y = input.ReadFloat();
  1477. break;
  1478. }
  1479. case 45: {
  1480. Z = input.ReadFloat();
  1481. break;
  1482. }
  1483. }
  1484. }
  1485. }
  1486. }
  1487. /// <summary>
  1488. /// 战斗服务, 广播
  1489. /// </summary>
  1490. public sealed partial class CS_BT_BroadCast : pb::IMessage<CS_BT_BroadCast> {
  1491. private static readonly pb::MessageParser<CS_BT_BroadCast> _parser = new pb::MessageParser<CS_BT_BroadCast>(() => new CS_BT_BroadCast());
  1492. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1493. public static pb::MessageParser<CS_BT_BroadCast> Parser { get { return _parser; } }
  1494. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1495. public static pbr::MessageDescriptor Descriptor {
  1496. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[9]; }
  1497. }
  1498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1499. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1500. get { return Descriptor; }
  1501. }
  1502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1503. public CS_BT_BroadCast() {
  1504. OnConstruction();
  1505. }
  1506. partial void OnConstruction();
  1507. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1508. public CS_BT_BroadCast(CS_BT_BroadCast other) : this() {
  1509. zoneid_ = other.zoneid_;
  1510. senderUid_ = other.senderUid_;
  1511. msg_ = other.msg_;
  1512. }
  1513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1514. public CS_BT_BroadCast Clone() {
  1515. return new CS_BT_BroadCast(this);
  1516. }
  1517. /// <summary>Field number for the "Zoneid" field.</summary>
  1518. public const int ZoneidFieldNumber = 1;
  1519. private int zoneid_;
  1520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1521. public int Zoneid {
  1522. get { return zoneid_; }
  1523. set {
  1524. zoneid_ = value;
  1525. }
  1526. }
  1527. /// <summary>Field number for the "SenderUid" field.</summary>
  1528. public const int SenderUidFieldNumber = 2;
  1529. private string senderUid_ = "";
  1530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1531. public string SenderUid {
  1532. get { return senderUid_; }
  1533. set {
  1534. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1535. }
  1536. }
  1537. /// <summary>Field number for the "Msg" field.</summary>
  1538. public const int MsgFieldNumber = 3;
  1539. private string msg_ = "";
  1540. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1541. public string Msg {
  1542. get { return msg_; }
  1543. set {
  1544. msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1545. }
  1546. }
  1547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1548. public override bool Equals(object other) {
  1549. return Equals(other as CS_BT_BroadCast);
  1550. }
  1551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1552. public bool Equals(CS_BT_BroadCast other) {
  1553. if (ReferenceEquals(other, null)) {
  1554. return false;
  1555. }
  1556. if (ReferenceEquals(other, this)) {
  1557. return true;
  1558. }
  1559. if (Zoneid != other.Zoneid) return false;
  1560. if (SenderUid != other.SenderUid) return false;
  1561. if (Msg != other.Msg) return false;
  1562. return true;
  1563. }
  1564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1565. public override int GetHashCode() {
  1566. int hash = 1;
  1567. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1568. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  1569. if (Msg.Length != 0) hash ^= Msg.GetHashCode();
  1570. return hash;
  1571. }
  1572. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1573. public override string ToString() {
  1574. return pb::JsonFormatter.ToDiagnosticString(this);
  1575. }
  1576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1577. public void WriteTo(pb::CodedOutputStream output) {
  1578. if (Zoneid != 0) {
  1579. output.WriteRawTag(8);
  1580. output.WriteInt32(Zoneid);
  1581. }
  1582. if (SenderUid.Length != 0) {
  1583. output.WriteRawTag(18);
  1584. output.WriteString(SenderUid);
  1585. }
  1586. if (Msg.Length != 0) {
  1587. output.WriteRawTag(26);
  1588. output.WriteString(Msg);
  1589. }
  1590. }
  1591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1592. public int CalculateSize() {
  1593. int size = 0;
  1594. if (Zoneid != 0) {
  1595. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  1596. }
  1597. if (SenderUid.Length != 0) {
  1598. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  1599. }
  1600. if (Msg.Length != 0) {
  1601. size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
  1602. }
  1603. return size;
  1604. }
  1605. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1606. public void MergeFrom(CS_BT_BroadCast other) {
  1607. if (other == null) {
  1608. return;
  1609. }
  1610. if (other.Zoneid != 0) {
  1611. Zoneid = other.Zoneid;
  1612. }
  1613. if (other.SenderUid.Length != 0) {
  1614. SenderUid = other.SenderUid;
  1615. }
  1616. if (other.Msg.Length != 0) {
  1617. Msg = other.Msg;
  1618. }
  1619. }
  1620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1621. public void MergeFrom(pb::CodedInputStream input) {
  1622. uint tag;
  1623. while ((tag = input.ReadTag()) != 0) {
  1624. switch(tag) {
  1625. default:
  1626. input.SkipLastField();
  1627. break;
  1628. case 8: {
  1629. Zoneid = input.ReadInt32();
  1630. break;
  1631. }
  1632. case 18: {
  1633. SenderUid = input.ReadString();
  1634. break;
  1635. }
  1636. case 26: {
  1637. Msg = input.ReadString();
  1638. break;
  1639. }
  1640. }
  1641. }
  1642. }
  1643. }
  1644. public sealed partial class CS_BT_Over : pb::IMessage<CS_BT_Over> {
  1645. private static readonly pb::MessageParser<CS_BT_Over> _parser = new pb::MessageParser<CS_BT_Over>(() => new CS_BT_Over());
  1646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1647. public static pb::MessageParser<CS_BT_Over> Parser { get { return _parser; } }
  1648. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1649. public static pbr::MessageDescriptor Descriptor {
  1650. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[10]; }
  1651. }
  1652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1653. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1654. get { return Descriptor; }
  1655. }
  1656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1657. public CS_BT_Over() {
  1658. OnConstruction();
  1659. }
  1660. partial void OnConstruction();
  1661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1662. public CS_BT_Over(CS_BT_Over other) : this() {
  1663. zoneid_ = other.zoneid_;
  1664. senderUid_ = other.senderUid_;
  1665. msg_ = other.msg_;
  1666. }
  1667. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1668. public CS_BT_Over Clone() {
  1669. return new CS_BT_Over(this);
  1670. }
  1671. /// <summary>Field number for the "Zoneid" field.</summary>
  1672. public const int ZoneidFieldNumber = 1;
  1673. private int zoneid_;
  1674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1675. public int Zoneid {
  1676. get { return zoneid_; }
  1677. set {
  1678. zoneid_ = value;
  1679. }
  1680. }
  1681. /// <summary>Field number for the "SenderUid" field.</summary>
  1682. public const int SenderUidFieldNumber = 2;
  1683. private string senderUid_ = "";
  1684. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1685. public string SenderUid {
  1686. get { return senderUid_; }
  1687. set {
  1688. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1689. }
  1690. }
  1691. /// <summary>Field number for the "Msg" field.</summary>
  1692. public const int MsgFieldNumber = 3;
  1693. private string msg_ = "";
  1694. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1695. public string Msg {
  1696. get { return msg_; }
  1697. set {
  1698. msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1699. }
  1700. }
  1701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1702. public override bool Equals(object other) {
  1703. return Equals(other as CS_BT_Over);
  1704. }
  1705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1706. public bool Equals(CS_BT_Over other) {
  1707. if (ReferenceEquals(other, null)) {
  1708. return false;
  1709. }
  1710. if (ReferenceEquals(other, this)) {
  1711. return true;
  1712. }
  1713. if (Zoneid != other.Zoneid) return false;
  1714. if (SenderUid != other.SenderUid) return false;
  1715. if (Msg != other.Msg) return false;
  1716. return true;
  1717. }
  1718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1719. public override int GetHashCode() {
  1720. int hash = 1;
  1721. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1722. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  1723. if (Msg.Length != 0) hash ^= Msg.GetHashCode();
  1724. return hash;
  1725. }
  1726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1727. public override string ToString() {
  1728. return pb::JsonFormatter.ToDiagnosticString(this);
  1729. }
  1730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1731. public void WriteTo(pb::CodedOutputStream output) {
  1732. if (Zoneid != 0) {
  1733. output.WriteRawTag(8);
  1734. output.WriteInt32(Zoneid);
  1735. }
  1736. if (SenderUid.Length != 0) {
  1737. output.WriteRawTag(18);
  1738. output.WriteString(SenderUid);
  1739. }
  1740. if (Msg.Length != 0) {
  1741. output.WriteRawTag(26);
  1742. output.WriteString(Msg);
  1743. }
  1744. }
  1745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1746. public int CalculateSize() {
  1747. int size = 0;
  1748. if (Zoneid != 0) {
  1749. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  1750. }
  1751. if (SenderUid.Length != 0) {
  1752. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  1753. }
  1754. if (Msg.Length != 0) {
  1755. size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
  1756. }
  1757. return size;
  1758. }
  1759. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1760. public void MergeFrom(CS_BT_Over other) {
  1761. if (other == null) {
  1762. return;
  1763. }
  1764. if (other.Zoneid != 0) {
  1765. Zoneid = other.Zoneid;
  1766. }
  1767. if (other.SenderUid.Length != 0) {
  1768. SenderUid = other.SenderUid;
  1769. }
  1770. if (other.Msg.Length != 0) {
  1771. Msg = other.Msg;
  1772. }
  1773. }
  1774. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1775. public void MergeFrom(pb::CodedInputStream input) {
  1776. uint tag;
  1777. while ((tag = input.ReadTag()) != 0) {
  1778. switch(tag) {
  1779. default:
  1780. input.SkipLastField();
  1781. break;
  1782. case 8: {
  1783. Zoneid = input.ReadInt32();
  1784. break;
  1785. }
  1786. case 18: {
  1787. SenderUid = input.ReadString();
  1788. break;
  1789. }
  1790. case 26: {
  1791. Msg = input.ReadString();
  1792. break;
  1793. }
  1794. }
  1795. }
  1796. }
  1797. }
  1798. /// <summary>
  1799. ///
  1800. /// 加入房间成功
  1801. /// </summary>
  1802. public sealed partial class SC_MD_EnterLobby : pb::IMessage<SC_MD_EnterLobby> {
  1803. private static readonly pb::MessageParser<SC_MD_EnterLobby> _parser = new pb::MessageParser<SC_MD_EnterLobby>(() => new SC_MD_EnterLobby());
  1804. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1805. public static pb::MessageParser<SC_MD_EnterLobby> Parser { get { return _parser; } }
  1806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1807. public static pbr::MessageDescriptor Descriptor {
  1808. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[11]; }
  1809. }
  1810. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1811. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1812. get { return Descriptor; }
  1813. }
  1814. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1815. public SC_MD_EnterLobby() {
  1816. OnConstruction();
  1817. }
  1818. partial void OnConstruction();
  1819. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1820. public SC_MD_EnterLobby(SC_MD_EnterLobby other) : this() {
  1821. }
  1822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1823. public SC_MD_EnterLobby Clone() {
  1824. return new SC_MD_EnterLobby(this);
  1825. }
  1826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1827. public override bool Equals(object other) {
  1828. return Equals(other as SC_MD_EnterLobby);
  1829. }
  1830. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1831. public bool Equals(SC_MD_EnterLobby other) {
  1832. if (ReferenceEquals(other, null)) {
  1833. return false;
  1834. }
  1835. if (ReferenceEquals(other, this)) {
  1836. return true;
  1837. }
  1838. return true;
  1839. }
  1840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1841. public override int GetHashCode() {
  1842. int hash = 1;
  1843. return hash;
  1844. }
  1845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1846. public override string ToString() {
  1847. return pb::JsonFormatter.ToDiagnosticString(this);
  1848. }
  1849. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1850. public void WriteTo(pb::CodedOutputStream output) {
  1851. }
  1852. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1853. public int CalculateSize() {
  1854. int size = 0;
  1855. return size;
  1856. }
  1857. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1858. public void MergeFrom(SC_MD_EnterLobby other) {
  1859. if (other == null) {
  1860. return;
  1861. }
  1862. }
  1863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1864. public void MergeFrom(pb::CodedInputStream input) {
  1865. uint tag;
  1866. while ((tag = input.ReadTag()) != 0) {
  1867. switch(tag) {
  1868. default:
  1869. input.SkipLastField();
  1870. break;
  1871. }
  1872. }
  1873. }
  1874. }
  1875. /// <summary>
  1876. /// 多人副本, 创建房间
  1877. /// </summary>
  1878. public sealed partial class SC_MD_CreateRoom : pb::IMessage<SC_MD_CreateRoom> {
  1879. private static readonly pb::MessageParser<SC_MD_CreateRoom> _parser = new pb::MessageParser<SC_MD_CreateRoom>(() => new SC_MD_CreateRoom());
  1880. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1881. public static pb::MessageParser<SC_MD_CreateRoom> Parser { get { return _parser; } }
  1882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1883. public static pbr::MessageDescriptor Descriptor {
  1884. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[12]; }
  1885. }
  1886. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1887. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1888. get { return Descriptor; }
  1889. }
  1890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1891. public SC_MD_CreateRoom() {
  1892. OnConstruction();
  1893. }
  1894. partial void OnConstruction();
  1895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1896. public SC_MD_CreateRoom(SC_MD_CreateRoom other) : this() {
  1897. zoneid_ = other.zoneid_;
  1898. uid_ = other.uid_;
  1899. mapid_ = other.mapid_;
  1900. roomId_ = other.roomId_;
  1901. }
  1902. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1903. public SC_MD_CreateRoom Clone() {
  1904. return new SC_MD_CreateRoom(this);
  1905. }
  1906. /// <summary>Field number for the "Zoneid" field.</summary>
  1907. public const int ZoneidFieldNumber = 1;
  1908. private int zoneid_;
  1909. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1910. public int Zoneid {
  1911. get { return zoneid_; }
  1912. set {
  1913. zoneid_ = value;
  1914. }
  1915. }
  1916. /// <summary>Field number for the "Uid" field.</summary>
  1917. public const int UidFieldNumber = 2;
  1918. private string uid_ = "";
  1919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1920. public string Uid {
  1921. get { return uid_; }
  1922. set {
  1923. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1924. }
  1925. }
  1926. /// <summary>Field number for the "Mapid" field.</summary>
  1927. public const int MapidFieldNumber = 3;
  1928. private int mapid_;
  1929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1930. public int Mapid {
  1931. get { return mapid_; }
  1932. set {
  1933. mapid_ = value;
  1934. }
  1935. }
  1936. /// <summary>Field number for the "RoomId" field.</summary>
  1937. public const int RoomIdFieldNumber = 4;
  1938. private int roomId_;
  1939. /// <summary>
  1940. /// 房间id (服务端分配)
  1941. /// </summary>
  1942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1943. public int RoomId {
  1944. get { return roomId_; }
  1945. set {
  1946. roomId_ = value;
  1947. }
  1948. }
  1949. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1950. public override bool Equals(object other) {
  1951. return Equals(other as SC_MD_CreateRoom);
  1952. }
  1953. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1954. public bool Equals(SC_MD_CreateRoom other) {
  1955. if (ReferenceEquals(other, null)) {
  1956. return false;
  1957. }
  1958. if (ReferenceEquals(other, this)) {
  1959. return true;
  1960. }
  1961. if (Zoneid != other.Zoneid) return false;
  1962. if (Uid != other.Uid) return false;
  1963. if (Mapid != other.Mapid) return false;
  1964. if (RoomId != other.RoomId) return false;
  1965. return true;
  1966. }
  1967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1968. public override int GetHashCode() {
  1969. int hash = 1;
  1970. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1971. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  1972. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  1973. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  1974. return hash;
  1975. }
  1976. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1977. public override string ToString() {
  1978. return pb::JsonFormatter.ToDiagnosticString(this);
  1979. }
  1980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1981. public void WriteTo(pb::CodedOutputStream output) {
  1982. if (Zoneid != 0) {
  1983. output.WriteRawTag(8);
  1984. output.WriteInt32(Zoneid);
  1985. }
  1986. if (Uid.Length != 0) {
  1987. output.WriteRawTag(18);
  1988. output.WriteString(Uid);
  1989. }
  1990. if (Mapid != 0) {
  1991. output.WriteRawTag(24);
  1992. output.WriteInt32(Mapid);
  1993. }
  1994. if (RoomId != 0) {
  1995. output.WriteRawTag(32);
  1996. output.WriteInt32(RoomId);
  1997. }
  1998. }
  1999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2000. public int CalculateSize() {
  2001. int size = 0;
  2002. if (Zoneid != 0) {
  2003. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  2004. }
  2005. if (Uid.Length != 0) {
  2006. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  2007. }
  2008. if (Mapid != 0) {
  2009. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  2010. }
  2011. if (RoomId != 0) {
  2012. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  2013. }
  2014. return size;
  2015. }
  2016. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2017. public void MergeFrom(SC_MD_CreateRoom other) {
  2018. if (other == null) {
  2019. return;
  2020. }
  2021. if (other.Zoneid != 0) {
  2022. Zoneid = other.Zoneid;
  2023. }
  2024. if (other.Uid.Length != 0) {
  2025. Uid = other.Uid;
  2026. }
  2027. if (other.Mapid != 0) {
  2028. Mapid = other.Mapid;
  2029. }
  2030. if (other.RoomId != 0) {
  2031. RoomId = other.RoomId;
  2032. }
  2033. }
  2034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2035. public void MergeFrom(pb::CodedInputStream input) {
  2036. uint tag;
  2037. while ((tag = input.ReadTag()) != 0) {
  2038. switch(tag) {
  2039. default:
  2040. input.SkipLastField();
  2041. break;
  2042. case 8: {
  2043. Zoneid = input.ReadInt32();
  2044. break;
  2045. }
  2046. case 18: {
  2047. Uid = input.ReadString();
  2048. break;
  2049. }
  2050. case 24: {
  2051. Mapid = input.ReadInt32();
  2052. break;
  2053. }
  2054. case 32: {
  2055. RoomId = input.ReadInt32();
  2056. break;
  2057. }
  2058. }
  2059. }
  2060. }
  2061. }
  2062. /// <summary>
  2063. /// 多人副本, 申请房间(列表)
  2064. /// </summary>
  2065. public sealed partial class SC_MD_GetRoomList : pb::IMessage<SC_MD_GetRoomList> {
  2066. private static readonly pb::MessageParser<SC_MD_GetRoomList> _parser = new pb::MessageParser<SC_MD_GetRoomList>(() => new SC_MD_GetRoomList());
  2067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2068. public static pb::MessageParser<SC_MD_GetRoomList> Parser { get { return _parser; } }
  2069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2070. public static pbr::MessageDescriptor Descriptor {
  2071. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[13]; }
  2072. }
  2073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2074. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2075. get { return Descriptor; }
  2076. }
  2077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2078. public SC_MD_GetRoomList() {
  2079. OnConstruction();
  2080. }
  2081. partial void OnConstruction();
  2082. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2083. public SC_MD_GetRoomList(SC_MD_GetRoomList other) : this() {
  2084. roomInfos_ = other.roomInfos_.Clone();
  2085. }
  2086. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2087. public SC_MD_GetRoomList Clone() {
  2088. return new SC_MD_GetRoomList(this);
  2089. }
  2090. /// <summary>Field number for the "RoomInfos" field.</summary>
  2091. public const int RoomInfosFieldNumber = 1;
  2092. private static readonly pb::FieldCodec<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> _repeated_roomInfos_codec
  2093. = pb::FieldCodec.ForMessage(10, global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo.Parser);
  2094. private readonly pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> roomInfos_ = new pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo>();
  2095. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2096. public pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> RoomInfos {
  2097. get { return roomInfos_; }
  2098. }
  2099. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2100. public override bool Equals(object other) {
  2101. return Equals(other as SC_MD_GetRoomList);
  2102. }
  2103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2104. public bool Equals(SC_MD_GetRoomList other) {
  2105. if (ReferenceEquals(other, null)) {
  2106. return false;
  2107. }
  2108. if (ReferenceEquals(other, this)) {
  2109. return true;
  2110. }
  2111. if(!roomInfos_.Equals(other.roomInfos_)) return false;
  2112. return true;
  2113. }
  2114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2115. public override int GetHashCode() {
  2116. int hash = 1;
  2117. hash ^= roomInfos_.GetHashCode();
  2118. return hash;
  2119. }
  2120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2121. public override string ToString() {
  2122. return pb::JsonFormatter.ToDiagnosticString(this);
  2123. }
  2124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2125. public void WriteTo(pb::CodedOutputStream output) {
  2126. roomInfos_.WriteTo(output, _repeated_roomInfos_codec);
  2127. }
  2128. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2129. public int CalculateSize() {
  2130. int size = 0;
  2131. size += roomInfos_.CalculateSize(_repeated_roomInfos_codec);
  2132. return size;
  2133. }
  2134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2135. public void MergeFrom(SC_MD_GetRoomList other) {
  2136. if (other == null) {
  2137. return;
  2138. }
  2139. roomInfos_.Add(other.roomInfos_);
  2140. }
  2141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2142. public void MergeFrom(pb::CodedInputStream input) {
  2143. uint tag;
  2144. while ((tag = input.ReadTag()) != 0) {
  2145. switch(tag) {
  2146. default:
  2147. input.SkipLastField();
  2148. break;
  2149. case 10: {
  2150. roomInfos_.AddEntriesFrom(input, _repeated_roomInfos_codec);
  2151. break;
  2152. }
  2153. }
  2154. }
  2155. }
  2156. #region Nested types
  2157. /// <summary>Container for nested types declared in the SC_MD_GetRoomList message type.</summary>
  2158. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2159. public static partial class Types {
  2160. public sealed partial class RoomInfo : pb::IMessage<RoomInfo> {
  2161. private static readonly pb::MessageParser<RoomInfo> _parser = new pb::MessageParser<RoomInfo>(() => new RoomInfo());
  2162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2163. public static pb::MessageParser<RoomInfo> Parser { get { return _parser; } }
  2164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2165. public static pbr::MessageDescriptor Descriptor {
  2166. get { return global::MultiDup.SC_MD_GetRoomList.Descriptor.NestedTypes[0]; }
  2167. }
  2168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2169. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2170. get { return Descriptor; }
  2171. }
  2172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2173. public RoomInfo() {
  2174. OnConstruction();
  2175. }
  2176. partial void OnConstruction();
  2177. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2178. public RoomInfo(RoomInfo other) : this() {
  2179. roomId_ = other.roomId_;
  2180. mapid_ = other.mapid_;
  2181. playerUids_ = other.playerUids_.Clone();
  2182. battleserver_ = other.battleserver_;
  2183. battleServerPort_ = other.battleServerPort_;
  2184. }
  2185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2186. public RoomInfo Clone() {
  2187. return new RoomInfo(this);
  2188. }
  2189. /// <summary>Field number for the "RoomId" field.</summary>
  2190. public const int RoomIdFieldNumber = 1;
  2191. private int roomId_;
  2192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2193. public int RoomId {
  2194. get { return roomId_; }
  2195. set {
  2196. roomId_ = value;
  2197. }
  2198. }
  2199. /// <summary>Field number for the "Mapid" field.</summary>
  2200. public const int MapidFieldNumber = 2;
  2201. private int mapid_;
  2202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2203. public int Mapid {
  2204. get { return mapid_; }
  2205. set {
  2206. mapid_ = value;
  2207. }
  2208. }
  2209. /// <summary>Field number for the "PlayerUids" field.</summary>
  2210. public const int PlayerUidsFieldNumber = 3;
  2211. private static readonly pb::FieldCodec<string> _repeated_playerUids_codec
  2212. = pb::FieldCodec.ForString(26);
  2213. private readonly pbc::RepeatedField<string> playerUids_ = new pbc::RepeatedField<string>();
  2214. /// <summary>
  2215. ///??
  2216. /// </summary>
  2217. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2218. public pbc::RepeatedField<string> PlayerUids {
  2219. get { return playerUids_; }
  2220. }
  2221. /// <summary>Field number for the "Battleserver" field.</summary>
  2222. public const int BattleserverFieldNumber = 4;
  2223. private string battleserver_ = "";
  2224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2225. public string Battleserver {
  2226. get { return battleserver_; }
  2227. set {
  2228. battleserver_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2229. }
  2230. }
  2231. /// <summary>Field number for the "BattleServerPort" field.</summary>
  2232. public const int BattleServerPortFieldNumber = 5;
  2233. private int battleServerPort_;
  2234. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2235. public int BattleServerPort {
  2236. get { return battleServerPort_; }
  2237. set {
  2238. battleServerPort_ = value;
  2239. }
  2240. }
  2241. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2242. public override bool Equals(object other) {
  2243. return Equals(other as RoomInfo);
  2244. }
  2245. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2246. public bool Equals(RoomInfo other) {
  2247. if (ReferenceEquals(other, null)) {
  2248. return false;
  2249. }
  2250. if (ReferenceEquals(other, this)) {
  2251. return true;
  2252. }
  2253. if (RoomId != other.RoomId) return false;
  2254. if (Mapid != other.Mapid) return false;
  2255. if(!playerUids_.Equals(other.playerUids_)) return false;
  2256. if (Battleserver != other.Battleserver) return false;
  2257. if (BattleServerPort != other.BattleServerPort) return false;
  2258. return true;
  2259. }
  2260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2261. public override int GetHashCode() {
  2262. int hash = 1;
  2263. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  2264. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  2265. hash ^= playerUids_.GetHashCode();
  2266. if (Battleserver.Length != 0) hash ^= Battleserver.GetHashCode();
  2267. if (BattleServerPort != 0) hash ^= BattleServerPort.GetHashCode();
  2268. return hash;
  2269. }
  2270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2271. public override string ToString() {
  2272. return pb::JsonFormatter.ToDiagnosticString(this);
  2273. }
  2274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2275. public void WriteTo(pb::CodedOutputStream output) {
  2276. if (RoomId != 0) {
  2277. output.WriteRawTag(8);
  2278. output.WriteInt32(RoomId);
  2279. }
  2280. if (Mapid != 0) {
  2281. output.WriteRawTag(16);
  2282. output.WriteInt32(Mapid);
  2283. }
  2284. playerUids_.WriteTo(output, _repeated_playerUids_codec);
  2285. if (Battleserver.Length != 0) {
  2286. output.WriteRawTag(34);
  2287. output.WriteString(Battleserver);
  2288. }
  2289. if (BattleServerPort != 0) {
  2290. output.WriteRawTag(40);
  2291. output.WriteInt32(BattleServerPort);
  2292. }
  2293. }
  2294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2295. public int CalculateSize() {
  2296. int size = 0;
  2297. if (RoomId != 0) {
  2298. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  2299. }
  2300. if (Mapid != 0) {
  2301. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  2302. }
  2303. size += playerUids_.CalculateSize(_repeated_playerUids_codec);
  2304. if (Battleserver.Length != 0) {
  2305. size += 1 + pb::CodedOutputStream.ComputeStringSize(Battleserver);
  2306. }
  2307. if (BattleServerPort != 0) {
  2308. size += 1 + pb::CodedOutputStream.ComputeInt32Size(BattleServerPort);
  2309. }
  2310. return size;
  2311. }
  2312. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2313. public void MergeFrom(RoomInfo other) {
  2314. if (other == null) {
  2315. return;
  2316. }
  2317. if (other.RoomId != 0) {
  2318. RoomId = other.RoomId;
  2319. }
  2320. if (other.Mapid != 0) {
  2321. Mapid = other.Mapid;
  2322. }
  2323. playerUids_.Add(other.playerUids_);
  2324. if (other.Battleserver.Length != 0) {
  2325. Battleserver = other.Battleserver;
  2326. }
  2327. if (other.BattleServerPort != 0) {
  2328. BattleServerPort = other.BattleServerPort;
  2329. }
  2330. }
  2331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2332. public void MergeFrom(pb::CodedInputStream input) {
  2333. uint tag;
  2334. while ((tag = input.ReadTag()) != 0) {
  2335. switch(tag) {
  2336. default:
  2337. input.SkipLastField();
  2338. break;
  2339. case 8: {
  2340. RoomId = input.ReadInt32();
  2341. break;
  2342. }
  2343. case 16: {
  2344. Mapid = input.ReadInt32();
  2345. break;
  2346. }
  2347. case 26: {
  2348. playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
  2349. break;
  2350. }
  2351. case 34: {
  2352. Battleserver = input.ReadString();
  2353. break;
  2354. }
  2355. case 40: {
  2356. BattleServerPort = input.ReadInt32();
  2357. break;
  2358. }
  2359. }
  2360. }
  2361. }
  2362. }
  2363. }
  2364. #endregion
  2365. }
  2366. /// <summary>
  2367. /// 多人副本, 加入房间
  2368. /// </summary>
  2369. public sealed partial class SC_MD_EnterRoom : pb::IMessage<SC_MD_EnterRoom> {
  2370. private static readonly pb::MessageParser<SC_MD_EnterRoom> _parser = new pb::MessageParser<SC_MD_EnterRoom>(() => new SC_MD_EnterRoom());
  2371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2372. public static pb::MessageParser<SC_MD_EnterRoom> Parser { get { return _parser; } }
  2373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2374. public static pbr::MessageDescriptor Descriptor {
  2375. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[14]; }
  2376. }
  2377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2378. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2379. get { return Descriptor; }
  2380. }
  2381. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2382. public SC_MD_EnterRoom() {
  2383. OnConstruction();
  2384. }
  2385. partial void OnConstruction();
  2386. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2387. public SC_MD_EnterRoom(SC_MD_EnterRoom other) : this() {
  2388. zoneid_ = other.zoneid_;
  2389. uid_ = other.uid_;
  2390. mapid_ = other.mapid_;
  2391. ip_ = other.ip_;
  2392. port_ = other.port_;
  2393. playerUids_ = other.playerUids_.Clone();
  2394. }
  2395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2396. public SC_MD_EnterRoom Clone() {
  2397. return new SC_MD_EnterRoom(this);
  2398. }
  2399. /// <summary>Field number for the "Zoneid" field.</summary>
  2400. public const int ZoneidFieldNumber = 1;
  2401. private int zoneid_;
  2402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2403. public int Zoneid {
  2404. get { return zoneid_; }
  2405. set {
  2406. zoneid_ = value;
  2407. }
  2408. }
  2409. /// <summary>Field number for the "Uid" field.</summary>
  2410. public const int UidFieldNumber = 2;
  2411. private string uid_ = "";
  2412. /// <summary>
  2413. /// (新进id)
  2414. /// </summary>
  2415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2416. public string Uid {
  2417. get { return uid_; }
  2418. set {
  2419. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2420. }
  2421. }
  2422. /// <summary>Field number for the "Mapid" field.</summary>
  2423. public const int MapidFieldNumber = 3;
  2424. private int mapid_;
  2425. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2426. public int Mapid {
  2427. get { return mapid_; }
  2428. set {
  2429. mapid_ = value;
  2430. }
  2431. }
  2432. /// <summary>Field number for the "Ip" field.</summary>
  2433. public const int IpFieldNumber = 4;
  2434. private string ip_ = "";
  2435. /// <summary>
  2436. /// 战斗服务器ip
  2437. /// </summary>
  2438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2439. public string Ip {
  2440. get { return ip_; }
  2441. set {
  2442. ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2443. }
  2444. }
  2445. /// <summary>Field number for the "Port" field.</summary>
  2446. public const int PortFieldNumber = 5;
  2447. private int port_;
  2448. /// <summary>
  2449. /// 战斗服务器端口
  2450. /// </summary>
  2451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2452. public int Port {
  2453. get { return port_; }
  2454. set {
  2455. port_ = value;
  2456. }
  2457. }
  2458. /// <summary>Field number for the "PlayerUids" field.</summary>
  2459. public const int PlayerUidsFieldNumber = 6;
  2460. private static readonly pb::FieldCodec<string> _repeated_playerUids_codec
  2461. = pb::FieldCodec.ForString(50);
  2462. private readonly pbc::RepeatedField<string> playerUids_ = new pbc::RepeatedField<string>();
  2463. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2464. public pbc::RepeatedField<string> PlayerUids {
  2465. get { return playerUids_; }
  2466. }
  2467. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2468. public override bool Equals(object other) {
  2469. return Equals(other as SC_MD_EnterRoom);
  2470. }
  2471. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2472. public bool Equals(SC_MD_EnterRoom other) {
  2473. if (ReferenceEquals(other, null)) {
  2474. return false;
  2475. }
  2476. if (ReferenceEquals(other, this)) {
  2477. return true;
  2478. }
  2479. if (Zoneid != other.Zoneid) return false;
  2480. if (Uid != other.Uid) return false;
  2481. if (Mapid != other.Mapid) return false;
  2482. if (Ip != other.Ip) return false;
  2483. if (Port != other.Port) return false;
  2484. if(!playerUids_.Equals(other.playerUids_)) return false;
  2485. return true;
  2486. }
  2487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2488. public override int GetHashCode() {
  2489. int hash = 1;
  2490. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  2491. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  2492. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  2493. if (Ip.Length != 0) hash ^= Ip.GetHashCode();
  2494. if (Port != 0) hash ^= Port.GetHashCode();
  2495. hash ^= playerUids_.GetHashCode();
  2496. return hash;
  2497. }
  2498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2499. public override string ToString() {
  2500. return pb::JsonFormatter.ToDiagnosticString(this);
  2501. }
  2502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2503. public void WriteTo(pb::CodedOutputStream output) {
  2504. if (Zoneid != 0) {
  2505. output.WriteRawTag(8);
  2506. output.WriteInt32(Zoneid);
  2507. }
  2508. if (Uid.Length != 0) {
  2509. output.WriteRawTag(18);
  2510. output.WriteString(Uid);
  2511. }
  2512. if (Mapid != 0) {
  2513. output.WriteRawTag(24);
  2514. output.WriteInt32(Mapid);
  2515. }
  2516. if (Ip.Length != 0) {
  2517. output.WriteRawTag(34);
  2518. output.WriteString(Ip);
  2519. }
  2520. if (Port != 0) {
  2521. output.WriteRawTag(40);
  2522. output.WriteInt32(Port);
  2523. }
  2524. playerUids_.WriteTo(output, _repeated_playerUids_codec);
  2525. }
  2526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2527. public int CalculateSize() {
  2528. int size = 0;
  2529. if (Zoneid != 0) {
  2530. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  2531. }
  2532. if (Uid.Length != 0) {
  2533. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  2534. }
  2535. if (Mapid != 0) {
  2536. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  2537. }
  2538. if (Ip.Length != 0) {
  2539. size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip);
  2540. }
  2541. if (Port != 0) {
  2542. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port);
  2543. }
  2544. size += playerUids_.CalculateSize(_repeated_playerUids_codec);
  2545. return size;
  2546. }
  2547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2548. public void MergeFrom(SC_MD_EnterRoom other) {
  2549. if (other == null) {
  2550. return;
  2551. }
  2552. if (other.Zoneid != 0) {
  2553. Zoneid = other.Zoneid;
  2554. }
  2555. if (other.Uid.Length != 0) {
  2556. Uid = other.Uid;
  2557. }
  2558. if (other.Mapid != 0) {
  2559. Mapid = other.Mapid;
  2560. }
  2561. if (other.Ip.Length != 0) {
  2562. Ip = other.Ip;
  2563. }
  2564. if (other.Port != 0) {
  2565. Port = other.Port;
  2566. }
  2567. playerUids_.Add(other.playerUids_);
  2568. }
  2569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2570. public void MergeFrom(pb::CodedInputStream input) {
  2571. uint tag;
  2572. while ((tag = input.ReadTag()) != 0) {
  2573. switch(tag) {
  2574. default:
  2575. input.SkipLastField();
  2576. break;
  2577. case 8: {
  2578. Zoneid = input.ReadInt32();
  2579. break;
  2580. }
  2581. case 18: {
  2582. Uid = input.ReadString();
  2583. break;
  2584. }
  2585. case 24: {
  2586. Mapid = input.ReadInt32();
  2587. break;
  2588. }
  2589. case 34: {
  2590. Ip = input.ReadString();
  2591. break;
  2592. }
  2593. case 40: {
  2594. Port = input.ReadInt32();
  2595. break;
  2596. }
  2597. case 50: {
  2598. playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
  2599. break;
  2600. }
  2601. }
  2602. }
  2603. }
  2604. }
  2605. /// <summary>
  2606. /// 多人副本, 离开房间
  2607. /// </summary>
  2608. public sealed partial class SC_MD_LeaveRoom : pb::IMessage<SC_MD_LeaveRoom> {
  2609. private static readonly pb::MessageParser<SC_MD_LeaveRoom> _parser = new pb::MessageParser<SC_MD_LeaveRoom>(() => new SC_MD_LeaveRoom());
  2610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2611. public static pb::MessageParser<SC_MD_LeaveRoom> Parser { get { return _parser; } }
  2612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2613. public static pbr::MessageDescriptor Descriptor {
  2614. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[15]; }
  2615. }
  2616. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2617. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2618. get { return Descriptor; }
  2619. }
  2620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2621. public SC_MD_LeaveRoom() {
  2622. OnConstruction();
  2623. }
  2624. partial void OnConstruction();
  2625. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2626. public SC_MD_LeaveRoom(SC_MD_LeaveRoom other) : this() {
  2627. zoneid_ = other.zoneid_;
  2628. uid_ = other.uid_;
  2629. }
  2630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2631. public SC_MD_LeaveRoom Clone() {
  2632. return new SC_MD_LeaveRoom(this);
  2633. }
  2634. /// <summary>Field number for the "Zoneid" field.</summary>
  2635. public const int ZoneidFieldNumber = 1;
  2636. private int zoneid_;
  2637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2638. public int Zoneid {
  2639. get { return zoneid_; }
  2640. set {
  2641. zoneid_ = value;
  2642. }
  2643. }
  2644. /// <summary>Field number for the "Uid" field.</summary>
  2645. public const int UidFieldNumber = 2;
  2646. private string uid_ = "";
  2647. /// <summary>
  2648. /// (离开id)
  2649. /// </summary>
  2650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2651. public string Uid {
  2652. get { return uid_; }
  2653. set {
  2654. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2655. }
  2656. }
  2657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2658. public override bool Equals(object other) {
  2659. return Equals(other as SC_MD_LeaveRoom);
  2660. }
  2661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2662. public bool Equals(SC_MD_LeaveRoom other) {
  2663. if (ReferenceEquals(other, null)) {
  2664. return false;
  2665. }
  2666. if (ReferenceEquals(other, this)) {
  2667. return true;
  2668. }
  2669. if (Zoneid != other.Zoneid) return false;
  2670. if (Uid != other.Uid) return false;
  2671. return true;
  2672. }
  2673. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2674. public override int GetHashCode() {
  2675. int hash = 1;
  2676. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  2677. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  2678. return hash;
  2679. }
  2680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2681. public override string ToString() {
  2682. return pb::JsonFormatter.ToDiagnosticString(this);
  2683. }
  2684. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2685. public void WriteTo(pb::CodedOutputStream output) {
  2686. if (Zoneid != 0) {
  2687. output.WriteRawTag(8);
  2688. output.WriteInt32(Zoneid);
  2689. }
  2690. if (Uid.Length != 0) {
  2691. output.WriteRawTag(18);
  2692. output.WriteString(Uid);
  2693. }
  2694. }
  2695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2696. public int CalculateSize() {
  2697. int size = 0;
  2698. if (Zoneid != 0) {
  2699. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  2700. }
  2701. if (Uid.Length != 0) {
  2702. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  2703. }
  2704. return size;
  2705. }
  2706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2707. public void MergeFrom(SC_MD_LeaveRoom other) {
  2708. if (other == null) {
  2709. return;
  2710. }
  2711. if (other.Zoneid != 0) {
  2712. Zoneid = other.Zoneid;
  2713. }
  2714. if (other.Uid.Length != 0) {
  2715. Uid = other.Uid;
  2716. }
  2717. }
  2718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2719. public void MergeFrom(pb::CodedInputStream input) {
  2720. uint tag;
  2721. while ((tag = input.ReadTag()) != 0) {
  2722. switch(tag) {
  2723. default:
  2724. input.SkipLastField();
  2725. break;
  2726. case 8: {
  2727. Zoneid = input.ReadInt32();
  2728. break;
  2729. }
  2730. case 18: {
  2731. Uid = input.ReadString();
  2732. break;
  2733. }
  2734. }
  2735. }
  2736. }
  2737. }
  2738. /// <summary>
  2739. /// 多人副本, 开始游戏(创建者)
  2740. /// </summary>
  2741. public sealed partial class SC_MD_BeginDup : pb::IMessage<SC_MD_BeginDup> {
  2742. private static readonly pb::MessageParser<SC_MD_BeginDup> _parser = new pb::MessageParser<SC_MD_BeginDup>(() => new SC_MD_BeginDup());
  2743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2744. public static pb::MessageParser<SC_MD_BeginDup> Parser { get { return _parser; } }
  2745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2746. public static pbr::MessageDescriptor Descriptor {
  2747. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[16]; }
  2748. }
  2749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2750. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2751. get { return Descriptor; }
  2752. }
  2753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2754. public SC_MD_BeginDup() {
  2755. OnConstruction();
  2756. }
  2757. partial void OnConstruction();
  2758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2759. public SC_MD_BeginDup(SC_MD_BeginDup other) : this() {
  2760. battleserver_ = other.battleserver_;
  2761. battleServerPort_ = other.battleServerPort_;
  2762. mapid_ = other.mapid_;
  2763. }
  2764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2765. public SC_MD_BeginDup Clone() {
  2766. return new SC_MD_BeginDup(this);
  2767. }
  2768. /// <summary>Field number for the "Battleserver" field.</summary>
  2769. public const int BattleserverFieldNumber = 1;
  2770. private string battleserver_ = "";
  2771. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2772. public string Battleserver {
  2773. get { return battleserver_; }
  2774. set {
  2775. battleserver_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2776. }
  2777. }
  2778. /// <summary>Field number for the "BattleServerPort" field.</summary>
  2779. public const int BattleServerPortFieldNumber = 2;
  2780. private int battleServerPort_;
  2781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2782. public int BattleServerPort {
  2783. get { return battleServerPort_; }
  2784. set {
  2785. battleServerPort_ = value;
  2786. }
  2787. }
  2788. /// <summary>Field number for the "Mapid" field.</summary>
  2789. public const int MapidFieldNumber = 3;
  2790. private int mapid_;
  2791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2792. public int Mapid {
  2793. get { return mapid_; }
  2794. set {
  2795. mapid_ = value;
  2796. }
  2797. }
  2798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2799. public override bool Equals(object other) {
  2800. return Equals(other as SC_MD_BeginDup);
  2801. }
  2802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2803. public bool Equals(SC_MD_BeginDup other) {
  2804. if (ReferenceEquals(other, null)) {
  2805. return false;
  2806. }
  2807. if (ReferenceEquals(other, this)) {
  2808. return true;
  2809. }
  2810. if (Battleserver != other.Battleserver) return false;
  2811. if (BattleServerPort != other.BattleServerPort) return false;
  2812. if (Mapid != other.Mapid) return false;
  2813. return true;
  2814. }
  2815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2816. public override int GetHashCode() {
  2817. int hash = 1;
  2818. if (Battleserver.Length != 0) hash ^= Battleserver.GetHashCode();
  2819. if (BattleServerPort != 0) hash ^= BattleServerPort.GetHashCode();
  2820. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  2821. return hash;
  2822. }
  2823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2824. public override string ToString() {
  2825. return pb::JsonFormatter.ToDiagnosticString(this);
  2826. }
  2827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2828. public void WriteTo(pb::CodedOutputStream output) {
  2829. if (Battleserver.Length != 0) {
  2830. output.WriteRawTag(10);
  2831. output.WriteString(Battleserver);
  2832. }
  2833. if (BattleServerPort != 0) {
  2834. output.WriteRawTag(16);
  2835. output.WriteInt32(BattleServerPort);
  2836. }
  2837. if (Mapid != 0) {
  2838. output.WriteRawTag(24);
  2839. output.WriteInt32(Mapid);
  2840. }
  2841. }
  2842. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2843. public int CalculateSize() {
  2844. int size = 0;
  2845. if (Battleserver.Length != 0) {
  2846. size += 1 + pb::CodedOutputStream.ComputeStringSize(Battleserver);
  2847. }
  2848. if (BattleServerPort != 0) {
  2849. size += 1 + pb::CodedOutputStream.ComputeInt32Size(BattleServerPort);
  2850. }
  2851. if (Mapid != 0) {
  2852. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  2853. }
  2854. return size;
  2855. }
  2856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2857. public void MergeFrom(SC_MD_BeginDup other) {
  2858. if (other == null) {
  2859. return;
  2860. }
  2861. if (other.Battleserver.Length != 0) {
  2862. Battleserver = other.Battleserver;
  2863. }
  2864. if (other.BattleServerPort != 0) {
  2865. BattleServerPort = other.BattleServerPort;
  2866. }
  2867. if (other.Mapid != 0) {
  2868. Mapid = other.Mapid;
  2869. }
  2870. }
  2871. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2872. public void MergeFrom(pb::CodedInputStream input) {
  2873. uint tag;
  2874. while ((tag = input.ReadTag()) != 0) {
  2875. switch(tag) {
  2876. default:
  2877. input.SkipLastField();
  2878. break;
  2879. case 10: {
  2880. Battleserver = input.ReadString();
  2881. break;
  2882. }
  2883. case 16: {
  2884. BattleServerPort = input.ReadInt32();
  2885. break;
  2886. }
  2887. case 24: {
  2888. Mapid = input.ReadInt32();
  2889. break;
  2890. }
  2891. }
  2892. }
  2893. }
  2894. }
  2895. public sealed partial class SC_BT_Login : pb::IMessage<SC_BT_Login> {
  2896. private static readonly pb::MessageParser<SC_BT_Login> _parser = new pb::MessageParser<SC_BT_Login>(() => new SC_BT_Login());
  2897. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2898. public static pb::MessageParser<SC_BT_Login> Parser { get { return _parser; } }
  2899. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2900. public static pbr::MessageDescriptor Descriptor {
  2901. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[17]; }
  2902. }
  2903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2904. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2905. get { return Descriptor; }
  2906. }
  2907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2908. public SC_BT_Login() {
  2909. OnConstruction();
  2910. }
  2911. partial void OnConstruction();
  2912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2913. public SC_BT_Login(SC_BT_Login other) : this() {
  2914. zoneid_ = other.zoneid_;
  2915. uid_ = other.uid_;
  2916. msg_ = other.msg_;
  2917. }
  2918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2919. public SC_BT_Login Clone() {
  2920. return new SC_BT_Login(this);
  2921. }
  2922. /// <summary>Field number for the "Zoneid" field.</summary>
  2923. public const int ZoneidFieldNumber = 1;
  2924. private int zoneid_;
  2925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2926. public int Zoneid {
  2927. get { return zoneid_; }
  2928. set {
  2929. zoneid_ = value;
  2930. }
  2931. }
  2932. /// <summary>Field number for the "Uid" field.</summary>
  2933. public const int UidFieldNumber = 2;
  2934. private string uid_ = "";
  2935. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2936. public string Uid {
  2937. get { return uid_; }
  2938. set {
  2939. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2940. }
  2941. }
  2942. /// <summary>Field number for the "Msg" field.</summary>
  2943. public const int MsgFieldNumber = 3;
  2944. private string msg_ = "";
  2945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2946. public string Msg {
  2947. get { return msg_; }
  2948. set {
  2949. msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2950. }
  2951. }
  2952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2953. public override bool Equals(object other) {
  2954. return Equals(other as SC_BT_Login);
  2955. }
  2956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2957. public bool Equals(SC_BT_Login other) {
  2958. if (ReferenceEquals(other, null)) {
  2959. return false;
  2960. }
  2961. if (ReferenceEquals(other, this)) {
  2962. return true;
  2963. }
  2964. if (Zoneid != other.Zoneid) return false;
  2965. if (Uid != other.Uid) return false;
  2966. if (Msg != other.Msg) return false;
  2967. return true;
  2968. }
  2969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2970. public override int GetHashCode() {
  2971. int hash = 1;
  2972. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  2973. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  2974. if (Msg.Length != 0) hash ^= Msg.GetHashCode();
  2975. return hash;
  2976. }
  2977. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2978. public override string ToString() {
  2979. return pb::JsonFormatter.ToDiagnosticString(this);
  2980. }
  2981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2982. public void WriteTo(pb::CodedOutputStream output) {
  2983. if (Zoneid != 0) {
  2984. output.WriteRawTag(8);
  2985. output.WriteInt32(Zoneid);
  2986. }
  2987. if (Uid.Length != 0) {
  2988. output.WriteRawTag(18);
  2989. output.WriteString(Uid);
  2990. }
  2991. if (Msg.Length != 0) {
  2992. output.WriteRawTag(26);
  2993. output.WriteString(Msg);
  2994. }
  2995. }
  2996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2997. public int CalculateSize() {
  2998. int size = 0;
  2999. if (Zoneid != 0) {
  3000. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  3001. }
  3002. if (Uid.Length != 0) {
  3003. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  3004. }
  3005. if (Msg.Length != 0) {
  3006. size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
  3007. }
  3008. return size;
  3009. }
  3010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3011. public void MergeFrom(SC_BT_Login other) {
  3012. if (other == null) {
  3013. return;
  3014. }
  3015. if (other.Zoneid != 0) {
  3016. Zoneid = other.Zoneid;
  3017. }
  3018. if (other.Uid.Length != 0) {
  3019. Uid = other.Uid;
  3020. }
  3021. if (other.Msg.Length != 0) {
  3022. Msg = other.Msg;
  3023. }
  3024. }
  3025. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3026. public void MergeFrom(pb::CodedInputStream input) {
  3027. uint tag;
  3028. while ((tag = input.ReadTag()) != 0) {
  3029. switch(tag) {
  3030. default:
  3031. input.SkipLastField();
  3032. break;
  3033. case 8: {
  3034. Zoneid = input.ReadInt32();
  3035. break;
  3036. }
  3037. case 18: {
  3038. Uid = input.ReadString();
  3039. break;
  3040. }
  3041. case 26: {
  3042. Msg = input.ReadString();
  3043. break;
  3044. }
  3045. }
  3046. }
  3047. }
  3048. }
  3049. /// <summary>
  3050. /// 战斗服务 同步状态
  3051. /// </summary>
  3052. public sealed partial class SC_BT_Status : pb::IMessage<SC_BT_Status> {
  3053. private static readonly pb::MessageParser<SC_BT_Status> _parser = new pb::MessageParser<SC_BT_Status>(() => new SC_BT_Status());
  3054. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3055. public static pb::MessageParser<SC_BT_Status> Parser { get { return _parser; } }
  3056. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3057. public static pbr::MessageDescriptor Descriptor {
  3058. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[18]; }
  3059. }
  3060. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3061. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3062. get { return Descriptor; }
  3063. }
  3064. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3065. public SC_BT_Status() {
  3066. OnConstruction();
  3067. }
  3068. partial void OnConstruction();
  3069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3070. public SC_BT_Status(SC_BT_Status other) : this() {
  3071. zoneid_ = other.zoneid_;
  3072. senderUid_ = other.senderUid_;
  3073. propertyName_ = other.propertyName_;
  3074. value_ = other.value_;
  3075. }
  3076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3077. public SC_BT_Status Clone() {
  3078. return new SC_BT_Status(this);
  3079. }
  3080. /// <summary>Field number for the "Zoneid" field.</summary>
  3081. public const int ZoneidFieldNumber = 1;
  3082. private int zoneid_;
  3083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3084. public int Zoneid {
  3085. get { return zoneid_; }
  3086. set {
  3087. zoneid_ = value;
  3088. }
  3089. }
  3090. /// <summary>Field number for the "SenderUid" field.</summary>
  3091. public const int SenderUidFieldNumber = 2;
  3092. private string senderUid_ = "";
  3093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3094. public string SenderUid {
  3095. get { return senderUid_; }
  3096. set {
  3097. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3098. }
  3099. }
  3100. /// <summary>Field number for the "PropertyName" field.</summary>
  3101. public const int PropertyNameFieldNumber = 3;
  3102. private string propertyName_ = "";
  3103. /// <summary>
  3104. /// 属性名称
  3105. /// </summary>
  3106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3107. public string PropertyName {
  3108. get { return propertyName_; }
  3109. set {
  3110. propertyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3111. }
  3112. }
  3113. /// <summary>Field number for the "Value" field.</summary>
  3114. public const int ValueFieldNumber = 4;
  3115. private string value_ = "";
  3116. /// <summary>
  3117. /// 属性值
  3118. /// </summary>
  3119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3120. public string Value {
  3121. get { return value_; }
  3122. set {
  3123. value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3124. }
  3125. }
  3126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3127. public override bool Equals(object other) {
  3128. return Equals(other as SC_BT_Status);
  3129. }
  3130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3131. public bool Equals(SC_BT_Status other) {
  3132. if (ReferenceEquals(other, null)) {
  3133. return false;
  3134. }
  3135. if (ReferenceEquals(other, this)) {
  3136. return true;
  3137. }
  3138. if (Zoneid != other.Zoneid) return false;
  3139. if (SenderUid != other.SenderUid) return false;
  3140. if (PropertyName != other.PropertyName) return false;
  3141. if (Value != other.Value) return false;
  3142. return true;
  3143. }
  3144. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3145. public override int GetHashCode() {
  3146. int hash = 1;
  3147. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  3148. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  3149. if (PropertyName.Length != 0) hash ^= PropertyName.GetHashCode();
  3150. if (Value.Length != 0) hash ^= Value.GetHashCode();
  3151. return hash;
  3152. }
  3153. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3154. public override string ToString() {
  3155. return pb::JsonFormatter.ToDiagnosticString(this);
  3156. }
  3157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3158. public void WriteTo(pb::CodedOutputStream output) {
  3159. if (Zoneid != 0) {
  3160. output.WriteRawTag(8);
  3161. output.WriteInt32(Zoneid);
  3162. }
  3163. if (SenderUid.Length != 0) {
  3164. output.WriteRawTag(18);
  3165. output.WriteString(SenderUid);
  3166. }
  3167. if (PropertyName.Length != 0) {
  3168. output.WriteRawTag(26);
  3169. output.WriteString(PropertyName);
  3170. }
  3171. if (Value.Length != 0) {
  3172. output.WriteRawTag(34);
  3173. output.WriteString(Value);
  3174. }
  3175. }
  3176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3177. public int CalculateSize() {
  3178. int size = 0;
  3179. if (Zoneid != 0) {
  3180. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  3181. }
  3182. if (SenderUid.Length != 0) {
  3183. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  3184. }
  3185. if (PropertyName.Length != 0) {
  3186. size += 1 + pb::CodedOutputStream.ComputeStringSize(PropertyName);
  3187. }
  3188. if (Value.Length != 0) {
  3189. size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
  3190. }
  3191. return size;
  3192. }
  3193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3194. public void MergeFrom(SC_BT_Status other) {
  3195. if (other == null) {
  3196. return;
  3197. }
  3198. if (other.Zoneid != 0) {
  3199. Zoneid = other.Zoneid;
  3200. }
  3201. if (other.SenderUid.Length != 0) {
  3202. SenderUid = other.SenderUid;
  3203. }
  3204. if (other.PropertyName.Length != 0) {
  3205. PropertyName = other.PropertyName;
  3206. }
  3207. if (other.Value.Length != 0) {
  3208. Value = other.Value;
  3209. }
  3210. }
  3211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3212. public void MergeFrom(pb::CodedInputStream input) {
  3213. uint tag;
  3214. while ((tag = input.ReadTag()) != 0) {
  3215. switch(tag) {
  3216. default:
  3217. input.SkipLastField();
  3218. break;
  3219. case 8: {
  3220. Zoneid = input.ReadInt32();
  3221. break;
  3222. }
  3223. case 18: {
  3224. SenderUid = input.ReadString();
  3225. break;
  3226. }
  3227. case 26: {
  3228. PropertyName = input.ReadString();
  3229. break;
  3230. }
  3231. case 34: {
  3232. Value = input.ReadString();
  3233. break;
  3234. }
  3235. }
  3236. }
  3237. }
  3238. }
  3239. /// <summary>
  3240. /// 战斗服务 同步位置
  3241. /// </summary>
  3242. public sealed partial class SC_BT_Position : pb::IMessage<SC_BT_Position> {
  3243. private static readonly pb::MessageParser<SC_BT_Position> _parser = new pb::MessageParser<SC_BT_Position>(() => new SC_BT_Position());
  3244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3245. public static pb::MessageParser<SC_BT_Position> Parser { get { return _parser; } }
  3246. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3247. public static pbr::MessageDescriptor Descriptor {
  3248. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[19]; }
  3249. }
  3250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3251. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3252. get { return Descriptor; }
  3253. }
  3254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3255. public SC_BT_Position() {
  3256. OnConstruction();
  3257. }
  3258. partial void OnConstruction();
  3259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3260. public SC_BT_Position(SC_BT_Position other) : this() {
  3261. zoneid_ = other.zoneid_;
  3262. senderUid_ = other.senderUid_;
  3263. x_ = other.x_;
  3264. y_ = other.y_;
  3265. z_ = other.z_;
  3266. }
  3267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3268. public SC_BT_Position Clone() {
  3269. return new SC_BT_Position(this);
  3270. }
  3271. /// <summary>Field number for the "Zoneid" field.</summary>
  3272. public const int ZoneidFieldNumber = 1;
  3273. private int zoneid_;
  3274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3275. public int Zoneid {
  3276. get { return zoneid_; }
  3277. set {
  3278. zoneid_ = value;
  3279. }
  3280. }
  3281. /// <summary>Field number for the "SenderUid" field.</summary>
  3282. public const int SenderUidFieldNumber = 2;
  3283. private string senderUid_ = "";
  3284. /// <summary>
  3285. /// 发送者uid
  3286. /// </summary>
  3287. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3288. public string SenderUid {
  3289. get { return senderUid_; }
  3290. set {
  3291. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3292. }
  3293. }
  3294. /// <summary>Field number for the "X" field.</summary>
  3295. public const int XFieldNumber = 3;
  3296. private float x_;
  3297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3298. public float X {
  3299. get { return x_; }
  3300. set {
  3301. x_ = value;
  3302. }
  3303. }
  3304. /// <summary>Field number for the "Y" field.</summary>
  3305. public const int YFieldNumber = 4;
  3306. private float y_;
  3307. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3308. public float Y {
  3309. get { return y_; }
  3310. set {
  3311. y_ = value;
  3312. }
  3313. }
  3314. /// <summary>Field number for the "Z" field.</summary>
  3315. public const int ZFieldNumber = 5;
  3316. private float z_;
  3317. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3318. public float Z {
  3319. get { return z_; }
  3320. set {
  3321. z_ = value;
  3322. }
  3323. }
  3324. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3325. public override bool Equals(object other) {
  3326. return Equals(other as SC_BT_Position);
  3327. }
  3328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3329. public bool Equals(SC_BT_Position other) {
  3330. if (ReferenceEquals(other, null)) {
  3331. return false;
  3332. }
  3333. if (ReferenceEquals(other, this)) {
  3334. return true;
  3335. }
  3336. if (Zoneid != other.Zoneid) return false;
  3337. if (SenderUid != other.SenderUid) return false;
  3338. if (X != other.X) return false;
  3339. if (Y != other.Y) return false;
  3340. if (Z != other.Z) return false;
  3341. return true;
  3342. }
  3343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3344. public override int GetHashCode() {
  3345. int hash = 1;
  3346. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  3347. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  3348. if (X != 0F) hash ^= X.GetHashCode();
  3349. if (Y != 0F) hash ^= Y.GetHashCode();
  3350. if (Z != 0F) hash ^= Z.GetHashCode();
  3351. return hash;
  3352. }
  3353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3354. public override string ToString() {
  3355. return pb::JsonFormatter.ToDiagnosticString(this);
  3356. }
  3357. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3358. public void WriteTo(pb::CodedOutputStream output) {
  3359. if (Zoneid != 0) {
  3360. output.WriteRawTag(8);
  3361. output.WriteInt32(Zoneid);
  3362. }
  3363. if (SenderUid.Length != 0) {
  3364. output.WriteRawTag(18);
  3365. output.WriteString(SenderUid);
  3366. }
  3367. if (X != 0F) {
  3368. output.WriteRawTag(29);
  3369. output.WriteFloat(X);
  3370. }
  3371. if (Y != 0F) {
  3372. output.WriteRawTag(37);
  3373. output.WriteFloat(Y);
  3374. }
  3375. if (Z != 0F) {
  3376. output.WriteRawTag(45);
  3377. output.WriteFloat(Z);
  3378. }
  3379. }
  3380. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3381. public int CalculateSize() {
  3382. int size = 0;
  3383. if (Zoneid != 0) {
  3384. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  3385. }
  3386. if (SenderUid.Length != 0) {
  3387. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  3388. }
  3389. if (X != 0F) {
  3390. size += 1 + 4;
  3391. }
  3392. if (Y != 0F) {
  3393. size += 1 + 4;
  3394. }
  3395. if (Z != 0F) {
  3396. size += 1 + 4;
  3397. }
  3398. return size;
  3399. }
  3400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3401. public void MergeFrom(SC_BT_Position other) {
  3402. if (other == null) {
  3403. return;
  3404. }
  3405. if (other.Zoneid != 0) {
  3406. Zoneid = other.Zoneid;
  3407. }
  3408. if (other.SenderUid.Length != 0) {
  3409. SenderUid = other.SenderUid;
  3410. }
  3411. if (other.X != 0F) {
  3412. X = other.X;
  3413. }
  3414. if (other.Y != 0F) {
  3415. Y = other.Y;
  3416. }
  3417. if (other.Z != 0F) {
  3418. Z = other.Z;
  3419. }
  3420. }
  3421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3422. public void MergeFrom(pb::CodedInputStream input) {
  3423. uint tag;
  3424. while ((tag = input.ReadTag()) != 0) {
  3425. switch(tag) {
  3426. default:
  3427. input.SkipLastField();
  3428. break;
  3429. case 8: {
  3430. Zoneid = input.ReadInt32();
  3431. break;
  3432. }
  3433. case 18: {
  3434. SenderUid = input.ReadString();
  3435. break;
  3436. }
  3437. case 29: {
  3438. X = input.ReadFloat();
  3439. break;
  3440. }
  3441. case 37: {
  3442. Y = input.ReadFloat();
  3443. break;
  3444. }
  3445. case 45: {
  3446. Z = input.ReadFloat();
  3447. break;
  3448. }
  3449. }
  3450. }
  3451. }
  3452. }
  3453. /// <summary>
  3454. /// 战斗服务 广播
  3455. /// </summary>
  3456. public sealed partial class SC_BT_BroadCast : pb::IMessage<SC_BT_BroadCast> {
  3457. private static readonly pb::MessageParser<SC_BT_BroadCast> _parser = new pb::MessageParser<SC_BT_BroadCast>(() => new SC_BT_BroadCast());
  3458. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3459. public static pb::MessageParser<SC_BT_BroadCast> Parser { get { return _parser; } }
  3460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3461. public static pbr::MessageDescriptor Descriptor {
  3462. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[20]; }
  3463. }
  3464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3465. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3466. get { return Descriptor; }
  3467. }
  3468. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3469. public SC_BT_BroadCast() {
  3470. OnConstruction();
  3471. }
  3472. partial void OnConstruction();
  3473. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3474. public SC_BT_BroadCast(SC_BT_BroadCast other) : this() {
  3475. zoneid_ = other.zoneid_;
  3476. senderUid_ = other.senderUid_;
  3477. msg_ = other.msg_;
  3478. }
  3479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3480. public SC_BT_BroadCast Clone() {
  3481. return new SC_BT_BroadCast(this);
  3482. }
  3483. /// <summary>Field number for the "Zoneid" field.</summary>
  3484. public const int ZoneidFieldNumber = 1;
  3485. private int zoneid_;
  3486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3487. public int Zoneid {
  3488. get { return zoneid_; }
  3489. set {
  3490. zoneid_ = value;
  3491. }
  3492. }
  3493. /// <summary>Field number for the "SenderUid" field.</summary>
  3494. public const int SenderUidFieldNumber = 2;
  3495. private string senderUid_ = "";
  3496. /// <summary>
  3497. /// 发送者uid
  3498. /// </summary>
  3499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3500. public string SenderUid {
  3501. get { return senderUid_; }
  3502. set {
  3503. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3504. }
  3505. }
  3506. /// <summary>Field number for the "Msg" field.</summary>
  3507. public const int MsgFieldNumber = 3;
  3508. private string msg_ = "";
  3509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3510. public string Msg {
  3511. get { return msg_; }
  3512. set {
  3513. msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3514. }
  3515. }
  3516. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3517. public override bool Equals(object other) {
  3518. return Equals(other as SC_BT_BroadCast);
  3519. }
  3520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3521. public bool Equals(SC_BT_BroadCast other) {
  3522. if (ReferenceEquals(other, null)) {
  3523. return false;
  3524. }
  3525. if (ReferenceEquals(other, this)) {
  3526. return true;
  3527. }
  3528. if (Zoneid != other.Zoneid) return false;
  3529. if (SenderUid != other.SenderUid) return false;
  3530. if (Msg != other.Msg) return false;
  3531. return true;
  3532. }
  3533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3534. public override int GetHashCode() {
  3535. int hash = 1;
  3536. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  3537. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  3538. if (Msg.Length != 0) hash ^= Msg.GetHashCode();
  3539. return hash;
  3540. }
  3541. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3542. public override string ToString() {
  3543. return pb::JsonFormatter.ToDiagnosticString(this);
  3544. }
  3545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3546. public void WriteTo(pb::CodedOutputStream output) {
  3547. if (Zoneid != 0) {
  3548. output.WriteRawTag(8);
  3549. output.WriteInt32(Zoneid);
  3550. }
  3551. if (SenderUid.Length != 0) {
  3552. output.WriteRawTag(18);
  3553. output.WriteString(SenderUid);
  3554. }
  3555. if (Msg.Length != 0) {
  3556. output.WriteRawTag(26);
  3557. output.WriteString(Msg);
  3558. }
  3559. }
  3560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3561. public int CalculateSize() {
  3562. int size = 0;
  3563. if (Zoneid != 0) {
  3564. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  3565. }
  3566. if (SenderUid.Length != 0) {
  3567. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  3568. }
  3569. if (Msg.Length != 0) {
  3570. size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
  3571. }
  3572. return size;
  3573. }
  3574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3575. public void MergeFrom(SC_BT_BroadCast other) {
  3576. if (other == null) {
  3577. return;
  3578. }
  3579. if (other.Zoneid != 0) {
  3580. Zoneid = other.Zoneid;
  3581. }
  3582. if (other.SenderUid.Length != 0) {
  3583. SenderUid = other.SenderUid;
  3584. }
  3585. if (other.Msg.Length != 0) {
  3586. Msg = other.Msg;
  3587. }
  3588. }
  3589. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3590. public void MergeFrom(pb::CodedInputStream input) {
  3591. uint tag;
  3592. while ((tag = input.ReadTag()) != 0) {
  3593. switch(tag) {
  3594. default:
  3595. input.SkipLastField();
  3596. break;
  3597. case 8: {
  3598. Zoneid = input.ReadInt32();
  3599. break;
  3600. }
  3601. case 18: {
  3602. SenderUid = input.ReadString();
  3603. break;
  3604. }
  3605. case 26: {
  3606. Msg = input.ReadString();
  3607. break;
  3608. }
  3609. }
  3610. }
  3611. }
  3612. }
  3613. /// <summary>
  3614. /// 战斗服务,结束
  3615. /// </summary>
  3616. public sealed partial class SC_BT_Over : pb::IMessage<SC_BT_Over> {
  3617. private static readonly pb::MessageParser<SC_BT_Over> _parser = new pb::MessageParser<SC_BT_Over>(() => new SC_BT_Over());
  3618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3619. public static pb::MessageParser<SC_BT_Over> Parser { get { return _parser; } }
  3620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3621. public static pbr::MessageDescriptor Descriptor {
  3622. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[21]; }
  3623. }
  3624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3625. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3626. get { return Descriptor; }
  3627. }
  3628. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3629. public SC_BT_Over() {
  3630. OnConstruction();
  3631. }
  3632. partial void OnConstruction();
  3633. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3634. public SC_BT_Over(SC_BT_Over other) : this() {
  3635. zoneid_ = other.zoneid_;
  3636. senderUid_ = other.senderUid_;
  3637. msg_ = other.msg_;
  3638. }
  3639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3640. public SC_BT_Over Clone() {
  3641. return new SC_BT_Over(this);
  3642. }
  3643. /// <summary>Field number for the "Zoneid" field.</summary>
  3644. public const int ZoneidFieldNumber = 1;
  3645. private int zoneid_;
  3646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3647. public int Zoneid {
  3648. get { return zoneid_; }
  3649. set {
  3650. zoneid_ = value;
  3651. }
  3652. }
  3653. /// <summary>Field number for the "SenderUid" field.</summary>
  3654. public const int SenderUidFieldNumber = 2;
  3655. private string senderUid_ = "";
  3656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3657. public string SenderUid {
  3658. get { return senderUid_; }
  3659. set {
  3660. senderUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3661. }
  3662. }
  3663. /// <summary>Field number for the "Msg" field.</summary>
  3664. public const int MsgFieldNumber = 3;
  3665. private string msg_ = "";
  3666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3667. public string Msg {
  3668. get { return msg_; }
  3669. set {
  3670. msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3671. }
  3672. }
  3673. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3674. public override bool Equals(object other) {
  3675. return Equals(other as SC_BT_Over);
  3676. }
  3677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3678. public bool Equals(SC_BT_Over other) {
  3679. if (ReferenceEquals(other, null)) {
  3680. return false;
  3681. }
  3682. if (ReferenceEquals(other, this)) {
  3683. return true;
  3684. }
  3685. if (Zoneid != other.Zoneid) return false;
  3686. if (SenderUid != other.SenderUid) return false;
  3687. if (Msg != other.Msg) return false;
  3688. return true;
  3689. }
  3690. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3691. public override int GetHashCode() {
  3692. int hash = 1;
  3693. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  3694. if (SenderUid.Length != 0) hash ^= SenderUid.GetHashCode();
  3695. if (Msg.Length != 0) hash ^= Msg.GetHashCode();
  3696. return hash;
  3697. }
  3698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3699. public override string ToString() {
  3700. return pb::JsonFormatter.ToDiagnosticString(this);
  3701. }
  3702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3703. public void WriteTo(pb::CodedOutputStream output) {
  3704. if (Zoneid != 0) {
  3705. output.WriteRawTag(8);
  3706. output.WriteInt32(Zoneid);
  3707. }
  3708. if (SenderUid.Length != 0) {
  3709. output.WriteRawTag(18);
  3710. output.WriteString(SenderUid);
  3711. }
  3712. if (Msg.Length != 0) {
  3713. output.WriteRawTag(26);
  3714. output.WriteString(Msg);
  3715. }
  3716. }
  3717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3718. public int CalculateSize() {
  3719. int size = 0;
  3720. if (Zoneid != 0) {
  3721. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  3722. }
  3723. if (SenderUid.Length != 0) {
  3724. size += 1 + pb::CodedOutputStream.ComputeStringSize(SenderUid);
  3725. }
  3726. if (Msg.Length != 0) {
  3727. size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
  3728. }
  3729. return size;
  3730. }
  3731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3732. public void MergeFrom(SC_BT_Over other) {
  3733. if (other == null) {
  3734. return;
  3735. }
  3736. if (other.Zoneid != 0) {
  3737. Zoneid = other.Zoneid;
  3738. }
  3739. if (other.SenderUid.Length != 0) {
  3740. SenderUid = other.SenderUid;
  3741. }
  3742. if (other.Msg.Length != 0) {
  3743. Msg = other.Msg;
  3744. }
  3745. }
  3746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3747. public void MergeFrom(pb::CodedInputStream input) {
  3748. uint tag;
  3749. while ((tag = input.ReadTag()) != 0) {
  3750. switch(tag) {
  3751. default:
  3752. input.SkipLastField();
  3753. break;
  3754. case 8: {
  3755. Zoneid = input.ReadInt32();
  3756. break;
  3757. }
  3758. case 18: {
  3759. SenderUid = input.ReadString();
  3760. break;
  3761. }
  3762. case 26: {
  3763. Msg = input.ReadString();
  3764. break;
  3765. }
  3766. }
  3767. }
  3768. }
  3769. }
  3770. /// <summary>
  3771. /// 多人副本在战斗服创建房间
  3772. /// </summary>
  3773. public sealed partial class SS_CreateBattleServer : pb::IMessage<SS_CreateBattleServer> {
  3774. private static readonly pb::MessageParser<SS_CreateBattleServer> _parser = new pb::MessageParser<SS_CreateBattleServer>(() => new SS_CreateBattleServer());
  3775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3776. public static pb::MessageParser<SS_CreateBattleServer> Parser { get { return _parser; } }
  3777. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3778. public static pbr::MessageDescriptor Descriptor {
  3779. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[22]; }
  3780. }
  3781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3782. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3783. get { return Descriptor; }
  3784. }
  3785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3786. public SS_CreateBattleServer() {
  3787. OnConstruction();
  3788. }
  3789. partial void OnConstruction();
  3790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3791. public SS_CreateBattleServer(SS_CreateBattleServer other) : this() {
  3792. roomId_ = other.roomId_;
  3793. playerUids_ = other.playerUids_.Clone();
  3794. }
  3795. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3796. public SS_CreateBattleServer Clone() {
  3797. return new SS_CreateBattleServer(this);
  3798. }
  3799. /// <summary>Field number for the "RoomId" field.</summary>
  3800. public const int RoomIdFieldNumber = 1;
  3801. private int roomId_;
  3802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3803. public int RoomId {
  3804. get { return roomId_; }
  3805. set {
  3806. roomId_ = value;
  3807. }
  3808. }
  3809. /// <summary>Field number for the "PlayerUids" field.</summary>
  3810. public const int PlayerUidsFieldNumber = 2;
  3811. private static readonly pb::FieldCodec<string> _repeated_playerUids_codec
  3812. = pb::FieldCodec.ForString(18);
  3813. private readonly pbc::RepeatedField<string> playerUids_ = new pbc::RepeatedField<string>();
  3814. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3815. public pbc::RepeatedField<string> PlayerUids {
  3816. get { return playerUids_; }
  3817. }
  3818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3819. public override bool Equals(object other) {
  3820. return Equals(other as SS_CreateBattleServer);
  3821. }
  3822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3823. public bool Equals(SS_CreateBattleServer other) {
  3824. if (ReferenceEquals(other, null)) {
  3825. return false;
  3826. }
  3827. if (ReferenceEquals(other, this)) {
  3828. return true;
  3829. }
  3830. if (RoomId != other.RoomId) return false;
  3831. if(!playerUids_.Equals(other.playerUids_)) return false;
  3832. return true;
  3833. }
  3834. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3835. public override int GetHashCode() {
  3836. int hash = 1;
  3837. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  3838. hash ^= playerUids_.GetHashCode();
  3839. return hash;
  3840. }
  3841. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3842. public override string ToString() {
  3843. return pb::JsonFormatter.ToDiagnosticString(this);
  3844. }
  3845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3846. public void WriteTo(pb::CodedOutputStream output) {
  3847. if (RoomId != 0) {
  3848. output.WriteRawTag(8);
  3849. output.WriteInt32(RoomId);
  3850. }
  3851. playerUids_.WriteTo(output, _repeated_playerUids_codec);
  3852. }
  3853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3854. public int CalculateSize() {
  3855. int size = 0;
  3856. if (RoomId != 0) {
  3857. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  3858. }
  3859. size += playerUids_.CalculateSize(_repeated_playerUids_codec);
  3860. return size;
  3861. }
  3862. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3863. public void MergeFrom(SS_CreateBattleServer other) {
  3864. if (other == null) {
  3865. return;
  3866. }
  3867. if (other.RoomId != 0) {
  3868. RoomId = other.RoomId;
  3869. }
  3870. playerUids_.Add(other.playerUids_);
  3871. }
  3872. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3873. public void MergeFrom(pb::CodedInputStream input) {
  3874. uint tag;
  3875. while ((tag = input.ReadTag()) != 0) {
  3876. switch(tag) {
  3877. default:
  3878. input.SkipLastField();
  3879. break;
  3880. case 8: {
  3881. RoomId = input.ReadInt32();
  3882. break;
  3883. }
  3884. case 18: {
  3885. playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
  3886. break;
  3887. }
  3888. }
  3889. }
  3890. }
  3891. }
  3892. /// <summary>
  3893. /// 多人副本,创建战斗房间OK
  3894. /// </summary>
  3895. public sealed partial class SS_CreateBattleServerOK : pb::IMessage<SS_CreateBattleServerOK> {
  3896. private static readonly pb::MessageParser<SS_CreateBattleServerOK> _parser = new pb::MessageParser<SS_CreateBattleServerOK>(() => new SS_CreateBattleServerOK());
  3897. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3898. public static pb::MessageParser<SS_CreateBattleServerOK> Parser { get { return _parser; } }
  3899. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3900. public static pbr::MessageDescriptor Descriptor {
  3901. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[23]; }
  3902. }
  3903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3904. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3905. get { return Descriptor; }
  3906. }
  3907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3908. public SS_CreateBattleServerOK() {
  3909. OnConstruction();
  3910. }
  3911. partial void OnConstruction();
  3912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3913. public SS_CreateBattleServerOK(SS_CreateBattleServerOK other) : this() {
  3914. }
  3915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3916. public SS_CreateBattleServerOK Clone() {
  3917. return new SS_CreateBattleServerOK(this);
  3918. }
  3919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3920. public override bool Equals(object other) {
  3921. return Equals(other as SS_CreateBattleServerOK);
  3922. }
  3923. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3924. public bool Equals(SS_CreateBattleServerOK other) {
  3925. if (ReferenceEquals(other, null)) {
  3926. return false;
  3927. }
  3928. if (ReferenceEquals(other, this)) {
  3929. return true;
  3930. }
  3931. return true;
  3932. }
  3933. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3934. public override int GetHashCode() {
  3935. int hash = 1;
  3936. return hash;
  3937. }
  3938. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3939. public override string ToString() {
  3940. return pb::JsonFormatter.ToDiagnosticString(this);
  3941. }
  3942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3943. public void WriteTo(pb::CodedOutputStream output) {
  3944. }
  3945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3946. public int CalculateSize() {
  3947. int size = 0;
  3948. return size;
  3949. }
  3950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3951. public void MergeFrom(SS_CreateBattleServerOK other) {
  3952. if (other == null) {
  3953. return;
  3954. }
  3955. }
  3956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3957. public void MergeFrom(pb::CodedInputStream input) {
  3958. uint tag;
  3959. while ((tag = input.ReadTag()) != 0) {
  3960. switch(tag) {
  3961. default:
  3962. input.SkipLastField();
  3963. break;
  3964. }
  3965. }
  3966. }
  3967. }
  3968. #endregion
  3969. }
  3970. #endregion Designer generated code