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(
|
|
"ChFBcmNoaXZlRGF0YS5wcm90bxoPUmVsaWNMaXN0LnByb3RvGhFNb25zdGVy",
|
|
"TGlzdC5wcm90byLEAQoLQXJjaGl2ZURhdGESKQohYXJjaGl2ZV9taXNzaW5n",
|
|
"X2VxdWlwbWVudF9pZF9saXN0GA4gAygNEh4KFmFyY2hpdmVfYXZhdGFyX2lk",
|
|
"X2xpc3QYASADKA0SJwoRa2lsbF9tb25zdGVyX2xpc3QYBiADKAsyDC5Nb25z",
|
|
"dGVyTGlzdBIeCgpyZWxpY19saXN0GAwgAygLMgouUmVsaWNMaXN0EiEKGWFy",
|
|
"Y2hpdmVfZXF1aXBtZW50X2lkX2xpc3QYDSADKA1CHqoCG0VnZ0xpbmsuRGFu",
|
|
"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[]{ "ArchiveMissingEquipmentIdList", "ArchiveAvatarIdList", "KillMonsterList", "RelicList", "ArchiveEquipmentIdList" }, 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() {
|
|
archiveMissingEquipmentIdList_ = other.archiveMissingEquipmentIdList_.Clone();
|
|
archiveAvatarIdList_ = other.archiveAvatarIdList_.Clone();
|
|
killMonsterList_ = other.killMonsterList_.Clone();
|
|
relicList_ = other.relicList_.Clone();
|
|
archiveEquipmentIdList_ = other.archiveEquipmentIdList_.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_missing_equipment_id_list" field.</summary>
|
|
public const int ArchiveMissingEquipmentIdListFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<uint> _repeated_archiveMissingEquipmentIdList_codec
|
|
= pb::FieldCodec.ForUInt32(114);
|
|
private readonly pbc::RepeatedField<uint> archiveMissingEquipmentIdList_ = new pbc::RepeatedField<uint>();
|
|
/// <summary>
|
|
/// 1 13
|
|
/// </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_avatar_id_list" field.</summary>
|
|
public const int ArchiveAvatarIdListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_archiveAvatarIdList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> archiveAvatarIdList_ = new pbc::RepeatedField<uint>();
|
|
/// <summary>
|
|
/// 14 13
|
|
/// </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 "kill_monster_list" field.</summary>
|
|
public const int KillMonsterListFieldNumber = 6;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MonsterList> _repeated_killMonsterList_codec
|
|
= pb::FieldCodec.ForMessage(50, 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 "relic_list" field.</summary>
|
|
public const int RelicListFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RelicList> _repeated_relicList_codec
|
|
= pb::FieldCodec.ForMessage(98, 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_equipment_id_list" field.</summary>
|
|
public const int ArchiveEquipmentIdListFieldNumber = 13;
|
|
private static readonly pb::FieldCodec<uint> _repeated_archiveEquipmentIdList_codec
|
|
= pb::FieldCodec.ForUInt32(106);
|
|
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_; }
|
|
}
|
|
|
|
[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(!archiveMissingEquipmentIdList_.Equals(other.archiveMissingEquipmentIdList_)) return false;
|
|
if(!archiveAvatarIdList_.Equals(other.archiveAvatarIdList_)) return false;
|
|
if(!killMonsterList_.Equals(other.killMonsterList_)) return false;
|
|
if(!relicList_.Equals(other.relicList_)) return false;
|
|
if(!archiveEquipmentIdList_.Equals(other.archiveEquipmentIdList_)) 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 ^= archiveMissingEquipmentIdList_.GetHashCode();
|
|
hash ^= archiveAvatarIdList_.GetHashCode();
|
|
hash ^= killMonsterList_.GetHashCode();
|
|
hash ^= relicList_.GetHashCode();
|
|
hash ^= archiveEquipmentIdList_.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);
|
|
relicList_.WriteTo(output, _repeated_relicList_codec);
|
|
archiveEquipmentIdList_.WriteTo(output, _repeated_archiveEquipmentIdList_codec);
|
|
archiveMissingEquipmentIdList_.WriteTo(output, _repeated_archiveMissingEquipmentIdList_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);
|
|
relicList_.WriteTo(ref output, _repeated_relicList_codec);
|
|
archiveEquipmentIdList_.WriteTo(ref output, _repeated_archiveEquipmentIdList_codec);
|
|
archiveMissingEquipmentIdList_.WriteTo(ref output, _repeated_archiveMissingEquipmentIdList_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 += archiveMissingEquipmentIdList_.CalculateSize(_repeated_archiveMissingEquipmentIdList_codec);
|
|
size += archiveAvatarIdList_.CalculateSize(_repeated_archiveAvatarIdList_codec);
|
|
size += killMonsterList_.CalculateSize(_repeated_killMonsterList_codec);
|
|
size += relicList_.CalculateSize(_repeated_relicList_codec);
|
|
size += archiveEquipmentIdList_.CalculateSize(_repeated_archiveEquipmentIdList_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;
|
|
}
|
|
archiveMissingEquipmentIdList_.Add(other.archiveMissingEquipmentIdList_);
|
|
archiveAvatarIdList_.Add(other.archiveAvatarIdList_);
|
|
killMonsterList_.Add(other.killMonsterList_);
|
|
relicList_.Add(other.relicList_);
|
|
archiveEquipmentIdList_.Add(other.archiveEquipmentIdList_);
|
|
_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: {
|
|
archiveAvatarIdList_.AddEntriesFrom(input, _repeated_archiveAvatarIdList_codec);
|
|
break;
|
|
}
|
|
case 50: {
|
|
killMonsterList_.AddEntriesFrom(input, _repeated_killMonsterList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
archiveEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveEquipmentIdList_codec);
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
archiveMissingEquipmentIdList_.AddEntriesFrom(input, _repeated_archiveMissingEquipmentIdList_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: {
|
|
archiveAvatarIdList_.AddEntriesFrom(ref input, _repeated_archiveAvatarIdList_codec);
|
|
break;
|
|
}
|
|
case 50: {
|
|
killMonsterList_.AddEntriesFrom(ref input, _repeated_killMonsterList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
archiveEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveEquipmentIdList_codec);
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
archiveMissingEquipmentIdList_.AddEntriesFrom(ref input, _repeated_archiveMissingEquipmentIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|