mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Update to 2.6.0 & Implement Rogue Magic
This commit is contained in:
@@ -25,14 +25,14 @@ namespace EggLink.DanhengServer.Proto {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChtFdm9sdmVCdWlsZExlYXZlU2NSc3AucHJvdG8aGkV2b2x2ZUJ1aWxkTGV2",
|
||||
"ZWxJbmZvLnByb3RvIlMKFUV2b2x2ZUJ1aWxkTGVhdmVTY1JzcBIPCgdyZXRj",
|
||||
"b2RlGAEgASgNEikKCmxldmVsX2luZm8YAiABKAsyFS5Fdm9sdmVCdWlsZExl",
|
||||
"dmVsSW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90",
|
||||
"ZWxJbmZvLnByb3RvIlMKFUV2b2x2ZUJ1aWxkTGVhdmVTY1JzcBIpCgpsZXZl",
|
||||
"bF9pbmZvGAcgASgLMhUuRXZvbHZlQnVpbGRMZXZlbEluZm8SDwoHcmV0Y29k",
|
||||
"ZRgPIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90",
|
||||
"bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfoReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EvolveBuildLeaveScRsp), global::EggLink.DanhengServer.Proto.EvolveBuildLeaveScRsp.Parser, new[]{ "Retcode", "LevelInfo" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EvolveBuildLeaveScRsp), global::EggLink.DanhengServer.Proto.EvolveBuildLeaveScRsp.Parser, new[]{ "LevelInfo", "Retcode" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@@ -74,8 +74,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public EvolveBuildLeaveScRsp(EvolveBuildLeaveScRsp other) : this() {
|
||||
retcode_ = other.retcode_;
|
||||
levelInfo_ = other.levelInfo_ != null ? other.levelInfo_.Clone() : null;
|
||||
retcode_ = other.retcode_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -85,20 +85,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new EvolveBuildLeaveScRsp(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "retcode" field.</summary>
|
||||
public const int RetcodeFieldNumber = 1;
|
||||
private uint retcode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint Retcode {
|
||||
get { return retcode_; }
|
||||
set {
|
||||
retcode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "level_info" field.</summary>
|
||||
public const int LevelInfoFieldNumber = 2;
|
||||
public const int LevelInfoFieldNumber = 7;
|
||||
private global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo levelInfo_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -109,6 +97,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "retcode" field.</summary>
|
||||
public const int RetcodeFieldNumber = 15;
|
||||
private uint retcode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint Retcode {
|
||||
get { return retcode_; }
|
||||
set {
|
||||
retcode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@@ -124,8 +124,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Retcode != other.Retcode) return false;
|
||||
if (!object.Equals(LevelInfo, other.LevelInfo)) return false;
|
||||
if (Retcode != other.Retcode) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -133,8 +133,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 (levelInfo_ != null) hash ^= LevelInfo.GetHashCode();
|
||||
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -153,14 +153,14 @@ namespace EggLink.DanhengServer.Proto {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (levelInfo_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(LevelInfo);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
@@ -171,14 +171,14 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (levelInfo_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteRawTag(58);
|
||||
output.WriteMessage(LevelInfo);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(120);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
@@ -189,12 +189,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 (levelInfo_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LevelInfo);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -207,15 +207,15 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
if (other.levelInfo_ != null) {
|
||||
if (levelInfo_ == null) {
|
||||
LevelInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo();
|
||||
}
|
||||
LevelInfo.MergeFrom(other.LevelInfo);
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -231,17 +231,17 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
case 58: {
|
||||
if (levelInfo_ == null) {
|
||||
LevelInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo();
|
||||
}
|
||||
input.ReadMessage(LevelInfo);
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -257,17 +257,17 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
case 58: {
|
||||
if (levelInfo_ == null) {
|
||||
LevelInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo();
|
||||
}
|
||||
input.ReadMessage(LevelInfo);
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user