Update to 2.6.0 & Implement Rogue Magic

This commit is contained in:
StopWuyu
2024-10-05 22:40:41 +08:00
parent 50c2f6d13a
commit f432026d56
2369 changed files with 178947 additions and 133932 deletions

View File

@@ -25,12 +25,12 @@ namespace EggLink.DanhengServer.Proto {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5UdXRvcmlhbC5wcm90bxoUVHV0b3JpYWxTdGF0dXMucHJvdG8iNwoIVHV0",
"b3JpYWwSCgoCaWQYDSABKA0SHwoGc3RhdHVzGAQgASgOMg8uVHV0b3JpYWxT",
"dGF0dXNCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
"b3JpYWwSHwoGU3RhdHVzGAcgASgOMg8uVHV0b3JpYWxTdGF0dXMSCgoCaWQY",
"CyABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
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.Tutorial), global::EggLink.DanhengServer.Proto.Tutorial.Parser, new[]{ "Id", "Status" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.Tutorial), global::EggLink.DanhengServer.Proto.Tutorial.Parser, new[]{ "Status", "Id" }, 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 Tutorial(Tutorial other) : this() {
id_ = other.id_;
status_ = other.status_;
id_ = other.id_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -83,20 +83,8 @@ namespace EggLink.DanhengServer.Proto {
return new Tutorial(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 13;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 4;
/// <summary>Field number for the "Status" field.</summary>
public const int StatusFieldNumber = 7;
private global::EggLink.DanhengServer.Proto.TutorialStatus status_ = global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -107,6 +95,18 @@ namespace EggLink.DanhengServer.Proto {
}
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 11;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = 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 (Id != other.Id) return false;
if (Status != other.Status) return false;
if (Id != other.Id) 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 (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();
}
@@ -152,11 +152,11 @@ namespace EggLink.DanhengServer.Proto {
output.WriteRawMessage(this);
#else
if (Status != global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone) {
output.WriteRawTag(32);
output.WriteRawTag(56);
output.WriteEnum((int) Status);
}
if (Id != 0) {
output.WriteRawTag(104);
output.WriteRawTag(88);
output.WriteUInt32(Id);
}
if (_unknownFields != null) {
@@ -170,11 +170,11 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Status != global::EggLink.DanhengServer.Proto.TutorialStatus.TutorialNone) {
output.WriteRawTag(32);
output.WriteRawTag(56);
output.WriteEnum((int) Status);
}
if (Id != 0) {
output.WriteRawTag(104);
output.WriteRawTag(88);
output.WriteUInt32(Id);
}
if (_unknownFields != null) {
@@ -187,12 +187,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();
}
@@ -205,12 +205,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);
}
@@ -226,11 +226,11 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 32: {
case 56: {
Status = (global::EggLink.DanhengServer.Proto.TutorialStatus) input.ReadEnum();
break;
}
case 104: {
case 88: {
Id = input.ReadUInt32();
break;
}
@@ -249,11 +249,11 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 32: {
case 56: {
Status = (global::EggLink.DanhengServer.Proto.TutorialStatus) input.ReadEnum();
break;
}
case 104: {
case 88: {
Id = input.ReadUInt32();
break;
}