Party.cs 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: party.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 Protos {
  10. /// <summary>Holder for reflection information generated from party.proto</summary>
  11. public static partial class PartyReflection {
  12. #region Descriptor
  13. /// <summary>File descriptor for party.proto</summary>
  14. public static pbr::FileDescriptor Descriptor {
  15. get { return descriptor; }
  16. }
  17. private static pbr::FileDescriptor descriptor;
  18. static PartyReflection() {
  19. byte[] descriptorData = global::System.Convert.FromBase64String(
  20. string.Concat(
  21. "CgtwYXJ0eS5wcm90bxIGcHJvdG9zGg51c2VyaW5mby5wcm90bxoMcmVzdWx0",
  22. "LnByb3RvIkgKEFBhcnR5Sm9pblJlcXVlc3QSDwoHUGFydHlJRBgBIAEoBBIR",
  23. "CglQYXJ0eVR5cGUYAiABKAUSEAoISWRlbnRpZHkYAyABKAUiYwoRUGFydHlK",
  24. "b2luUmVzcG9uc2USHgoGUmVzdWx0GAEgASgLMg4ucHJvdG9zLlJlc3VsdBIP",
  25. "CgdQYXJ0eUlEGAIgASgNEhAKCElkZW50aWR5GAMgASgFEgsKA3NpdBgEIAEo",
  26. "DSIzCg1QYXJ0eUpvaW5QdXNoEiIKCFVzZXJJbmZvGAEgASgLMhAucHJvdG9z",
  27. "LlVzZXJJbmZvIhMKEVBhcnR5TGVhdmVSZXF1ZXN0IjQKElBhcnR5TGVhdmVS",
  28. "ZXNwb25zZRIeCgZSZXN1bHQYASABKAsyDi5wcm90b3MuUmVzdWx0IiAKDlBh",
  29. "cnR5TGVhdmVQdXNoEg4KBlVzZXJJRBgBIAEoDSITChFQYXJ0eVJlYWR5UmVx",
  30. "dWVzdCI0ChJQYXJ0eVJlYWR5UmVzcG9uc2USHgoGUmVzdWx0GAEgASgLMg4u",
  31. "cHJvdG9zLlJlc3VsdCIgCg5QYXJ0eVJlYWR5UHVzaBIOCgZVc2VySUQYASAB",
  32. "KA0iDwoNUGFydHlGdWxsUHVzaCKtAQoOUGFydHlSZXNldFB1c2gSHwoFVXNl",
  33. "cnMYASADKAsyEC5wcm90b3MuVXNlckluZm8SDAoEU3RlcBgCIAEoBBIwCgVz",
  34. "dGF0ZRgDIAMoCzIhLnByb3Rvcy5QYXJ0eVJlc2V0UHVzaC5TdGF0ZUVudHJ5",
  35. "EgwKBFJvYWQYBCABKAkaLAoKU3RhdGVFbnRyeRILCgNrZXkYASABKAkSDQoF",
  36. "dmFsdWUYAiABKAw6AjgBIhEKD1BhcnR5RmluaXNoUHVzaCIsChZQYXJ0eVN0",
  37. "YWdlQ3Jvc3NSZXF1ZXN0EhIKClN0YWdlSW5kZXgYASABKA0iTQoXUGFydHlT",
  38. "dGFnZUNyb3NzUmVzcG9uc2USHgoGUmVzdWx0GAEgASgLMg4ucHJvdG9zLlJl",
  39. "c3VsdBISCgpDcm9zc0luZGV4GAIgASgNIk0KE1BhcnR5U3RhZ2VDcm9zc1B1",
  40. "c2gSDgoGVXNlcklEGAEgASgNEhIKClN0YWdlSW5kZXgYAiABKA0SEgoKQ3Jv",
  41. "c3NJbmRleBgDIAEoDSJDChNQYXJ0eVN0YWdlU3RhcnRQdXNoEhIKClN0YWdl",
  42. "SW5kZXgYASABKA0SDQoFVXNlcnMYAiADKA0SCQoBdBgDIAEoDSI5ChRQYXJ0",
  43. "eVN0YWdlRmluaXNoUHVzaBISCgpTdGFnZUluZGV4GAEgASgNEg0KBVVzZXJz",
  44. "GAIgAygNImsKCVBhcnR5SW5mbxIPCgdQYXJ0eUlEGAEgASgEEhEKCVBhcnR5",
  45. "VHlwZRgCIAEoBRIVCg1HYW1lVXNlckNvdW50GAMgASgFEhMKC09iVXNlckNv",
  46. "dW50GAQgASgFEg4KBlN0YXR1cxgFIAEoBSIlChBQYXJ0eUxpc3RSZXF1ZXN0",
  47. "EhEKCVBhcnR5VHlwZRgBIAEoBSJXChFQYXJ0eUxpc3RSZXNwb25zZRIeCgZS",
  48. "ZXN1bHQYASABKAsyDi5wcm90b3MuUmVzdWx0EiIKB1BhcnRpZXMYAiADKAsy",
  49. "ES5wcm90b3MuUGFydHlJbmZvYgZwcm90bzM="));
  50. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  51. new pbr::FileDescriptor[] { global::Protos.UserinfoReflection.Descriptor, global::Protos.ResultReflection.Descriptor, },
  52. new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
  53. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyJoinRequest), global::Protos.PartyJoinRequest.Parser, new[]{ "PartyID", "PartyType", "Identidy" }, null, null, null),
  54. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyJoinResponse), global::Protos.PartyJoinResponse.Parser, new[]{ "Result", "PartyID", "Identidy", "Sit" }, null, null, null),
  55. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyJoinPush), global::Protos.PartyJoinPush.Parser, new[]{ "UserInfo" }, null, null, null),
  56. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyLeaveRequest), global::Protos.PartyLeaveRequest.Parser, null, null, null, null),
  57. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyLeaveResponse), global::Protos.PartyLeaveResponse.Parser, new[]{ "Result" }, null, null, null),
  58. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyLeavePush), global::Protos.PartyLeavePush.Parser, new[]{ "UserID" }, null, null, null),
  59. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyReadyRequest), global::Protos.PartyReadyRequest.Parser, null, null, null, null),
  60. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyReadyResponse), global::Protos.PartyReadyResponse.Parser, new[]{ "Result" }, null, null, null),
  61. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyReadyPush), global::Protos.PartyReadyPush.Parser, new[]{ "UserID" }, null, null, null),
  62. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyFullPush), global::Protos.PartyFullPush.Parser, null, null, null, null),
  63. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyResetPush), global::Protos.PartyResetPush.Parser, new[]{ "Users", "Step", "State", "Road" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
  64. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyFinishPush), global::Protos.PartyFinishPush.Parser, null, null, null, null),
  65. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyStageCrossRequest), global::Protos.PartyStageCrossRequest.Parser, new[]{ "StageIndex" }, null, null, null),
  66. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyStageCrossResponse), global::Protos.PartyStageCrossResponse.Parser, new[]{ "Result", "CrossIndex" }, null, null, null),
  67. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyStageCrossPush), global::Protos.PartyStageCrossPush.Parser, new[]{ "UserID", "StageIndex", "CrossIndex" }, null, null, null),
  68. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyStageStartPush), global::Protos.PartyStageStartPush.Parser, new[]{ "StageIndex", "Users", "T" }, null, null, null),
  69. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyStageFinishPush), global::Protos.PartyStageFinishPush.Parser, new[]{ "StageIndex", "Users" }, null, null, null),
  70. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyInfo), global::Protos.PartyInfo.Parser, new[]{ "PartyID", "PartyType", "GameUserCount", "ObUserCount", "Status" }, null, null, null),
  71. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyListRequest), global::Protos.PartyListRequest.Parser, new[]{ "PartyType" }, null, null, null),
  72. new pbr::GeneratedClrTypeInfo(typeof(global::Protos.PartyListResponse), global::Protos.PartyListResponse.Parser, new[]{ "Result", "Parties" }, null, null, null)
  73. }));
  74. }
  75. #endregion
  76. }
  77. #region Messages
  78. public sealed partial class PartyJoinRequest : pb::IMessage<PartyJoinRequest> {
  79. private static readonly pb::MessageParser<PartyJoinRequest> _parser = new pb::MessageParser<PartyJoinRequest>(() => new PartyJoinRequest());
  80. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  81. public static pb::MessageParser<PartyJoinRequest> Parser { get { return _parser; } }
  82. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  83. public static pbr::MessageDescriptor Descriptor {
  84. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[0]; }
  85. }
  86. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  87. pbr::MessageDescriptor pb::IMessage.Descriptor {
  88. get { return Descriptor; }
  89. }
  90. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  91. public PartyJoinRequest() {
  92. OnConstruction();
  93. }
  94. partial void OnConstruction();
  95. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  96. public PartyJoinRequest(PartyJoinRequest other) : this() {
  97. partyID_ = other.partyID_;
  98. partyType_ = other.partyType_;
  99. identidy_ = other.identidy_;
  100. }
  101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  102. public PartyJoinRequest Clone() {
  103. return new PartyJoinRequest(this);
  104. }
  105. /// <summary>Field number for the "PartyID" field.</summary>
  106. public const int PartyIDFieldNumber = 1;
  107. private ulong partyID_;
  108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  109. public ulong PartyID {
  110. get { return partyID_; }
  111. set {
  112. partyID_ = value;
  113. }
  114. }
  115. /// <summary>Field number for the "PartyType" field.</summary>
  116. public const int PartyTypeFieldNumber = 2;
  117. private int partyType_;
  118. /// <summary>
  119. /// 1 = 糖豆人; 2 = ** ; 3 = **
  120. /// </summary>
  121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  122. public int PartyType {
  123. get { return partyType_; }
  124. set {
  125. partyType_ = value;
  126. }
  127. }
  128. /// <summary>Field number for the "Identidy" field.</summary>
  129. public const int IdentidyFieldNumber = 3;
  130. private int identidy_;
  131. /// <summary>
  132. /// 身份 0 = 游戏者; 1 = 观察者
  133. /// </summary>
  134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  135. public int Identidy {
  136. get { return identidy_; }
  137. set {
  138. identidy_ = value;
  139. }
  140. }
  141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  142. public override bool Equals(object other) {
  143. return Equals(other as PartyJoinRequest);
  144. }
  145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  146. public bool Equals(PartyJoinRequest other) {
  147. if (ReferenceEquals(other, null)) {
  148. return false;
  149. }
  150. if (ReferenceEquals(other, this)) {
  151. return true;
  152. }
  153. if (PartyID != other.PartyID) return false;
  154. if (PartyType != other.PartyType) return false;
  155. if (Identidy != other.Identidy) return false;
  156. return true;
  157. }
  158. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  159. public override int GetHashCode() {
  160. int hash = 1;
  161. if (PartyID != 0UL) hash ^= PartyID.GetHashCode();
  162. if (PartyType != 0) hash ^= PartyType.GetHashCode();
  163. if (Identidy != 0) hash ^= Identidy.GetHashCode();
  164. return hash;
  165. }
  166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  167. public override string ToString() {
  168. return pb::JsonFormatter.ToDiagnosticString(this);
  169. }
  170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  171. public void WriteTo(pb::CodedOutputStream output) {
  172. if (PartyID != 0UL) {
  173. output.WriteRawTag(8);
  174. output.WriteUInt64(PartyID);
  175. }
  176. if (PartyType != 0) {
  177. output.WriteRawTag(16);
  178. output.WriteInt32(PartyType);
  179. }
  180. if (Identidy != 0) {
  181. output.WriteRawTag(24);
  182. output.WriteInt32(Identidy);
  183. }
  184. }
  185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  186. public int CalculateSize() {
  187. int size = 0;
  188. if (PartyID != 0UL) {
  189. size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PartyID);
  190. }
  191. if (PartyType != 0) {
  192. size += 1 + pb::CodedOutputStream.ComputeInt32Size(PartyType);
  193. }
  194. if (Identidy != 0) {
  195. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Identidy);
  196. }
  197. return size;
  198. }
  199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  200. public void MergeFrom(PartyJoinRequest other) {
  201. if (other == null) {
  202. return;
  203. }
  204. if (other.PartyID != 0UL) {
  205. PartyID = other.PartyID;
  206. }
  207. if (other.PartyType != 0) {
  208. PartyType = other.PartyType;
  209. }
  210. if (other.Identidy != 0) {
  211. Identidy = other.Identidy;
  212. }
  213. }
  214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  215. public void MergeFrom(pb::CodedInputStream input) {
  216. uint tag;
  217. while ((tag = input.ReadTag()) != 0) {
  218. switch(tag) {
  219. default:
  220. input.SkipLastField();
  221. break;
  222. case 8: {
  223. PartyID = input.ReadUInt64();
  224. break;
  225. }
  226. case 16: {
  227. PartyType = input.ReadInt32();
  228. break;
  229. }
  230. case 24: {
  231. Identidy = input.ReadInt32();
  232. break;
  233. }
  234. }
  235. }
  236. }
  237. }
  238. public sealed partial class PartyJoinResponse : pb::IMessage<PartyJoinResponse> {
  239. private static readonly pb::MessageParser<PartyJoinResponse> _parser = new pb::MessageParser<PartyJoinResponse>(() => new PartyJoinResponse());
  240. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  241. public static pb::MessageParser<PartyJoinResponse> Parser { get { return _parser; } }
  242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  243. public static pbr::MessageDescriptor Descriptor {
  244. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[1]; }
  245. }
  246. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  247. pbr::MessageDescriptor pb::IMessage.Descriptor {
  248. get { return Descriptor; }
  249. }
  250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  251. public PartyJoinResponse() {
  252. OnConstruction();
  253. }
  254. partial void OnConstruction();
  255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  256. public PartyJoinResponse(PartyJoinResponse other) : this() {
  257. Result = other.result_ != null ? other.Result.Clone() : null;
  258. partyID_ = other.partyID_;
  259. identidy_ = other.identidy_;
  260. sit_ = other.sit_;
  261. }
  262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  263. public PartyJoinResponse Clone() {
  264. return new PartyJoinResponse(this);
  265. }
  266. /// <summary>Field number for the "Result" field.</summary>
  267. public const int ResultFieldNumber = 1;
  268. private global::Protos.Result result_;
  269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  270. public global::Protos.Result Result {
  271. get { return result_; }
  272. set {
  273. result_ = value;
  274. }
  275. }
  276. /// <summary>Field number for the "PartyID" field.</summary>
  277. public const int PartyIDFieldNumber = 2;
  278. private uint partyID_;
  279. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  280. public uint PartyID {
  281. get { return partyID_; }
  282. set {
  283. partyID_ = value;
  284. }
  285. }
  286. /// <summary>Field number for the "Identidy" field.</summary>
  287. public const int IdentidyFieldNumber = 3;
  288. private int identidy_;
  289. /// <summary>
  290. /// 身份 0 = 游戏者; 1 = 观察者
  291. /// </summary>
  292. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  293. public int Identidy {
  294. get { return identidy_; }
  295. set {
  296. identidy_ = value;
  297. }
  298. }
  299. /// <summary>Field number for the "sit" field.</summary>
  300. public const int SitFieldNumber = 4;
  301. private uint sit_;
  302. /// <summary>
  303. /// 座位号
  304. /// </summary>
  305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  306. public uint Sit {
  307. get { return sit_; }
  308. set {
  309. sit_ = value;
  310. }
  311. }
  312. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  313. public override bool Equals(object other) {
  314. return Equals(other as PartyJoinResponse);
  315. }
  316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  317. public bool Equals(PartyJoinResponse other) {
  318. if (ReferenceEquals(other, null)) {
  319. return false;
  320. }
  321. if (ReferenceEquals(other, this)) {
  322. return true;
  323. }
  324. if (!object.Equals(Result, other.Result)) return false;
  325. if (PartyID != other.PartyID) return false;
  326. if (Identidy != other.Identidy) return false;
  327. if (Sit != other.Sit) return false;
  328. return true;
  329. }
  330. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  331. public override int GetHashCode() {
  332. int hash = 1;
  333. if (result_ != null) hash ^= Result.GetHashCode();
  334. if (PartyID != 0) hash ^= PartyID.GetHashCode();
  335. if (Identidy != 0) hash ^= Identidy.GetHashCode();
  336. if (Sit != 0) hash ^= Sit.GetHashCode();
  337. return hash;
  338. }
  339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  340. public override string ToString() {
  341. return pb::JsonFormatter.ToDiagnosticString(this);
  342. }
  343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  344. public void WriteTo(pb::CodedOutputStream output) {
  345. if (result_ != null) {
  346. output.WriteRawTag(10);
  347. output.WriteMessage(Result);
  348. }
  349. if (PartyID != 0) {
  350. output.WriteRawTag(16);
  351. output.WriteUInt32(PartyID);
  352. }
  353. if (Identidy != 0) {
  354. output.WriteRawTag(24);
  355. output.WriteInt32(Identidy);
  356. }
  357. if (Sit != 0) {
  358. output.WriteRawTag(32);
  359. output.WriteUInt32(Sit);
  360. }
  361. }
  362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  363. public int CalculateSize() {
  364. int size = 0;
  365. if (result_ != null) {
  366. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Result);
  367. }
  368. if (PartyID != 0) {
  369. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PartyID);
  370. }
  371. if (Identidy != 0) {
  372. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Identidy);
  373. }
  374. if (Sit != 0) {
  375. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Sit);
  376. }
  377. return size;
  378. }
  379. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  380. public void MergeFrom(PartyJoinResponse other) {
  381. if (other == null) {
  382. return;
  383. }
  384. if (other.result_ != null) {
  385. if (result_ == null) {
  386. result_ = new global::Protos.Result();
  387. }
  388. Result.MergeFrom(other.Result);
  389. }
  390. if (other.PartyID != 0) {
  391. PartyID = other.PartyID;
  392. }
  393. if (other.Identidy != 0) {
  394. Identidy = other.Identidy;
  395. }
  396. if (other.Sit != 0) {
  397. Sit = other.Sit;
  398. }
  399. }
  400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  401. public void MergeFrom(pb::CodedInputStream input) {
  402. uint tag;
  403. while ((tag = input.ReadTag()) != 0) {
  404. switch(tag) {
  405. default:
  406. input.SkipLastField();
  407. break;
  408. case 10: {
  409. if (result_ == null) {
  410. result_ = new global::Protos.Result();
  411. }
  412. input.ReadMessage(result_);
  413. break;
  414. }
  415. case 16: {
  416. PartyID = input.ReadUInt32();
  417. break;
  418. }
  419. case 24: {
  420. Identidy = input.ReadInt32();
  421. break;
  422. }
  423. case 32: {
  424. Sit = input.ReadUInt32();
  425. break;
  426. }
  427. }
  428. }
  429. }
  430. }
  431. public sealed partial class PartyJoinPush : pb::IMessage<PartyJoinPush> {
  432. private static readonly pb::MessageParser<PartyJoinPush> _parser = new pb::MessageParser<PartyJoinPush>(() => new PartyJoinPush());
  433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  434. public static pb::MessageParser<PartyJoinPush> Parser { get { return _parser; } }
  435. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  436. public static pbr::MessageDescriptor Descriptor {
  437. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[2]; }
  438. }
  439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  440. pbr::MessageDescriptor pb::IMessage.Descriptor {
  441. get { return Descriptor; }
  442. }
  443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  444. public PartyJoinPush() {
  445. OnConstruction();
  446. }
  447. partial void OnConstruction();
  448. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  449. public PartyJoinPush(PartyJoinPush other) : this() {
  450. UserInfo = other.userInfo_ != null ? other.UserInfo.Clone() : null;
  451. }
  452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  453. public PartyJoinPush Clone() {
  454. return new PartyJoinPush(this);
  455. }
  456. /// <summary>Field number for the "UserInfo" field.</summary>
  457. public const int UserInfoFieldNumber = 1;
  458. private global::Protos.UserInfo userInfo_;
  459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  460. public global::Protos.UserInfo UserInfo {
  461. get { return userInfo_; }
  462. set {
  463. userInfo_ = value;
  464. }
  465. }
  466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  467. public override bool Equals(object other) {
  468. return Equals(other as PartyJoinPush);
  469. }
  470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  471. public bool Equals(PartyJoinPush other) {
  472. if (ReferenceEquals(other, null)) {
  473. return false;
  474. }
  475. if (ReferenceEquals(other, this)) {
  476. return true;
  477. }
  478. if (!object.Equals(UserInfo, other.UserInfo)) return false;
  479. return true;
  480. }
  481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  482. public override int GetHashCode() {
  483. int hash = 1;
  484. if (userInfo_ != null) hash ^= UserInfo.GetHashCode();
  485. return hash;
  486. }
  487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  488. public override string ToString() {
  489. return pb::JsonFormatter.ToDiagnosticString(this);
  490. }
  491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  492. public void WriteTo(pb::CodedOutputStream output) {
  493. if (userInfo_ != null) {
  494. output.WriteRawTag(10);
  495. output.WriteMessage(UserInfo);
  496. }
  497. }
  498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  499. public int CalculateSize() {
  500. int size = 0;
  501. if (userInfo_ != null) {
  502. size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserInfo);
  503. }
  504. return size;
  505. }
  506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  507. public void MergeFrom(PartyJoinPush other) {
  508. if (other == null) {
  509. return;
  510. }
  511. if (other.userInfo_ != null) {
  512. if (userInfo_ == null) {
  513. userInfo_ = new global::Protos.UserInfo();
  514. }
  515. UserInfo.MergeFrom(other.UserInfo);
  516. }
  517. }
  518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  519. public void MergeFrom(pb::CodedInputStream input) {
  520. uint tag;
  521. while ((tag = input.ReadTag()) != 0) {
  522. switch(tag) {
  523. default:
  524. input.SkipLastField();
  525. break;
  526. case 10: {
  527. if (userInfo_ == null) {
  528. userInfo_ = new global::Protos.UserInfo();
  529. }
  530. input.ReadMessage(userInfo_);
  531. break;
  532. }
  533. }
  534. }
  535. }
  536. }
  537. public sealed partial class PartyLeaveRequest : pb::IMessage<PartyLeaveRequest> {
  538. private static readonly pb::MessageParser<PartyLeaveRequest> _parser = new pb::MessageParser<PartyLeaveRequest>(() => new PartyLeaveRequest());
  539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  540. public static pb::MessageParser<PartyLeaveRequest> Parser { get { return _parser; } }
  541. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  542. public static pbr::MessageDescriptor Descriptor {
  543. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[3]; }
  544. }
  545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  546. pbr::MessageDescriptor pb::IMessage.Descriptor {
  547. get { return Descriptor; }
  548. }
  549. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  550. public PartyLeaveRequest() {
  551. OnConstruction();
  552. }
  553. partial void OnConstruction();
  554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  555. public PartyLeaveRequest(PartyLeaveRequest other) : this() {
  556. }
  557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  558. public PartyLeaveRequest Clone() {
  559. return new PartyLeaveRequest(this);
  560. }
  561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  562. public override bool Equals(object other) {
  563. return Equals(other as PartyLeaveRequest);
  564. }
  565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  566. public bool Equals(PartyLeaveRequest other) {
  567. if (ReferenceEquals(other, null)) {
  568. return false;
  569. }
  570. if (ReferenceEquals(other, this)) {
  571. return true;
  572. }
  573. return true;
  574. }
  575. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  576. public override int GetHashCode() {
  577. int hash = 1;
  578. return hash;
  579. }
  580. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  581. public override string ToString() {
  582. return pb::JsonFormatter.ToDiagnosticString(this);
  583. }
  584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  585. public void WriteTo(pb::CodedOutputStream output) {
  586. }
  587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  588. public int CalculateSize() {
  589. int size = 0;
  590. return size;
  591. }
  592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  593. public void MergeFrom(PartyLeaveRequest other) {
  594. if (other == null) {
  595. return;
  596. }
  597. }
  598. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  599. public void MergeFrom(pb::CodedInputStream input) {
  600. uint tag;
  601. while ((tag = input.ReadTag()) != 0) {
  602. switch(tag) {
  603. default:
  604. input.SkipLastField();
  605. break;
  606. }
  607. }
  608. }
  609. }
  610. public sealed partial class PartyLeaveResponse : pb::IMessage<PartyLeaveResponse> {
  611. private static readonly pb::MessageParser<PartyLeaveResponse> _parser = new pb::MessageParser<PartyLeaveResponse>(() => new PartyLeaveResponse());
  612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  613. public static pb::MessageParser<PartyLeaveResponse> Parser { get { return _parser; } }
  614. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  615. public static pbr::MessageDescriptor Descriptor {
  616. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[4]; }
  617. }
  618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  619. pbr::MessageDescriptor pb::IMessage.Descriptor {
  620. get { return Descriptor; }
  621. }
  622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  623. public PartyLeaveResponse() {
  624. OnConstruction();
  625. }
  626. partial void OnConstruction();
  627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  628. public PartyLeaveResponse(PartyLeaveResponse other) : this() {
  629. Result = other.result_ != null ? other.Result.Clone() : null;
  630. }
  631. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  632. public PartyLeaveResponse Clone() {
  633. return new PartyLeaveResponse(this);
  634. }
  635. /// <summary>Field number for the "Result" field.</summary>
  636. public const int ResultFieldNumber = 1;
  637. private global::Protos.Result result_;
  638. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  639. public global::Protos.Result Result {
  640. get { return result_; }
  641. set {
  642. result_ = value;
  643. }
  644. }
  645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  646. public override bool Equals(object other) {
  647. return Equals(other as PartyLeaveResponse);
  648. }
  649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  650. public bool Equals(PartyLeaveResponse other) {
  651. if (ReferenceEquals(other, null)) {
  652. return false;
  653. }
  654. if (ReferenceEquals(other, this)) {
  655. return true;
  656. }
  657. if (!object.Equals(Result, other.Result)) return false;
  658. return true;
  659. }
  660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  661. public override int GetHashCode() {
  662. int hash = 1;
  663. if (result_ != null) hash ^= Result.GetHashCode();
  664. return hash;
  665. }
  666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  667. public override string ToString() {
  668. return pb::JsonFormatter.ToDiagnosticString(this);
  669. }
  670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  671. public void WriteTo(pb::CodedOutputStream output) {
  672. if (result_ != null) {
  673. output.WriteRawTag(10);
  674. output.WriteMessage(Result);
  675. }
  676. }
  677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  678. public int CalculateSize() {
  679. int size = 0;
  680. if (result_ != null) {
  681. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Result);
  682. }
  683. return size;
  684. }
  685. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  686. public void MergeFrom(PartyLeaveResponse other) {
  687. if (other == null) {
  688. return;
  689. }
  690. if (other.result_ != null) {
  691. if (result_ == null) {
  692. result_ = new global::Protos.Result();
  693. }
  694. Result.MergeFrom(other.Result);
  695. }
  696. }
  697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  698. public void MergeFrom(pb::CodedInputStream input) {
  699. uint tag;
  700. while ((tag = input.ReadTag()) != 0) {
  701. switch(tag) {
  702. default:
  703. input.SkipLastField();
  704. break;
  705. case 10: {
  706. if (result_ == null) {
  707. result_ = new global::Protos.Result();
  708. }
  709. input.ReadMessage(result_);
  710. break;
  711. }
  712. }
  713. }
  714. }
  715. }
  716. public sealed partial class PartyLeavePush : pb::IMessage<PartyLeavePush> {
  717. private static readonly pb::MessageParser<PartyLeavePush> _parser = new pb::MessageParser<PartyLeavePush>(() => new PartyLeavePush());
  718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  719. public static pb::MessageParser<PartyLeavePush> Parser { get { return _parser; } }
  720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  721. public static pbr::MessageDescriptor Descriptor {
  722. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[5]; }
  723. }
  724. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  725. pbr::MessageDescriptor pb::IMessage.Descriptor {
  726. get { return Descriptor; }
  727. }
  728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  729. public PartyLeavePush() {
  730. OnConstruction();
  731. }
  732. partial void OnConstruction();
  733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  734. public PartyLeavePush(PartyLeavePush other) : this() {
  735. userID_ = other.userID_;
  736. }
  737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  738. public PartyLeavePush Clone() {
  739. return new PartyLeavePush(this);
  740. }
  741. /// <summary>Field number for the "UserID" field.</summary>
  742. public const int UserIDFieldNumber = 1;
  743. private uint userID_;
  744. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  745. public uint UserID {
  746. get { return userID_; }
  747. set {
  748. userID_ = value;
  749. }
  750. }
  751. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  752. public override bool Equals(object other) {
  753. return Equals(other as PartyLeavePush);
  754. }
  755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  756. public bool Equals(PartyLeavePush other) {
  757. if (ReferenceEquals(other, null)) {
  758. return false;
  759. }
  760. if (ReferenceEquals(other, this)) {
  761. return true;
  762. }
  763. if (UserID != other.UserID) return false;
  764. return true;
  765. }
  766. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  767. public override int GetHashCode() {
  768. int hash = 1;
  769. if (UserID != 0) hash ^= UserID.GetHashCode();
  770. return hash;
  771. }
  772. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  773. public override string ToString() {
  774. return pb::JsonFormatter.ToDiagnosticString(this);
  775. }
  776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  777. public void WriteTo(pb::CodedOutputStream output) {
  778. if (UserID != 0) {
  779. output.WriteRawTag(8);
  780. output.WriteUInt32(UserID);
  781. }
  782. }
  783. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  784. public int CalculateSize() {
  785. int size = 0;
  786. if (UserID != 0) {
  787. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UserID);
  788. }
  789. return size;
  790. }
  791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  792. public void MergeFrom(PartyLeavePush other) {
  793. if (other == null) {
  794. return;
  795. }
  796. if (other.UserID != 0) {
  797. UserID = other.UserID;
  798. }
  799. }
  800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  801. public void MergeFrom(pb::CodedInputStream input) {
  802. uint tag;
  803. while ((tag = input.ReadTag()) != 0) {
  804. switch(tag) {
  805. default:
  806. input.SkipLastField();
  807. break;
  808. case 8: {
  809. UserID = input.ReadUInt32();
  810. break;
  811. }
  812. }
  813. }
  814. }
  815. }
  816. public sealed partial class PartyReadyRequest : pb::IMessage<PartyReadyRequest> {
  817. private static readonly pb::MessageParser<PartyReadyRequest> _parser = new pb::MessageParser<PartyReadyRequest>(() => new PartyReadyRequest());
  818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  819. public static pb::MessageParser<PartyReadyRequest> Parser { get { return _parser; } }
  820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  821. public static pbr::MessageDescriptor Descriptor {
  822. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[6]; }
  823. }
  824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  825. pbr::MessageDescriptor pb::IMessage.Descriptor {
  826. get { return Descriptor; }
  827. }
  828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  829. public PartyReadyRequest() {
  830. OnConstruction();
  831. }
  832. partial void OnConstruction();
  833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  834. public PartyReadyRequest(PartyReadyRequest other) : this() {
  835. }
  836. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  837. public PartyReadyRequest Clone() {
  838. return new PartyReadyRequest(this);
  839. }
  840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  841. public override bool Equals(object other) {
  842. return Equals(other as PartyReadyRequest);
  843. }
  844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  845. public bool Equals(PartyReadyRequest other) {
  846. if (ReferenceEquals(other, null)) {
  847. return false;
  848. }
  849. if (ReferenceEquals(other, this)) {
  850. return true;
  851. }
  852. return true;
  853. }
  854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  855. public override int GetHashCode() {
  856. int hash = 1;
  857. return hash;
  858. }
  859. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  860. public override string ToString() {
  861. return pb::JsonFormatter.ToDiagnosticString(this);
  862. }
  863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  864. public void WriteTo(pb::CodedOutputStream output) {
  865. }
  866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  867. public int CalculateSize() {
  868. int size = 0;
  869. return size;
  870. }
  871. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  872. public void MergeFrom(PartyReadyRequest other) {
  873. if (other == null) {
  874. return;
  875. }
  876. }
  877. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  878. public void MergeFrom(pb::CodedInputStream input) {
  879. uint tag;
  880. while ((tag = input.ReadTag()) != 0) {
  881. switch(tag) {
  882. default:
  883. input.SkipLastField();
  884. break;
  885. }
  886. }
  887. }
  888. }
  889. public sealed partial class PartyReadyResponse : pb::IMessage<PartyReadyResponse> {
  890. private static readonly pb::MessageParser<PartyReadyResponse> _parser = new pb::MessageParser<PartyReadyResponse>(() => new PartyReadyResponse());
  891. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  892. public static pb::MessageParser<PartyReadyResponse> Parser { get { return _parser; } }
  893. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  894. public static pbr::MessageDescriptor Descriptor {
  895. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[7]; }
  896. }
  897. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  898. pbr::MessageDescriptor pb::IMessage.Descriptor {
  899. get { return Descriptor; }
  900. }
  901. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  902. public PartyReadyResponse() {
  903. OnConstruction();
  904. }
  905. partial void OnConstruction();
  906. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  907. public PartyReadyResponse(PartyReadyResponse other) : this() {
  908. Result = other.result_ != null ? other.Result.Clone() : null;
  909. }
  910. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  911. public PartyReadyResponse Clone() {
  912. return new PartyReadyResponse(this);
  913. }
  914. /// <summary>Field number for the "Result" field.</summary>
  915. public const int ResultFieldNumber = 1;
  916. private global::Protos.Result result_;
  917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  918. public global::Protos.Result Result {
  919. get { return result_; }
  920. set {
  921. result_ = value;
  922. }
  923. }
  924. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  925. public override bool Equals(object other) {
  926. return Equals(other as PartyReadyResponse);
  927. }
  928. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  929. public bool Equals(PartyReadyResponse other) {
  930. if (ReferenceEquals(other, null)) {
  931. return false;
  932. }
  933. if (ReferenceEquals(other, this)) {
  934. return true;
  935. }
  936. if (!object.Equals(Result, other.Result)) return false;
  937. return true;
  938. }
  939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  940. public override int GetHashCode() {
  941. int hash = 1;
  942. if (result_ != null) hash ^= Result.GetHashCode();
  943. return hash;
  944. }
  945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  946. public override string ToString() {
  947. return pb::JsonFormatter.ToDiagnosticString(this);
  948. }
  949. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  950. public void WriteTo(pb::CodedOutputStream output) {
  951. if (result_ != null) {
  952. output.WriteRawTag(10);
  953. output.WriteMessage(Result);
  954. }
  955. }
  956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  957. public int CalculateSize() {
  958. int size = 0;
  959. if (result_ != null) {
  960. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Result);
  961. }
  962. return size;
  963. }
  964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  965. public void MergeFrom(PartyReadyResponse other) {
  966. if (other == null) {
  967. return;
  968. }
  969. if (other.result_ != null) {
  970. if (result_ == null) {
  971. result_ = new global::Protos.Result();
  972. }
  973. Result.MergeFrom(other.Result);
  974. }
  975. }
  976. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  977. public void MergeFrom(pb::CodedInputStream input) {
  978. uint tag;
  979. while ((tag = input.ReadTag()) != 0) {
  980. switch(tag) {
  981. default:
  982. input.SkipLastField();
  983. break;
  984. case 10: {
  985. if (result_ == null) {
  986. result_ = new global::Protos.Result();
  987. }
  988. input.ReadMessage(result_);
  989. break;
  990. }
  991. }
  992. }
  993. }
  994. }
  995. public sealed partial class PartyReadyPush : pb::IMessage<PartyReadyPush> {
  996. private static readonly pb::MessageParser<PartyReadyPush> _parser = new pb::MessageParser<PartyReadyPush>(() => new PartyReadyPush());
  997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  998. public static pb::MessageParser<PartyReadyPush> Parser { get { return _parser; } }
  999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1000. public static pbr::MessageDescriptor Descriptor {
  1001. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[8]; }
  1002. }
  1003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1004. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1005. get { return Descriptor; }
  1006. }
  1007. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1008. public PartyReadyPush() {
  1009. OnConstruction();
  1010. }
  1011. partial void OnConstruction();
  1012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1013. public PartyReadyPush(PartyReadyPush other) : this() {
  1014. userID_ = other.userID_;
  1015. }
  1016. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1017. public PartyReadyPush Clone() {
  1018. return new PartyReadyPush(this);
  1019. }
  1020. /// <summary>Field number for the "UserID" field.</summary>
  1021. public const int UserIDFieldNumber = 1;
  1022. private uint userID_;
  1023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1024. public uint UserID {
  1025. get { return userID_; }
  1026. set {
  1027. userID_ = value;
  1028. }
  1029. }
  1030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1031. public override bool Equals(object other) {
  1032. return Equals(other as PartyReadyPush);
  1033. }
  1034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1035. public bool Equals(PartyReadyPush other) {
  1036. if (ReferenceEquals(other, null)) {
  1037. return false;
  1038. }
  1039. if (ReferenceEquals(other, this)) {
  1040. return true;
  1041. }
  1042. if (UserID != other.UserID) return false;
  1043. return true;
  1044. }
  1045. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1046. public override int GetHashCode() {
  1047. int hash = 1;
  1048. if (UserID != 0) hash ^= UserID.GetHashCode();
  1049. return hash;
  1050. }
  1051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1052. public override string ToString() {
  1053. return pb::JsonFormatter.ToDiagnosticString(this);
  1054. }
  1055. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1056. public void WriteTo(pb::CodedOutputStream output) {
  1057. if (UserID != 0) {
  1058. output.WriteRawTag(8);
  1059. output.WriteUInt32(UserID);
  1060. }
  1061. }
  1062. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1063. public int CalculateSize() {
  1064. int size = 0;
  1065. if (UserID != 0) {
  1066. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UserID);
  1067. }
  1068. return size;
  1069. }
  1070. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1071. public void MergeFrom(PartyReadyPush other) {
  1072. if (other == null) {
  1073. return;
  1074. }
  1075. if (other.UserID != 0) {
  1076. UserID = other.UserID;
  1077. }
  1078. }
  1079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1080. public void MergeFrom(pb::CodedInputStream input) {
  1081. uint tag;
  1082. while ((tag = input.ReadTag()) != 0) {
  1083. switch(tag) {
  1084. default:
  1085. input.SkipLastField();
  1086. break;
  1087. case 8: {
  1088. UserID = input.ReadUInt32();
  1089. break;
  1090. }
  1091. }
  1092. }
  1093. }
  1094. }
  1095. public sealed partial class PartyFullPush : pb::IMessage<PartyFullPush> {
  1096. private static readonly pb::MessageParser<PartyFullPush> _parser = new pb::MessageParser<PartyFullPush>(() => new PartyFullPush());
  1097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1098. public static pb::MessageParser<PartyFullPush> Parser { get { return _parser; } }
  1099. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1100. public static pbr::MessageDescriptor Descriptor {
  1101. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[9]; }
  1102. }
  1103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1104. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1105. get { return Descriptor; }
  1106. }
  1107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1108. public PartyFullPush() {
  1109. OnConstruction();
  1110. }
  1111. partial void OnConstruction();
  1112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1113. public PartyFullPush(PartyFullPush other) : this() {
  1114. }
  1115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1116. public PartyFullPush Clone() {
  1117. return new PartyFullPush(this);
  1118. }
  1119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1120. public override bool Equals(object other) {
  1121. return Equals(other as PartyFullPush);
  1122. }
  1123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1124. public bool Equals(PartyFullPush other) {
  1125. if (ReferenceEquals(other, null)) {
  1126. return false;
  1127. }
  1128. if (ReferenceEquals(other, this)) {
  1129. return true;
  1130. }
  1131. return true;
  1132. }
  1133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1134. public override int GetHashCode() {
  1135. int hash = 1;
  1136. return hash;
  1137. }
  1138. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1139. public override string ToString() {
  1140. return pb::JsonFormatter.ToDiagnosticString(this);
  1141. }
  1142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1143. public void WriteTo(pb::CodedOutputStream output) {
  1144. }
  1145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1146. public int CalculateSize() {
  1147. int size = 0;
  1148. return size;
  1149. }
  1150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1151. public void MergeFrom(PartyFullPush other) {
  1152. if (other == null) {
  1153. return;
  1154. }
  1155. }
  1156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1157. public void MergeFrom(pb::CodedInputStream input) {
  1158. uint tag;
  1159. while ((tag = input.ReadTag()) != 0) {
  1160. switch(tag) {
  1161. default:
  1162. input.SkipLastField();
  1163. break;
  1164. }
  1165. }
  1166. }
  1167. }
  1168. public sealed partial class PartyResetPush : pb::IMessage<PartyResetPush> {
  1169. private static readonly pb::MessageParser<PartyResetPush> _parser = new pb::MessageParser<PartyResetPush>(() => new PartyResetPush());
  1170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1171. public static pb::MessageParser<PartyResetPush> Parser { get { return _parser; } }
  1172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1173. public static pbr::MessageDescriptor Descriptor {
  1174. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[10]; }
  1175. }
  1176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1177. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1178. get { return Descriptor; }
  1179. }
  1180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1181. public PartyResetPush() {
  1182. OnConstruction();
  1183. }
  1184. partial void OnConstruction();
  1185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1186. public PartyResetPush(PartyResetPush other) : this() {
  1187. users_ = other.users_.Clone();
  1188. step_ = other.step_;
  1189. state_ = other.state_.Clone();
  1190. road_ = other.road_;
  1191. }
  1192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1193. public PartyResetPush Clone() {
  1194. return new PartyResetPush(this);
  1195. }
  1196. /// <summary>Field number for the "Users" field.</summary>
  1197. public const int UsersFieldNumber = 1;
  1198. private static readonly pb::FieldCodec<global::Protos.UserInfo> _repeated_users_codec
  1199. = pb::FieldCodec.ForMessage(10, global::Protos.UserInfo.Parser);
  1200. private readonly pbc::RepeatedField<global::Protos.UserInfo> users_ = new pbc::RepeatedField<global::Protos.UserInfo>();
  1201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1202. public pbc::RepeatedField<global::Protos.UserInfo> Users {
  1203. get { return users_; }
  1204. }
  1205. /// <summary>Field number for the "Step" field.</summary>
  1206. public const int StepFieldNumber = 2;
  1207. private ulong step_;
  1208. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1209. public ulong Step {
  1210. get { return step_; }
  1211. set {
  1212. step_ = value;
  1213. }
  1214. }
  1215. /// <summary>Field number for the "state" field.</summary>
  1216. public const int StateFieldNumber = 3;
  1217. private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_state_codec
  1218. = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForBytes(18), 26);
  1219. private readonly pbc::MapField<string, pb::ByteString> state_ = new pbc::MapField<string, pb::ByteString>();
  1220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1221. public pbc::MapField<string, pb::ByteString> State {
  1222. get { return state_; }
  1223. }
  1224. /// <summary>Field number for the "Road" field.</summary>
  1225. public const int RoadFieldNumber = 4;
  1226. private string road_ = "";
  1227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1228. public string Road {
  1229. get { return road_; }
  1230. set {
  1231. road_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1232. }
  1233. }
  1234. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1235. public override bool Equals(object other) {
  1236. return Equals(other as PartyResetPush);
  1237. }
  1238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1239. public bool Equals(PartyResetPush other) {
  1240. if (ReferenceEquals(other, null)) {
  1241. return false;
  1242. }
  1243. if (ReferenceEquals(other, this)) {
  1244. return true;
  1245. }
  1246. if(!users_.Equals(other.users_)) return false;
  1247. if (Step != other.Step) return false;
  1248. if (!State.Equals(other.State)) return false;
  1249. if (Road != other.Road) return false;
  1250. return true;
  1251. }
  1252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1253. public override int GetHashCode() {
  1254. int hash = 1;
  1255. hash ^= users_.GetHashCode();
  1256. if (Step != 0UL) hash ^= Step.GetHashCode();
  1257. hash ^= State.GetHashCode();
  1258. if (Road.Length != 0) hash ^= Road.GetHashCode();
  1259. return hash;
  1260. }
  1261. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1262. public override string ToString() {
  1263. return pb::JsonFormatter.ToDiagnosticString(this);
  1264. }
  1265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1266. public void WriteTo(pb::CodedOutputStream output) {
  1267. users_.WriteTo(output, _repeated_users_codec);
  1268. if (Step != 0UL) {
  1269. output.WriteRawTag(16);
  1270. output.WriteUInt64(Step);
  1271. }
  1272. state_.WriteTo(output, _map_state_codec);
  1273. if (Road.Length != 0) {
  1274. output.WriteRawTag(34);
  1275. output.WriteString(Road);
  1276. }
  1277. }
  1278. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1279. public int CalculateSize() {
  1280. int size = 0;
  1281. size += users_.CalculateSize(_repeated_users_codec);
  1282. if (Step != 0UL) {
  1283. size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Step);
  1284. }
  1285. size += state_.CalculateSize(_map_state_codec);
  1286. if (Road.Length != 0) {
  1287. size += 1 + pb::CodedOutputStream.ComputeStringSize(Road);
  1288. }
  1289. return size;
  1290. }
  1291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1292. public void MergeFrom(PartyResetPush other) {
  1293. if (other == null) {
  1294. return;
  1295. }
  1296. users_.Add(other.users_);
  1297. if (other.Step != 0UL) {
  1298. Step = other.Step;
  1299. }
  1300. state_.Add(other.state_);
  1301. if (other.Road.Length != 0) {
  1302. Road = other.Road;
  1303. }
  1304. }
  1305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1306. public void MergeFrom(pb::CodedInputStream input) {
  1307. uint tag;
  1308. while ((tag = input.ReadTag()) != 0) {
  1309. switch(tag) {
  1310. default:
  1311. input.SkipLastField();
  1312. break;
  1313. case 10: {
  1314. users_.AddEntriesFrom(input, _repeated_users_codec);
  1315. break;
  1316. }
  1317. case 16: {
  1318. Step = input.ReadUInt64();
  1319. break;
  1320. }
  1321. case 26: {
  1322. state_.AddEntriesFrom(input, _map_state_codec);
  1323. break;
  1324. }
  1325. case 34: {
  1326. Road = input.ReadString();
  1327. break;
  1328. }
  1329. }
  1330. }
  1331. }
  1332. }
  1333. public sealed partial class PartyFinishPush : pb::IMessage<PartyFinishPush> {
  1334. private static readonly pb::MessageParser<PartyFinishPush> _parser = new pb::MessageParser<PartyFinishPush>(() => new PartyFinishPush());
  1335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1336. public static pb::MessageParser<PartyFinishPush> Parser { get { return _parser; } }
  1337. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1338. public static pbr::MessageDescriptor Descriptor {
  1339. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[11]; }
  1340. }
  1341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1342. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1343. get { return Descriptor; }
  1344. }
  1345. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1346. public PartyFinishPush() {
  1347. OnConstruction();
  1348. }
  1349. partial void OnConstruction();
  1350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1351. public PartyFinishPush(PartyFinishPush other) : this() {
  1352. }
  1353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1354. public PartyFinishPush Clone() {
  1355. return new PartyFinishPush(this);
  1356. }
  1357. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1358. public override bool Equals(object other) {
  1359. return Equals(other as PartyFinishPush);
  1360. }
  1361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1362. public bool Equals(PartyFinishPush other) {
  1363. if (ReferenceEquals(other, null)) {
  1364. return false;
  1365. }
  1366. if (ReferenceEquals(other, this)) {
  1367. return true;
  1368. }
  1369. return true;
  1370. }
  1371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1372. public override int GetHashCode() {
  1373. int hash = 1;
  1374. return hash;
  1375. }
  1376. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1377. public override string ToString() {
  1378. return pb::JsonFormatter.ToDiagnosticString(this);
  1379. }
  1380. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1381. public void WriteTo(pb::CodedOutputStream output) {
  1382. }
  1383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1384. public int CalculateSize() {
  1385. int size = 0;
  1386. return size;
  1387. }
  1388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1389. public void MergeFrom(PartyFinishPush other) {
  1390. if (other == null) {
  1391. return;
  1392. }
  1393. }
  1394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1395. public void MergeFrom(pb::CodedInputStream input) {
  1396. uint tag;
  1397. while ((tag = input.ReadTag()) != 0) {
  1398. switch(tag) {
  1399. default:
  1400. input.SkipLastField();
  1401. break;
  1402. }
  1403. }
  1404. }
  1405. }
  1406. public sealed partial class PartyStageCrossRequest : pb::IMessage<PartyStageCrossRequest> {
  1407. private static readonly pb::MessageParser<PartyStageCrossRequest> _parser = new pb::MessageParser<PartyStageCrossRequest>(() => new PartyStageCrossRequest());
  1408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1409. public static pb::MessageParser<PartyStageCrossRequest> Parser { get { return _parser; } }
  1410. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1411. public static pbr::MessageDescriptor Descriptor {
  1412. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[12]; }
  1413. }
  1414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1415. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1416. get { return Descriptor; }
  1417. }
  1418. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1419. public PartyStageCrossRequest() {
  1420. OnConstruction();
  1421. }
  1422. partial void OnConstruction();
  1423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1424. public PartyStageCrossRequest(PartyStageCrossRequest other) : this() {
  1425. stageIndex_ = other.stageIndex_;
  1426. }
  1427. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1428. public PartyStageCrossRequest Clone() {
  1429. return new PartyStageCrossRequest(this);
  1430. }
  1431. /// <summary>Field number for the "StageIndex" field.</summary>
  1432. public const int StageIndexFieldNumber = 1;
  1433. private uint stageIndex_;
  1434. /// <summary>
  1435. /// 第几个小关
  1436. /// </summary>
  1437. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1438. public uint StageIndex {
  1439. get { return stageIndex_; }
  1440. set {
  1441. stageIndex_ = value;
  1442. }
  1443. }
  1444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1445. public override bool Equals(object other) {
  1446. return Equals(other as PartyStageCrossRequest);
  1447. }
  1448. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1449. public bool Equals(PartyStageCrossRequest other) {
  1450. if (ReferenceEquals(other, null)) {
  1451. return false;
  1452. }
  1453. if (ReferenceEquals(other, this)) {
  1454. return true;
  1455. }
  1456. if (StageIndex != other.StageIndex) return false;
  1457. return true;
  1458. }
  1459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1460. public override int GetHashCode() {
  1461. int hash = 1;
  1462. if (StageIndex != 0) hash ^= StageIndex.GetHashCode();
  1463. return hash;
  1464. }
  1465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1466. public override string ToString() {
  1467. return pb::JsonFormatter.ToDiagnosticString(this);
  1468. }
  1469. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1470. public void WriteTo(pb::CodedOutputStream output) {
  1471. if (StageIndex != 0) {
  1472. output.WriteRawTag(8);
  1473. output.WriteUInt32(StageIndex);
  1474. }
  1475. }
  1476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1477. public int CalculateSize() {
  1478. int size = 0;
  1479. if (StageIndex != 0) {
  1480. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageIndex);
  1481. }
  1482. return size;
  1483. }
  1484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1485. public void MergeFrom(PartyStageCrossRequest other) {
  1486. if (other == null) {
  1487. return;
  1488. }
  1489. if (other.StageIndex != 0) {
  1490. StageIndex = other.StageIndex;
  1491. }
  1492. }
  1493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1494. public void MergeFrom(pb::CodedInputStream input) {
  1495. uint tag;
  1496. while ((tag = input.ReadTag()) != 0) {
  1497. switch(tag) {
  1498. default:
  1499. input.SkipLastField();
  1500. break;
  1501. case 8: {
  1502. StageIndex = input.ReadUInt32();
  1503. break;
  1504. }
  1505. }
  1506. }
  1507. }
  1508. }
  1509. public sealed partial class PartyStageCrossResponse : pb::IMessage<PartyStageCrossResponse> {
  1510. private static readonly pb::MessageParser<PartyStageCrossResponse> _parser = new pb::MessageParser<PartyStageCrossResponse>(() => new PartyStageCrossResponse());
  1511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1512. public static pb::MessageParser<PartyStageCrossResponse> Parser { get { return _parser; } }
  1513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1514. public static pbr::MessageDescriptor Descriptor {
  1515. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[13]; }
  1516. }
  1517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1518. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1519. get { return Descriptor; }
  1520. }
  1521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1522. public PartyStageCrossResponse() {
  1523. OnConstruction();
  1524. }
  1525. partial void OnConstruction();
  1526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1527. public PartyStageCrossResponse(PartyStageCrossResponse other) : this() {
  1528. Result = other.result_ != null ? other.Result.Clone() : null;
  1529. crossIndex_ = other.crossIndex_;
  1530. }
  1531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1532. public PartyStageCrossResponse Clone() {
  1533. return new PartyStageCrossResponse(this);
  1534. }
  1535. /// <summary>Field number for the "Result" field.</summary>
  1536. public const int ResultFieldNumber = 1;
  1537. private global::Protos.Result result_;
  1538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1539. public global::Protos.Result Result {
  1540. get { return result_; }
  1541. set {
  1542. result_ = value;
  1543. }
  1544. }
  1545. /// <summary>Field number for the "CrossIndex" field.</summary>
  1546. public const int CrossIndexFieldNumber = 2;
  1547. private uint crossIndex_;
  1548. /// <summary>
  1549. /// 第几个通关的
  1550. /// </summary>
  1551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1552. public uint CrossIndex {
  1553. get { return crossIndex_; }
  1554. set {
  1555. crossIndex_ = value;
  1556. }
  1557. }
  1558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1559. public override bool Equals(object other) {
  1560. return Equals(other as PartyStageCrossResponse);
  1561. }
  1562. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1563. public bool Equals(PartyStageCrossResponse other) {
  1564. if (ReferenceEquals(other, null)) {
  1565. return false;
  1566. }
  1567. if (ReferenceEquals(other, this)) {
  1568. return true;
  1569. }
  1570. if (!object.Equals(Result, other.Result)) return false;
  1571. if (CrossIndex != other.CrossIndex) return false;
  1572. return true;
  1573. }
  1574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1575. public override int GetHashCode() {
  1576. int hash = 1;
  1577. if (result_ != null) hash ^= Result.GetHashCode();
  1578. if (CrossIndex != 0) hash ^= CrossIndex.GetHashCode();
  1579. return hash;
  1580. }
  1581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1582. public override string ToString() {
  1583. return pb::JsonFormatter.ToDiagnosticString(this);
  1584. }
  1585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1586. public void WriteTo(pb::CodedOutputStream output) {
  1587. if (result_ != null) {
  1588. output.WriteRawTag(10);
  1589. output.WriteMessage(Result);
  1590. }
  1591. if (CrossIndex != 0) {
  1592. output.WriteRawTag(16);
  1593. output.WriteUInt32(CrossIndex);
  1594. }
  1595. }
  1596. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1597. public int CalculateSize() {
  1598. int size = 0;
  1599. if (result_ != null) {
  1600. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Result);
  1601. }
  1602. if (CrossIndex != 0) {
  1603. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CrossIndex);
  1604. }
  1605. return size;
  1606. }
  1607. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1608. public void MergeFrom(PartyStageCrossResponse other) {
  1609. if (other == null) {
  1610. return;
  1611. }
  1612. if (other.result_ != null) {
  1613. if (result_ == null) {
  1614. result_ = new global::Protos.Result();
  1615. }
  1616. Result.MergeFrom(other.Result);
  1617. }
  1618. if (other.CrossIndex != 0) {
  1619. CrossIndex = other.CrossIndex;
  1620. }
  1621. }
  1622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1623. public void MergeFrom(pb::CodedInputStream input) {
  1624. uint tag;
  1625. while ((tag = input.ReadTag()) != 0) {
  1626. switch(tag) {
  1627. default:
  1628. input.SkipLastField();
  1629. break;
  1630. case 10: {
  1631. if (result_ == null) {
  1632. result_ = new global::Protos.Result();
  1633. }
  1634. input.ReadMessage(result_);
  1635. break;
  1636. }
  1637. case 16: {
  1638. CrossIndex = input.ReadUInt32();
  1639. break;
  1640. }
  1641. }
  1642. }
  1643. }
  1644. }
  1645. public sealed partial class PartyStageCrossPush : pb::IMessage<PartyStageCrossPush> {
  1646. private static readonly pb::MessageParser<PartyStageCrossPush> _parser = new pb::MessageParser<PartyStageCrossPush>(() => new PartyStageCrossPush());
  1647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1648. public static pb::MessageParser<PartyStageCrossPush> Parser { get { return _parser; } }
  1649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1650. public static pbr::MessageDescriptor Descriptor {
  1651. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[14]; }
  1652. }
  1653. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1654. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1655. get { return Descriptor; }
  1656. }
  1657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1658. public PartyStageCrossPush() {
  1659. OnConstruction();
  1660. }
  1661. partial void OnConstruction();
  1662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1663. public PartyStageCrossPush(PartyStageCrossPush other) : this() {
  1664. userID_ = other.userID_;
  1665. stageIndex_ = other.stageIndex_;
  1666. crossIndex_ = other.crossIndex_;
  1667. }
  1668. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1669. public PartyStageCrossPush Clone() {
  1670. return new PartyStageCrossPush(this);
  1671. }
  1672. /// <summary>Field number for the "UserID" field.</summary>
  1673. public const int UserIDFieldNumber = 1;
  1674. private uint userID_;
  1675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1676. public uint UserID {
  1677. get { return userID_; }
  1678. set {
  1679. userID_ = value;
  1680. }
  1681. }
  1682. /// <summary>Field number for the "StageIndex" field.</summary>
  1683. public const int StageIndexFieldNumber = 2;
  1684. private uint stageIndex_;
  1685. /// <summary>
  1686. /// 第几个小关
  1687. /// </summary>
  1688. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1689. public uint StageIndex {
  1690. get { return stageIndex_; }
  1691. set {
  1692. stageIndex_ = value;
  1693. }
  1694. }
  1695. /// <summary>Field number for the "CrossIndex" field.</summary>
  1696. public const int CrossIndexFieldNumber = 3;
  1697. private uint crossIndex_;
  1698. /// <summary>
  1699. /// 第几个通关的
  1700. /// </summary>
  1701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1702. public uint CrossIndex {
  1703. get { return crossIndex_; }
  1704. set {
  1705. crossIndex_ = value;
  1706. }
  1707. }
  1708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1709. public override bool Equals(object other) {
  1710. return Equals(other as PartyStageCrossPush);
  1711. }
  1712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1713. public bool Equals(PartyStageCrossPush other) {
  1714. if (ReferenceEquals(other, null)) {
  1715. return false;
  1716. }
  1717. if (ReferenceEquals(other, this)) {
  1718. return true;
  1719. }
  1720. if (UserID != other.UserID) return false;
  1721. if (StageIndex != other.StageIndex) return false;
  1722. if (CrossIndex != other.CrossIndex) return false;
  1723. return true;
  1724. }
  1725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1726. public override int GetHashCode() {
  1727. int hash = 1;
  1728. if (UserID != 0) hash ^= UserID.GetHashCode();
  1729. if (StageIndex != 0) hash ^= StageIndex.GetHashCode();
  1730. if (CrossIndex != 0) hash ^= CrossIndex.GetHashCode();
  1731. return hash;
  1732. }
  1733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1734. public override string ToString() {
  1735. return pb::JsonFormatter.ToDiagnosticString(this);
  1736. }
  1737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1738. public void WriteTo(pb::CodedOutputStream output) {
  1739. if (UserID != 0) {
  1740. output.WriteRawTag(8);
  1741. output.WriteUInt32(UserID);
  1742. }
  1743. if (StageIndex != 0) {
  1744. output.WriteRawTag(16);
  1745. output.WriteUInt32(StageIndex);
  1746. }
  1747. if (CrossIndex != 0) {
  1748. output.WriteRawTag(24);
  1749. output.WriteUInt32(CrossIndex);
  1750. }
  1751. }
  1752. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1753. public int CalculateSize() {
  1754. int size = 0;
  1755. if (UserID != 0) {
  1756. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UserID);
  1757. }
  1758. if (StageIndex != 0) {
  1759. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageIndex);
  1760. }
  1761. if (CrossIndex != 0) {
  1762. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CrossIndex);
  1763. }
  1764. return size;
  1765. }
  1766. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1767. public void MergeFrom(PartyStageCrossPush other) {
  1768. if (other == null) {
  1769. return;
  1770. }
  1771. if (other.UserID != 0) {
  1772. UserID = other.UserID;
  1773. }
  1774. if (other.StageIndex != 0) {
  1775. StageIndex = other.StageIndex;
  1776. }
  1777. if (other.CrossIndex != 0) {
  1778. CrossIndex = other.CrossIndex;
  1779. }
  1780. }
  1781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1782. public void MergeFrom(pb::CodedInputStream input) {
  1783. uint tag;
  1784. while ((tag = input.ReadTag()) != 0) {
  1785. switch(tag) {
  1786. default:
  1787. input.SkipLastField();
  1788. break;
  1789. case 8: {
  1790. UserID = input.ReadUInt32();
  1791. break;
  1792. }
  1793. case 16: {
  1794. StageIndex = input.ReadUInt32();
  1795. break;
  1796. }
  1797. case 24: {
  1798. CrossIndex = input.ReadUInt32();
  1799. break;
  1800. }
  1801. }
  1802. }
  1803. }
  1804. }
  1805. public sealed partial class PartyStageStartPush : pb::IMessage<PartyStageStartPush> {
  1806. private static readonly pb::MessageParser<PartyStageStartPush> _parser = new pb::MessageParser<PartyStageStartPush>(() => new PartyStageStartPush());
  1807. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1808. public static pb::MessageParser<PartyStageStartPush> Parser { get { return _parser; } }
  1809. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1810. public static pbr::MessageDescriptor Descriptor {
  1811. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[15]; }
  1812. }
  1813. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1814. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1815. get { return Descriptor; }
  1816. }
  1817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1818. public PartyStageStartPush() {
  1819. OnConstruction();
  1820. }
  1821. partial void OnConstruction();
  1822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1823. public PartyStageStartPush(PartyStageStartPush other) : this() {
  1824. stageIndex_ = other.stageIndex_;
  1825. users_ = other.users_.Clone();
  1826. t_ = other.t_;
  1827. }
  1828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1829. public PartyStageStartPush Clone() {
  1830. return new PartyStageStartPush(this);
  1831. }
  1832. /// <summary>Field number for the "StageIndex" field.</summary>
  1833. public const int StageIndexFieldNumber = 1;
  1834. private uint stageIndex_;
  1835. /// <summary>
  1836. /// 第几个小关
  1837. /// </summary>
  1838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1839. public uint StageIndex {
  1840. get { return stageIndex_; }
  1841. set {
  1842. stageIndex_ = value;
  1843. }
  1844. }
  1845. /// <summary>Field number for the "Users" field.</summary>
  1846. public const int UsersFieldNumber = 2;
  1847. private static readonly pb::FieldCodec<uint> _repeated_users_codec
  1848. = pb::FieldCodec.ForUInt32(18);
  1849. private readonly pbc::RepeatedField<uint> users_ = new pbc::RepeatedField<uint>();
  1850. /// <summary>
  1851. /// 参加用户
  1852. /// </summary>
  1853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1854. public pbc::RepeatedField<uint> Users {
  1855. get { return users_; }
  1856. }
  1857. /// <summary>Field number for the "t" field.</summary>
  1858. public const int TFieldNumber = 3;
  1859. private uint t_;
  1860. /// <summary>
  1861. /// 时间限制
  1862. /// </summary>
  1863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1864. public uint T {
  1865. get { return t_; }
  1866. set {
  1867. t_ = value;
  1868. }
  1869. }
  1870. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1871. public override bool Equals(object other) {
  1872. return Equals(other as PartyStageStartPush);
  1873. }
  1874. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1875. public bool Equals(PartyStageStartPush other) {
  1876. if (ReferenceEquals(other, null)) {
  1877. return false;
  1878. }
  1879. if (ReferenceEquals(other, this)) {
  1880. return true;
  1881. }
  1882. if (StageIndex != other.StageIndex) return false;
  1883. if(!users_.Equals(other.users_)) return false;
  1884. if (T != other.T) return false;
  1885. return true;
  1886. }
  1887. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1888. public override int GetHashCode() {
  1889. int hash = 1;
  1890. if (StageIndex != 0) hash ^= StageIndex.GetHashCode();
  1891. hash ^= users_.GetHashCode();
  1892. if (T != 0) hash ^= T.GetHashCode();
  1893. return hash;
  1894. }
  1895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1896. public override string ToString() {
  1897. return pb::JsonFormatter.ToDiagnosticString(this);
  1898. }
  1899. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1900. public void WriteTo(pb::CodedOutputStream output) {
  1901. if (StageIndex != 0) {
  1902. output.WriteRawTag(8);
  1903. output.WriteUInt32(StageIndex);
  1904. }
  1905. users_.WriteTo(output, _repeated_users_codec);
  1906. if (T != 0) {
  1907. output.WriteRawTag(24);
  1908. output.WriteUInt32(T);
  1909. }
  1910. }
  1911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1912. public int CalculateSize() {
  1913. int size = 0;
  1914. if (StageIndex != 0) {
  1915. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageIndex);
  1916. }
  1917. size += users_.CalculateSize(_repeated_users_codec);
  1918. if (T != 0) {
  1919. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(T);
  1920. }
  1921. return size;
  1922. }
  1923. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1924. public void MergeFrom(PartyStageStartPush other) {
  1925. if (other == null) {
  1926. return;
  1927. }
  1928. if (other.StageIndex != 0) {
  1929. StageIndex = other.StageIndex;
  1930. }
  1931. users_.Add(other.users_);
  1932. if (other.T != 0) {
  1933. T = other.T;
  1934. }
  1935. }
  1936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1937. public void MergeFrom(pb::CodedInputStream input) {
  1938. uint tag;
  1939. while ((tag = input.ReadTag()) != 0) {
  1940. switch(tag) {
  1941. default:
  1942. input.SkipLastField();
  1943. break;
  1944. case 8: {
  1945. StageIndex = input.ReadUInt32();
  1946. break;
  1947. }
  1948. case 18:
  1949. case 16: {
  1950. users_.AddEntriesFrom(input, _repeated_users_codec);
  1951. break;
  1952. }
  1953. case 24: {
  1954. T = input.ReadUInt32();
  1955. break;
  1956. }
  1957. }
  1958. }
  1959. }
  1960. }
  1961. public sealed partial class PartyStageFinishPush : pb::IMessage<PartyStageFinishPush> {
  1962. private static readonly pb::MessageParser<PartyStageFinishPush> _parser = new pb::MessageParser<PartyStageFinishPush>(() => new PartyStageFinishPush());
  1963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1964. public static pb::MessageParser<PartyStageFinishPush> Parser { get { return _parser; } }
  1965. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1966. public static pbr::MessageDescriptor Descriptor {
  1967. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[16]; }
  1968. }
  1969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1970. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1971. get { return Descriptor; }
  1972. }
  1973. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1974. public PartyStageFinishPush() {
  1975. OnConstruction();
  1976. }
  1977. partial void OnConstruction();
  1978. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1979. public PartyStageFinishPush(PartyStageFinishPush other) : this() {
  1980. stageIndex_ = other.stageIndex_;
  1981. users_ = other.users_.Clone();
  1982. }
  1983. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1984. public PartyStageFinishPush Clone() {
  1985. return new PartyStageFinishPush(this);
  1986. }
  1987. /// <summary>Field number for the "StageIndex" field.</summary>
  1988. public const int StageIndexFieldNumber = 1;
  1989. private uint stageIndex_;
  1990. /// <summary>
  1991. /// 第几个小关
  1992. /// </summary>
  1993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1994. public uint StageIndex {
  1995. get { return stageIndex_; }
  1996. set {
  1997. stageIndex_ = value;
  1998. }
  1999. }
  2000. /// <summary>Field number for the "Users" field.</summary>
  2001. public const int UsersFieldNumber = 2;
  2002. private static readonly pb::FieldCodec<uint> _repeated_users_codec
  2003. = pb::FieldCodec.ForUInt32(18);
  2004. private readonly pbc::RepeatedField<uint> users_ = new pbc::RepeatedField<uint>();
  2005. /// <summary>
  2006. /// 过关用户
  2007. /// </summary>
  2008. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2009. public pbc::RepeatedField<uint> Users {
  2010. get { return users_; }
  2011. }
  2012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2013. public override bool Equals(object other) {
  2014. return Equals(other as PartyStageFinishPush);
  2015. }
  2016. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2017. public bool Equals(PartyStageFinishPush other) {
  2018. if (ReferenceEquals(other, null)) {
  2019. return false;
  2020. }
  2021. if (ReferenceEquals(other, this)) {
  2022. return true;
  2023. }
  2024. if (StageIndex != other.StageIndex) return false;
  2025. if(!users_.Equals(other.users_)) return false;
  2026. return true;
  2027. }
  2028. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2029. public override int GetHashCode() {
  2030. int hash = 1;
  2031. if (StageIndex != 0) hash ^= StageIndex.GetHashCode();
  2032. hash ^= users_.GetHashCode();
  2033. return hash;
  2034. }
  2035. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2036. public override string ToString() {
  2037. return pb::JsonFormatter.ToDiagnosticString(this);
  2038. }
  2039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2040. public void WriteTo(pb::CodedOutputStream output) {
  2041. if (StageIndex != 0) {
  2042. output.WriteRawTag(8);
  2043. output.WriteUInt32(StageIndex);
  2044. }
  2045. users_.WriteTo(output, _repeated_users_codec);
  2046. }
  2047. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2048. public int CalculateSize() {
  2049. int size = 0;
  2050. if (StageIndex != 0) {
  2051. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageIndex);
  2052. }
  2053. size += users_.CalculateSize(_repeated_users_codec);
  2054. return size;
  2055. }
  2056. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2057. public void MergeFrom(PartyStageFinishPush other) {
  2058. if (other == null) {
  2059. return;
  2060. }
  2061. if (other.StageIndex != 0) {
  2062. StageIndex = other.StageIndex;
  2063. }
  2064. users_.Add(other.users_);
  2065. }
  2066. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2067. public void MergeFrom(pb::CodedInputStream input) {
  2068. uint tag;
  2069. while ((tag = input.ReadTag()) != 0) {
  2070. switch(tag) {
  2071. default:
  2072. input.SkipLastField();
  2073. break;
  2074. case 8: {
  2075. StageIndex = input.ReadUInt32();
  2076. break;
  2077. }
  2078. case 18:
  2079. case 16: {
  2080. users_.AddEntriesFrom(input, _repeated_users_codec);
  2081. break;
  2082. }
  2083. }
  2084. }
  2085. }
  2086. }
  2087. public sealed partial class PartyInfo : pb::IMessage<PartyInfo> {
  2088. private static readonly pb::MessageParser<PartyInfo> _parser = new pb::MessageParser<PartyInfo>(() => new PartyInfo());
  2089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2090. public static pb::MessageParser<PartyInfo> Parser { get { return _parser; } }
  2091. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2092. public static pbr::MessageDescriptor Descriptor {
  2093. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[17]; }
  2094. }
  2095. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2096. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2097. get { return Descriptor; }
  2098. }
  2099. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2100. public PartyInfo() {
  2101. OnConstruction();
  2102. }
  2103. partial void OnConstruction();
  2104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2105. public PartyInfo(PartyInfo other) : this() {
  2106. partyID_ = other.partyID_;
  2107. partyType_ = other.partyType_;
  2108. gameUserCount_ = other.gameUserCount_;
  2109. obUserCount_ = other.obUserCount_;
  2110. status_ = other.status_;
  2111. }
  2112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2113. public PartyInfo Clone() {
  2114. return new PartyInfo(this);
  2115. }
  2116. /// <summary>Field number for the "PartyID" field.</summary>
  2117. public const int PartyIDFieldNumber = 1;
  2118. private ulong partyID_;
  2119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2120. public ulong PartyID {
  2121. get { return partyID_; }
  2122. set {
  2123. partyID_ = value;
  2124. }
  2125. }
  2126. /// <summary>Field number for the "PartyType" field.</summary>
  2127. public const int PartyTypeFieldNumber = 2;
  2128. private int partyType_;
  2129. /// <summary>
  2130. /// 1 = 糖豆人; 2 = ** ; 3 = **
  2131. /// </summary>
  2132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2133. public int PartyType {
  2134. get { return partyType_; }
  2135. set {
  2136. partyType_ = value;
  2137. }
  2138. }
  2139. /// <summary>Field number for the "GameUserCount" field.</summary>
  2140. public const int GameUserCountFieldNumber = 3;
  2141. private int gameUserCount_;
  2142. /// <summary>
  2143. /// 游戏人数
  2144. /// </summary>
  2145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2146. public int GameUserCount {
  2147. get { return gameUserCount_; }
  2148. set {
  2149. gameUserCount_ = value;
  2150. }
  2151. }
  2152. /// <summary>Field number for the "ObUserCount" field.</summary>
  2153. public const int ObUserCountFieldNumber = 4;
  2154. private int obUserCount_;
  2155. /// <summary>
  2156. /// 观战人数
  2157. /// </summary>
  2158. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2159. public int ObUserCount {
  2160. get { return obUserCount_; }
  2161. set {
  2162. obUserCount_ = value;
  2163. }
  2164. }
  2165. /// <summary>Field number for the "Status" field.</summary>
  2166. public const int StatusFieldNumber = 5;
  2167. private int status_;
  2168. /// <summary>
  2169. /// 房间状态 0 = 已创建;1=已满员; 2=已开始; 3 = 已结束; 4 = 已解散
  2170. /// </summary>
  2171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2172. public int Status {
  2173. get { return status_; }
  2174. set {
  2175. status_ = value;
  2176. }
  2177. }
  2178. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2179. public override bool Equals(object other) {
  2180. return Equals(other as PartyInfo);
  2181. }
  2182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2183. public bool Equals(PartyInfo other) {
  2184. if (ReferenceEquals(other, null)) {
  2185. return false;
  2186. }
  2187. if (ReferenceEquals(other, this)) {
  2188. return true;
  2189. }
  2190. if (PartyID != other.PartyID) return false;
  2191. if (PartyType != other.PartyType) return false;
  2192. if (GameUserCount != other.GameUserCount) return false;
  2193. if (ObUserCount != other.ObUserCount) return false;
  2194. if (Status != other.Status) return false;
  2195. return true;
  2196. }
  2197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2198. public override int GetHashCode() {
  2199. int hash = 1;
  2200. if (PartyID != 0UL) hash ^= PartyID.GetHashCode();
  2201. if (PartyType != 0) hash ^= PartyType.GetHashCode();
  2202. if (GameUserCount != 0) hash ^= GameUserCount.GetHashCode();
  2203. if (ObUserCount != 0) hash ^= ObUserCount.GetHashCode();
  2204. if (Status != 0) hash ^= Status.GetHashCode();
  2205. return hash;
  2206. }
  2207. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2208. public override string ToString() {
  2209. return pb::JsonFormatter.ToDiagnosticString(this);
  2210. }
  2211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2212. public void WriteTo(pb::CodedOutputStream output) {
  2213. if (PartyID != 0UL) {
  2214. output.WriteRawTag(8);
  2215. output.WriteUInt64(PartyID);
  2216. }
  2217. if (PartyType != 0) {
  2218. output.WriteRawTag(16);
  2219. output.WriteInt32(PartyType);
  2220. }
  2221. if (GameUserCount != 0) {
  2222. output.WriteRawTag(24);
  2223. output.WriteInt32(GameUserCount);
  2224. }
  2225. if (ObUserCount != 0) {
  2226. output.WriteRawTag(32);
  2227. output.WriteInt32(ObUserCount);
  2228. }
  2229. if (Status != 0) {
  2230. output.WriteRawTag(40);
  2231. output.WriteInt32(Status);
  2232. }
  2233. }
  2234. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2235. public int CalculateSize() {
  2236. int size = 0;
  2237. if (PartyID != 0UL) {
  2238. size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PartyID);
  2239. }
  2240. if (PartyType != 0) {
  2241. size += 1 + pb::CodedOutputStream.ComputeInt32Size(PartyType);
  2242. }
  2243. if (GameUserCount != 0) {
  2244. size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameUserCount);
  2245. }
  2246. if (ObUserCount != 0) {
  2247. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ObUserCount);
  2248. }
  2249. if (Status != 0) {
  2250. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status);
  2251. }
  2252. return size;
  2253. }
  2254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2255. public void MergeFrom(PartyInfo other) {
  2256. if (other == null) {
  2257. return;
  2258. }
  2259. if (other.PartyID != 0UL) {
  2260. PartyID = other.PartyID;
  2261. }
  2262. if (other.PartyType != 0) {
  2263. PartyType = other.PartyType;
  2264. }
  2265. if (other.GameUserCount != 0) {
  2266. GameUserCount = other.GameUserCount;
  2267. }
  2268. if (other.ObUserCount != 0) {
  2269. ObUserCount = other.ObUserCount;
  2270. }
  2271. if (other.Status != 0) {
  2272. Status = other.Status;
  2273. }
  2274. }
  2275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2276. public void MergeFrom(pb::CodedInputStream input) {
  2277. uint tag;
  2278. while ((tag = input.ReadTag()) != 0) {
  2279. switch(tag) {
  2280. default:
  2281. input.SkipLastField();
  2282. break;
  2283. case 8: {
  2284. PartyID = input.ReadUInt64();
  2285. break;
  2286. }
  2287. case 16: {
  2288. PartyType = input.ReadInt32();
  2289. break;
  2290. }
  2291. case 24: {
  2292. GameUserCount = input.ReadInt32();
  2293. break;
  2294. }
  2295. case 32: {
  2296. ObUserCount = input.ReadInt32();
  2297. break;
  2298. }
  2299. case 40: {
  2300. Status = input.ReadInt32();
  2301. break;
  2302. }
  2303. }
  2304. }
  2305. }
  2306. }
  2307. public sealed partial class PartyListRequest : pb::IMessage<PartyListRequest> {
  2308. private static readonly pb::MessageParser<PartyListRequest> _parser = new pb::MessageParser<PartyListRequest>(() => new PartyListRequest());
  2309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2310. public static pb::MessageParser<PartyListRequest> Parser { get { return _parser; } }
  2311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2312. public static pbr::MessageDescriptor Descriptor {
  2313. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[18]; }
  2314. }
  2315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2316. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2317. get { return Descriptor; }
  2318. }
  2319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2320. public PartyListRequest() {
  2321. OnConstruction();
  2322. }
  2323. partial void OnConstruction();
  2324. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2325. public PartyListRequest(PartyListRequest other) : this() {
  2326. partyType_ = other.partyType_;
  2327. }
  2328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2329. public PartyListRequest Clone() {
  2330. return new PartyListRequest(this);
  2331. }
  2332. /// <summary>Field number for the "PartyType" field.</summary>
  2333. public const int PartyTypeFieldNumber = 1;
  2334. private int partyType_;
  2335. /// <summary>
  2336. /// 0 = 不限; 1 = 糖豆人; 2 = ** ; 3 = **
  2337. /// </summary>
  2338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2339. public int PartyType {
  2340. get { return partyType_; }
  2341. set {
  2342. partyType_ = value;
  2343. }
  2344. }
  2345. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2346. public override bool Equals(object other) {
  2347. return Equals(other as PartyListRequest);
  2348. }
  2349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2350. public bool Equals(PartyListRequest other) {
  2351. if (ReferenceEquals(other, null)) {
  2352. return false;
  2353. }
  2354. if (ReferenceEquals(other, this)) {
  2355. return true;
  2356. }
  2357. if (PartyType != other.PartyType) return false;
  2358. return true;
  2359. }
  2360. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2361. public override int GetHashCode() {
  2362. int hash = 1;
  2363. if (PartyType != 0) hash ^= PartyType.GetHashCode();
  2364. return hash;
  2365. }
  2366. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2367. public override string ToString() {
  2368. return pb::JsonFormatter.ToDiagnosticString(this);
  2369. }
  2370. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2371. public void WriteTo(pb::CodedOutputStream output) {
  2372. if (PartyType != 0) {
  2373. output.WriteRawTag(8);
  2374. output.WriteInt32(PartyType);
  2375. }
  2376. }
  2377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2378. public int CalculateSize() {
  2379. int size = 0;
  2380. if (PartyType != 0) {
  2381. size += 1 + pb::CodedOutputStream.ComputeInt32Size(PartyType);
  2382. }
  2383. return size;
  2384. }
  2385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2386. public void MergeFrom(PartyListRequest other) {
  2387. if (other == null) {
  2388. return;
  2389. }
  2390. if (other.PartyType != 0) {
  2391. PartyType = other.PartyType;
  2392. }
  2393. }
  2394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2395. public void MergeFrom(pb::CodedInputStream input) {
  2396. uint tag;
  2397. while ((tag = input.ReadTag()) != 0) {
  2398. switch(tag) {
  2399. default:
  2400. input.SkipLastField();
  2401. break;
  2402. case 8: {
  2403. PartyType = input.ReadInt32();
  2404. break;
  2405. }
  2406. }
  2407. }
  2408. }
  2409. }
  2410. public sealed partial class PartyListResponse : pb::IMessage<PartyListResponse> {
  2411. private static readonly pb::MessageParser<PartyListResponse> _parser = new pb::MessageParser<PartyListResponse>(() => new PartyListResponse());
  2412. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2413. public static pb::MessageParser<PartyListResponse> Parser { get { return _parser; } }
  2414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2415. public static pbr::MessageDescriptor Descriptor {
  2416. get { return global::Protos.PartyReflection.Descriptor.MessageTypes[19]; }
  2417. }
  2418. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2419. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2420. get { return Descriptor; }
  2421. }
  2422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2423. public PartyListResponse() {
  2424. OnConstruction();
  2425. }
  2426. partial void OnConstruction();
  2427. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2428. public PartyListResponse(PartyListResponse other) : this() {
  2429. Result = other.result_ != null ? other.Result.Clone() : null;
  2430. parties_ = other.parties_.Clone();
  2431. }
  2432. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2433. public PartyListResponse Clone() {
  2434. return new PartyListResponse(this);
  2435. }
  2436. /// <summary>Field number for the "Result" field.</summary>
  2437. public const int ResultFieldNumber = 1;
  2438. private global::Protos.Result result_;
  2439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2440. public global::Protos.Result Result {
  2441. get { return result_; }
  2442. set {
  2443. result_ = value;
  2444. }
  2445. }
  2446. /// <summary>Field number for the "Parties" field.</summary>
  2447. public const int PartiesFieldNumber = 2;
  2448. private static readonly pb::FieldCodec<global::Protos.PartyInfo> _repeated_parties_codec
  2449. = pb::FieldCodec.ForMessage(18, global::Protos.PartyInfo.Parser);
  2450. private readonly pbc::RepeatedField<global::Protos.PartyInfo> parties_ = new pbc::RepeatedField<global::Protos.PartyInfo>();
  2451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2452. public pbc::RepeatedField<global::Protos.PartyInfo> Parties {
  2453. get { return parties_; }
  2454. }
  2455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2456. public override bool Equals(object other) {
  2457. return Equals(other as PartyListResponse);
  2458. }
  2459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2460. public bool Equals(PartyListResponse other) {
  2461. if (ReferenceEquals(other, null)) {
  2462. return false;
  2463. }
  2464. if (ReferenceEquals(other, this)) {
  2465. return true;
  2466. }
  2467. if (!object.Equals(Result, other.Result)) return false;
  2468. if(!parties_.Equals(other.parties_)) return false;
  2469. return true;
  2470. }
  2471. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2472. public override int GetHashCode() {
  2473. int hash = 1;
  2474. if (result_ != null) hash ^= Result.GetHashCode();
  2475. hash ^= parties_.GetHashCode();
  2476. return hash;
  2477. }
  2478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2479. public override string ToString() {
  2480. return pb::JsonFormatter.ToDiagnosticString(this);
  2481. }
  2482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2483. public void WriteTo(pb::CodedOutputStream output) {
  2484. if (result_ != null) {
  2485. output.WriteRawTag(10);
  2486. output.WriteMessage(Result);
  2487. }
  2488. parties_.WriteTo(output, _repeated_parties_codec);
  2489. }
  2490. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2491. public int CalculateSize() {
  2492. int size = 0;
  2493. if (result_ != null) {
  2494. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Result);
  2495. }
  2496. size += parties_.CalculateSize(_repeated_parties_codec);
  2497. return size;
  2498. }
  2499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2500. public void MergeFrom(PartyListResponse other) {
  2501. if (other == null) {
  2502. return;
  2503. }
  2504. if (other.result_ != null) {
  2505. if (result_ == null) {
  2506. result_ = new global::Protos.Result();
  2507. }
  2508. Result.MergeFrom(other.Result);
  2509. }
  2510. parties_.Add(other.parties_);
  2511. }
  2512. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2513. public void MergeFrom(pb::CodedInputStream input) {
  2514. uint tag;
  2515. while ((tag = input.ReadTag()) != 0) {
  2516. switch(tag) {
  2517. default:
  2518. input.SkipLastField();
  2519. break;
  2520. case 10: {
  2521. if (result_ == null) {
  2522. result_ = new global::Protos.Result();
  2523. }
  2524. input.ReadMessage(result_);
  2525. break;
  2526. }
  2527. case 18: {
  2528. parties_.AddEntriesFrom(input, _repeated_parties_codec);
  2529. break;
  2530. }
  2531. }
  2532. }
  2533. }
  2534. }
  2535. #endregion
  2536. }
  2537. #endregion Designer generated code