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,13 +25,13 @@ namespace EggLink.DanhengServer.Proto {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChNTZWNyZXRLZXlJbmZvLnByb3RvGhNTZWNyZXRLZXlUeXBlLnByb3RvIkEK",
"DVNlY3JldEtleUluZm8SHAoEdHlwZRgIIAEoDjIOLlNlY3JldEtleVR5cGUS",
"EgoKc2VjcmV0X2tleRgEIAEoCUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy",
"DVNlY3JldEtleUluZm8SEgoKc2VjcmV0X2tleRgPIAEoCRIcCgR0eXBlGAQg",
"ASgOMg4uU2VjcmV0S2V5VHlwZUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy",
"LlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.SecretKeyTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SecretKeyInfo), global::EggLink.DanhengServer.Proto.SecretKeyInfo.Parser, new[]{ "Type", "SecretKey" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SecretKeyInfo), global::EggLink.DanhengServer.Proto.SecretKeyInfo.Parser, new[]{ "SecretKey", "Type" }, 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 SecretKeyInfo(SecretKeyInfo other) : this() {
type_ = other.type_;
secretKey_ = other.secretKey_;
type_ = other.type_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -84,20 +84,8 @@ namespace EggLink.DanhengServer.Proto {
return new SecretKeyInfo(this);
}
/// <summary>Field number for the "type" field.</summary>
public const int TypeFieldNumber = 8;
private global::EggLink.DanhengServer.Proto.SecretKeyType type_ = global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.SecretKeyType Type {
get { return type_; }
set {
type_ = value;
}
}
/// <summary>Field number for the "secret_key" field.</summary>
public const int SecretKeyFieldNumber = 4;
public const int SecretKeyFieldNumber = 15;
private string secretKey_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -108,6 +96,18 @@ namespace EggLink.DanhengServer.Proto {
}
}
/// <summary>Field number for the "type" field.</summary>
public const int TypeFieldNumber = 4;
private global::EggLink.DanhengServer.Proto.SecretKeyType type_ = global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.SecretKeyType Type {
get { return type_; }
set {
type_ = 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 (Type != other.Type) return false;
if (SecretKey != other.SecretKey) return false;
if (Type != other.Type) 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 (Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) hash ^= Type.GetHashCode();
if (SecretKey.Length != 0) hash ^= SecretKey.GetHashCode();
if (Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) hash ^= Type.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -152,14 +152,14 @@ namespace EggLink.DanhengServer.Proto {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SecretKey.Length != 0) {
output.WriteRawTag(34);
output.WriteString(SecretKey);
}
if (Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) {
output.WriteRawTag(64);
output.WriteRawTag(32);
output.WriteEnum((int) Type);
}
if (SecretKey.Length != 0) {
output.WriteRawTag(122);
output.WriteString(SecretKey);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -170,14 +170,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 (SecretKey.Length != 0) {
output.WriteRawTag(34);
output.WriteString(SecretKey);
}
if (Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) {
output.WriteRawTag(64);
output.WriteRawTag(32);
output.WriteEnum((int) Type);
}
if (SecretKey.Length != 0) {
output.WriteRawTag(122);
output.WriteString(SecretKey);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -188,12 +188,12 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
}
if (SecretKey.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SecretKey);
}
if (Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -206,12 +206,12 @@ namespace EggLink.DanhengServer.Proto {
if (other == null) {
return;
}
if (other.Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) {
Type = other.Type;
}
if (other.SecretKey.Length != 0) {
SecretKey = other.SecretKey;
}
if (other.Type != global::EggLink.DanhengServer.Proto.SecretKeyType.SecretKeyNone) {
Type = other.Type;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -227,12 +227,12 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 34: {
SecretKey = input.ReadString();
case 32: {
Type = (global::EggLink.DanhengServer.Proto.SecretKeyType) input.ReadEnum();
break;
}
case 64: {
Type = (global::EggLink.DanhengServer.Proto.SecretKeyType) input.ReadEnum();
case 122: {
SecretKey = input.ReadString();
break;
}
}
@@ -250,12 +250,12 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 34: {
SecretKey = input.ReadString();
case 32: {
Type = (global::EggLink.DanhengServer.Proto.SecretKeyType) input.ReadEnum();
break;
}
case 64: {
Type = (global::EggLink.DanhengServer.Proto.SecretKeyType) input.ReadEnum();
case 122: {
SecretKey = input.ReadString();
break;
}
}