mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
Update to 2.6.0 & Implement Rogue Magic
This commit is contained in:
@@ -25,13 +25,13 @@ namespace EggLink.DanhengServer.Proto {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ch5VbmxvY2tUdXRvcmlhbEd1aWRlU2NSc3AucHJvdG8aE1R1dG9yaWFsR3Vp",
|
||||
"ZGUucHJvdG8iUwoYVW5sb2NrVHV0b3JpYWxHdWlkZVNjUnNwEiYKDnR1dG9y",
|
||||
"aWFsX2d1aWRlGAggASgLMg4uVHV0b3JpYWxHdWlkZRIPCgdyZXRjb2RlGAQg",
|
||||
"ASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
||||
"ZGUucHJvdG8iUgoYVW5sb2NrVHV0b3JpYWxHdWlkZVNjUnNwEg8KB3JldGNv",
|
||||
"ZGUYAyABKA0SJQoNVHV0b3JpYWxHdWlkZRgJIAEoCzIOLlR1dG9yaWFsR3Vp",
|
||||
"ZGVCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TutorialGuideReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.UnlockTutorialGuideScRsp), global::EggLink.DanhengServer.Proto.UnlockTutorialGuideScRsp.Parser, new[]{ "TutorialGuide", "Retcode" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.UnlockTutorialGuideScRsp), global::EggLink.DanhengServer.Proto.UnlockTutorialGuideScRsp.Parser, new[]{ "Retcode", "TutorialGuide" }, 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 UnlockTutorialGuideScRsp(UnlockTutorialGuideScRsp other) : this() {
|
||||
tutorialGuide_ = other.tutorialGuide_ != null ? other.tutorialGuide_.Clone() : null;
|
||||
retcode_ = other.retcode_;
|
||||
tutorialGuide_ = other.tutorialGuide_ != null ? other.tutorialGuide_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -84,20 +84,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new UnlockTutorialGuideScRsp(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "tutorial_guide" field.</summary>
|
||||
public const int TutorialGuideFieldNumber = 8;
|
||||
private global::EggLink.DanhengServer.Proto.TutorialGuide tutorialGuide_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::EggLink.DanhengServer.Proto.TutorialGuide TutorialGuide {
|
||||
get { return tutorialGuide_; }
|
||||
set {
|
||||
tutorialGuide_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "retcode" field.</summary>
|
||||
public const int RetcodeFieldNumber = 4;
|
||||
public const int RetcodeFieldNumber = 3;
|
||||
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 "TutorialGuide" field.</summary>
|
||||
public const int TutorialGuideFieldNumber = 9;
|
||||
private global::EggLink.DanhengServer.Proto.TutorialGuide tutorialGuide_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::EggLink.DanhengServer.Proto.TutorialGuide TutorialGuide {
|
||||
get { return tutorialGuide_; }
|
||||
set {
|
||||
tutorialGuide_ = 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 (!object.Equals(TutorialGuide, other.TutorialGuide)) return false;
|
||||
if (Retcode != other.Retcode) return false;
|
||||
if (!object.Equals(TutorialGuide, other.TutorialGuide)) 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 (tutorialGuide_ != null) hash ^= TutorialGuide.GetHashCode();
|
||||
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
||||
if (tutorialGuide_ != null) hash ^= TutorialGuide.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -153,11 +153,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteRawTag(24);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (tutorialGuide_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(TutorialGuide);
|
||||
}
|
||||
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 (Retcode != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteRawTag(24);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (tutorialGuide_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(TutorialGuide);
|
||||
}
|
||||
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 (tutorialGuide_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TutorialGuide);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
||||
}
|
||||
if (tutorialGuide_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TutorialGuide);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -206,15 +206,15 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
if (other.tutorialGuide_ != null) {
|
||||
if (tutorialGuide_ == null) {
|
||||
TutorialGuide = new global::EggLink.DanhengServer.Proto.TutorialGuide();
|
||||
}
|
||||
TutorialGuide.MergeFrom(other.TutorialGuide);
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -230,11 +230,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 32: {
|
||||
case 24: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
case 74: {
|
||||
if (tutorialGuide_ == null) {
|
||||
TutorialGuide = new global::EggLink.DanhengServer.Proto.TutorialGuide();
|
||||
}
|
||||
@@ -256,11 +256,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 32: {
|
||||
case 24: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
case 74: {
|
||||
if (tutorialGuide_ == null) {
|
||||
TutorialGuide = new global::EggLink.DanhengServer.Proto.TutorialGuide();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user