3.4 AchievementAllDataNotify

This commit is contained in:
HolographicHat
2023-01-18 02:54:42 +08:00
parent f0dbb9162b
commit 24cd49fa03

View File

@@ -22,15 +22,14 @@ public static partial class AchievementAllDataNotifyReflection {
static AchievementAllDataNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch5BY2hpZXZlbWVudEFsbERhdGFOb3RpZnkucHJvdG8ivwIKGEFjaGlldmVt",
"ZW50QWxsRGF0YU5vdGlmeRIzCgRsaXN0GAggAygLMiUuQWNoaWV2ZW1lbnRB",
"bGxEYXRhTm90aWZ5LkFjaGlldmVtZW50Gu0BCgtBY2hpZXZlbWVudBIRCgl0",
"aW1lc3RhbXAYCCABKA0SDwoHY3VycmVudBgLIAEoDRINCgV0b3RhbBgGIAEo",
"DRIKCgJpZBgOIAEoDRI8CgZzdGF0dXMYDyABKA4yLC5BY2hpZXZlbWVudEFs",
"bERhdGFOb3RpZnkuQWNoaWV2ZW1lbnQuU3RhdHVzImEKBlN0YXR1cxISCg5T",
"VEFUVVNfSU5WQUxJRBAAEhUKEVNUQVRVU19VTkZJTklTSEVEEAESEwoPU1RB",
"VFVTX0ZJTklTSEVEEAISFwoTU1RBVFVTX1JFV0FSRF9UQUtFThADYgZwcm90",
"bzM="));
"Ch5BY2hpZXZlbWVudEFsbERhdGFOb3RpZnkucHJvdG8iowIKGEFjaGlldmVt",
"ZW50QWxsRGF0YU5vdGlmeRIzCgRsaXN0GAQgAygLMiUuQWNoaWV2ZW1lbnRB",
"bGxEYXRhTm90aWZ5LkFjaGlldmVtZW50GtEBCgtBY2hpZXZlbWVudBIRCgl0",
"aW1lc3RhbXAYBiABKA0SDwoHY3VycmVudBgKIAEoDRINCgV0b3RhbBgOIAEo",
"DRIKCgJpZBgNIAEoDRI8CgZzdGF0dXMYBSABKA4yLC5BY2hpZXZlbWVudEFs",
"bERhdGFOb3RpZnkuQWNoaWV2ZW1lbnQuU3RhdHVzIkUKBlN0YXR1cxILCgdJ",
"TlZBTElEEAASDgoKVU5GSU5JU0hFRBABEgwKCEZJTklTSEVEEAISEAoMUkVX",
"QVJEX1RBS0VOEANiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
@@ -86,9 +85,9 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
}
/// <summary>Field number for the "list" field.</summary>
public const int ListFieldNumber = 8;
public const int ListFieldNumber = 4;
private static readonly pb::FieldCodec<global::AchievementAllDataNotify.Types.Achievement> _repeated_list_codec
= pb::FieldCodec.ForMessage(66, global::AchievementAllDataNotify.Types.Achievement.Parser);
= pb::FieldCodec.ForMessage(34, global::AchievementAllDataNotify.Types.Achievement.Parser);
private readonly pbc::RepeatedField<global::AchievementAllDataNotify.Types.Achievement> list_ = new pbc::RepeatedField<global::AchievementAllDataNotify.Types.Achievement>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -189,7 +188,7 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 66: {
case 34: {
list_.AddEntriesFrom(input, _repeated_list_codec);
break;
}
@@ -208,7 +207,7 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 66: {
case 34: {
list_.AddEntriesFrom(ref input, _repeated_list_codec);
break;
}
@@ -271,7 +270,7 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
}
/// <summary>Field number for the "timestamp" field.</summary>
public const int TimestampFieldNumber = 8;
public const int TimestampFieldNumber = 6;
private uint timestamp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -283,7 +282,7 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
}
/// <summary>Field number for the "current" field.</summary>
public const int CurrentFieldNumber = 11;
public const int CurrentFieldNumber = 10;
private uint current_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -295,7 +294,7 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
}
/// <summary>Field number for the "total" field.</summary>
public const int TotalFieldNumber = 6;
public const int TotalFieldNumber = 14;
private uint total_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -307,7 +306,7 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 14;
public const int IdFieldNumber = 13;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -319,7 +318,7 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 15;
public const int StatusFieldNumber = 5;
private global::AchievementAllDataNotify.Types.Achievement.Types.Status status_ = global::AchievementAllDataNotify.Types.Achievement.Types.Status.Invalid;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -380,25 +379,25 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Total != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Total);
if (Status != global::AchievementAllDataNotify.Types.Achievement.Types.Status.Invalid) {
output.WriteRawTag(40);
output.WriteEnum((int) Status);
}
if (Timestamp != 0) {
output.WriteRawTag(64);
output.WriteRawTag(48);
output.WriteUInt32(Timestamp);
}
if (Current != 0) {
output.WriteRawTag(88);
output.WriteRawTag(80);
output.WriteUInt32(Current);
}
if (Id != 0) {
output.WriteRawTag(112);
output.WriteRawTag(104);
output.WriteUInt32(Id);
}
if (Status != global::AchievementAllDataNotify.Types.Achievement.Types.Status.Invalid) {
output.WriteRawTag(120);
output.WriteEnum((int) Status);
if (Total != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Total);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -410,25 +409,25 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Total != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Total);
if (Status != global::AchievementAllDataNotify.Types.Achievement.Types.Status.Invalid) {
output.WriteRawTag(40);
output.WriteEnum((int) Status);
}
if (Timestamp != 0) {
output.WriteRawTag(64);
output.WriteRawTag(48);
output.WriteUInt32(Timestamp);
}
if (Current != 0) {
output.WriteRawTag(88);
output.WriteRawTag(80);
output.WriteUInt32(Current);
}
if (Id != 0) {
output.WriteRawTag(112);
output.WriteRawTag(104);
output.WriteUInt32(Id);
}
if (Status != global::AchievementAllDataNotify.Types.Achievement.Types.Status.Invalid) {
output.WriteRawTag(120);
output.WriteEnum((int) Status);
if (Total != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Total);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -497,24 +496,24 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 48: {
Total = input.ReadUInt32();
case 40: {
Status = (global::AchievementAllDataNotify.Types.Achievement.Types.Status) input.ReadEnum();
break;
}
case 64: {
case 48: {
Timestamp = input.ReadUInt32();
break;
}
case 88: {
case 80: {
Current = input.ReadUInt32();
break;
}
case 112: {
case 104: {
Id = input.ReadUInt32();
break;
}
case 120: {
Status = (global::AchievementAllDataNotify.Types.Achievement.Types.Status) input.ReadEnum();
case 112: {
Total = input.ReadUInt32();
break;
}
}
@@ -532,24 +531,24 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 48: {
Total = input.ReadUInt32();
case 40: {
Status = (global::AchievementAllDataNotify.Types.Achievement.Types.Status) input.ReadEnum();
break;
}
case 64: {
case 48: {
Timestamp = input.ReadUInt32();
break;
}
case 88: {
case 80: {
Current = input.ReadUInt32();
break;
}
case 112: {
case 104: {
Id = input.ReadUInt32();
break;
}
case 120: {
Status = (global::AchievementAllDataNotify.Types.Achievement.Types.Status) input.ReadEnum();
case 112: {
Total = input.ReadUInt32();
break;
}
}
@@ -563,10 +562,10 @@ public sealed partial class AchievementAllDataNotify : pb::IMessage<AchievementA
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
public enum Status {
[pbr::OriginalName("STATUS_INVALID")] Invalid = 0,
[pbr::OriginalName("STATUS_UNFINISHED")] Unfinished = 1,
[pbr::OriginalName("STATUS_FINISHED")] Finished = 2,
[pbr::OriginalName("STATUS_REWARD_TAKEN")] RewardTaken = 3,
[pbr::OriginalName("INVALID")] Invalid = 0,
[pbr::OriginalName("UNFINISHED")] Unfinished = 1,
[pbr::OriginalName("FINISHED")] Finished = 2,
[pbr::OriginalName("REWARD_TAKEN")] RewardTaken = 3,
}
}