mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
347 lines
15 KiB
C#
347 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(
|
|
"ChFBcmNoaXZlRGF0YS5wcm90bxoPUmVsaWNMaXN0LnByb3RvGhZBcmNoaXZl",
|
|
"TW9uc3RlcklkLnByb3RvIs8BCgtBcmNoaXZlRGF0YRIeChZhcmNoaXZlX2F2",
|
|
"YXRhcl9pZF9saXN0GA4gAygNEikKIWFyY2hpdmVfbWlzc2luZ19lcXVpcG1l",
|
|
"bnRfaWRfbGlzdBgBIAMoDRIyChdhcmNoaXZlX21vbnN0ZXJfaWRfbGlzdBgD",
|
|
"IAMoCzIRLkFyY2hpdmVNb25zdGVySWQSIQoZYXJjaGl2ZV9lcXVpcG1lbnRf",
|
|
"aWRfbGlzdBgKIAMoDRIeCgpyZWxpY19saXN0GAsgAygLMgouUmVsaWNMaXN0",
|
|
"Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicListReflection.Descriptor, global::EggLink.DanhengServer.Proto.ArchiveMonsterIdReflection.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", "ArchiveMonsterIdList", "ArchiveEquipmentIdList", "RelicList" }, 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();
|
|
archiveMonsterIdList_ = other.archiveMonsterIdList_.Clone();
|
|
archiveEquipmentIdList_ = other.archiveEquipmentIdList_.Clone();
|
|
relicList_ = other.relicList_.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 = 14;
|
|
private static readonly pb::FieldCodec<uint> _repeated_archiveAvatarIdList_codec
|
|
= pb::FieldCodec.ForUInt32(114);
|
|
private readonly pbc::RepeatedField<uint> archiveAvatarIdList_ = new pbc::RepeatedField<uint>();
|
|
/// <summary>
|
|
/// 1 11
|
|
/// </summary>
|
|
[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 = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_archiveMissingEquipmentIdList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> archiveMissingEquipmentIdList_ = new pbc::RepeatedField<uint>();
|
|
/// <summary>
|
|
/// 14 11
|
|
/// </summary>
|
|
[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_monster_id_list" field.</summary>
|
|
public const int ArchiveMonsterIdListFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ArchiveMonsterId> _repeated_archiveMonsterIdList_codec
|
|
= pb::FieldCodec.ForMessage(26, 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_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "archive_equipment_id_list" field.</summary>
|
|
public const int ArchiveEquipmentIdListFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<uint> _repeated_archiveEquipmentIdList_codec
|
|
= pb::FieldCodec.ForUInt32(82);
|
|
private readonly pbc::RepeatedField<uint> archiveEquipmentIdList_ = new pbc::RepeatedField<uint>();
|
|
/// <summary>
|
|
/// 14 1
|
|
/// </summary>
|
|
[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 = 11;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RelicList> _repeated_relicList_codec
|
|
= pb::FieldCodec.ForMessage(90, 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_; }
|
|
}
|
|
|
|
[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(!archiveMonsterIdList_.Equals(other.archiveMonsterIdList_)) return false;
|
|
if(!archiveEquipmentIdList_.Equals(other.archiveEquipmentIdList_)) return false;
|
|
if(!relicList_.Equals(other.relicList_)) 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 ^= archiveMonsterIdList_.GetHashCode();
|
|
hash ^= archiveEquipmentIdList_.GetHashCode();
|
|
hash ^= relicList_.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
|
|
archiveMissingEquipmentIdList_.WriteTo(output, _repeated_archiveMissingEquipmentIdList_codec);
|
|
archiveMonsterIdList_.WriteTo(output, _repeated_archiveMonsterIdList_codec);
|
|
archiveEquipmentIdList_.WriteTo(output, _repeated_archiveEquipmentIdList_codec);
|
|
relicList_.WriteTo(output, _repeated_relicList_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) {
|
|
archiveMissingEquipmentIdList_.WriteTo(ref output, _repeated_archiveMissingEquipmentIdList_codec);
|
|
archiveMonsterIdList_.WriteTo(ref output, _repeated_archiveMonsterIdList_codec);
|
|
archiveEquipmentIdList_.WriteTo(ref output, _repeated_archiveEquipmentIdList_codec);
|
|
relicList_.WriteTo(ref output, _repeated_relicList_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 += archiveMonsterIdList_.CalculateSize(_repeated_archiveMonsterIdList_codec);
|
|
size += archiveEquipmentIdList_.CalculateSize(_repeated_archiveEquipmentIdList_codec);
|
|
size += relicList_.CalculateSize(_repeated_relicList_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_);
|
|
archiveMonsterIdList_.Add(other.archiveMonsterIdList_);
|
|
archiveEquipmentIdList_.Add(other.archiveEquipmentIdList_);
|
|
relicList_.Add(other.relicList_);
|
|
_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:
|
|
case 8: {
|
|
archiveMissingEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveMissingEquipmentIdList_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
archiveMonsterIdList_.AddEntriesFrom(input, _repeated_archiveMonsterIdList_codec);
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
archiveEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveEquipmentIdList_codec);
|
|
break;
|
|
}
|
|
case 90: {
|
|
relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
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:
|
|
case 8: {
|
|
archiveMissingEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveMissingEquipmentIdList_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
archiveMonsterIdList_.AddEntriesFrom(ref input, _repeated_archiveMonsterIdList_codec);
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
archiveEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveEquipmentIdList_codec);
|
|
break;
|
|
}
|
|
case 90: {
|
|
relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
archiveAvatarIdList_.AddEntriesFrom(ref input, _repeated_archiveAvatarIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|