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

@@ -24,14 +24,14 @@ namespace EggLink.DanhengServer.Proto {
static GetTutorialScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZHZXRUdXRvcmlhbFNjUnNwLnByb3RvGg5UdXRvcmlhbC5wcm90byJFChBH",
"ZXRUdXRvcmlhbFNjUnNwEiAKDXR1dG9yaWFsX2xpc3QYCSADKAsyCS5UdXRv",
"cmlhbBIPCgdyZXRjb2RlGA4gASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2",
"ZXIuUHJvdG9iBnByb3RvMw=="));
"ChZHZXRUdXRvcmlhbFNjUnNwLnByb3RvGg5UdXRvcmlhbC5wcm90byJEChBH",
"ZXRUdXRvcmlhbFNjUnNwEg8KB3JldGNvZGUYAyABKA0SHwoMVHV0b3JpYWxM",
"aXN0GAkgAygLMgkuVHV0b3JpYWxCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZl",
"ci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TutorialReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetTutorialScRsp), global::EggLink.DanhengServer.Proto.GetTutorialScRsp.Parser, new[]{ "TutorialList", "Retcode" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetTutorialScRsp), global::EggLink.DanhengServer.Proto.GetTutorialScRsp.Parser, new[]{ "Retcode", "TutorialList" }, 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 GetTutorialScRsp(GetTutorialScRsp other) : this() {
tutorialList_ = other.tutorialList_.Clone();
retcode_ = other.retcode_;
tutorialList_ = other.tutorialList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -84,19 +84,8 @@ namespace EggLink.DanhengServer.Proto {
return new GetTutorialScRsp(this);
}
/// <summary>Field number for the "tutorial_list" field.</summary>
public const int TutorialListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Tutorial> _repeated_tutorialList_codec
= pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.Tutorial.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Tutorial> tutorialList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Tutorial>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Tutorial> TutorialList {
get { return tutorialList_; }
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 14;
public const int RetcodeFieldNumber = 3;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -107,6 +96,17 @@ namespace EggLink.DanhengServer.Proto {
}
}
/// <summary>Field number for the "TutorialList" field.</summary>
public const int TutorialListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Tutorial> _repeated_tutorialList_codec
= pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.Tutorial.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Tutorial> tutorialList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Tutorial>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Tutorial> TutorialList {
get { return tutorialList_; }
}
[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(!tutorialList_.Equals(other.tutorialList_)) return false;
if (Retcode != other.Retcode) return false;
if(!tutorialList_.Equals(other.tutorialList_)) 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;
hash ^= tutorialList_.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= tutorialList_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -151,11 +151,11 @@ namespace EggLink.DanhengServer.Proto {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
tutorialList_.WriteTo(output, _repeated_tutorialList_codec);
if (Retcode != 0) {
output.WriteRawTag(112);
output.WriteRawTag(24);
output.WriteUInt32(Retcode);
}
tutorialList_.WriteTo(output, _repeated_tutorialList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -166,11 +166,11 @@ namespace EggLink.DanhengServer.Proto {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
tutorialList_.WriteTo(ref output, _repeated_tutorialList_codec);
if (Retcode != 0) {
output.WriteRawTag(112);
output.WriteRawTag(24);
output.WriteUInt32(Retcode);
}
tutorialList_.WriteTo(ref output, _repeated_tutorialList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -181,10 +181,10 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
size += tutorialList_.CalculateSize(_repeated_tutorialList_codec);
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += tutorialList_.CalculateSize(_repeated_tutorialList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -197,10 +197,10 @@ namespace EggLink.DanhengServer.Proto {
if (other == null) {
return;
}
tutorialList_.Add(other.tutorialList_);
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
tutorialList_.Add(other.tutorialList_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -216,12 +216,12 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 74: {
tutorialList_.AddEntriesFrom(input, _repeated_tutorialList_codec);
case 24: {
Retcode = input.ReadUInt32();
break;
}
case 112: {
Retcode = input.ReadUInt32();
case 74: {
tutorialList_.AddEntriesFrom(input, _repeated_tutorialList_codec);
break;
}
}
@@ -239,12 +239,12 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 74: {
tutorialList_.AddEntriesFrom(ref input, _repeated_tutorialList_codec);
case 24: {
Retcode = input.ReadUInt32();
break;
}
case 112: {
Retcode = input.ReadUInt32();
case 74: {
tutorialList_.AddEntriesFrom(ref input, _repeated_tutorialList_codec);
break;
}
}