|
@@ -0,0 +1,1886 @@
|
|
|
|
+// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
+// source: pb/MultiDup.proto
|
|
|
|
+#pragma warning disable 1591, 0612, 3021
|
|
|
|
+#region Designer generated code
|
|
|
|
+
|
|
|
|
+using pb = global::Google.Protobuf;
|
|
|
|
+using pbc = global::Google.Protobuf.Collections;
|
|
|
|
+using pbr = global::Google.Protobuf.Reflection;
|
|
|
|
+using scg = global::System.Collections.Generic;
|
|
|
|
+namespace MultiDup {
|
|
|
|
+
|
|
|
|
+ /// <summary>Holder for reflection information generated from pb/MultiDup.proto</summary>
|
|
|
|
+ public static partial class MultiDupReflection {
|
|
|
|
+
|
|
|
|
+ #region Descriptor
|
|
|
|
+ /// <summary>File descriptor for pb/MultiDup.proto</summary>
|
|
|
|
+ public static pbr::FileDescriptor Descriptor {
|
|
|
|
+ get { return descriptor; }
|
|
|
|
+ }
|
|
|
|
+ private static pbr::FileDescriptor descriptor;
|
|
|
|
+
|
|
|
|
+ static MultiDupReflection() {
|
|
|
|
+ byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
|
|
+ string.Concat(
|
|
|
|
+ "ChFwYi9NdWx0aUR1cC5wcm90bxIITXVsdGlEdXAiPgoQQ1NfTURfQ3JlYXRl",
|
|
|
|
+ "Um9vbRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJEg0KBU1hcGlkGAMg",
|
|
|
|
+ "ASgFIjAKEUNTX01EX0dldFJvb21MaXN0Eg4KBlpvbmVpZBgBIAEoBRILCgNV",
|
|
|
|
+ "aWQYAiABKAkiPgoPQ1NfTURfRW50ZXJSb29tEg4KBlpvbmVpZBgBIAEoBRIL",
|
|
|
|
+ "CgNVaWQYAiABKAkSDgoGUm9vbUlkGAMgASgFIi4KD0NTX01EX0xlYXZlUm9v",
|
|
|
|
+ "bRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJIi0KDkNTX01EX0JlZ2lu",
|
|
|
|
+ "RHVwEg4KBlpvbmVpZBgBIAEoBRILCgNVaWQYAiABKAkiTgoQU0NfTURfQ3Jl",
|
|
|
|
+ "YXRlUm9vbRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJEg0KBU1hcGlk",
|
|
|
|
+ "GAMgASgFEg4KBlJvb21JZBgEIAEoBSKhAQoRU0NfTURfR2V0Um9vbUxpc3QS",
|
|
|
|
+ "NwoJUm9vbUluZm9zGAEgAygLMiQuTXVsdGlEdXAuU0NfTURfR2V0Um9vbUxp",
|
|
|
|
+ "c3QuUm9vbUluZm8aUwoIUm9vbUluZm8SDgoGUm9vbUlkGAEgASgFEg0KBU1h",
|
|
|
|
+ "cGlkGAIgASgFEhIKClBsYXllclVpZHMYAyADKAkSFAoMYmF0dGxlc2VydmVy",
|
|
|
|
+ "GAQgASgJIlcKD1NDX01EX0VudGVyUm9vbRIOCgZab25laWQYASABKAUSCwoD",
|
|
|
|
+ "VWlkGAIgASgJEg0KBU1hcGlkGAMgASgFEgoKAklwGAQgASgJEgwKBFBvcnQY",
|
|
|
|
+ "BSABKAUiLgoPU0NfTURfTGVhdmVSb29tEg4KBlpvbmVpZBgBIAEoBRILCgNV",
|
|
|
|
+ "aWQYAiABKAkiEAoOU0NfTURfQmVnaW5EdXBiBnByb3RvMw=="));
|
|
|
|
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
|
|
+ new pbr::FileDescriptor[] { },
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_CreateRoom), global::MultiDup.CS_MD_CreateRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid" }, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_GetRoomList), global::MultiDup.CS_MD_GetRoomList.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_EnterRoom), global::MultiDup.CS_MD_EnterRoom.Parser, new[]{ "Zoneid", "Uid", "RoomId" }, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_LeaveRoom), global::MultiDup.CS_MD_LeaveRoom.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_BeginDup), global::MultiDup.CS_MD_BeginDup.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_CreateRoom), global::MultiDup.SC_MD_CreateRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid", "RoomId" }, null, null, null),
|
|
|
|
+ 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)}),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_EnterRoom), global::MultiDup.SC_MD_EnterRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid", "Ip", "Port" }, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_LeaveRoom), global::MultiDup.SC_MD_LeaveRoom.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.SC_MD_BeginDup), global::MultiDup.SC_MD_BeginDup.Parser, null, null, null, null)
|
|
|
|
+ }));
|
|
|
|
+ }
|
|
|
|
+ #endregion
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ #region Messages
|
|
|
|
+ /// <summary>
|
|
|
|
+ ///
|
|
|
|
+ /// 多人副本, 创建房间
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class CS_MD_CreateRoom : pb::IMessage<CS_MD_CreateRoom> {
|
|
|
|
+ private static readonly pb::MessageParser<CS_MD_CreateRoom> _parser = new pb::MessageParser<CS_MD_CreateRoom>(() => new CS_MD_CreateRoom());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<CS_MD_CreateRoom> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[0]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_CreateRoom() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_CreateRoom(CS_MD_CreateRoom other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ mapid_ = other.mapid_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_CreateRoom Clone() {
|
|
|
|
+ return new CS_MD_CreateRoom(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// zoneid
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 玩家id
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Mapid" field.</summary>
|
|
|
|
+ public const int MapidFieldNumber = 3;
|
|
|
|
+ private int mapid_;
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 地图id
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Mapid {
|
|
|
|
+ get { return mapid_; }
|
|
|
|
+ set {
|
|
|
|
+ mapid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as CS_MD_CreateRoom);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(CS_MD_CreateRoom other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ if (Mapid != other.Mapid) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ if (Mapid != 0) hash ^= Mapid.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ output.WriteRawTag(24);
|
|
|
|
+ output.WriteInt32(Mapid);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(CS_MD_CreateRoom other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Mapid != 0) {
|
|
|
|
+ Mapid = other.Mapid;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 24: {
|
|
|
|
+ Mapid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 申请房间(列表)
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class CS_MD_GetRoomList : pb::IMessage<CS_MD_GetRoomList> {
|
|
|
|
+ private static readonly pb::MessageParser<CS_MD_GetRoomList> _parser = new pb::MessageParser<CS_MD_GetRoomList>(() => new CS_MD_GetRoomList());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<CS_MD_GetRoomList> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[1]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_GetRoomList() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_GetRoomList(CS_MD_GetRoomList other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_GetRoomList Clone() {
|
|
|
|
+ return new CS_MD_GetRoomList(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as CS_MD_GetRoomList);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(CS_MD_GetRoomList other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(CS_MD_GetRoomList other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 加入房间
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class CS_MD_EnterRoom : pb::IMessage<CS_MD_EnterRoom> {
|
|
|
|
+ private static readonly pb::MessageParser<CS_MD_EnterRoom> _parser = new pb::MessageParser<CS_MD_EnterRoom>(() => new CS_MD_EnterRoom());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<CS_MD_EnterRoom> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[2]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_EnterRoom() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_EnterRoom(CS_MD_EnterRoom other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ roomId_ = other.roomId_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_EnterRoom Clone() {
|
|
|
|
+ return new CS_MD_EnterRoom(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "RoomId" field.</summary>
|
|
|
|
+ public const int RoomIdFieldNumber = 3;
|
|
|
|
+ private int roomId_;
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 房间id
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int RoomId {
|
|
|
|
+ get { return roomId_; }
|
|
|
|
+ set {
|
|
|
|
+ roomId_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as CS_MD_EnterRoom);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(CS_MD_EnterRoom other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ if (RoomId != other.RoomId) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ if (RoomId != 0) hash ^= RoomId.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (RoomId != 0) {
|
|
|
|
+ output.WriteRawTag(24);
|
|
|
|
+ output.WriteInt32(RoomId);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (RoomId != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(CS_MD_EnterRoom other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ if (other.RoomId != 0) {
|
|
|
|
+ RoomId = other.RoomId;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 24: {
|
|
|
|
+ RoomId = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 离开房间
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class CS_MD_LeaveRoom : pb::IMessage<CS_MD_LeaveRoom> {
|
|
|
|
+ private static readonly pb::MessageParser<CS_MD_LeaveRoom> _parser = new pb::MessageParser<CS_MD_LeaveRoom>(() => new CS_MD_LeaveRoom());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<CS_MD_LeaveRoom> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[3]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_LeaveRoom() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_LeaveRoom(CS_MD_LeaveRoom other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_LeaveRoom Clone() {
|
|
|
|
+ return new CS_MD_LeaveRoom(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ /// <summary>
|
|
|
|
+ ///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as CS_MD_LeaveRoom);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(CS_MD_LeaveRoom other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(CS_MD_LeaveRoom other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 开始游戏(创建者)
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class CS_MD_BeginDup : pb::IMessage<CS_MD_BeginDup> {
|
|
|
|
+ private static readonly pb::MessageParser<CS_MD_BeginDup> _parser = new pb::MessageParser<CS_MD_BeginDup>(() => new CS_MD_BeginDup());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<CS_MD_BeginDup> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[4]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_BeginDup() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_BeginDup(CS_MD_BeginDup other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public CS_MD_BeginDup Clone() {
|
|
|
|
+ return new CS_MD_BeginDup(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ /// <summary>
|
|
|
|
+ ///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as CS_MD_BeginDup);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(CS_MD_BeginDup other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(CS_MD_BeginDup other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ ///
|
|
|
|
+ /// 多人副本, 创建房间
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class SC_MD_CreateRoom : pb::IMessage<SC_MD_CreateRoom> {
|
|
|
|
+ private static readonly pb::MessageParser<SC_MD_CreateRoom> _parser = new pb::MessageParser<SC_MD_CreateRoom>(() => new SC_MD_CreateRoom());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<SC_MD_CreateRoom> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[5]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_CreateRoom() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_CreateRoom(SC_MD_CreateRoom other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ mapid_ = other.mapid_;
|
|
|
|
+ roomId_ = other.roomId_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_CreateRoom Clone() {
|
|
|
|
+ return new SC_MD_CreateRoom(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Mapid" field.</summary>
|
|
|
|
+ public const int MapidFieldNumber = 3;
|
|
|
|
+ private int mapid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Mapid {
|
|
|
|
+ get { return mapid_; }
|
|
|
|
+ set {
|
|
|
|
+ mapid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "RoomId" field.</summary>
|
|
|
|
+ public const int RoomIdFieldNumber = 4;
|
|
|
|
+ private int roomId_;
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 房间id (服务端分配)
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int RoomId {
|
|
|
|
+ get { return roomId_; }
|
|
|
|
+ set {
|
|
|
|
+ roomId_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as SC_MD_CreateRoom);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(SC_MD_CreateRoom other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ if (Mapid != other.Mapid) return false;
|
|
|
|
+ if (RoomId != other.RoomId) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ if (Mapid != 0) hash ^= Mapid.GetHashCode();
|
|
|
|
+ if (RoomId != 0) hash ^= RoomId.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ output.WriteRawTag(24);
|
|
|
|
+ output.WriteInt32(Mapid);
|
|
|
|
+ }
|
|
|
|
+ if (RoomId != 0) {
|
|
|
|
+ output.WriteRawTag(32);
|
|
|
|
+ output.WriteInt32(RoomId);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
|
|
|
|
+ }
|
|
|
|
+ if (RoomId != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(SC_MD_CreateRoom other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Mapid != 0) {
|
|
|
|
+ Mapid = other.Mapid;
|
|
|
|
+ }
|
|
|
|
+ if (other.RoomId != 0) {
|
|
|
|
+ RoomId = other.RoomId;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 24: {
|
|
|
|
+ Mapid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 32: {
|
|
|
|
+ RoomId = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 申请房间(列表)
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class SC_MD_GetRoomList : pb::IMessage<SC_MD_GetRoomList> {
|
|
|
|
+ private static readonly pb::MessageParser<SC_MD_GetRoomList> _parser = new pb::MessageParser<SC_MD_GetRoomList>(() => new SC_MD_GetRoomList());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<SC_MD_GetRoomList> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[6]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_GetRoomList() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_GetRoomList(SC_MD_GetRoomList other) : this() {
|
|
|
|
+ roomInfos_ = other.roomInfos_.Clone();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_GetRoomList Clone() {
|
|
|
|
+ return new SC_MD_GetRoomList(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "RoomInfos" field.</summary>
|
|
|
|
+ public const int RoomInfosFieldNumber = 1;
|
|
|
|
+ private static readonly pb::FieldCodec<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> _repeated_roomInfos_codec
|
|
|
|
+ = pb::FieldCodec.ForMessage(10, global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo.Parser);
|
|
|
|
+ private readonly pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> roomInfos_ = new pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo>();
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public pbc::RepeatedField<global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo> RoomInfos {
|
|
|
|
+ get { return roomInfos_; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as SC_MD_GetRoomList);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(SC_MD_GetRoomList other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if(!roomInfos_.Equals(other.roomInfos_)) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ hash ^= roomInfos_.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ roomInfos_.WriteTo(output, _repeated_roomInfos_codec);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ size += roomInfos_.CalculateSize(_repeated_roomInfos_codec);
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(SC_MD_GetRoomList other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ roomInfos_.Add(other.roomInfos_);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 10: {
|
|
|
|
+ roomInfos_.AddEntriesFrom(input, _repeated_roomInfos_codec);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ #region Nested types
|
|
|
|
+ /// <summary>Container for nested types declared in the SC_MD_GetRoomList message type.</summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static partial class Types {
|
|
|
|
+ public sealed partial class RoomInfo : pb::IMessage<RoomInfo> {
|
|
|
|
+ private static readonly pb::MessageParser<RoomInfo> _parser = new pb::MessageParser<RoomInfo>(() => new RoomInfo());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<RoomInfo> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.SC_MD_GetRoomList.Descriptor.NestedTypes[0]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public RoomInfo() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public RoomInfo(RoomInfo other) : this() {
|
|
|
|
+ roomId_ = other.roomId_;
|
|
|
|
+ mapid_ = other.mapid_;
|
|
|
|
+ playerUids_ = other.playerUids_.Clone();
|
|
|
|
+ battleserver_ = other.battleserver_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public RoomInfo Clone() {
|
|
|
|
+ return new RoomInfo(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "RoomId" field.</summary>
|
|
|
|
+ public const int RoomIdFieldNumber = 1;
|
|
|
|
+ private int roomId_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int RoomId {
|
|
|
|
+ get { return roomId_; }
|
|
|
|
+ set {
|
|
|
|
+ roomId_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Mapid" field.</summary>
|
|
|
|
+ public const int MapidFieldNumber = 2;
|
|
|
|
+ private int mapid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Mapid {
|
|
|
|
+ get { return mapid_; }
|
|
|
|
+ set {
|
|
|
|
+ mapid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "PlayerUids" field.</summary>
|
|
|
|
+ public const int PlayerUidsFieldNumber = 3;
|
|
|
|
+ private static readonly pb::FieldCodec<string> _repeated_playerUids_codec
|
|
|
|
+ = pb::FieldCodec.ForString(26);
|
|
|
|
+ private readonly pbc::RepeatedField<string> playerUids_ = new pbc::RepeatedField<string>();
|
|
|
|
+ /// <summary>
|
|
|
|
+ ///??
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public pbc::RepeatedField<string> PlayerUids {
|
|
|
|
+ get { return playerUids_; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "battleserver" field.</summary>
|
|
|
|
+ public const int BattleserverFieldNumber = 4;
|
|
|
|
+ private string battleserver_ = "";
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Battleserver {
|
|
|
|
+ get { return battleserver_; }
|
|
|
|
+ set {
|
|
|
|
+ battleserver_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as RoomInfo);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(RoomInfo other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (RoomId != other.RoomId) return false;
|
|
|
|
+ if (Mapid != other.Mapid) return false;
|
|
|
|
+ if(!playerUids_.Equals(other.playerUids_)) return false;
|
|
|
|
+ if (Battleserver != other.Battleserver) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (RoomId != 0) hash ^= RoomId.GetHashCode();
|
|
|
|
+ if (Mapid != 0) hash ^= Mapid.GetHashCode();
|
|
|
|
+ hash ^= playerUids_.GetHashCode();
|
|
|
|
+ if (Battleserver.Length != 0) hash ^= Battleserver.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (RoomId != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(RoomId);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ output.WriteRawTag(16);
|
|
|
|
+ output.WriteInt32(Mapid);
|
|
|
|
+ }
|
|
|
|
+ playerUids_.WriteTo(output, _repeated_playerUids_codec);
|
|
|
|
+ if (Battleserver.Length != 0) {
|
|
|
|
+ output.WriteRawTag(34);
|
|
|
|
+ output.WriteString(Battleserver);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (RoomId != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
|
|
|
|
+ }
|
|
|
|
+ size += playerUids_.CalculateSize(_repeated_playerUids_codec);
|
|
|
|
+ if (Battleserver.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Battleserver);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(RoomInfo other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.RoomId != 0) {
|
|
|
|
+ RoomId = other.RoomId;
|
|
|
|
+ }
|
|
|
|
+ if (other.Mapid != 0) {
|
|
|
|
+ Mapid = other.Mapid;
|
|
|
|
+ }
|
|
|
|
+ playerUids_.Add(other.playerUids_);
|
|
|
|
+ if (other.Battleserver.Length != 0) {
|
|
|
|
+ Battleserver = other.Battleserver;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ RoomId = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 16: {
|
|
|
|
+ Mapid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 26: {
|
|
|
|
+ playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 34: {
|
|
|
|
+ Battleserver = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ #endregion
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 加入房间
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class SC_MD_EnterRoom : pb::IMessage<SC_MD_EnterRoom> {
|
|
|
|
+ private static readonly pb::MessageParser<SC_MD_EnterRoom> _parser = new pb::MessageParser<SC_MD_EnterRoom>(() => new SC_MD_EnterRoom());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<SC_MD_EnterRoom> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[7]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_EnterRoom() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_EnterRoom(SC_MD_EnterRoom other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ mapid_ = other.mapid_;
|
|
|
|
+ ip_ = other.ip_;
|
|
|
|
+ port_ = other.port_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_EnterRoom Clone() {
|
|
|
|
+ return new SC_MD_EnterRoom(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// (新进id)
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Mapid" field.</summary>
|
|
|
|
+ public const int MapidFieldNumber = 3;
|
|
|
|
+ private int mapid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Mapid {
|
|
|
|
+ get { return mapid_; }
|
|
|
|
+ set {
|
|
|
|
+ mapid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Ip" field.</summary>
|
|
|
|
+ public const int IpFieldNumber = 4;
|
|
|
|
+ private string ip_ = "";
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 战斗服务器ip
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Ip {
|
|
|
|
+ get { return ip_; }
|
|
|
|
+ set {
|
|
|
|
+ ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Port" field.</summary>
|
|
|
|
+ public const int PortFieldNumber = 5;
|
|
|
|
+ private int port_;
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 战斗服务器端口
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Port {
|
|
|
|
+ get { return port_; }
|
|
|
|
+ set {
|
|
|
|
+ port_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as SC_MD_EnterRoom);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(SC_MD_EnterRoom other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ if (Mapid != other.Mapid) return false;
|
|
|
|
+ if (Ip != other.Ip) return false;
|
|
|
|
+ if (Port != other.Port) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ if (Mapid != 0) hash ^= Mapid.GetHashCode();
|
|
|
|
+ if (Ip.Length != 0) hash ^= Ip.GetHashCode();
|
|
|
|
+ if (Port != 0) hash ^= Port.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ output.WriteRawTag(24);
|
|
|
|
+ output.WriteInt32(Mapid);
|
|
|
|
+ }
|
|
|
|
+ if (Ip.Length != 0) {
|
|
|
|
+ output.WriteRawTag(34);
|
|
|
|
+ output.WriteString(Ip);
|
|
|
|
+ }
|
|
|
|
+ if (Port != 0) {
|
|
|
|
+ output.WriteRawTag(40);
|
|
|
|
+ output.WriteInt32(Port);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ if (Mapid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mapid);
|
|
|
|
+ }
|
|
|
|
+ if (Ip.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip);
|
|
|
|
+ }
|
|
|
|
+ if (Port != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(SC_MD_EnterRoom other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Mapid != 0) {
|
|
|
|
+ Mapid = other.Mapid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Ip.Length != 0) {
|
|
|
|
+ Ip = other.Ip;
|
|
|
|
+ }
|
|
|
|
+ if (other.Port != 0) {
|
|
|
|
+ Port = other.Port;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 24: {
|
|
|
|
+ Mapid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 34: {
|
|
|
|
+ Ip = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 40: {
|
|
|
|
+ Port = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 离开房间
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class SC_MD_LeaveRoom : pb::IMessage<SC_MD_LeaveRoom> {
|
|
|
|
+ private static readonly pb::MessageParser<SC_MD_LeaveRoom> _parser = new pb::MessageParser<SC_MD_LeaveRoom>(() => new SC_MD_LeaveRoom());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<SC_MD_LeaveRoom> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[8]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_LeaveRoom() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_LeaveRoom(SC_MD_LeaveRoom other) : this() {
|
|
|
|
+ zoneid_ = other.zoneid_;
|
|
|
|
+ uid_ = other.uid_;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_LeaveRoom Clone() {
|
|
|
|
+ return new SC_MD_LeaveRoom(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Zoneid" field.</summary>
|
|
|
|
+ public const int ZoneidFieldNumber = 1;
|
|
|
|
+ private int zoneid_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Zoneid {
|
|
|
|
+ get { return zoneid_; }
|
|
|
|
+ set {
|
|
|
|
+ zoneid_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "Uid" field.</summary>
|
|
|
|
+ public const int UidFieldNumber = 2;
|
|
|
|
+ private string uid_ = "";
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// (离开id)
|
|
|
|
+ /// </summary>
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public string Uid {
|
|
|
|
+ get { return uid_; }
|
|
|
|
+ set {
|
|
|
|
+ uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as SC_MD_LeaveRoom);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(SC_MD_LeaveRoom other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ if (Zoneid != other.Zoneid) return false;
|
|
|
|
+ if (Uid != other.Uid) return false;
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ if (Zoneid != 0) hash ^= Zoneid.GetHashCode();
|
|
|
|
+ if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ output.WriteRawTag(8);
|
|
|
|
+ output.WriteInt32(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ output.WriteRawTag(18);
|
|
|
|
+ output.WriteString(Uid);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ if (Zoneid != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Zoneid);
|
|
|
|
+ }
|
|
|
|
+ if (Uid.Length != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
|
|
|
+ }
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(SC_MD_LeaveRoom other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (other.Zoneid != 0) {
|
|
|
|
+ Zoneid = other.Zoneid;
|
|
|
|
+ }
|
|
|
|
+ if (other.Uid.Length != 0) {
|
|
|
|
+ Uid = other.Uid;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ case 8: {
|
|
|
|
+ Zoneid = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ Uid = input.ReadString();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 多人副本, 开始游戏(创建者)
|
|
|
|
+ /// </summary>
|
|
|
|
+ public sealed partial class SC_MD_BeginDup : pb::IMessage<SC_MD_BeginDup> {
|
|
|
|
+ private static readonly pb::MessageParser<SC_MD_BeginDup> _parser = new pb::MessageParser<SC_MD_BeginDup>(() => new SC_MD_BeginDup());
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pb::MessageParser<SC_MD_BeginDup> Parser { get { return _parser; } }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
|
+ get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[9]; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
+ get { return Descriptor; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_BeginDup() {
|
|
|
|
+ OnConstruction();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ partial void OnConstruction();
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_BeginDup(SC_MD_BeginDup other) : this() {
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public SC_MD_BeginDup Clone() {
|
|
|
|
+ return new SC_MD_BeginDup(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override bool Equals(object other) {
|
|
|
|
+ return Equals(other as SC_MD_BeginDup);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public bool Equals(SC_MD_BeginDup other) {
|
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override int GetHashCode() {
|
|
|
|
+ int hash = 1;
|
|
|
|
+ return hash;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public override string ToString() {
|
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int CalculateSize() {
|
|
|
|
+ int size = 0;
|
|
|
|
+ return size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(SC_MD_BeginDup other) {
|
|
|
|
+ if (other == null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
+ uint tag;
|
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
|
+ switch(tag) {
|
|
|
|
+ default:
|
|
|
|
+ input.SkipLastField();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ #endregion
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+#endregion Designer generated code
|