|
@@ -34,10 +34,11 @@ namespace MultiDup {
|
|
|
"NwoJUm9vbUluZm9zGAEgAygLMiQuTXVsdGlEdXAuU0NfTURfR2V0Um9vbUxp",
|
|
|
"c3QuUm9vbUluZm8aUwoIUm9vbUluZm8SDgoGUm9vbUlkGAEgASgFEg0KBU1h",
|
|
|
"cGlkGAIgASgFEhIKClBsYXllclVpZHMYAyADKAkSFAoMYmF0dGxlc2VydmVy",
|
|
|
- "GAQgASgJIlcKD1NDX01EX0VudGVyUm9vbRIOCgZab25laWQYASABKAUSCwoD",
|
|
|
+ "GAQgASgJImsKD1NDX01EX0VudGVyUm9vbRIOCgZab25laWQYASABKAUSCwoD",
|
|
|
"VWlkGAIgASgJEg0KBU1hcGlkGAMgASgFEgoKAklwGAQgASgJEgwKBFBvcnQY",
|
|
|
- "BSABKAUiLgoPU0NfTURfTGVhdmVSb29tEg4KBlpvbmVpZBgBIAEoBRILCgNV",
|
|
|
- "aWQYAiABKAkiEAoOU0NfTURfQmVnaW5EdXBiBnByb3RvMw=="));
|
|
|
+ "BSABKAUSEgoKUGxheWVyVWlkcxgGIAMoCSIuCg9TQ19NRF9MZWF2ZVJvb20S",
|
|
|
+ "DgoGWm9uZWlkGAEgASgFEgsKA1VpZBgCIAEoCSIQCg5TQ19NRF9CZWdpbkR1",
|
|
|
+ "cGIGcHJvdG8z"));
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
|
new pbr::FileDescriptor[] { },
|
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
@@ -48,7 +49,7 @@ namespace MultiDup {
|
|
|
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_EnterRoom), global::MultiDup.SC_MD_EnterRoom.Parser, new[]{ "Zoneid", "Uid", "Mapid", "Ip", "Port", "PlayerUids" }, 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)
|
|
|
}));
|
|
@@ -1427,6 +1428,7 @@ namespace MultiDup {
|
|
|
mapid_ = other.mapid_;
|
|
|
ip_ = other.ip_;
|
|
|
port_ = other.port_;
|
|
|
+ playerUids_ = other.playerUids_.Clone();
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -1498,6 +1500,16 @@ namespace MultiDup {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>Field number for the "PlayerUids" field.</summary>
|
|
|
+ public const int PlayerUidsFieldNumber = 6;
|
|
|
+ private static readonly pb::FieldCodec<string> _repeated_playerUids_codec
|
|
|
+ = pb::FieldCodec.ForString(50);
|
|
|
+ private readonly pbc::RepeatedField<string> playerUids_ = new pbc::RepeatedField<string>();
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public pbc::RepeatedField<string> PlayerUids {
|
|
|
+ get { return playerUids_; }
|
|
|
+ }
|
|
|
+
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public override bool Equals(object other) {
|
|
|
return Equals(other as SC_MD_EnterRoom);
|
|
@@ -1516,6 +1528,7 @@ namespace MultiDup {
|
|
|
if (Mapid != other.Mapid) return false;
|
|
|
if (Ip != other.Ip) return false;
|
|
|
if (Port != other.Port) return false;
|
|
|
+ if(!playerUids_.Equals(other.playerUids_)) return false;
|
|
|
return true;
|
|
|
}
|
|
|
|
|
@@ -1527,6 +1540,7 @@ namespace MultiDup {
|
|
|
if (Mapid != 0) hash ^= Mapid.GetHashCode();
|
|
|
if (Ip.Length != 0) hash ^= Ip.GetHashCode();
|
|
|
if (Port != 0) hash ^= Port.GetHashCode();
|
|
|
+ hash ^= playerUids_.GetHashCode();
|
|
|
return hash;
|
|
|
}
|
|
|
|
|
@@ -1557,6 +1571,7 @@ namespace MultiDup {
|
|
|
output.WriteRawTag(40);
|
|
|
output.WriteInt32(Port);
|
|
|
}
|
|
|
+ playerUids_.WriteTo(output, _repeated_playerUids_codec);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -1577,6 +1592,7 @@ namespace MultiDup {
|
|
|
if (Port != 0) {
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port);
|
|
|
}
|
|
|
+ size += playerUids_.CalculateSize(_repeated_playerUids_codec);
|
|
|
return size;
|
|
|
}
|
|
|
|
|
@@ -1600,6 +1616,7 @@ namespace MultiDup {
|
|
|
if (other.Port != 0) {
|
|
|
Port = other.Port;
|
|
|
}
|
|
|
+ playerUids_.Add(other.playerUids_);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -1630,6 +1647,10 @@ namespace MultiDup {
|
|
|
Port = input.ReadInt32();
|
|
|
break;
|
|
|
}
|
|
|
+ case 50: {
|
|
|
+ playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|