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(
|
||||
"ChNUdXRvcmlhbEd1aWRlLnByb3RvGhRUdXRvcmlhbFN0YXR1cy5wcm90byI8",
|
||||
"Cg1UdXRvcmlhbEd1aWRlEgoKAmlkGAMgASgNEh8KBnN0YXR1cxgIIAEoDjIP",
|
||||
"LlR1dG9yaWFsU3RhdHVzQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
|
||||
"Cg1UdXRvcmlhbEd1aWRlEh8KBlN0YXR1cxgFIAEoDjIPLlR1dG9yaWFsU3Rh",
|
||||
"dHVzEgoKAmlkGAMgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
|
||||
"dG9iBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TutorialStatusReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TutorialGuide), global::EggLink.DanhengServer.Proto.TutorialGuide.Parser, new[]{ "Id", "Status" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TutorialGuide), global::EggLink.DanhengServer.Proto.TutorialGuide.Parser, new[]{ "Status", "Id" }, 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 TutorialGuide(TutorialGuide other) : this() {
|
||||
id_ = other.id_;
|
||||
status_ = other.status_;
|
||||
id_ = other.id_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -84,6 +84,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new TutorialGuide(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "Status" field.</summary>
|
||||
public const int StatusFieldNumber = 5;
|
||||
private global::EggLink.DanhengServer.Proto.TutorialStatus status_ = global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::EggLink.DanhengServer.Proto.TutorialStatus Status {
|
||||
get { return status_; }
|
||||
set {
|
||||
status_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "id" field.</summary>
|
||||
public const int IdFieldNumber = 3;
|
||||
private uint id_;
|
||||
@@ -96,18 +108,6 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "status" field.</summary>
|
||||
public const int StatusFieldNumber = 8;
|
||||
private global::EggLink.DanhengServer.Proto.TutorialStatus status_ = global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::EggLink.DanhengServer.Proto.TutorialStatus Status {
|
||||
get { return status_; }
|
||||
set {
|
||||
status_ = 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 (Id != other.Id) return false;
|
||||
if (Status != other.Status) return false;
|
||||
if (Id != other.Id) 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 (Id != 0) hash ^= Id.GetHashCode();
|
||||
if (Status != global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone) hash ^= Status.GetHashCode();
|
||||
if (Id != 0) hash ^= Id.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -157,7 +157,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteUInt32(Id);
|
||||
}
|
||||
if (Status != global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(40);
|
||||
output.WriteEnum((int) Status);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -175,7 +175,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteUInt32(Id);
|
||||
}
|
||||
if (Status != global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(40);
|
||||
output.WriteEnum((int) Status);
|
||||
}
|
||||
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 (Id != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||||
}
|
||||
if (Status != global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
|
||||
}
|
||||
if (Id != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -206,12 +206,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Status != global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone) {
|
||||
Status = other.Status;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
Id = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 40: {
|
||||
Status = (global::EggLink.DanhengServer.Proto.TutorialStatus) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
@@ -254,7 +254,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
Id = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 40: {
|
||||
Status = (global::EggLink.DanhengServer.Proto.TutorialStatus) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user