// 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 {
/// Holder for reflection information generated from pb/MultiDup.proto
public static partial class MultiDupReflection {
#region Descriptor
/// File descriptor for pb/MultiDup.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static MultiDupReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFwYi9NdWx0aUR1cC5wcm90bxIITXVsdGlEdXAiLwoQQ1NfTURfRW50ZXJM",
"b2JieRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJIj4KEENTX01EX0Ny",
"ZWF0ZVJvb20SDgoGWm9uZWlkGAEgASgFEgsKA1VpZBgCIAEoCRINCgVNYXBp",
"ZBgDIAEoBSIwChFDU19NRF9HZXRSb29tTGlzdBIOCgZab25laWQYASABKAUS",
"CwoDVWlkGAIgASgJIj4KD0NTX01EX0VudGVyUm9vbRIOCgZab25laWQYASAB",
"KAUSCwoDVWlkGAIgASgJEg4KBlJvb21JZBgDIAEoBSIuCg9DU19NRF9MZWF2",
"ZVJvb20SDgoGWm9uZWlkGAEgASgFEgsKA1VpZBgCIAEoCSItCg5DU19NRF9C",
"ZWdpbkR1cBIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJIhIKEFNDX01E",
"X0VudGVyTG9iYnkiTgoQU0NfTURfQ3JlYXRlUm9vbRIOCgZab25laWQYASAB",
"KAUSCwoDVWlkGAIgASgJEg0KBU1hcGlkGAMgASgFEg4KBlJvb21JZBgEIAEo",
"BSKhAQoRU0NfTURfR2V0Um9vbUxpc3QSNwoJUm9vbUluZm9zGAEgAygLMiQu",
"TXVsdGlEdXAuU0NfTURfR2V0Um9vbUxpc3QuUm9vbUluZm8aUwoIUm9vbUlu",
"Zm8SDgoGUm9vbUlkGAEgASgFEg0KBU1hcGlkGAIgASgFEhIKClBsYXllclVp",
"ZHMYAyADKAkSFAoMYmF0dGxlc2VydmVyGAQgASgJImsKD1NDX01EX0VudGVy",
"Um9vbRIOCgZab25laWQYASABKAUSCwoDVWlkGAIgASgJEg0KBU1hcGlkGAMg",
"ASgFEgoKAklwGAQgASgJEgwKBFBvcnQYBSABKAUSEgoKUGxheWVyVWlkcxgG",
"IAMoCSIuCg9TQ19NRF9MZWF2ZVJvb20SDgoGWm9uZWlkGAEgASgFEgsKA1Vp",
"ZBgCIAEoCSIQCg5TQ19NRF9CZWdpbkR1cGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::MultiDup.CS_MD_EnterLobby), global::MultiDup.CS_MD_EnterLobby.Parser, new[]{ "Zoneid", "Uid" }, null, null, null),
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_EnterLobby), global::MultiDup.SC_MD_EnterLobby.Parser, null, 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", "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)
}));
}
#endregion
}
#region Messages
///
///
/// 进入大厅(注册下自己的uid)
///
public sealed partial class CS_MD_EnterLobby : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CS_MD_EnterLobby());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_EnterLobby() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CS_MD_EnterLobby(CS_MD_EnterLobby other) : this() {
zoneid_ = other.zoneid_;
uid_ = other.uid_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CS_MD_EnterLobby Clone() {
return new CS_MD_EnterLobby(this);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
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_EnterLobby);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CS_MD_EnterLobby 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_EnterLobby 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;
}
}
}
}
}
///
/// 多人副本, 创建房间
///
public sealed partial class CS_MD_CreateRoom : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CS_MD_CreateRoom());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_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);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
///
/// zoneid
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
public const int UidFieldNumber = 2;
private string uid_ = "";
///
/// 玩家id
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Uid {
get { return uid_; }
set {
uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "Mapid" field.
public const int MapidFieldNumber = 3;
private int mapid_;
///
/// 地图id
///
[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;
}
}
}
}
}
///
/// 多人副本, 申请房间(列表)
///
public sealed partial class CS_MD_GetRoomList : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CS_MD_GetRoomList());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_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);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
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;
}
}
}
}
}
///
/// 多人副本, 加入房间
///
public sealed partial class CS_MD_EnterRoom : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CS_MD_EnterRoom());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_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);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
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");
}
}
/// Field number for the "RoomId" field.
public const int RoomIdFieldNumber = 3;
private int roomId_;
///
/// 房间id
///
[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;
}
}
}
}
}
///
/// 多人副本, 离开房间
///
public sealed partial class CS_MD_LeaveRoom : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CS_MD_LeaveRoom());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_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);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
public const int UidFieldNumber = 2;
private string uid_ = "";
///
///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
///
[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;
}
}
}
}
}
///
/// 多人副本, 开始游戏(创建者)
///
public sealed partial class CS_MD_BeginDup : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CS_MD_BeginDup());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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 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);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
public const int UidFieldNumber = 2;
private string uid_ = "";
///
///int32 RoomId=3; // 房间id (理论上已经处于房间中不需要此字段)
///
[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;
}
}
}
}
}
///
///
/// 加入房间成功
///
public sealed partial class SC_MD_EnterLobby : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SC_MD_EnterLobby());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_EnterLobby() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SC_MD_EnterLobby(SC_MD_EnterLobby other) : this() {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SC_MD_EnterLobby Clone() {
return new SC_MD_EnterLobby(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SC_MD_EnterLobby);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SC_MD_EnterLobby 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_EnterLobby 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;
}
}
}
}
///
/// 多人副本, 创建房间
///
public sealed partial class SC_MD_CreateRoom : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SC_MD_CreateRoom());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_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);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
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");
}
}
/// Field number for the "Mapid" field.
public const int MapidFieldNumber = 3;
private int mapid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Mapid {
get { return mapid_; }
set {
mapid_ = value;
}
}
/// Field number for the "RoomId" field.
public const int RoomIdFieldNumber = 4;
private int roomId_;
///
/// 房间id (服务端分配)
///
[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;
}
}
}
}
}
///
/// 多人副本, 申请房间(列表)
///
public sealed partial class SC_MD_GetRoomList : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SC_MD_GetRoomList());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_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);
}
/// Field number for the "RoomInfos" field.
public const int RoomInfosFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_roomInfos_codec
= pb::FieldCodec.ForMessage(10, global::MultiDup.SC_MD_GetRoomList.Types.RoomInfo.Parser);
private readonly pbc::RepeatedField roomInfos_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField 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
/// Container for nested types declared in the SC_MD_GetRoomList message type.
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static partial class Types {
public sealed partial class RoomInfo : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomInfo());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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);
}
/// Field number for the "RoomId" field.
public const int RoomIdFieldNumber = 1;
private int roomId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int RoomId {
get { return roomId_; }
set {
roomId_ = value;
}
}
/// Field number for the "Mapid" field.
public const int MapidFieldNumber = 2;
private int mapid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Mapid {
get { return mapid_; }
set {
mapid_ = value;
}
}
/// Field number for the "PlayerUids" field.
public const int PlayerUidsFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_playerUids_codec
= pb::FieldCodec.ForString(26);
private readonly pbc::RepeatedField playerUids_ = new pbc::RepeatedField();
///
///??
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField PlayerUids {
get { return playerUids_; }
}
/// Field number for the "battleserver" field.
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
}
///
/// 多人副本, 加入房间
///
public sealed partial class SC_MD_EnterRoom : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SC_MD_EnterRoom());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser 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_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_;
playerUids_ = other.playerUids_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SC_MD_EnterRoom Clone() {
return new SC_MD_EnterRoom(this);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
public const int UidFieldNumber = 2;
private string uid_ = "";
///
/// (新进id)
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Uid {
get { return uid_; }
set {
uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "Mapid" field.
public const int MapidFieldNumber = 3;
private int mapid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Mapid {
get { return mapid_; }
set {
mapid_ = value;
}
}
/// Field number for the "Ip" field.
public const int IpFieldNumber = 4;
private string ip_ = "";
///
/// 战斗服务器ip
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Ip {
get { return ip_; }
set {
ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "Port" field.
public const int PortFieldNumber = 5;
private int port_;
///
/// 战斗服务器端口
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Port {
get { return port_; }
set {
port_ = value;
}
}
/// Field number for the "PlayerUids" field.
public const int PlayerUidsFieldNumber = 6;
private static readonly pb::FieldCodec _repeated_playerUids_codec
= pb::FieldCodec.ForString(50);
private readonly pbc::RepeatedField playerUids_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField PlayerUids {
get { return playerUids_; }
}
[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;
if(!playerUids_.Equals(other.playerUids_)) 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();
hash ^= playerUids_.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);
}
playerUids_.WriteTo(output, _repeated_playerUids_codec);
}
[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);
}
size += playerUids_.CalculateSize(_repeated_playerUids_codec);
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;
}
playerUids_.Add(other.playerUids_);
}
[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;
}
case 50: {
playerUids_.AddEntriesFrom(input, _repeated_playerUids_codec);
break;
}
}
}
}
}
///
/// 多人副本, 离开房间
///
public sealed partial class SC_MD_LeaveRoom : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SC_MD_LeaveRoom());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[10]; }
}
[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);
}
/// Field number for the "Zoneid" field.
public const int ZoneidFieldNumber = 1;
private int zoneid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Zoneid {
get { return zoneid_; }
set {
zoneid_ = value;
}
}
/// Field number for the "Uid" field.
public const int UidFieldNumber = 2;
private string uid_ = "";
///
/// (离开id)
///
[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;
}
}
}
}
}
///
/// 多人副本, 开始游戏(创建者)
///
public sealed partial class SC_MD_BeginDup : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SC_MD_BeginDup());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::MultiDup.MultiDupReflection.Descriptor.MessageTypes[11]; }
}
[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