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(
"ChNSZXRjb2RlTm90aWZ5LnByb3RvGg1SZXRjb2RlLnByb3RvIj8KDVJldGNv",
"ZGVOb3RpZnkSGQoHcmV0Y29kZRgNIAEoDjIILlJldGNvZGUSEwoLQ05NT0hD",
"T0hLSEEYDCADKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IG",
"ZGVOb3RpZnkSGQoHcmV0Y29kZRgDIAEoDjIILlJldGNvZGUSEwoLRERETlBQ",
"QUtJTk4YDSADKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RetcodeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RetcodeNotify), global::EggLink.DanhengServer.Proto.RetcodeNotify.Parser, new[]{ "Retcode", "CNMOHCOHKHA" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RetcodeNotify), global::EggLink.DanhengServer.Proto.RetcodeNotify.Parser, new[]{ "Retcode", "DDDNPPAKINN" }, null, null, null, null)
}));
}
#endregion
@@ -74,7 +74,7 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RetcodeNotify(RetcodeNotify other) : this() {
retcode_ = other.retcode_;
cNMOHCOHKHA_ = other.cNMOHCOHKHA_.Clone();
dDDNPPAKINN_ = other.dDDNPPAKINN_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -85,7 +85,7 @@ namespace EggLink.DanhengServer.Proto {
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 13;
public const int RetcodeFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.Retcode retcode_ = global::EggLink.DanhengServer.Proto.Retcode.RetSucc;
/// <summary>
/// original: uint32
@@ -99,15 +99,15 @@ namespace EggLink.DanhengServer.Proto {
}
}
/// <summary>Field number for the "CNMOHCOHKHA" field.</summary>
public const int CNMOHCOHKHAFieldNumber = 12;
private static readonly pb::FieldCodec<uint> _repeated_cNMOHCOHKHA_codec
= pb::FieldCodec.ForUInt32(98);
private readonly pbc::RepeatedField<uint> cNMOHCOHKHA_ = new pbc::RepeatedField<uint>();
/// <summary>Field number for the "DDDNPPAKINN" field.</summary>
public const int DDDNPPAKINNFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_dDDNPPAKINN_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> dDDNPPAKINN_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> CNMOHCOHKHA {
get { return cNMOHCOHKHA_; }
public pbc::RepeatedField<uint> DDDNPPAKINN {
get { return dDDNPPAKINN_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -126,7 +126,7 @@ namespace EggLink.DanhengServer.Proto {
return true;
}
if (Retcode != other.Retcode) return false;
if(!cNMOHCOHKHA_.Equals(other.cNMOHCOHKHA_)) return false;
if(!dDDNPPAKINN_.Equals(other.dDDNPPAKINN_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -135,7 +135,7 @@ namespace EggLink.DanhengServer.Proto {
public override int GetHashCode() {
int hash = 1;
if (Retcode != global::EggLink.DanhengServer.Proto.Retcode.RetSucc) hash ^= Retcode.GetHashCode();
hash ^= cNMOHCOHKHA_.GetHashCode();
hash ^= dDDNPPAKINN_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -154,11 +154,11 @@ namespace EggLink.DanhengServer.Proto {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
cNMOHCOHKHA_.WriteTo(output, _repeated_cNMOHCOHKHA_codec);
if (Retcode != global::EggLink.DanhengServer.Proto.Retcode.RetSucc) {
output.WriteRawTag(104);
output.WriteRawTag(24);
output.WriteEnum((int) Retcode);
}
dDDNPPAKINN_.WriteTo(output, _repeated_dDDNPPAKINN_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -169,11 +169,11 @@ namespace EggLink.DanhengServer.Proto {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
cNMOHCOHKHA_.WriteTo(ref output, _repeated_cNMOHCOHKHA_codec);
if (Retcode != global::EggLink.DanhengServer.Proto.Retcode.RetSucc) {
output.WriteRawTag(104);
output.WriteRawTag(24);
output.WriteEnum((int) Retcode);
}
dDDNPPAKINN_.WriteTo(ref output, _repeated_dDDNPPAKINN_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -187,7 +187,7 @@ namespace EggLink.DanhengServer.Proto {
if (Retcode != global::EggLink.DanhengServer.Proto.Retcode.RetSucc) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Retcode);
}
size += cNMOHCOHKHA_.CalculateSize(_repeated_cNMOHCOHKHA_codec);
size += dDDNPPAKINN_.CalculateSize(_repeated_dDDNPPAKINN_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -203,7 +203,7 @@ namespace EggLink.DanhengServer.Proto {
if (other.Retcode != global::EggLink.DanhengServer.Proto.Retcode.RetSucc) {
Retcode = other.Retcode;
}
cNMOHCOHKHA_.Add(other.cNMOHCOHKHA_);
dDDNPPAKINN_.Add(other.dDDNPPAKINN_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -219,13 +219,13 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 98:
case 96: {
cNMOHCOHKHA_.AddEntriesFrom(input, _repeated_cNMOHCOHKHA_codec);
case 24: {
Retcode = (global::EggLink.DanhengServer.Proto.Retcode) input.ReadEnum();
break;
}
case 106:
case 104: {
Retcode = (global::EggLink.DanhengServer.Proto.Retcode) input.ReadEnum();
dDDNPPAKINN_.AddEntriesFrom(input, _repeated_dDDNPPAKINN_codec);
break;
}
}
@@ -243,13 +243,13 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 98:
case 96: {
cNMOHCOHKHA_.AddEntriesFrom(ref input, _repeated_cNMOHCOHKHA_codec);
case 24: {
Retcode = (global::EggLink.DanhengServer.Proto.Retcode) input.ReadEnum();
break;
}
case 106:
case 104: {
Retcode = (global::EggLink.DanhengServer.Proto.Retcode) input.ReadEnum();
dDDNPPAKINN_.AddEntriesFrom(ref input, _repeated_dDDNPPAKINN_codec);
break;
}
}