MultiDup.cs 58 KB

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