Files
DanhengServer-OpenSource/Proto/ArchiveData.cs
2025-05-25 12:12:53 +08:00

338 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ArchiveData.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from ArchiveData.proto</summary>
public static partial class ArchiveDataReflection {
#region Descriptor
/// <summary>File descriptor for ArchiveData.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ArchiveDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFBcmNoaXZlRGF0YS5wcm90bxoPUmVsaWNMaXN0LnByb3RvGhFNb25zdGVy",
"TGlzdC5wcm90byLEAQoLQXJjaGl2ZURhdGESHgoKcmVsaWNfbGlzdBgPIAMo",
"CzIKLlJlbGljTGlzdBIeChZhcmNoaXZlX2F2YXRhcl9pZF9saXN0GAggAygN",
"EicKEWtpbGxfbW9uc3Rlcl9saXN0GAkgAygLMgwuTW9uc3Rlckxpc3QSIQoZ",
"YXJjaGl2ZV9lcXVpcG1lbnRfaWRfbGlzdBgMIAMoDRIpCiFhcmNoaXZlX21p",
"c3NpbmdfZXF1aXBtZW50X2lkX2xpc3QYDSADKA1CHqoCG0VnZ0xpbmsuRGFu",
"aGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicListReflection.Descriptor, global::EggLink.DanhengServer.Proto.MonsterListReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ArchiveData), global::EggLink.DanhengServer.Proto.ArchiveData.Parser, new[]{ "RelicList", "ArchiveAvatarIdList", "KillMonsterList", "ArchiveEquipmentIdList", "ArchiveMissingEquipmentIdList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ArchiveData : pb::IMessage<ArchiveData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ArchiveData> _parser = new pb::MessageParser<ArchiveData>(() => new ArchiveData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ArchiveData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::EggLink.DanhengServer.Proto.ArchiveDataReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchiveData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchiveData(ArchiveData other) : this() {
relicList_ = other.relicList_.Clone();
archiveAvatarIdList_ = other.archiveAvatarIdList_.Clone();
killMonsterList_ = other.killMonsterList_.Clone();
archiveEquipmentIdList_ = other.archiveEquipmentIdList_.Clone();
archiveMissingEquipmentIdList_ = other.archiveMissingEquipmentIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchiveData Clone() {
return new ArchiveData(this);
}
/// <summary>Field number for the "relic_list" field.</summary>
public const int RelicListFieldNumber = 15;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RelicList> _repeated_relicList_codec
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.RelicList.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicList> relicList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicList>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RelicList> RelicList {
get { return relicList_; }
}
/// <summary>Field number for the "archive_avatar_id_list" field.</summary>
public const int ArchiveAvatarIdListFieldNumber = 8;
private static readonly pb::FieldCodec<uint> _repeated_archiveAvatarIdList_codec
= pb::FieldCodec.ForUInt32(66);
private readonly pbc::RepeatedField<uint> archiveAvatarIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> ArchiveAvatarIdList {
get { return archiveAvatarIdList_; }
}
/// <summary>Field number for the "kill_monster_list" field.</summary>
public const int KillMonsterListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MonsterList> _repeated_killMonsterList_codec
= pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.MonsterList.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MonsterList> killMonsterList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MonsterList>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MonsterList> KillMonsterList {
get { return killMonsterList_; }
}
/// <summary>Field number for the "archive_equipment_id_list" field.</summary>
public const int ArchiveEquipmentIdListFieldNumber = 12;
private static readonly pb::FieldCodec<uint> _repeated_archiveEquipmentIdList_codec
= pb::FieldCodec.ForUInt32(98);
private readonly pbc::RepeatedField<uint> archiveEquipmentIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> ArchiveEquipmentIdList {
get { return archiveEquipmentIdList_; }
}
/// <summary>Field number for the "archive_missing_equipment_id_list" field.</summary>
public const int ArchiveMissingEquipmentIdListFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_archiveMissingEquipmentIdList_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> archiveMissingEquipmentIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> ArchiveMissingEquipmentIdList {
get { return archiveMissingEquipmentIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ArchiveData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ArchiveData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!relicList_.Equals(other.relicList_)) return false;
if(!archiveAvatarIdList_.Equals(other.archiveAvatarIdList_)) return false;
if(!killMonsterList_.Equals(other.killMonsterList_)) return false;
if(!archiveEquipmentIdList_.Equals(other.archiveEquipmentIdList_)) return false;
if(!archiveMissingEquipmentIdList_.Equals(other.archiveMissingEquipmentIdList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= relicList_.GetHashCode();
hash ^= archiveAvatarIdList_.GetHashCode();
hash ^= killMonsterList_.GetHashCode();
hash ^= archiveEquipmentIdList_.GetHashCode();
hash ^= archiveMissingEquipmentIdList_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
archiveAvatarIdList_.WriteTo(output, _repeated_archiveAvatarIdList_codec);
killMonsterList_.WriteTo(output, _repeated_killMonsterList_codec);
archiveEquipmentIdList_.WriteTo(output, _repeated_archiveEquipmentIdList_codec);
archiveMissingEquipmentIdList_.WriteTo(output, _repeated_archiveMissingEquipmentIdList_codec);
relicList_.WriteTo(output, _repeated_relicList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
archiveAvatarIdList_.WriteTo(ref output, _repeated_archiveAvatarIdList_codec);
killMonsterList_.WriteTo(ref output, _repeated_killMonsterList_codec);
archiveEquipmentIdList_.WriteTo(ref output, _repeated_archiveEquipmentIdList_codec);
archiveMissingEquipmentIdList_.WriteTo(ref output, _repeated_archiveMissingEquipmentIdList_codec);
relicList_.WriteTo(ref output, _repeated_relicList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
size += relicList_.CalculateSize(_repeated_relicList_codec);
size += archiveAvatarIdList_.CalculateSize(_repeated_archiveAvatarIdList_codec);
size += killMonsterList_.CalculateSize(_repeated_killMonsterList_codec);
size += archiveEquipmentIdList_.CalculateSize(_repeated_archiveEquipmentIdList_codec);
size += archiveMissingEquipmentIdList_.CalculateSize(_repeated_archiveMissingEquipmentIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ArchiveData other) {
if (other == null) {
return;
}
relicList_.Add(other.relicList_);
archiveAvatarIdList_.Add(other.archiveAvatarIdList_);
killMonsterList_.Add(other.killMonsterList_);
archiveEquipmentIdList_.Add(other.archiveEquipmentIdList_);
archiveMissingEquipmentIdList_.Add(other.archiveMissingEquipmentIdList_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 66:
case 64: {
archiveAvatarIdList_.AddEntriesFrom(input, _repeated_archiveAvatarIdList_codec);
break;
}
case 74: {
killMonsterList_.AddEntriesFrom(input, _repeated_killMonsterList_codec);
break;
}
case 98:
case 96: {
archiveEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveEquipmentIdList_codec);
break;
}
case 106:
case 104: {
archiveMissingEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveMissingEquipmentIdList_codec);
break;
}
case 122: {
relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 66:
case 64: {
archiveAvatarIdList_.AddEntriesFrom(ref input, _repeated_archiveAvatarIdList_codec);
break;
}
case 74: {
killMonsterList_.AddEntriesFrom(ref input, _repeated_killMonsterList_codec);
break;
}
case 98:
case 96: {
archiveEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveEquipmentIdList_codec);
break;
}
case 106:
case 104: {
archiveMissingEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveMissingEquipmentIdList_codec);
break;
}
case 122: {
relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code