MultiDup.cs 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: pb/MultiDup.proto
  3. #pragma warning disable 1591, 0612, 3021
  4. #region Designer generated code
  5. using pb = global::Google.Protobuf;
  6. using pbc = global::Google.Protobuf.Collections;
  7. using pbr = global::Google.Protobuf.Reflection;
  8. using scg = global::System.Collections.Generic;
  9. namespace MultiDup {
  10. /// <summary>Holder for reflection information generated from pb/MultiDup.proto</summary>
  11. public static partial class MultiDupReflection {
  12. #region Descriptor
  13. /// <summary>File descriptor for pb/MultiDup.proto</summary>
  14. public static pbr::FileDescriptor Descriptor {
  15. get { return descriptor; }
  16. }
  17. private static pbr::FileDescriptor descriptor;
  18. static MultiDupReflection() {
  19. byte[] descriptorData = global::System.Convert.FromBase64String(
  20. string.Concat(
  21. "ChFwYi9NdWx0aUR1cC5wcm90bxIITXVsdGlEdXAiPgoQQ1NfTURfQ3JlYXRl",
  22. "Um9vbRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJEg0KBU1hcGlkGAMg",
  23. "ASgFIjAKEUNTX01EX0dldFJvb21MaXN0Eg4KBlpvbmVpZBgBIAEoBRILCgNV",
  24. "aWQYAiABKAkiPgoPQ1NfTURfRW50ZXJSb29tEg4KBlpvbmVpZBgBIAEoBRIL",
  25. "CgNVaWQYAiABKAkSDgoGUm9vbUlkGAMgASgFIi4KD0NTX01EX0xlYXZlUm9v",
  26. "bRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJIi0KDkNTX01EX0JlZ2lu",
  27. "RHVwEg4KBlpvbmVpZBgBIAEoBRILCgNVaWQYAiABKAkiTgoQU0NfTURfQ3Jl",
  28. "YXRlUm9vbRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJEg0KBU1hcGlk",
  29. "GAMgASgFEg4KBlJvb21JZBgEIAEoBSKhAQoRU0NfTURfR2V0Um9vbUxpc3QS",
  30. "NwoJUm9vbUluZm9zGAEgAygLMiQuTXVsdGlEdXAuU0NfTURfR2V0Um9vbUxp",
  31. "c3QuUm9vbUluZm8aUwoIUm9vbUluZm8SDgoGUm9vbUlkGAEgASgFEg0KBU1h",
  32. "cGlkGAIgASgFEhIKClBsYXllclVpZHMYAyADKAkSFAoMYmF0dGxlc2VydmVy",
  33. "GAQgASgJImsKD1NDX01EX0VudGVyUm9vbRIOCgZab25laWQYASABKAUSCwoD",
  34. "VWlkGAIgASgJEg0KBU1hcGlkGAMgASgFEgoKAklwGAQgASgJEgwKBFBvcnQY",
  35. "BSABKAUSEgoKUGxheWVyVWlkcxgGIAMoCSIuCg9TQ19NRF9MZWF2ZVJvb20S",
  36. "DgoGWm9uZWlkGAEgASgFEgsKA1VpZBgCIAEoCSIQCg5TQ19NRF9CZWdpbkR1",
  37. "cGIGcHJvdG8z"));
  38. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  39. new pbr::FileDescriptor[] { },
  40. new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
  41. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_CreateRoom), global::MultiDup.CS_MD_CreateRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid" }, null, null, null),
  42. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_GetRoomList), global::MultiDup.CS_MD_GetRoomList.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  43. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_EnterRoom), global::MultiDup.CS_MD_EnterRoom.Parser, new[]{ "Zoneid", "Uid", "RoomId" }, null, null, null),
  44. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_LeaveRoom), global::MultiDup.CS_MD_LeaveRoom.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  45. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_BeginDup), global::MultiDup.CS_MD_BeginDup.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  46. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_CreateRoom), global::MultiDup.SC_MD_CreateRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid", "RoomId" }, null, null, null),
  47. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_GetRoomList), global::MultiDup.SC_MD_GetRoomList.Parser, new[]{ "RoomInfos" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo), global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo.Parser, new[]{ "RoomId", "Mapid", "PlayerUids", "Battleserver" }, null, null, null)}),
  48. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_EnterRoom), global::MultiDup.SC_MD_EnterRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid", "Ip", "Port", "PlayerUids" }, null, null, null),
  49. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_LeaveRoom), global::MultiDup.SC_MD_LeaveRoom.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
  50. new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_BeginDup), global::MultiDup.SC_MD_BeginDup.Parser, null, null, null, null)
  51. }));
  52. }
  53. #endregion
  54. }
  55. #region Messages
  56. /// <summary>
  57. ///
  58. /// 多人副本, 创建房间
  59. /// </summary>
  60. public sealed partial class CS_MD_CreateRoom : pb::IMessage<CS_MD_CreateRoom> {
  61. private static readonly pb::MessageParser<CS_MD_CreateRoom> _parser = new pb::MessageParser<CS_MD_CreateRoom>(() => new CS_MD_CreateRoom());
  62. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  63. public static pb::MessageParser<CS_MD_CreateRoom> Parser { get { return _parser; } }
  64. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  65. public static pbr::MessageDescriptor Descriptor {
  66. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[0]; }
  67. }
  68. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  69. pbr::MessageDescriptor pb::IMessage.Descriptor {
  70. get { return Descriptor; }
  71. }
  72. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  73. public CS_MD_CreateRoom() {
  74. OnConstruction();
  75. }
  76. partial void OnConstruction();
  77. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  78. public CS_MD_CreateRoom(CS_MD_CreateRoom other) : this() {
  79. zoneid_ = other.zoneid_;
  80. uid_ = other.uid_;
  81. mapid_ = other.mapid_;
  82. }
  83. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  84. public CS_MD_CreateRoom Clone() {
  85. return new CS_MD_CreateRoom(this);
  86. }
  87. /// <summary>Field number for the "Zoneid" field.</summary>
  88. public const int ZoneidFieldNumber = 1;
  89. private int zoneid_;
  90. /// <summary>
  91. /// zoneid
  92. /// </summary>
  93. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  94. public int Zoneid {
  95. get { return zoneid_; }
  96. set {
  97. zoneid_ = value;
  98. }
  99. }
  100. /// <summary>Field number for the "Uid" field.</summary>
  101. public const int UidFieldNumber = 2;
  102. private string uid_ = "";
  103. /// <summary>
  104. /// 玩家id
  105. /// </summary>
  106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  107. public string Uid {
  108. get { return uid_; }
  109. set {
  110. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  111. }
  112. }
  113. /// <summary>Field number for the "Mapid" field.</summary>
  114. public const int MapidFieldNumber = 3;
  115. private int mapid_;
  116. /// <summary>
  117. /// 地图id
  118. /// </summary>
  119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  120. public int Mapid {
  121. get { return mapid_; }
  122. set {
  123. mapid_ = value;
  124. }
  125. }
  126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  127. public override bool Equals(object other) {
  128. return Equals(other as CS_MD_CreateRoom);
  129. }
  130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  131. public bool Equals(CS_MD_CreateRoom other) {
  132. if (ReferenceEquals(other, null)) {
  133. return false;
  134. }
  135. if (ReferenceEquals(other, this)) {
  136. return true;
  137. }
  138. if (Zoneid != other.Zoneid) return false;
  139. if (Uid != other.Uid) return false;
  140. if (Mapid != other.Mapid) return false;
  141. return true;
  142. }
  143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  144. public override int GetHashCode() {
  145. int hash = 1;
  146. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  147. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  148. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  149. return hash;
  150. }
  151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  152. public override string ToString() {
  153. return pb::JsonFormatter.ToDiagnosticString(this);
  154. }
  155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  156. public void WriteTo(pb::CodedOutputStream output) {
  157. if (Zoneid != 0) {
  158. output.WriteRawTag(8);
  159. output.WriteInt32(Zoneid);
  160. }
  161. if (Uid.Length != 0) {
  162. output.WriteRawTag(18);
  163. output.WriteString(Uid);
  164. }
  165. if (Mapid != 0) {
  166. output.WriteRawTag(24);
  167. output.WriteInt32(Mapid);
  168. }
  169. }
  170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  171. public int CalculateSize() {
  172. int size = 0;
  173. if (Zoneid != 0) {
  174. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  175. }
  176. if (Uid.Length != 0) {
  177. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  178. }
  179. if (Mapid != 0) {
  180. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  181. }
  182. return size;
  183. }
  184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  185. public void MergeFrom(CS_MD_CreateRoom other) {
  186. if (other == null) {
  187. return;
  188. }
  189. if (other.Zoneid != 0) {
  190. Zoneid = other.Zoneid;
  191. }
  192. if (other.Uid.Length != 0) {
  193. Uid = other.Uid;
  194. }
  195. if (other.Mapid != 0) {
  196. Mapid = other.Mapid;
  197. }
  198. }
  199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  200. public void MergeFrom(pb::CodedInputStream input) {
  201. uint tag;
  202. while ((tag = input.ReadTag()) != 0) {
  203. switch(tag) {
  204. default:
  205. input.SkipLastField();
  206. break;
  207. case 8: {
  208. Zoneid = input.ReadInt32();
  209. break;
  210. }
  211. case 18: {
  212. Uid = input.ReadString();
  213. break;
  214. }
  215. case 24: {
  216. Mapid = input.ReadInt32();
  217. break;
  218. }
  219. }
  220. }
  221. }
  222. }
  223. /// <summary>
  224. /// 多人副本, 申请房间(列表)
  225. /// </summary>
  226. public sealed partial class CS_MD_GetRoomList : pb::IMessage<CS_MD_GetRoomList> {
  227. private static readonly pb::MessageParser<CS_MD_GetRoomList> _parser = new pb::MessageParser<CS_MD_GetRoomList>(() => new CS_MD_GetRoomList());
  228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  229. public static pb::MessageParser<CS_MD_GetRoomList> Parser { get { return _parser; } }
  230. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  231. public static pbr::MessageDescriptor Descriptor {
  232. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[1]; }
  233. }
  234. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  235. pbr::MessageDescriptor pb::IMessage.Descriptor {
  236. get { return Descriptor; }
  237. }
  238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  239. public CS_MD_GetRoomList() {
  240. OnConstruction();
  241. }
  242. partial void OnConstruction();
  243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  244. public CS_MD_GetRoomList(CS_MD_GetRoomList other) : this() {
  245. zoneid_ = other.zoneid_;
  246. uid_ = other.uid_;
  247. }
  248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  249. public CS_MD_GetRoomList Clone() {
  250. return new CS_MD_GetRoomList(this);
  251. }
  252. /// <summary>Field number for the "Zoneid" field.</summary>
  253. public const int ZoneidFieldNumber = 1;
  254. private int zoneid_;
  255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  256. public int Zoneid {
  257. get { return zoneid_; }
  258. set {
  259. zoneid_ = value;
  260. }
  261. }
  262. /// <summary>Field number for the "Uid" field.</summary>
  263. public const int UidFieldNumber = 2;
  264. private string uid_ = "";
  265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  266. public string Uid {
  267. get { return uid_; }
  268. set {
  269. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  270. }
  271. }
  272. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  273. public override bool Equals(object other) {
  274. return Equals(other as CS_MD_GetRoomList);
  275. }
  276. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  277. public bool Equals(CS_MD_GetRoomList other) {
  278. if (ReferenceEquals(other, null)) {
  279. return false;
  280. }
  281. if (ReferenceEquals(other, this)) {
  282. return true;
  283. }
  284. if (Zoneid != other.Zoneid) return false;
  285. if (Uid != other.Uid) return false;
  286. return true;
  287. }
  288. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  289. public override int GetHashCode() {
  290. int hash = 1;
  291. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  292. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  293. return hash;
  294. }
  295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  296. public override string ToString() {
  297. return pb::JsonFormatter.ToDiagnosticString(this);
  298. }
  299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  300. public void WriteTo(pb::CodedOutputStream output) {
  301. if (Zoneid != 0) {
  302. output.WriteRawTag(8);
  303. output.WriteInt32(Zoneid);
  304. }
  305. if (Uid.Length != 0) {
  306. output.WriteRawTag(18);
  307. output.WriteString(Uid);
  308. }
  309. }
  310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  311. public int CalculateSize() {
  312. int size = 0;
  313. if (Zoneid != 0) {
  314. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  315. }
  316. if (Uid.Length != 0) {
  317. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  318. }
  319. return size;
  320. }
  321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  322. public void MergeFrom(CS_MD_GetRoomList other) {
  323. if (other == null) {
  324. return;
  325. }
  326. if (other.Zoneid != 0) {
  327. Zoneid = other.Zoneid;
  328. }
  329. if (other.Uid.Length != 0) {
  330. Uid = other.Uid;
  331. }
  332. }
  333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  334. public void MergeFrom(pb::CodedInputStream input) {
  335. uint tag;
  336. while ((tag = input.ReadTag()) != 0) {
  337. switch(tag) {
  338. default:
  339. input.SkipLastField();
  340. break;
  341. case 8: {
  342. Zoneid = input.ReadInt32();
  343. break;
  344. }
  345. case 18: {
  346. Uid = input.ReadString();
  347. break;
  348. }
  349. }
  350. }
  351. }
  352. }
  353. /// <summary>
  354. /// 多人副本, 加入房间
  355. /// </summary>
  356. public sealed partial class CS_MD_EnterRoom : pb::IMessage<CS_MD_EnterRoom> {
  357. private static readonly pb::MessageParser<CS_MD_EnterRoom> _parser = new pb::MessageParser<CS_MD_EnterRoom>(() => new CS_MD_EnterRoom());
  358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  359. public static pb::MessageParser<CS_MD_EnterRoom> Parser { get { return _parser; } }
  360. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  361. public static pbr::MessageDescriptor Descriptor {
  362. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[2]; }
  363. }
  364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  365. pbr::MessageDescriptor pb::IMessage.Descriptor {
  366. get { return Descriptor; }
  367. }
  368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  369. public CS_MD_EnterRoom() {
  370. OnConstruction();
  371. }
  372. partial void OnConstruction();
  373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  374. public CS_MD_EnterRoom(CS_MD_EnterRoom other) : this() {
  375. zoneid_ = other.zoneid_;
  376. uid_ = other.uid_;
  377. roomId_ = other.roomId_;
  378. }
  379. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  380. public CS_MD_EnterRoom Clone() {
  381. return new CS_MD_EnterRoom(this);
  382. }
  383. /// <summary>Field number for the "Zoneid" field.</summary>
  384. public const int ZoneidFieldNumber = 1;
  385. private int zoneid_;
  386. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  387. public int Zoneid {
  388. get { return zoneid_; }
  389. set {
  390. zoneid_ = value;
  391. }
  392. }
  393. /// <summary>Field number for the "Uid" field.</summary>
  394. public const int UidFieldNumber = 2;
  395. private string uid_ = "";
  396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  397. public string Uid {
  398. get { return uid_; }
  399. set {
  400. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  401. }
  402. }
  403. /// <summary>Field number for the "RoomId" field.</summary>
  404. public const int RoomIdFieldNumber = 3;
  405. private int roomId_;
  406. /// <summary>
  407. /// 房间id
  408. /// </summary>
  409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  410. public int RoomId {
  411. get { return roomId_; }
  412. set {
  413. roomId_ = value;
  414. }
  415. }
  416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  417. public override bool Equals(object other) {
  418. return Equals(other as CS_MD_EnterRoom);
  419. }
  420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  421. public bool Equals(CS_MD_EnterRoom other) {
  422. if (ReferenceEquals(other, null)) {
  423. return false;
  424. }
  425. if (ReferenceEquals(other, this)) {
  426. return true;
  427. }
  428. if (Zoneid != other.Zoneid) return false;
  429. if (Uid != other.Uid) return false;
  430. if (RoomId != other.RoomId) return false;
  431. return true;
  432. }
  433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  434. public override int GetHashCode() {
  435. int hash = 1;
  436. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  437. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  438. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  439. return hash;
  440. }
  441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  442. public override string ToString() {
  443. return pb::JsonFormatter.ToDiagnosticString(this);
  444. }
  445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  446. public void WriteTo(pb::CodedOutputStream output) {
  447. if (Zoneid != 0) {
  448. output.WriteRawTag(8);
  449. output.WriteInt32(Zoneid);
  450. }
  451. if (Uid.Length != 0) {
  452. output.WriteRawTag(18);
  453. output.WriteString(Uid);
  454. }
  455. if (RoomId != 0) {
  456. output.WriteRawTag(24);
  457. output.WriteInt32(RoomId);
  458. }
  459. }
  460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  461. public int CalculateSize() {
  462. int size = 0;
  463. if (Zoneid != 0) {
  464. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  465. }
  466. if (Uid.Length != 0) {
  467. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  468. }
  469. if (RoomId != 0) {
  470. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  471. }
  472. return size;
  473. }
  474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  475. public void MergeFrom(CS_MD_EnterRoom other) {
  476. if (other == null) {
  477. return;
  478. }
  479. if (other.Zoneid != 0) {
  480. Zoneid = other.Zoneid;
  481. }
  482. if (other.Uid.Length != 0) {
  483. Uid = other.Uid;
  484. }
  485. if (other.RoomId != 0) {
  486. RoomId = other.RoomId;
  487. }
  488. }
  489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  490. public void MergeFrom(pb::CodedInputStream input) {
  491. uint tag;
  492. while ((tag = input.ReadTag()) != 0) {
  493. switch(tag) {
  494. default:
  495. input.SkipLastField();
  496. break;
  497. case 8: {
  498. Zoneid = input.ReadInt32();
  499. break;
  500. }
  501. case 18: {
  502. Uid = input.ReadString();
  503. break;
  504. }
  505. case 24: {
  506. RoomId = input.ReadInt32();
  507. break;
  508. }
  509. }
  510. }
  511. }
  512. }
  513. /// <summary>
  514. /// 多人副本, 离开房间
  515. /// </summary>
  516. public sealed partial class CS_MD_LeaveRoom : pb::IMessage<CS_MD_LeaveRoom> {
  517. private static readonly pb::MessageParser<CS_MD_LeaveRoom> _parser = new pb::MessageParser<CS_MD_LeaveRoom>(() => new CS_MD_LeaveRoom());
  518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  519. public static pb::MessageParser<CS_MD_LeaveRoom> Parser { get { return _parser; } }
  520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  521. public static pbr::MessageDescriptor Descriptor {
  522. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[3]; }
  523. }
  524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  525. pbr::MessageDescriptor pb::IMessage.Descriptor {
  526. get { return Descriptor; }
  527. }
  528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  529. public CS_MD_LeaveRoom() {
  530. OnConstruction();
  531. }
  532. partial void OnConstruction();
  533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  534. public CS_MD_LeaveRoom(CS_MD_LeaveRoom other) : this() {
  535. zoneid_ = other.zoneid_;
  536. uid_ = other.uid_;
  537. }
  538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  539. public CS_MD_LeaveRoom Clone() {
  540. return new CS_MD_LeaveRoom(this);
  541. }
  542. /// <summary>Field number for the "Zoneid" field.</summary>
  543. public const int ZoneidFieldNumber = 1;
  544. private int zoneid_;
  545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  546. public int Zoneid {
  547. get { return zoneid_; }
  548. set {
  549. zoneid_ = value;
  550. }
  551. }
  552. /// <summary>Field number for the "Uid" field.</summary>
  553. public const int UidFieldNumber = 2;
  554. private string uid_ = "";
  555. /// <summary>
  556. ///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
  557. /// </summary>
  558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  559. public string Uid {
  560. get { return uid_; }
  561. set {
  562. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  563. }
  564. }
  565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  566. public override bool Equals(object other) {
  567. return Equals(other as CS_MD_LeaveRoom);
  568. }
  569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  570. public bool Equals(CS_MD_LeaveRoom other) {
  571. if (ReferenceEquals(other, null)) {
  572. return false;
  573. }
  574. if (ReferenceEquals(other, this)) {
  575. return true;
  576. }
  577. if (Zoneid != other.Zoneid) return false;
  578. if (Uid != other.Uid) return false;
  579. return true;
  580. }
  581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  582. public override int GetHashCode() {
  583. int hash = 1;
  584. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  585. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  586. return hash;
  587. }
  588. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  589. public override string ToString() {
  590. return pb::JsonFormatter.ToDiagnosticString(this);
  591. }
  592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  593. public void WriteTo(pb::CodedOutputStream output) {
  594. if (Zoneid != 0) {
  595. output.WriteRawTag(8);
  596. output.WriteInt32(Zoneid);
  597. }
  598. if (Uid.Length != 0) {
  599. output.WriteRawTag(18);
  600. output.WriteString(Uid);
  601. }
  602. }
  603. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  604. public int CalculateSize() {
  605. int size = 0;
  606. if (Zoneid != 0) {
  607. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  608. }
  609. if (Uid.Length != 0) {
  610. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  611. }
  612. return size;
  613. }
  614. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  615. public void MergeFrom(CS_MD_LeaveRoom other) {
  616. if (other == null) {
  617. return;
  618. }
  619. if (other.Zoneid != 0) {
  620. Zoneid = other.Zoneid;
  621. }
  622. if (other.Uid.Length != 0) {
  623. Uid = other.Uid;
  624. }
  625. }
  626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  627. public void MergeFrom(pb::CodedInputStream input) {
  628. uint tag;
  629. while ((tag = input.ReadTag()) != 0) {
  630. switch(tag) {
  631. default:
  632. input.SkipLastField();
  633. break;
  634. case 8: {
  635. Zoneid = input.ReadInt32();
  636. break;
  637. }
  638. case 18: {
  639. Uid = input.ReadString();
  640. break;
  641. }
  642. }
  643. }
  644. }
  645. }
  646. /// <summary>
  647. /// 多人副本, 开始游戏(创建者)
  648. /// </summary>
  649. public sealed partial class CS_MD_BeginDup : pb::IMessage<CS_MD_BeginDup> {
  650. private static readonly pb::MessageParser<CS_MD_BeginDup> _parser = new pb::MessageParser<CS_MD_BeginDup>(() => new CS_MD_BeginDup());
  651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  652. public static pb::MessageParser<CS_MD_BeginDup> Parser { get { return _parser; } }
  653. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  654. public static pbr::MessageDescriptor Descriptor {
  655. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[4]; }
  656. }
  657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  658. pbr::MessageDescriptor pb::IMessage.Descriptor {
  659. get { return Descriptor; }
  660. }
  661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  662. public CS_MD_BeginDup() {
  663. OnConstruction();
  664. }
  665. partial void OnConstruction();
  666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  667. public CS_MD_BeginDup(CS_MD_BeginDup other) : this() {
  668. zoneid_ = other.zoneid_;
  669. uid_ = other.uid_;
  670. }
  671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  672. public CS_MD_BeginDup Clone() {
  673. return new CS_MD_BeginDup(this);
  674. }
  675. /// <summary>Field number for the "Zoneid" field.</summary>
  676. public const int ZoneidFieldNumber = 1;
  677. private int zoneid_;
  678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  679. public int Zoneid {
  680. get { return zoneid_; }
  681. set {
  682. zoneid_ = value;
  683. }
  684. }
  685. /// <summary>Field number for the "Uid" field.</summary>
  686. public const int UidFieldNumber = 2;
  687. private string uid_ = "";
  688. /// <summary>
  689. ///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
  690. /// </summary>
  691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  692. public string Uid {
  693. get { return uid_; }
  694. set {
  695. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  696. }
  697. }
  698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  699. public override bool Equals(object other) {
  700. return Equals(other as CS_MD_BeginDup);
  701. }
  702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  703. public bool Equals(CS_MD_BeginDup other) {
  704. if (ReferenceEquals(other, null)) {
  705. return false;
  706. }
  707. if (ReferenceEquals(other, this)) {
  708. return true;
  709. }
  710. if (Zoneid != other.Zoneid) return false;
  711. if (Uid != other.Uid) return false;
  712. return true;
  713. }
  714. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  715. public override int GetHashCode() {
  716. int hash = 1;
  717. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  718. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  719. return hash;
  720. }
  721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  722. public override string ToString() {
  723. return pb::JsonFormatter.ToDiagnosticString(this);
  724. }
  725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  726. public void WriteTo(pb::CodedOutputStream output) {
  727. if (Zoneid != 0) {
  728. output.WriteRawTag(8);
  729. output.WriteInt32(Zoneid);
  730. }
  731. if (Uid.Length != 0) {
  732. output.WriteRawTag(18);
  733. output.WriteString(Uid);
  734. }
  735. }
  736. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  737. public int CalculateSize() {
  738. int size = 0;
  739. if (Zoneid != 0) {
  740. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  741. }
  742. if (Uid.Length != 0) {
  743. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  744. }
  745. return size;
  746. }
  747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  748. public void MergeFrom(CS_MD_BeginDup other) {
  749. if (other == null) {
  750. return;
  751. }
  752. if (other.Zoneid != 0) {
  753. Zoneid = other.Zoneid;
  754. }
  755. if (other.Uid.Length != 0) {
  756. Uid = other.Uid;
  757. }
  758. }
  759. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  760. public void MergeFrom(pb::CodedInputStream input) {
  761. uint tag;
  762. while ((tag = input.ReadTag()) != 0) {
  763. switch(tag) {
  764. default:
  765. input.SkipLastField();
  766. break;
  767. case 8: {
  768. Zoneid = input.ReadInt32();
  769. break;
  770. }
  771. case 18: {
  772. Uid = input.ReadString();
  773. break;
  774. }
  775. }
  776. }
  777. }
  778. }
  779. /// <summary>
  780. ///
  781. /// 多人副本, 创建房间
  782. /// </summary>
  783. public sealed partial class SC_MD_CreateRoom : pb::IMessage<SC_MD_CreateRoom> {
  784. private static readonly pb::MessageParser<SC_MD_CreateRoom> _parser = new pb::MessageParser<SC_MD_CreateRoom>(() => new SC_MD_CreateRoom());
  785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  786. public static pb::MessageParser<SC_MD_CreateRoom> Parser { get { return _parser; } }
  787. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  788. public static pbr::MessageDescriptor Descriptor {
  789. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[5]; }
  790. }
  791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  792. pbr::MessageDescriptor pb::IMessage.Descriptor {
  793. get { return Descriptor; }
  794. }
  795. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  796. public SC_MD_CreateRoom() {
  797. OnConstruction();
  798. }
  799. partial void OnConstruction();
  800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  801. public SC_MD_CreateRoom(SC_MD_CreateRoom other) : this() {
  802. zoneid_ = other.zoneid_;
  803. uid_ = other.uid_;
  804. mapid_ = other.mapid_;
  805. roomId_ = other.roomId_;
  806. }
  807. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  808. public SC_MD_CreateRoom Clone() {
  809. return new SC_MD_CreateRoom(this);
  810. }
  811. /// <summary>Field number for the "Zoneid" field.</summary>
  812. public const int ZoneidFieldNumber = 1;
  813. private int zoneid_;
  814. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  815. public int Zoneid {
  816. get { return zoneid_; }
  817. set {
  818. zoneid_ = value;
  819. }
  820. }
  821. /// <summary>Field number for the "Uid" field.</summary>
  822. public const int UidFieldNumber = 2;
  823. private string uid_ = "";
  824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  825. public string Uid {
  826. get { return uid_; }
  827. set {
  828. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  829. }
  830. }
  831. /// <summary>Field number for the "Mapid" field.</summary>
  832. public const int MapidFieldNumber = 3;
  833. private int mapid_;
  834. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  835. public int Mapid {
  836. get { return mapid_; }
  837. set {
  838. mapid_ = value;
  839. }
  840. }
  841. /// <summary>Field number for the "RoomId" field.</summary>
  842. public const int RoomIdFieldNumber = 4;
  843. private int roomId_;
  844. /// <summary>
  845. /// 房间id (服务端分配)
  846. /// </summary>
  847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  848. public int RoomId {
  849. get { return roomId_; }
  850. set {
  851. roomId_ = value;
  852. }
  853. }
  854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  855. public override bool Equals(object other) {
  856. return Equals(other as SC_MD_CreateRoom);
  857. }
  858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  859. public bool Equals(SC_MD_CreateRoom other) {
  860. if (ReferenceEquals(other, null)) {
  861. return false;
  862. }
  863. if (ReferenceEquals(other, this)) {
  864. return true;
  865. }
  866. if (Zoneid != other.Zoneid) return false;
  867. if (Uid != other.Uid) return false;
  868. if (Mapid != other.Mapid) return false;
  869. if (RoomId != other.RoomId) return false;
  870. return true;
  871. }
  872. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  873. public override int GetHashCode() {
  874. int hash = 1;
  875. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  876. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  877. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  878. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  879. return hash;
  880. }
  881. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  882. public override string ToString() {
  883. return pb::JsonFormatter.ToDiagnosticString(this);
  884. }
  885. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  886. public void WriteTo(pb::CodedOutputStream output) {
  887. if (Zoneid != 0) {
  888. output.WriteRawTag(8);
  889. output.WriteInt32(Zoneid);
  890. }
  891. if (Uid.Length != 0) {
  892. output.WriteRawTag(18);
  893. output.WriteString(Uid);
  894. }
  895. if (Mapid != 0) {
  896. output.WriteRawTag(24);
  897. output.WriteInt32(Mapid);
  898. }
  899. if (RoomId != 0) {
  900. output.WriteRawTag(32);
  901. output.WriteInt32(RoomId);
  902. }
  903. }
  904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  905. public int CalculateSize() {
  906. int size = 0;
  907. if (Zoneid != 0) {
  908. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  909. }
  910. if (Uid.Length != 0) {
  911. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  912. }
  913. if (Mapid != 0) {
  914. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  915. }
  916. if (RoomId != 0) {
  917. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  918. }
  919. return size;
  920. }
  921. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  922. public void MergeFrom(SC_MD_CreateRoom other) {
  923. if (other == null) {
  924. return;
  925. }
  926. if (other.Zoneid != 0) {
  927. Zoneid = other.Zoneid;
  928. }
  929. if (other.Uid.Length != 0) {
  930. Uid = other.Uid;
  931. }
  932. if (other.Mapid != 0) {
  933. Mapid = other.Mapid;
  934. }
  935. if (other.RoomId != 0) {
  936. RoomId = other.RoomId;
  937. }
  938. }
  939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  940. public void MergeFrom(pb::CodedInputStream input) {
  941. uint tag;
  942. while ((tag = input.ReadTag()) != 0) {
  943. switch(tag) {
  944. default:
  945. input.SkipLastField();
  946. break;
  947. case 8: {
  948. Zoneid = input.ReadInt32();
  949. break;
  950. }
  951. case 18: {
  952. Uid = input.ReadString();
  953. break;
  954. }
  955. case 24: {
  956. Mapid = input.ReadInt32();
  957. break;
  958. }
  959. case 32: {
  960. RoomId = input.ReadInt32();
  961. break;
  962. }
  963. }
  964. }
  965. }
  966. }
  967. /// <summary>
  968. /// 多人副本, 申请房间(列表)
  969. /// </summary>
  970. public sealed partial class SC_MD_GetRoomList : pb::IMessage<SC_MD_GetRoomList> {
  971. private static readonly pb::MessageParser<SC_MD_GetRoomList> _parser = new pb::MessageParser<SC_MD_GetRoomList>(() => new SC_MD_GetRoomList());
  972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  973. public static pb::MessageParser<SC_MD_GetRoomList> Parser { get { return _parser; } }
  974. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  975. public static pbr::MessageDescriptor Descriptor {
  976. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[6]; }
  977. }
  978. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  979. pbr::MessageDescriptor pb::IMessage.Descriptor {
  980. get { return Descriptor; }
  981. }
  982. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  983. public SC_MD_GetRoomList() {
  984. OnConstruction();
  985. }
  986. partial void OnConstruction();
  987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  988. public SC_MD_GetRoomList(SC_MD_GetRoomList other) : this() {
  989. roomInfos_ = other.roomInfos_.Clone();
  990. }
  991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  992. public SC_MD_GetRoomList Clone() {
  993. return new SC_MD_GetRoomList(this);
  994. }
  995. /// <summary>Field number for the "RoomInfos" field.</summary>
  996. public const int RoomInfosFieldNumber = 1;
  997. private static readonly pb::FieldCodec<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> _repeated_roomInfos_codec
  998. = pb::FieldCodec.ForMessage(10, global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo.Parser);
  999. private readonly pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> roomInfos_ = new pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo>();
  1000. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1001. public pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> RoomInfos {
  1002. get { return roomInfos_; }
  1003. }
  1004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1005. public override bool Equals(object other) {
  1006. return Equals(other as SC_MD_GetRoomList);
  1007. }
  1008. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1009. public bool Equals(SC_MD_GetRoomList other) {
  1010. if (ReferenceEquals(other, null)) {
  1011. return false;
  1012. }
  1013. if (ReferenceEquals(other, this)) {
  1014. return true;
  1015. }
  1016. if(!roomInfos_.Equals(other.roomInfos_)) return false;
  1017. return true;
  1018. }
  1019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1020. public override int GetHashCode() {
  1021. int hash = 1;
  1022. hash ^= roomInfos_.GetHashCode();
  1023. return hash;
  1024. }
  1025. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1026. public override string ToString() {
  1027. return pb::JsonFormatter.ToDiagnosticString(this);
  1028. }
  1029. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1030. public void WriteTo(pb::CodedOutputStream output) {
  1031. roomInfos_.WriteTo(output, _repeated_roomInfos_codec);
  1032. }
  1033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1034. public int CalculateSize() {
  1035. int size = 0;
  1036. size += roomInfos_.CalculateSize(_repeated_roomInfos_codec);
  1037. return size;
  1038. }
  1039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1040. public void MergeFrom(SC_MD_GetRoomList other) {
  1041. if (other == null) {
  1042. return;
  1043. }
  1044. roomInfos_.Add(other.roomInfos_);
  1045. }
  1046. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1047. public void MergeFrom(pb::CodedInputStream input) {
  1048. uint tag;
  1049. while ((tag = input.ReadTag()) != 0) {
  1050. switch(tag) {
  1051. default:
  1052. input.SkipLastField();
  1053. break;
  1054. case 10: {
  1055. roomInfos_.AddEntriesFrom(input, _repeated_roomInfos_codec);
  1056. break;
  1057. }
  1058. }
  1059. }
  1060. }
  1061. #region Nested types
  1062. /// <summary>Container for nested types declared in the SC_MD_GetRoomList message type.</summary>
  1063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1064. public static partial class Types {
  1065. public sealed partial class RoomInfo : pb::IMessage<RoomInfo> {
  1066. private static readonly pb::MessageParser<RoomInfo> _parser = new pb::MessageParser<RoomInfo>(() => new RoomInfo());
  1067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1068. public static pb::MessageParser<RoomInfo> Parser { get { return _parser; } }
  1069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1070. public static pbr::MessageDescriptor Descriptor {
  1071. get { return global::MultiDup.SC_MD_GetRoomList.Descriptor.NestedTypes[0]; }
  1072. }
  1073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1074. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1075. get { return Descriptor; }
  1076. }
  1077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1078. public RoomInfo() {
  1079. OnConstruction();
  1080. }
  1081. partial void OnConstruction();
  1082. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1083. public RoomInfo(RoomInfo other) : this() {
  1084. roomId_ = other.roomId_;
  1085. mapid_ = other.mapid_;
  1086. playerUids_ = other.playerUids_.Clone();
  1087. battleserver_ = other.battleserver_;
  1088. }
  1089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1090. public RoomInfo Clone() {
  1091. return new RoomInfo(this);
  1092. }
  1093. /// <summary>Field number for the "RoomId" field.</summary>
  1094. public const int RoomIdFieldNumber = 1;
  1095. private int roomId_;
  1096. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1097. public int RoomId {
  1098. get { return roomId_; }
  1099. set {
  1100. roomId_ = value;
  1101. }
  1102. }
  1103. /// <summary>Field number for the "Mapid" field.</summary>
  1104. public const int MapidFieldNumber = 2;
  1105. private int mapid_;
  1106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1107. public int Mapid {
  1108. get { return mapid_; }
  1109. set {
  1110. mapid_ = value;
  1111. }
  1112. }
  1113. /// <summary>Field number for the "PlayerUids" field.</summary>
  1114. public const int PlayerUidsFieldNumber = 3;
  1115. private static readonly pb::FieldCodec<string> _repeated_playerUids_codec
  1116. = pb::FieldCodec.ForString(26);
  1117. private readonly pbc::RepeatedField<string> playerUids_ = new pbc::RepeatedField<string>();
  1118. /// <summary>
  1119. ///??
  1120. /// </summary>
  1121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1122. public pbc::RepeatedField<string> PlayerUids {
  1123. get { return playerUids_; }
  1124. }
  1125. /// <summary>Field number for the "battleserver" field.</summary>
  1126. public const int BattleserverFieldNumber = 4;
  1127. private string battleserver_ = "";
  1128. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1129. public string Battleserver {
  1130. get { return battleserver_; }
  1131. set {
  1132. battleserver_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1133. }
  1134. }
  1135. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1136. public override bool Equals(object other) {
  1137. return Equals(other as RoomInfo);
  1138. }
  1139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1140. public bool Equals(RoomInfo other) {
  1141. if (ReferenceEquals(other, null)) {
  1142. return false;
  1143. }
  1144. if (ReferenceEquals(other, this)) {
  1145. return true;
  1146. }
  1147. if (RoomId != other.RoomId) return false;
  1148. if (Mapid != other.Mapid) return false;
  1149. if(!playerUids_.Equals(other.playerUids_)) return false;
  1150. if (Battleserver != other.Battleserver) return false;
  1151. return true;
  1152. }
  1153. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1154. public override int GetHashCode() {
  1155. int hash = 1;
  1156. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  1157. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  1158. hash ^= playerUids_.GetHashCode();
  1159. if (Battleserver.Length != 0) hash ^= Battleserver.GetHashCode();
  1160. return hash;
  1161. }
  1162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1163. public override string ToString() {
  1164. return pb::JsonFormatter.ToDiagnosticString(this);
  1165. }
  1166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1167. public void WriteTo(pb::CodedOutputStream output) {
  1168. if (RoomId != 0) {
  1169. output.WriteRawTag(8);
  1170. output.WriteInt32(RoomId);
  1171. }
  1172. if (Mapid != 0) {
  1173. output.WriteRawTag(16);
  1174. output.WriteInt32(Mapid);
  1175. }
  1176. playerUids_.WriteTo(output, _repeated_playerUids_codec);
  1177. if (Battleserver.Length != 0) {
  1178. output.WriteRawTag(34);
  1179. output.WriteString(Battleserver);
  1180. }
  1181. }
  1182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1183. public int CalculateSize() {
  1184. int size = 0;
  1185. if (RoomId != 0) {
  1186. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  1187. }
  1188. if (Mapid != 0) {
  1189. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  1190. }
  1191. size += playerUids_.CalculateSize(_repeated_playerUids_codec);
  1192. if (Battleserver.Length != 0) {
  1193. size += 1 + pb::CodedOutputStream.ComputeStringSize(Battleserver);
  1194. }
  1195. return size;
  1196. }
  1197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1198. public void MergeFrom(RoomInfo other) {
  1199. if (other == null) {
  1200. return;
  1201. }
  1202. if (other.RoomId != 0) {
  1203. RoomId = other.RoomId;
  1204. }
  1205. if (other.Mapid != 0) {
  1206. Mapid = other.Mapid;
  1207. }
  1208. playerUids_.Add(other.playerUids_);
  1209. if (other.Battleserver.Length != 0) {
  1210. Battleserver = other.Battleserver;
  1211. }
  1212. }
  1213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1214. public void MergeFrom(pb::CodedInputStream input) {
  1215. uint tag;
  1216. while ((tag = input.ReadTag()) != 0) {
  1217. switch(tag) {
  1218. default:
  1219. input.SkipLastField();
  1220. break;
  1221. case 8: {
  1222. RoomId = input.ReadInt32();
  1223. break;
  1224. }
  1225. case 16: {
  1226. Mapid = input.ReadInt32();
  1227. break;
  1228. }
  1229. case 26: {
  1230. playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
  1231. break;
  1232. }
  1233. case 34: {
  1234. Battleserver = input.ReadString();
  1235. break;
  1236. }
  1237. }
  1238. }
  1239. }
  1240. }
  1241. }
  1242. #endregion
  1243. }
  1244. /// <summary>
  1245. /// 多人副本, 加入房间
  1246. /// </summary>
  1247. public sealed partial class SC_MD_EnterRoom : pb::IMessage<SC_MD_EnterRoom> {
  1248. private static readonly pb::MessageParser<SC_MD_EnterRoom> _parser = new pb::MessageParser<SC_MD_EnterRoom>(() => new SC_MD_EnterRoom());
  1249. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1250. public static pb::MessageParser<SC_MD_EnterRoom> Parser { get { return _parser; } }
  1251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1252. public static pbr::MessageDescriptor Descriptor {
  1253. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[7]; }
  1254. }
  1255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1256. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1257. get { return Descriptor; }
  1258. }
  1259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1260. public SC_MD_EnterRoom() {
  1261. OnConstruction();
  1262. }
  1263. partial void OnConstruction();
  1264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1265. public SC_MD_EnterRoom(SC_MD_EnterRoom other) : this() {
  1266. zoneid_ = other.zoneid_;
  1267. uid_ = other.uid_;
  1268. mapid_ = other.mapid_;
  1269. ip_ = other.ip_;
  1270. port_ = other.port_;
  1271. playerUids_ = other.playerUids_.Clone();
  1272. }
  1273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1274. public SC_MD_EnterRoom Clone() {
  1275. return new SC_MD_EnterRoom(this);
  1276. }
  1277. /// <summary>Field number for the "Zoneid" field.</summary>
  1278. public const int ZoneidFieldNumber = 1;
  1279. private int zoneid_;
  1280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1281. public int Zoneid {
  1282. get { return zoneid_; }
  1283. set {
  1284. zoneid_ = value;
  1285. }
  1286. }
  1287. /// <summary>Field number for the "Uid" field.</summary>
  1288. public const int UidFieldNumber = 2;
  1289. private string uid_ = "";
  1290. /// <summary>
  1291. /// (新进id)
  1292. /// </summary>
  1293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1294. public string Uid {
  1295. get { return uid_; }
  1296. set {
  1297. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1298. }
  1299. }
  1300. /// <summary>Field number for the "Mapid" field.</summary>
  1301. public const int MapidFieldNumber = 3;
  1302. private int mapid_;
  1303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1304. public int Mapid {
  1305. get { return mapid_; }
  1306. set {
  1307. mapid_ = value;
  1308. }
  1309. }
  1310. /// <summary>Field number for the "Ip" field.</summary>
  1311. public const int IpFieldNumber = 4;
  1312. private string ip_ = "";
  1313. /// <summary>
  1314. /// 战斗服务器ip
  1315. /// </summary>
  1316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1317. public string Ip {
  1318. get { return ip_; }
  1319. set {
  1320. ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1321. }
  1322. }
  1323. /// <summary>Field number for the "Port" field.</summary>
  1324. public const int PortFieldNumber = 5;
  1325. private int port_;
  1326. /// <summary>
  1327. /// 战斗服务器端口
  1328. /// </summary>
  1329. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1330. public int Port {
  1331. get { return port_; }
  1332. set {
  1333. port_ = value;
  1334. }
  1335. }
  1336. /// <summary>Field number for the "PlayerUids" field.</summary>
  1337. public const int PlayerUidsFieldNumber = 6;
  1338. private static readonly pb::FieldCodec<string> _repeated_playerUids_codec
  1339. = pb::FieldCodec.ForString(50);
  1340. private readonly pbc::RepeatedField<string> playerUids_ = new pbc::RepeatedField<string>();
  1341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1342. public pbc::RepeatedField<string> PlayerUids {
  1343. get { return playerUids_; }
  1344. }
  1345. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1346. public override bool Equals(object other) {
  1347. return Equals(other as SC_MD_EnterRoom);
  1348. }
  1349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1350. public bool Equals(SC_MD_EnterRoom other) {
  1351. if (ReferenceEquals(other, null)) {
  1352. return false;
  1353. }
  1354. if (ReferenceEquals(other, this)) {
  1355. return true;
  1356. }
  1357. if (Zoneid != other.Zoneid) return false;
  1358. if (Uid != other.Uid) return false;
  1359. if (Mapid != other.Mapid) return false;
  1360. if (Ip != other.Ip) return false;
  1361. if (Port != other.Port) return false;
  1362. if(!playerUids_.Equals(other.playerUids_)) return false;
  1363. return true;
  1364. }
  1365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1366. public override int GetHashCode() {
  1367. int hash = 1;
  1368. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1369. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  1370. if (Mapid != 0) hash ^= Mapid.GetHashCode();
  1371. if (Ip.Length != 0) hash ^= Ip.GetHashCode();
  1372. if (Port != 0) hash ^= Port.GetHashCode();
  1373. hash ^= playerUids_.GetHashCode();
  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. if (Zoneid != 0) {
  1383. output.WriteRawTag(8);
  1384. output.WriteInt32(Zoneid);
  1385. }
  1386. if (Uid.Length != 0) {
  1387. output.WriteRawTag(18);
  1388. output.WriteString(Uid);
  1389. }
  1390. if (Mapid != 0) {
  1391. output.WriteRawTag(24);
  1392. output.WriteInt32(Mapid);
  1393. }
  1394. if (Ip.Length != 0) {
  1395. output.WriteRawTag(34);
  1396. output.WriteString(Ip);
  1397. }
  1398. if (Port != 0) {
  1399. output.WriteRawTag(40);
  1400. output.WriteInt32(Port);
  1401. }
  1402. playerUids_.WriteTo(output, _repeated_playerUids_codec);
  1403. }
  1404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1405. public int CalculateSize() {
  1406. int size = 0;
  1407. if (Zoneid != 0) {
  1408. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  1409. }
  1410. if (Uid.Length != 0) {
  1411. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  1412. }
  1413. if (Mapid != 0) {
  1414. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
  1415. }
  1416. if (Ip.Length != 0) {
  1417. size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip);
  1418. }
  1419. if (Port != 0) {
  1420. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port);
  1421. }
  1422. size += playerUids_.CalculateSize(_repeated_playerUids_codec);
  1423. return size;
  1424. }
  1425. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1426. public void MergeFrom(SC_MD_EnterRoom other) {
  1427. if (other == null) {
  1428. return;
  1429. }
  1430. if (other.Zoneid != 0) {
  1431. Zoneid = other.Zoneid;
  1432. }
  1433. if (other.Uid.Length != 0) {
  1434. Uid = other.Uid;
  1435. }
  1436. if (other.Mapid != 0) {
  1437. Mapid = other.Mapid;
  1438. }
  1439. if (other.Ip.Length != 0) {
  1440. Ip = other.Ip;
  1441. }
  1442. if (other.Port != 0) {
  1443. Port = other.Port;
  1444. }
  1445. playerUids_.Add(other.playerUids_);
  1446. }
  1447. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1448. public void MergeFrom(pb::CodedInputStream input) {
  1449. uint tag;
  1450. while ((tag = input.ReadTag()) != 0) {
  1451. switch(tag) {
  1452. default:
  1453. input.SkipLastField();
  1454. break;
  1455. case 8: {
  1456. Zoneid = input.ReadInt32();
  1457. break;
  1458. }
  1459. case 18: {
  1460. Uid = input.ReadString();
  1461. break;
  1462. }
  1463. case 24: {
  1464. Mapid = input.ReadInt32();
  1465. break;
  1466. }
  1467. case 34: {
  1468. Ip = input.ReadString();
  1469. break;
  1470. }
  1471. case 40: {
  1472. Port = input.ReadInt32();
  1473. break;
  1474. }
  1475. case 50: {
  1476. playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
  1477. break;
  1478. }
  1479. }
  1480. }
  1481. }
  1482. }
  1483. /// <summary>
  1484. /// 多人副本, 离开房间
  1485. /// </summary>
  1486. public sealed partial class SC_MD_LeaveRoom : pb::IMessage<SC_MD_LeaveRoom> {
  1487. private static readonly pb::MessageParser<SC_MD_LeaveRoom> _parser = new pb::MessageParser<SC_MD_LeaveRoom>(() => new SC_MD_LeaveRoom());
  1488. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1489. public static pb::MessageParser<SC_MD_LeaveRoom> Parser { get { return _parser; } }
  1490. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1491. public static pbr::MessageDescriptor Descriptor {
  1492. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[8]; }
  1493. }
  1494. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1495. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1496. get { return Descriptor; }
  1497. }
  1498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1499. public SC_MD_LeaveRoom() {
  1500. OnConstruction();
  1501. }
  1502. partial void OnConstruction();
  1503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1504. public SC_MD_LeaveRoom(SC_MD_LeaveRoom other) : this() {
  1505. zoneid_ = other.zoneid_;
  1506. uid_ = other.uid_;
  1507. }
  1508. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1509. public SC_MD_LeaveRoom Clone() {
  1510. return new SC_MD_LeaveRoom(this);
  1511. }
  1512. /// <summary>Field number for the "Zoneid" field.</summary>
  1513. public const int ZoneidFieldNumber = 1;
  1514. private int zoneid_;
  1515. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1516. public int Zoneid {
  1517. get { return zoneid_; }
  1518. set {
  1519. zoneid_ = value;
  1520. }
  1521. }
  1522. /// <summary>Field number for the "Uid" field.</summary>
  1523. public const int UidFieldNumber = 2;
  1524. private string uid_ = "";
  1525. /// <summary>
  1526. /// (离开id)
  1527. /// </summary>
  1528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1529. public string Uid {
  1530. get { return uid_; }
  1531. set {
  1532. uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1533. }
  1534. }
  1535. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1536. public override bool Equals(object other) {
  1537. return Equals(other as SC_MD_LeaveRoom);
  1538. }
  1539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1540. public bool Equals(SC_MD_LeaveRoom other) {
  1541. if (ReferenceEquals(other, null)) {
  1542. return false;
  1543. }
  1544. if (ReferenceEquals(other, this)) {
  1545. return true;
  1546. }
  1547. if (Zoneid != other.Zoneid) return false;
  1548. if (Uid != other.Uid) return false;
  1549. return true;
  1550. }
  1551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1552. public override int GetHashCode() {
  1553. int hash = 1;
  1554. if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
  1555. if (Uid.Length != 0) hash ^= Uid.GetHashCode();
  1556. return hash;
  1557. }
  1558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1559. public override string ToString() {
  1560. return pb::JsonFormatter.ToDiagnosticString(this);
  1561. }
  1562. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1563. public void WriteTo(pb::CodedOutputStream output) {
  1564. if (Zoneid != 0) {
  1565. output.WriteRawTag(8);
  1566. output.WriteInt32(Zoneid);
  1567. }
  1568. if (Uid.Length != 0) {
  1569. output.WriteRawTag(18);
  1570. output.WriteString(Uid);
  1571. }
  1572. }
  1573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1574. public int CalculateSize() {
  1575. int size = 0;
  1576. if (Zoneid != 0) {
  1577. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
  1578. }
  1579. if (Uid.Length != 0) {
  1580. size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
  1581. }
  1582. return size;
  1583. }
  1584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1585. public void MergeFrom(SC_MD_LeaveRoom other) {
  1586. if (other == null) {
  1587. return;
  1588. }
  1589. if (other.Zoneid != 0) {
  1590. Zoneid = other.Zoneid;
  1591. }
  1592. if (other.Uid.Length != 0) {
  1593. Uid = other.Uid;
  1594. }
  1595. }
  1596. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1597. public void MergeFrom(pb::CodedInputStream input) {
  1598. uint tag;
  1599. while ((tag = input.ReadTag()) != 0) {
  1600. switch(tag) {
  1601. default:
  1602. input.SkipLastField();
  1603. break;
  1604. case 8: {
  1605. Zoneid = input.ReadInt32();
  1606. break;
  1607. }
  1608. case 18: {
  1609. Uid = input.ReadString();
  1610. break;
  1611. }
  1612. }
  1613. }
  1614. }
  1615. }
  1616. /// <summary>
  1617. /// 多人副本, 开始游戏(创建者)
  1618. /// </summary>
  1619. public sealed partial class SC_MD_BeginDup : pb::IMessage<SC_MD_BeginDup> {
  1620. private static readonly pb::MessageParser<SC_MD_BeginDup> _parser = new pb::MessageParser<SC_MD_BeginDup>(() => new SC_MD_BeginDup());
  1621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1622. public static pb::MessageParser<SC_MD_BeginDup> Parser { get { return _parser; } }
  1623. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1624. public static pbr::MessageDescriptor Descriptor {
  1625. get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[9]; }
  1626. }
  1627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1628. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1629. get { return Descriptor; }
  1630. }
  1631. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1632. public SC_MD_BeginDup() {
  1633. OnConstruction();
  1634. }
  1635. partial void OnConstruction();
  1636. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1637. public SC_MD_BeginDup(SC_MD_BeginDup other) : this() {
  1638. }
  1639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1640. public SC_MD_BeginDup Clone() {
  1641. return new SC_MD_BeginDup(this);
  1642. }
  1643. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1644. public override bool Equals(object other) {
  1645. return Equals(other as SC_MD_BeginDup);
  1646. }
  1647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1648. public bool Equals(SC_MD_BeginDup other) {
  1649. if (ReferenceEquals(other, null)) {
  1650. return false;
  1651. }
  1652. if (ReferenceEquals(other, this)) {
  1653. return true;
  1654. }
  1655. return true;
  1656. }
  1657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1658. public override int GetHashCode() {
  1659. int hash = 1;
  1660. return hash;
  1661. }
  1662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1663. public override string ToString() {
  1664. return pb::JsonFormatter.ToDiagnosticString(this);
  1665. }
  1666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1667. public void WriteTo(pb::CodedOutputStream output) {
  1668. }
  1669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1670. public int CalculateSize() {
  1671. int size = 0;
  1672. return size;
  1673. }
  1674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1675. public void MergeFrom(SC_MD_BeginDup other) {
  1676. if (other == null) {
  1677. return;
  1678. }
  1679. }
  1680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1681. public void MergeFrom(pb::CodedInputStream input) {
  1682. uint tag;
  1683. while ((tag = input.ReadTag()) != 0) {
  1684. switch(tag) {
  1685. default:
  1686. input.SkipLastField();
  1687. break;
  1688. }
  1689. }
  1690. }
  1691. }
  1692. #endregion
  1693. }
  1694. #endregion Designer generated code