mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Update to 2.6.0 & Implement Rogue Magic
This commit is contained in:
@@ -26,8 +26,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
string.Concat(
|
||||
"ChlHZXRKdWtlYm94RGF0YVNjUnNwLnByb3RvGg9NdXNpY0RhdGEucHJvdG8i",
|
||||
"aQoTR2V0SnVrZWJveERhdGFTY1JzcBInChN1bmxvY2tlZF9tdXNpY19saXN0",
|
||||
"GAEgAygLMgouTXVzaWNEYXRhEhgKEGN1cnJlbnRfbXVzaWNfaWQYCiABKA0S",
|
||||
"DwoHcmV0Y29kZRgIIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
|
||||
"GAsgAygLMgouTXVzaWNEYXRhEhgKEGN1cnJlbnRfbXVzaWNfaWQYBiABKA0S",
|
||||
"DwoHcmV0Y29kZRgFIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
|
||||
"b3RvYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MusicDataReflection.Descriptor, },
|
||||
@@ -87,9 +87,9 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unlocked_music_list" field.</summary>
|
||||
public const int UnlockedMusicListFieldNumber = 1;
|
||||
public const int UnlockedMusicListFieldNumber = 11;
|
||||
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MusicData> _repeated_unlockedMusicList_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.MusicData.Parser);
|
||||
= pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.MusicData.Parser);
|
||||
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicData> unlockedMusicList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -98,7 +98,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "current_music_id" field.</summary>
|
||||
public const int CurrentMusicIdFieldNumber = 10;
|
||||
public const int CurrentMusicIdFieldNumber = 6;
|
||||
private uint currentMusicId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -110,7 +110,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "retcode" field.</summary>
|
||||
public const int RetcodeFieldNumber = 8;
|
||||
public const int RetcodeFieldNumber = 5;
|
||||
private uint retcode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -167,15 +167,15 @@ namespace EggLink.DanhengServer.Proto {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
unlockedMusicList_.WriteTo(output, _repeated_unlockedMusicList_codec);
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(40);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (CurrentMusicId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteRawTag(48);
|
||||
output.WriteUInt32(CurrentMusicId);
|
||||
}
|
||||
unlockedMusicList_.WriteTo(output, _repeated_unlockedMusicList_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
@@ -186,15 +186,15 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
unlockedMusicList_.WriteTo(ref output, _repeated_unlockedMusicList_codec);
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(40);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (CurrentMusicId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteRawTag(48);
|
||||
output.WriteUInt32(CurrentMusicId);
|
||||
}
|
||||
unlockedMusicList_.WriteTo(ref output, _repeated_unlockedMusicList_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
@@ -246,18 +246,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
unlockedMusicList_.AddEntriesFrom(input, _repeated_unlockedMusicList_codec);
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 40: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 48: {
|
||||
CurrentMusicId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
unlockedMusicList_.AddEntriesFrom(input, _repeated_unlockedMusicList_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -273,18 +273,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
unlockedMusicList_.AddEntriesFrom(ref input, _repeated_unlockedMusicList_codec);
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 40: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 48: {
|
||||
CurrentMusicId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
unlockedMusicList_.AddEntriesFrom(ref input, _repeated_unlockedMusicList_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user