Files
DanhengServer-OpenSource/Common/Proto/ArchiveData.cs

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(
"ChFBcmNoaXZlRGF0YS5wcm90bxoWQXJjaGl2ZU1vbnN0ZXJJZC5wcm90bxoP",
"UmVsaWNMaXN0LnByb3RvIs8BCgtBcmNoaXZlRGF0YRIeChZhcmNoaXZlX2F2",
"YXRhcl9pZF9saXN0GAcgAygNEikKIWFyY2hpdmVfbWlzc2luZ19lcXVpcG1l",
"bnRfaWRfbGlzdBgGIAMoDRIhChlhcmNoaXZlX2VxdWlwbWVudF9pZF9saXN0",
"GAMgAygNEh4KCnJlbGljX2xpc3QYASADKAsyCi5SZWxpY0xpc3QSMgoXYXJj",
"aGl2ZV9tb25zdGVyX2lkX2xpc3QYBSADKAsyES5BcmNoaXZlTW9uc3Rlcklk",
"Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ArchiveMonsterIdReflection.Descriptor, global::EggLink.DanhengServer.Proto.RelicListReflection.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[]{ "ArchiveAvatarIdList", "ArchiveMissingEquipmentIdList", "ArchiveEquipmentIdList", "RelicList", "ArchiveMonsterIdList" }, 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() {
archiveAvatarIdList_ = other.archiveAvatarIdList_.Clone();
archiveMissingEquipmentIdList_ = other.archiveMissingEquipmentIdList_.Clone();
archiveEquipmentIdList_ = other.archiveEquipmentIdList_.Clone();
relicList_ = other.relicList_.Clone();
archiveMonsterIdList_ = other.archiveMonsterIdList_.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 "archive_avatar_id_list" field.</summary>
public const int ArchiveAvatarIdListFieldNumber = 7;
private static readonly pb::FieldCodec<uint> _repeated_archiveAvatarIdList_codec
= pb::FieldCodec.ForUInt32(58);
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 "archive_missing_equipment_id_list" field.</summary>
public const int ArchiveMissingEquipmentIdListFieldNumber = 6;
private static readonly pb::FieldCodec<uint> _repeated_archiveMissingEquipmentIdList_codec
= pb::FieldCodec.ForUInt32(50);
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_; }
}
/// <summary>Field number for the "archive_equipment_id_list" field.</summary>
public const int ArchiveEquipmentIdListFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_archiveEquipmentIdList_codec
= pb::FieldCodec.ForUInt32(26);
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 "relic_list" field.</summary>
public const int RelicListFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RelicList> _repeated_relicList_codec
= pb::FieldCodec.ForMessage(10, 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_monster_id_list" field.</summary>
public const int ArchiveMonsterIdListFieldNumber = 5;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ArchiveMonsterId> _repeated_archiveMonsterIdList_codec
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.ArchiveMonsterId.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ArchiveMonsterId> archiveMonsterIdList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ArchiveMonsterId>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ArchiveMonsterId> ArchiveMonsterIdList {
get { return archiveMonsterIdList_; }
}
[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(!archiveAvatarIdList_.Equals(other.archiveAvatarIdList_)) return false;
if(!archiveMissingEquipmentIdList_.Equals(other.archiveMissingEquipmentIdList_)) return false;
if(!archiveEquipmentIdList_.Equals(other.archiveEquipmentIdList_)) return false;
if(!relicList_.Equals(other.relicList_)) return false;
if(!archiveMonsterIdList_.Equals(other.archiveMonsterIdList_)) 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 ^= archiveAvatarIdList_.GetHashCode();
hash ^= archiveMissingEquipmentIdList_.GetHashCode();
hash ^= archiveEquipmentIdList_.GetHashCode();
hash ^= relicList_.GetHashCode();
hash ^= archiveMonsterIdList_.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
relicList_.WriteTo(output, _repeated_relicList_codec);
archiveEquipmentIdList_.WriteTo(output, _repeated_archiveEquipmentIdList_codec);
archiveMonsterIdList_.WriteTo(output, _repeated_archiveMonsterIdList_codec);
archiveMissingEquipmentIdList_.WriteTo(output, _repeated_archiveMissingEquipmentIdList_codec);
archiveAvatarIdList_.WriteTo(output, _repeated_archiveAvatarIdList_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) {
relicList_.WriteTo(ref output, _repeated_relicList_codec);
archiveEquipmentIdList_.WriteTo(ref output, _repeated_archiveEquipmentIdList_codec);
archiveMonsterIdList_.WriteTo(ref output, _repeated_archiveMonsterIdList_codec);
archiveMissingEquipmentIdList_.WriteTo(ref output, _repeated_archiveMissingEquipmentIdList_codec);
archiveAvatarIdList_.WriteTo(ref output, _repeated_archiveAvatarIdList_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 += archiveAvatarIdList_.CalculateSize(_repeated_archiveAvatarIdList_codec);
size += archiveMissingEquipmentIdList_.CalculateSize(_repeated_archiveMissingEquipmentIdList_codec);
size += archiveEquipmentIdList_.CalculateSize(_repeated_archiveEquipmentIdList_codec);
size += relicList_.CalculateSize(_repeated_relicList_codec);
size += archiveMonsterIdList_.CalculateSize(_repeated_archiveMonsterIdList_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;
}
archiveAvatarIdList_.Add(other.archiveAvatarIdList_);
archiveMissingEquipmentIdList_.Add(other.archiveMissingEquipmentIdList_);
archiveEquipmentIdList_.Add(other.archiveEquipmentIdList_);
relicList_.Add(other.relicList_);
archiveMonsterIdList_.Add(other.archiveMonsterIdList_);
_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 10: {
relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
break;
}
case 26:
case 24: {
archiveEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveEquipmentIdList_codec);
break;
}
case 42: {
archiveMonsterIdList_.AddEntriesFrom(input, _repeated_archiveMonsterIdList_codec);
break;
}
case 50:
case 48: {
archiveMissingEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveMissingEquipmentIdList_codec);
break;
}
case 58:
case 56: {
archiveAvatarIdList_.AddEntriesFrom(input, _repeated_archiveAvatarIdList_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 10: {
relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
break;
}
case 26:
case 24: {
archiveEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveEquipmentIdList_codec);
break;
}
case 42: {
archiveMonsterIdList_.AddEntriesFrom(ref input, _repeated_archiveMonsterIdList_codec);
break;
}
case 50:
case 48: {
archiveMissingEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveMissingEquipmentIdList_codec);
break;
}
case 58:
case 56: {
archiveAvatarIdList_.AddEntriesFrom(ref input, _repeated_archiveAvatarIdList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code