//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MultiPathAvatarInfo.proto
//
#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 {
/// Holder for reflection information generated from MultiPathAvatarInfo.proto
public static partial class MultiPathAvatarInfoReflection {
#region Descriptor
/// File descriptor for MultiPathAvatarInfo.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static MultiPathAvatarInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlNdWx0aVBhdGhBdmF0YXJJbmZvLnByb3RvGhlNdWx0aVBhdGhBdmF0YXJU",
"eXBlLnByb3RvGhBFcXVpcFJlbGljLnByb3RvGhVBdmF0YXJTa2lsbFRyZWUu",
"cHJvdG8ihQIKE011bHRpUGF0aEF2YXRhckluZm8SFgoOY3VyX2VuaGFuY2Vf",
"aWQYDiABKA0SFwoPZHJlc3NlZF9za2luX2lkGAQgASgNEhMKC0tETUNMS0pM",
"SlBQGAkgASgEEgwKBHJhbmsYASABKA0SGQoRcGF0aF9lcXVpcG1lbnRfaWQY",
"ByABKA0SJQoQZXF1aXBfcmVsaWNfbGlzdBgKIAMoCzILLkVxdWlwUmVsaWMS",
"JwoJYXZhdGFyX2lkGAIgASgOMhQuTXVsdGlQYXRoQXZhdGFyVHlwZRIvChVt",
"dWx0aV9wYXRoX3NraWxsX3RyZWUYBiADKAsyEC5BdmF0YXJTa2lsbFRyZWVC",
"HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MultiPathAvatarTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.EquipRelicReflection.Descriptor, global::EggLink.DanhengServer.Proto.AvatarSkillTreeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.MultiPathAvatarInfo), global::EggLink.DanhengServer.Proto.MultiPathAvatarInfo.Parser, new[]{ "CurEnhanceId", "DressedSkinId", "KDMCLKJLJPP", "Rank", "PathEquipmentId", "EquipRelicList", "AvatarId", "MultiPathSkillTree" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MultiPathAvatarInfo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MultiPathAvatarInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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.MultiPathAvatarInfoReflection.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 MultiPathAvatarInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MultiPathAvatarInfo(MultiPathAvatarInfo other) : this() {
curEnhanceId_ = other.curEnhanceId_;
dressedSkinId_ = other.dressedSkinId_;
kDMCLKJLJPP_ = other.kDMCLKJLJPP_;
rank_ = other.rank_;
pathEquipmentId_ = other.pathEquipmentId_;
equipRelicList_ = other.equipRelicList_.Clone();
avatarId_ = other.avatarId_;
multiPathSkillTree_ = other.multiPathSkillTree_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MultiPathAvatarInfo Clone() {
return new MultiPathAvatarInfo(this);
}
/// Field number for the "cur_enhance_id" field.
public const int CurEnhanceIdFieldNumber = 14;
private uint curEnhanceId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurEnhanceId {
get { return curEnhanceId_; }
set {
curEnhanceId_ = value;
}
}
/// Field number for the "dressed_skin_id" field.
public const int DressedSkinIdFieldNumber = 4;
private uint dressedSkinId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DressedSkinId {
get { return dressedSkinId_; }
set {
dressedSkinId_ = value;
}
}
/// Field number for the "KDMCLKJLJPP" field.
public const int KDMCLKJLJPPFieldNumber = 9;
private ulong kDMCLKJLJPP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong KDMCLKJLJPP {
get { return kDMCLKJLJPP_; }
set {
kDMCLKJLJPP_ = value;
}
}
/// Field number for the "rank" field.
public const int RankFieldNumber = 1;
private uint rank_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Rank {
get { return rank_; }
set {
rank_ = value;
}
}
/// Field number for the "path_equipment_id" field.
public const int PathEquipmentIdFieldNumber = 7;
private uint pathEquipmentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PathEquipmentId {
get { return pathEquipmentId_; }
set {
pathEquipmentId_ = value;
}
}
/// Field number for the "equip_relic_list" field.
public const int EquipRelicListFieldNumber = 10;
private static readonly pb::FieldCodec _repeated_equipRelicList_codec
= pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.EquipRelic.Parser);
private readonly pbc::RepeatedField equipRelicList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField EquipRelicList {
get { return equipRelicList_; }
}
/// Field number for the "avatar_id" field.
public const int AvatarIdFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.MultiPathAvatarType avatarId_ = global::EggLink.DanhengServer.Proto.MultiPathAvatarType.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.MultiPathAvatarType AvatarId {
get { return avatarId_; }
set {
avatarId_ = value;
}
}
/// Field number for the "multi_path_skill_tree" field.
public const int MultiPathSkillTreeFieldNumber = 6;
private static readonly pb::FieldCodec _repeated_multiPathSkillTree_codec
= pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.AvatarSkillTree.Parser);
private readonly pbc::RepeatedField multiPathSkillTree_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField MultiPathSkillTree {
get { return multiPathSkillTree_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MultiPathAvatarInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MultiPathAvatarInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (CurEnhanceId != other.CurEnhanceId) return false;
if (DressedSkinId != other.DressedSkinId) return false;
if (KDMCLKJLJPP != other.KDMCLKJLJPP) return false;
if (Rank != other.Rank) return false;
if (PathEquipmentId != other.PathEquipmentId) return false;
if(!equipRelicList_.Equals(other.equipRelicList_)) return false;
if (AvatarId != other.AvatarId) return false;
if(!multiPathSkillTree_.Equals(other.multiPathSkillTree_)) 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;
if (CurEnhanceId != 0) hash ^= CurEnhanceId.GetHashCode();
if (DressedSkinId != 0) hash ^= DressedSkinId.GetHashCode();
if (KDMCLKJLJPP != 0UL) hash ^= KDMCLKJLJPP.GetHashCode();
if (Rank != 0) hash ^= Rank.GetHashCode();
if (PathEquipmentId != 0) hash ^= PathEquipmentId.GetHashCode();
hash ^= equipRelicList_.GetHashCode();
if (AvatarId != global::EggLink.DanhengServer.Proto.MultiPathAvatarType.None) hash ^= AvatarId.GetHashCode();
hash ^= multiPathSkillTree_.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
if (Rank != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Rank);
}
if (AvatarId != global::EggLink.DanhengServer.Proto.MultiPathAvatarType.None) {
output.WriteRawTag(16);
output.WriteEnum((int) AvatarId);
}
if (DressedSkinId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(DressedSkinId);
}
multiPathSkillTree_.WriteTo(output, _repeated_multiPathSkillTree_codec);
if (PathEquipmentId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(PathEquipmentId);
}
if (KDMCLKJLJPP != 0UL) {
output.WriteRawTag(72);
output.WriteUInt64(KDMCLKJLJPP);
}
equipRelicList_.WriteTo(output, _repeated_equipRelicList_codec);
if (CurEnhanceId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(CurEnhanceId);
}
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) {
if (Rank != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Rank);
}
if (AvatarId != global::EggLink.DanhengServer.Proto.MultiPathAvatarType.None) {
output.WriteRawTag(16);
output.WriteEnum((int) AvatarId);
}
if (DressedSkinId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(DressedSkinId);
}
multiPathSkillTree_.WriteTo(ref output, _repeated_multiPathSkillTree_codec);
if (PathEquipmentId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(PathEquipmentId);
}
if (KDMCLKJLJPP != 0UL) {
output.WriteRawTag(72);
output.WriteUInt64(KDMCLKJLJPP);
}
equipRelicList_.WriteTo(ref output, _repeated_equipRelicList_codec);
if (CurEnhanceId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(CurEnhanceId);
}
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;
if (CurEnhanceId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurEnhanceId);
}
if (DressedSkinId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DressedSkinId);
}
if (KDMCLKJLJPP != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(KDMCLKJLJPP);
}
if (Rank != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank);
}
if (PathEquipmentId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PathEquipmentId);
}
size += equipRelicList_.CalculateSize(_repeated_equipRelicList_codec);
if (AvatarId != global::EggLink.DanhengServer.Proto.MultiPathAvatarType.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AvatarId);
}
size += multiPathSkillTree_.CalculateSize(_repeated_multiPathSkillTree_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MultiPathAvatarInfo other) {
if (other == null) {
return;
}
if (other.CurEnhanceId != 0) {
CurEnhanceId = other.CurEnhanceId;
}
if (other.DressedSkinId != 0) {
DressedSkinId = other.DressedSkinId;
}
if (other.KDMCLKJLJPP != 0UL) {
KDMCLKJLJPP = other.KDMCLKJLJPP;
}
if (other.Rank != 0) {
Rank = other.Rank;
}
if (other.PathEquipmentId != 0) {
PathEquipmentId = other.PathEquipmentId;
}
equipRelicList_.Add(other.equipRelicList_);
if (other.AvatarId != global::EggLink.DanhengServer.Proto.MultiPathAvatarType.None) {
AvatarId = other.AvatarId;
}
multiPathSkillTree_.Add(other.multiPathSkillTree_);
_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 8: {
Rank = input.ReadUInt32();
break;
}
case 16: {
AvatarId = (global::EggLink.DanhengServer.Proto.MultiPathAvatarType) input.ReadEnum();
break;
}
case 32: {
DressedSkinId = input.ReadUInt32();
break;
}
case 50: {
multiPathSkillTree_.AddEntriesFrom(input, _repeated_multiPathSkillTree_codec);
break;
}
case 56: {
PathEquipmentId = input.ReadUInt32();
break;
}
case 72: {
KDMCLKJLJPP = input.ReadUInt64();
break;
}
case 82: {
equipRelicList_.AddEntriesFrom(input, _repeated_equipRelicList_codec);
break;
}
case 112: {
CurEnhanceId = input.ReadUInt32();
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 8: {
Rank = input.ReadUInt32();
break;
}
case 16: {
AvatarId = (global::EggLink.DanhengServer.Proto.MultiPathAvatarType) input.ReadEnum();
break;
}
case 32: {
DressedSkinId = input.ReadUInt32();
break;
}
case 50: {
multiPathSkillTree_.AddEntriesFrom(ref input, _repeated_multiPathSkillTree_codec);
break;
}
case 56: {
PathEquipmentId = input.ReadUInt32();
break;
}
case 72: {
KDMCLKJLJPP = input.ReadUInt64();
break;
}
case 82: {
equipRelicList_.AddEntriesFrom(ref input, _repeated_equipRelicList_codec);
break;
}
case 112: {
CurEnhanceId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code