// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: PlayerHeroBasicTypeInfo.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 PlayerHeroBasicTypeInfo.proto public static partial class PlayerHeroBasicTypeInfoReflection { #region Descriptor /// File descriptor for PlayerHeroBasicTypeInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static PlayerHeroBasicTypeInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1QbGF5ZXJIZXJvQmFzaWNUeXBlSW5mby5wcm90bxoTSGVyb0Jhc2ljVHlw", "ZS5wcm90bxoQRXF1aXBSZWxpYy5wcm90bxoVQXZhdGFyU2tpbGxUcmVlLnBy", "b3RvIrIBChdQbGF5ZXJIZXJvQmFzaWNUeXBlSW5mbxIMCgRyYW5rGA4gASgN", "EikKD3NraWxsX3RyZWVfbGlzdBgGIAMoCzIQLkF2YXRhclNraWxsVHJlZRIi", "CgpiYXNpY190eXBlGAQgASgOMg4uSGVyb0Jhc2ljVHlwZRIlChBlcXVpcF9y", "ZWxpY19saXN0GAcgAygLMgsuRXF1aXBSZWxpYxITCgtJS0xOT1BFUEJLTBgF", "IAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HeroBasicTypeReflection.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.PlayerHeroBasicTypeInfo), global::EggLink.DanhengServer.Proto.PlayerHeroBasicTypeInfo.Parser, new[]{ "Rank", "SkillTreeList", "BasicType", "EquipRelicList", "IKLNOPEPBKL" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class PlayerHeroBasicTypeInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerHeroBasicTypeInfo()); 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.PlayerHeroBasicTypeInfoReflection.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 PlayerHeroBasicTypeInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PlayerHeroBasicTypeInfo(PlayerHeroBasicTypeInfo other) : this() { rank_ = other.rank_; skillTreeList_ = other.skillTreeList_.Clone(); basicType_ = other.basicType_; equipRelicList_ = other.equipRelicList_.Clone(); iKLNOPEPBKL_ = other.iKLNOPEPBKL_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PlayerHeroBasicTypeInfo Clone() { return new PlayerHeroBasicTypeInfo(this); } /// Field number for the "rank" field. public const int RankFieldNumber = 14; 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 "skill_tree_list" field. public const int SkillTreeListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_skillTreeList_codec = pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.AvatarSkillTree.Parser); private readonly pbc::RepeatedField skillTreeList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField SkillTreeList { get { return skillTreeList_; } } /// Field number for the "basic_type" field. public const int BasicTypeFieldNumber = 4; private global::EggLink.DanhengServer.Proto.HeroBasicType basicType_ = global::EggLink.DanhengServer.Proto.HeroBasicType.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.HeroBasicType BasicType { get { return basicType_; } set { basicType_ = value; } } /// Field number for the "equip_relic_list" field. public const int EquipRelicListFieldNumber = 7; private static readonly pb::FieldCodec _repeated_equipRelicList_codec = pb::FieldCodec.ForMessage(58, 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 "IKLNOPEPBKL" field. public const int IKLNOPEPBKLFieldNumber = 5; private uint iKLNOPEPBKL_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint IKLNOPEPBKL { get { return iKLNOPEPBKL_; } set { iKLNOPEPBKL_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PlayerHeroBasicTypeInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PlayerHeroBasicTypeInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Rank != other.Rank) return false; if(!skillTreeList_.Equals(other.skillTreeList_)) return false; if (BasicType != other.BasicType) return false; if(!equipRelicList_.Equals(other.equipRelicList_)) return false; if (IKLNOPEPBKL != other.IKLNOPEPBKL) 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 (Rank != 0) hash ^= Rank.GetHashCode(); hash ^= skillTreeList_.GetHashCode(); if (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) hash ^= BasicType.GetHashCode(); hash ^= equipRelicList_.GetHashCode(); if (IKLNOPEPBKL != 0) hash ^= IKLNOPEPBKL.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 (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) { output.WriteRawTag(32); output.WriteEnum((int) BasicType); } if (IKLNOPEPBKL != 0) { output.WriteRawTag(40); output.WriteUInt32(IKLNOPEPBKL); } skillTreeList_.WriteTo(output, _repeated_skillTreeList_codec); equipRelicList_.WriteTo(output, _repeated_equipRelicList_codec); if (Rank != 0) { output.WriteRawTag(112); output.WriteUInt32(Rank); } 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 (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) { output.WriteRawTag(32); output.WriteEnum((int) BasicType); } if (IKLNOPEPBKL != 0) { output.WriteRawTag(40); output.WriteUInt32(IKLNOPEPBKL); } skillTreeList_.WriteTo(ref output, _repeated_skillTreeList_codec); equipRelicList_.WriteTo(ref output, _repeated_equipRelicList_codec); if (Rank != 0) { output.WriteRawTag(112); output.WriteUInt32(Rank); } 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 (Rank != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); } size += skillTreeList_.CalculateSize(_repeated_skillTreeList_codec); if (BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BasicType); } size += equipRelicList_.CalculateSize(_repeated_equipRelicList_codec); if (IKLNOPEPBKL != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IKLNOPEPBKL); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PlayerHeroBasicTypeInfo other) { if (other == null) { return; } if (other.Rank != 0) { Rank = other.Rank; } skillTreeList_.Add(other.skillTreeList_); if (other.BasicType != global::EggLink.DanhengServer.Proto.HeroBasicType.None) { BasicType = other.BasicType; } equipRelicList_.Add(other.equipRelicList_); if (other.IKLNOPEPBKL != 0) { IKLNOPEPBKL = other.IKLNOPEPBKL; } _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 32: { BasicType = (global::EggLink.DanhengServer.Proto.HeroBasicType) input.ReadEnum(); break; } case 40: { IKLNOPEPBKL = input.ReadUInt32(); break; } case 50: { skillTreeList_.AddEntriesFrom(input, _repeated_skillTreeList_codec); break; } case 58: { equipRelicList_.AddEntriesFrom(input, _repeated_equipRelicList_codec); break; } case 112: { Rank = 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 32: { BasicType = (global::EggLink.DanhengServer.Proto.HeroBasicType) input.ReadEnum(); break; } case 40: { IKLNOPEPBKL = input.ReadUInt32(); break; } case 50: { skillTreeList_.AddEntriesFrom(ref input, _repeated_skillTreeList_codec); break; } case 58: { equipRelicList_.AddEntriesFrom(ref input, _repeated_equipRelicList_codec); break; } case 112: { Rank = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code