Update to 2.7.0

This commit is contained in:
StopWuyu
2024-10-27 13:23:57 +08:00
parent b5b0331f13
commit 5869596bc3
2393 changed files with 177791 additions and 142572 deletions

View File

@@ -25,14 +25,14 @@ namespace EggLink.DanhengServer.Proto {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlHZXRKdWtlYm94RGF0YVNjUnNwLnByb3RvGg9NdXNpY0RhdGEucHJvdG8i",
"aQoTR2V0SnVrZWJveERhdGFTY1JzcBInChN1bmxvY2tlZF9tdXNpY19saXN0",
"GAsgAygLMgouTXVzaWNEYXRhEhgKEGN1cnJlbnRfbXVzaWNfaWQYBiABKA0S",
"DwoHcmV0Y29kZRgFIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
"aQoTR2V0SnVrZWJveERhdGFTY1JzcBIYChBjdXJyZW50X211c2ljX2lkGAUg",
"ASgNEg8KB3JldGNvZGUYAiABKA0SJwoTdW5sb2NrZWRfbXVzaWNfbGlzdBgO",
"IAMoCzIKLk11c2ljRGF0YUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
"b3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MusicDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetJukeboxDataScRsp), global::EggLink.DanhengServer.Proto.GetJukeboxDataScRsp.Parser, new[]{ "UnlockedMusicList", "CurrentMusicId", "Retcode" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetJukeboxDataScRsp), global::EggLink.DanhengServer.Proto.GetJukeboxDataScRsp.Parser, new[]{ "CurrentMusicId", "Retcode", "UnlockedMusicList" }, null, null, null, null)
}));
}
#endregion
@@ -74,9 +74,9 @@ namespace EggLink.DanhengServer.Proto {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetJukeboxDataScRsp(GetJukeboxDataScRsp other) : this() {
unlockedMusicList_ = other.unlockedMusicList_.Clone();
currentMusicId_ = other.currentMusicId_;
retcode_ = other.retcode_;
unlockedMusicList_ = other.unlockedMusicList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -86,19 +86,8 @@ namespace EggLink.DanhengServer.Proto {
return new GetJukeboxDataScRsp(this);
}
/// <summary>Field number for the "unlocked_music_list" field.</summary>
public const int UnlockedMusicListFieldNumber = 11;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MusicData> _repeated_unlockedMusicList_codec
= 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)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicData> UnlockedMusicList {
get { return unlockedMusicList_; }
}
/// <summary>Field number for the "current_music_id" field.</summary>
public const int CurrentMusicIdFieldNumber = 6;
public const int CurrentMusicIdFieldNumber = 5;
private uint currentMusicId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -110,7 +99,7 @@ namespace EggLink.DanhengServer.Proto {
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 5;
public const int RetcodeFieldNumber = 2;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -121,6 +110,17 @@ namespace EggLink.DanhengServer.Proto {
}
}
/// <summary>Field number for the "unlocked_music_list" field.</summary>
public const int UnlockedMusicListFieldNumber = 14;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MusicData> _repeated_unlockedMusicList_codec
= pb::FieldCodec.ForMessage(114, 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)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicData> UnlockedMusicList {
get { return unlockedMusicList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
@@ -136,9 +136,9 @@ namespace EggLink.DanhengServer.Proto {
if (ReferenceEquals(other, this)) {
return true;
}
if(!unlockedMusicList_.Equals(other.unlockedMusicList_)) return false;
if (CurrentMusicId != other.CurrentMusicId) return false;
if (Retcode != other.Retcode) return false;
if(!unlockedMusicList_.Equals(other.unlockedMusicList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -146,9 +146,9 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= unlockedMusicList_.GetHashCode();
if (CurrentMusicId != 0) hash ^= CurrentMusicId.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= unlockedMusicList_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -168,11 +168,11 @@ namespace EggLink.DanhengServer.Proto {
output.WriteRawMessage(this);
#else
if (Retcode != 0) {
output.WriteRawTag(40);
output.WriteRawTag(16);
output.WriteUInt32(Retcode);
}
if (CurrentMusicId != 0) {
output.WriteRawTag(48);
output.WriteRawTag(40);
output.WriteUInt32(CurrentMusicId);
}
unlockedMusicList_.WriteTo(output, _repeated_unlockedMusicList_codec);
@@ -187,11 +187,11 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Retcode != 0) {
output.WriteRawTag(40);
output.WriteRawTag(16);
output.WriteUInt32(Retcode);
}
if (CurrentMusicId != 0) {
output.WriteRawTag(48);
output.WriteRawTag(40);
output.WriteUInt32(CurrentMusicId);
}
unlockedMusicList_.WriteTo(ref output, _repeated_unlockedMusicList_codec);
@@ -205,13 +205,13 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
size += unlockedMusicList_.CalculateSize(_repeated_unlockedMusicList_codec);
if (CurrentMusicId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrentMusicId);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += unlockedMusicList_.CalculateSize(_repeated_unlockedMusicList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -224,13 +224,13 @@ namespace EggLink.DanhengServer.Proto {
if (other == null) {
return;
}
unlockedMusicList_.Add(other.unlockedMusicList_);
if (other.CurrentMusicId != 0) {
CurrentMusicId = other.CurrentMusicId;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
unlockedMusicList_.Add(other.unlockedMusicList_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -246,15 +246,15 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 40: {
case 16: {
Retcode = input.ReadUInt32();
break;
}
case 48: {
case 40: {
CurrentMusicId = input.ReadUInt32();
break;
}
case 90: {
case 114: {
unlockedMusicList_.AddEntriesFrom(input, _repeated_unlockedMusicList_codec);
break;
}
@@ -273,15 +273,15 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 40: {
case 16: {
Retcode = input.ReadUInt32();
break;
}
case 48: {
case 40: {
CurrentMusicId = input.ReadUInt32();
break;
}
case 90: {
case 114: {
unlockedMusicList_.AddEntriesFrom(ref input, _repeated_unlockedMusicList_codec);
break;
}