mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
feat: upgrade to 3.6.51
This commit is contained in:
@@ -24,13 +24,13 @@ namespace EggLink.DanhengServer.Proto {
|
||||
static SyncTaskScRspReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChNTeW5jVGFza1NjUnNwLnByb3RvIi0KDVN5bmNUYXNrU2NSc3ASDwoHcmV0",
|
||||
"Y29kZRgMIAEoDRILCgNrZXkYBiABKAlCHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
|
||||
"ChNTeW5jVGFza1NjUnNwLnByb3RvIi0KDVN5bmNUYXNrU2NSc3ASCwoDa2V5",
|
||||
"GAcgASgJEg8KB3JldGNvZGUYDCABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
|
||||
"cnZlci5Qcm90b2IGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SyncTaskScRsp), global::EggLink.DanhengServer.Proto.SyncTaskScRsp.Parser, new[]{ "Retcode", "Key" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SyncTaskScRsp), global::EggLink.DanhengServer.Proto.SyncTaskScRsp.Parser, new[]{ "Key", "Retcode" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@@ -72,8 +72,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SyncTaskScRsp(SyncTaskScRsp other) : this() {
|
||||
retcode_ = other.retcode_;
|
||||
key_ = other.key_;
|
||||
retcode_ = other.retcode_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -83,6 +83,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new SyncTaskScRsp(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "key" field.</summary>
|
||||
public const int KeyFieldNumber = 7;
|
||||
private string key_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Key {
|
||||
get { return key_; }
|
||||
set {
|
||||
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "retcode" field.</summary>
|
||||
public const int RetcodeFieldNumber = 12;
|
||||
private uint retcode_;
|
||||
@@ -95,18 +107,6 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "key" field.</summary>
|
||||
public const int KeyFieldNumber = 6;
|
||||
private string key_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Key {
|
||||
get { return key_; }
|
||||
set {
|
||||
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@@ -122,8 +122,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Retcode != other.Retcode) return false;
|
||||
if (Key != other.Key) return false;
|
||||
if (Retcode != other.Retcode) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -131,8 +131,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
||||
if (Key.Length != 0) hash ^= Key.GetHashCode();
|
||||
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -152,7 +152,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Key.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
@@ -170,7 +170,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Key.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
@@ -187,12 +187,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Retcode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
||||
}
|
||||
if (Key.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -205,12 +205,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
if (other.Key.Length != 0) {
|
||||
Key = other.Key;
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 50: {
|
||||
case 58: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
@@ -249,7 +249,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 50: {
|
||||
case 58: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user