|
@@ -27,9 +27,10 @@ namespace Protos {
|
|
|
"ZWFzb24YASABKAUiIAoQSGVhcnRiZWF0UmVxdWVzdBIMCgRQaW5nGAEgASgN",
|
|
|
"IjMKEUhlYXJ0YmVhdFJlc3BvbnNlEh4KBlJlc3VsdBgBIAEoCzIOLnByb3Rv",
|
|
|
"cy5SZXN1bHQiMgoMTG9naW5SZXF1ZXN0EiIKCFVzZXJJbmZvGAEgASgLMhAu",
|
|
|
- "cHJvdG9zLlVzZXJJbmZvIlAKDUxvZ2luUmVzcG9uc2USHgoGUmVzdWx0GAEg",
|
|
|
- "ASgLMg4ucHJvdG9zLlJlc3VsdBIPCgdMb2JieUlEGAIgASgNEg4KBlJvb21J",
|
|
|
- "RBgDIAEoDWIGcHJvdG8z"));
|
|
|
+ "cHJvdG9zLlVzZXJJbmZvIoEBCg1Mb2dpblJlc3BvbnNlEh4KBlJlc3VsdBgB",
|
|
|
+ "IAEoCzIOLnByb3Rvcy5SZXN1bHQSDwoHTG9iYnlJRBgCIAEoDRIOCgZSb29t",
|
|
|
+ "SUQYAyABKA0SFAoMU3luY0ludGVydmFsGAQgASgNEgkKAU4YBSABKA0SDgoG",
|
|
|
+ "RXJybXNnGAYgASgJYgZwcm90bzM="));
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
|
new pbr::FileDescriptor[] { global::Protos.UserinfoReflection.Descriptor, global::Protos.ResultReflection.Descriptor, },
|
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
@@ -39,7 +40,7 @@ namespace Protos {
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.HeartbeatRequest), global::Protos.HeartbeatRequest.Parser, new[]{ "Ping" }, null, null, null),
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.HeartbeatResponse), global::Protos.HeartbeatResponse.Parser, new[]{ "Result" }, null, null, null),
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.LoginRequest), global::Protos.LoginRequest.Parser, new[]{ "UserInfo" }, null, null, null),
|
|
|
- new pbr::GeneratedClrTypeInfo(typeof(global::Protos.LoginResponse), global::Protos.LoginResponse.Parser, new[]{ "Result", "LobbyID", "RoomID" }, null, null, null)
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::Protos.LoginResponse), global::Protos.LoginResponse.Parser, new[]{ "Result", "LobbyID", "RoomID", "SyncInterval", "N", "Errmsg" }, null, null, null)
|
|
|
}));
|
|
|
}
|
|
|
#endregion
|
|
@@ -737,6 +738,9 @@ namespace Protos {
|
|
|
Result = other.result_ != null ? other.Result.Clone() : null;
|
|
|
lobbyID_ = other.lobbyID_;
|
|
|
roomID_ = other.roomID_;
|
|
|
+ syncInterval_ = other.syncInterval_;
|
|
|
+ n_ = other.n_;
|
|
|
+ errmsg_ = other.errmsg_;
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -777,6 +781,39 @@ namespace Protos {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>Field number for the "SyncInterval" field.</summary>
|
|
|
+ public const int SyncIntervalFieldNumber = 4;
|
|
|
+ private uint syncInterval_;
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public uint SyncInterval {
|
|
|
+ get { return syncInterval_; }
|
|
|
+ set {
|
|
|
+ syncInterval_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>Field number for the "N" field.</summary>
|
|
|
+ public const int NFieldNumber = 5;
|
|
|
+ private uint n_;
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public uint N {
|
|
|
+ get { return n_; }
|
|
|
+ set {
|
|
|
+ n_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>Field number for the "Errmsg" field.</summary>
|
|
|
+ public const int ErrmsgFieldNumber = 6;
|
|
|
+ private string errmsg_ = "";
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public string Errmsg {
|
|
|
+ get { return errmsg_; }
|
|
|
+ set {
|
|
|
+ errmsg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
public override bool Equals(object other) {
|
|
|
return Equals(other as LoginResponse);
|
|
@@ -793,6 +830,9 @@ namespace Protos {
|
|
|
if (!object.Equals(Result, other.Result)) return false;
|
|
|
if (LobbyID != other.LobbyID) return false;
|
|
|
if (RoomID != other.RoomID) return false;
|
|
|
+ if (SyncInterval != other.SyncInterval) return false;
|
|
|
+ if (N != other.N) return false;
|
|
|
+ if (Errmsg != other.Errmsg) return false;
|
|
|
return true;
|
|
|
}
|
|
|
|
|
@@ -802,6 +842,9 @@ namespace Protos {
|
|
|
if (result_ != null) hash ^= Result.GetHashCode();
|
|
|
if (LobbyID != 0) hash ^= LobbyID.GetHashCode();
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
|
|
+ if (SyncInterval != 0) hash ^= SyncInterval.GetHashCode();
|
|
|
+ if (N != 0) hash ^= N.GetHashCode();
|
|
|
+ if (Errmsg.Length != 0) hash ^= Errmsg.GetHashCode();
|
|
|
return hash;
|
|
|
}
|
|
|
|
|
@@ -824,6 +867,18 @@ namespace Protos {
|
|
|
output.WriteRawTag(24);
|
|
|
output.WriteUInt32(RoomID);
|
|
|
}
|
|
|
+ if (SyncInterval != 0) {
|
|
|
+ output.WriteRawTag(32);
|
|
|
+ output.WriteUInt32(SyncInterval);
|
|
|
+ }
|
|
|
+ if (N != 0) {
|
|
|
+ output.WriteRawTag(40);
|
|
|
+ output.WriteUInt32(N);
|
|
|
+ }
|
|
|
+ if (Errmsg.Length != 0) {
|
|
|
+ output.WriteRawTag(50);
|
|
|
+ output.WriteString(Errmsg);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -838,6 +893,15 @@ namespace Protos {
|
|
|
if (RoomID != 0) {
|
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomID);
|
|
|
}
|
|
|
+ if (SyncInterval != 0) {
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SyncInterval);
|
|
|
+ }
|
|
|
+ if (N != 0) {
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(N);
|
|
|
+ }
|
|
|
+ if (Errmsg.Length != 0) {
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Errmsg);
|
|
|
+ }
|
|
|
return size;
|
|
|
}
|
|
|
|
|
@@ -858,6 +922,15 @@ namespace Protos {
|
|
|
if (other.RoomID != 0) {
|
|
|
RoomID = other.RoomID;
|
|
|
}
|
|
|
+ if (other.SyncInterval != 0) {
|
|
|
+ SyncInterval = other.SyncInterval;
|
|
|
+ }
|
|
|
+ if (other.N != 0) {
|
|
|
+ N = other.N;
|
|
|
+ }
|
|
|
+ if (other.Errmsg.Length != 0) {
|
|
|
+ Errmsg = other.Errmsg;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -883,6 +956,18 @@ namespace Protos {
|
|
|
RoomID = input.ReadUInt32();
|
|
|
break;
|
|
|
}
|
|
|
+ case 32: {
|
|
|
+ SyncInterval = input.ReadUInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 40: {
|
|
|
+ N = input.ReadUInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 50: {
|
|
|
+ Errmsg = input.ReadString();
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|