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:
@@ -25,13 +25,13 @@ namespace EggLink.DanhengServer.Proto {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CihUcmFpblBhcnR5QWRkQnVpbGREeW5hbWljQnVmZlNjUnNwLnByb3RvIkYK",
|
||||
"IlRyYWluUGFydHlBZGRCdWlsZER5bmFtaWNCdWZmU2NSc3ASDwoHYnVmZl9p",
|
||||
"ZBgGIAEoDRIPCgdyZXRjb2RlGAggASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdT",
|
||||
"IlRyYWluUGFydHlBZGRCdWlsZER5bmFtaWNCdWZmU2NSc3ASDwoHcmV0Y29k",
|
||||
"ZRgNIAEoDRIPCgdidWZmX2lkGAUgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdT",
|
||||
"ZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyAddBuildDynamicBuffScRsp), global::EggLink.DanhengServer.Proto.TrainPartyAddBuildDynamicBuffScRsp.Parser, new[]{ "BuffId", "Retcode" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyAddBuildDynamicBuffScRsp), global::EggLink.DanhengServer.Proto.TrainPartyAddBuildDynamicBuffScRsp.Parser, new[]{ "Retcode", "BuffId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@@ -73,8 +73,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TrainPartyAddBuildDynamicBuffScRsp(TrainPartyAddBuildDynamicBuffScRsp other) : this() {
|
||||
buffId_ = other.buffId_;
|
||||
retcode_ = other.retcode_;
|
||||
buffId_ = other.buffId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -84,20 +84,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new TrainPartyAddBuildDynamicBuffScRsp(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_id" field.</summary>
|
||||
public const int BuffIdFieldNumber = 6;
|
||||
private uint buffId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint BuffId {
|
||||
get { return buffId_; }
|
||||
set {
|
||||
buffId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "retcode" field.</summary>
|
||||
public const int RetcodeFieldNumber = 8;
|
||||
public const int RetcodeFieldNumber = 13;
|
||||
private uint retcode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -108,6 +96,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "buff_id" field.</summary>
|
||||
public const int BuffIdFieldNumber = 5;
|
||||
private uint buffId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint BuffId {
|
||||
get { return buffId_; }
|
||||
set {
|
||||
buffId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@@ -123,8 +123,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (BuffId != other.BuffId) return false;
|
||||
if (Retcode != other.Retcode) return false;
|
||||
if (BuffId != other.BuffId) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -132,8 +132,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (BuffId != 0) hash ^= BuffId.GetHashCode();
|
||||
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
||||
if (BuffId != 0) hash ^= BuffId.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -153,11 +153,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (BuffId != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteRawTag(40);
|
||||
output.WriteUInt32(BuffId);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(104);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -171,11 +171,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (BuffId != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteRawTag(40);
|
||||
output.WriteUInt32(BuffId);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(104);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -188,12 +188,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (BuffId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffId);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
||||
}
|
||||
if (BuffId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -206,12 +206,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.BuffId != 0) {
|
||||
BuffId = other.BuffId;
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
if (other.BuffId != 0) {
|
||||
BuffId = other.BuffId;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -227,11 +227,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 48: {
|
||||
case 40: {
|
||||
BuffId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 104: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
@@ -250,11 +250,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 48: {
|
||||
case 40: {
|
||||
BuffId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 104: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user