// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Talent.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 Nova.Client { /// Holder for reflection information generated from Talent.proto public static partial class TalentReflection { #region Descriptor /// File descriptor for Talent.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TalentReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgxUYWxlbnQucHJvdG8ixwMKBlRhbGVudBIKCgJpZBgBIAEoBRINCgVpbmRl", "eBgCIAEoBRINCgV0aXRsZRgDIAEoCRIQCghncm91cF9pZBgEIAEoBRIMCgR0", "eXBlGAUgASgFEhAKCHN1Yl90eXBlGAYgASgFEgwKBHNvcnQYByABKAUSDQoF", "bm9kZXMYCCABKAUSEQoJZWZmZWN0X2lkGAkgAygFEhgKEGVuaGFuY2Vfc2tp", "bGxfaWQYCiABKAUSGwoTZW5oYW5jZV9za2lsbF9sZXZlbBgLIAEoBRIcChRl", "bmhhbmNlX3BvdGVudGlhbF9pZBgMIAEoBRIfChdlbmhhbmNlX3BvdGVudGlh", "bF9sZXZlbBgNIAEoBRIMCgRkZXNjGA4gASgJEgwKBGljb24YDyABKAkSDgoG", "cGFyYW0xGBAgASgJEg4KBnBhcmFtMhgRIAEoCRIOCgZwYXJhbTMYEiABKAkS", "DgoGcGFyYW00GBMgASgJEg4KBnBhcmFtNRgUIAEoCRIOCgZwYXJhbTYYFSAB", "KAkSDgoGcGFyYW03GBYgASgJEg4KBnBhcmFtOBgXIAEoCRIOCgZwYXJhbTkY", "GCABKAkSDwoHcGFyYW0xMBgZIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3Rv", "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Talent), global::Nova.Client.Talent.Parser, new[]{ "Id", "Index", "Title", "GroupId", "Type", "SubType", "Sort", "Nodes", "EffectId", "EnhanceSkillId", "EnhanceSkillLevel", "EnhancePotentialId", "EnhancePotentialLevel", "Desc", "Icon", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class Talent : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Talent()); 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::Nova.Client.TalentReflection.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 Talent() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Talent(Talent other) : this() { id_ = other.id_; index_ = other.index_; title_ = other.title_; groupId_ = other.groupId_; type_ = other.type_; subType_ = other.subType_; sort_ = other.sort_; nodes_ = other.nodes_; effectId_ = other.effectId_.Clone(); enhanceSkillId_ = other.enhanceSkillId_; enhanceSkillLevel_ = other.enhanceSkillLevel_; enhancePotentialId_ = other.enhancePotentialId_; enhancePotentialLevel_ = other.enhancePotentialLevel_; desc_ = other.desc_; icon_ = other.icon_; param1_ = other.param1_; param2_ = other.param2_; param3_ = other.param3_; param4_ = other.param4_; param5_ = other.param5_; param6_ = other.param6_; param7_ = other.param7_; param8_ = other.param8_; param9_ = other.param9_; param10_ = other.param10_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Talent Clone() { return new Talent(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private int id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Id { get { return id_; } set { id_ = value; } } /// Field number for the "index" field. public const int IndexFieldNumber = 2; private int index_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Index { get { return index_; } set { index_ = value; } } /// Field number for the "title" field. public const int TitleFieldNumber = 3; private string title_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Title { get { return title_; } set { title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "group_id" field. public const int GroupIdFieldNumber = 4; private int groupId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GroupId { get { return groupId_; } set { groupId_ = value; } } /// Field number for the "type" field. public const int TypeFieldNumber = 5; private int type_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Type { get { return type_; } set { type_ = value; } } /// Field number for the "sub_type" field. public const int SubTypeFieldNumber = 6; private int subType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SubType { get { return subType_; } set { subType_ = value; } } /// Field number for the "sort" field. public const int SortFieldNumber = 7; private int sort_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Sort { get { return sort_; } set { sort_ = value; } } /// Field number for the "nodes" field. public const int NodesFieldNumber = 8; private int nodes_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Nodes { get { return nodes_; } set { nodes_ = value; } } /// Field number for the "effect_id" field. public const int EffectIdFieldNumber = 9; private static readonly pb::FieldCodec _repeated_effectId_codec = pb::FieldCodec.ForInt32(74); private readonly pbc::RepeatedField effectId_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EffectId { get { return effectId_; } } /// Field number for the "enhance_skill_id" field. public const int EnhanceSkillIdFieldNumber = 10; private int enhanceSkillId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EnhanceSkillId { get { return enhanceSkillId_; } set { enhanceSkillId_ = value; } } /// Field number for the "enhance_skill_level" field. public const int EnhanceSkillLevelFieldNumber = 11; private int enhanceSkillLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EnhanceSkillLevel { get { return enhanceSkillLevel_; } set { enhanceSkillLevel_ = value; } } /// Field number for the "enhance_potential_id" field. public const int EnhancePotentialIdFieldNumber = 12; private int enhancePotentialId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EnhancePotentialId { get { return enhancePotentialId_; } set { enhancePotentialId_ = value; } } /// Field number for the "enhance_potential_level" field. public const int EnhancePotentialLevelFieldNumber = 13; private int enhancePotentialLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EnhancePotentialLevel { get { return enhancePotentialLevel_; } set { enhancePotentialLevel_ = value; } } /// Field number for the "desc" field. public const int DescFieldNumber = 14; private string desc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc { get { return desc_; } set { desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "icon" field. public const int IconFieldNumber = 15; private string icon_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Icon { get { return icon_; } set { icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param1" field. public const int Param1FieldNumber = 16; private string param1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param1 { get { return param1_; } set { param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param2" field. public const int Param2FieldNumber = 17; private string param2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param2 { get { return param2_; } set { param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param3" field. public const int Param3FieldNumber = 18; private string param3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param3 { get { return param3_; } set { param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param4" field. public const int Param4FieldNumber = 19; private string param4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param4 { get { return param4_; } set { param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param5" field. public const int Param5FieldNumber = 20; private string param5_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param5 { get { return param5_; } set { param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param6" field. public const int Param6FieldNumber = 21; private string param6_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param6 { get { return param6_; } set { param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param7" field. public const int Param7FieldNumber = 22; private string param7_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param7 { get { return param7_; } set { param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param8" field. public const int Param8FieldNumber = 23; private string param8_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param8 { get { return param8_; } set { param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param9" field. public const int Param9FieldNumber = 24; private string param9_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param9 { get { return param9_; } set { param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param10" field. public const int Param10FieldNumber = 25; private string param10_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param10 { get { return param10_; } set { param10_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Talent); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Talent other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Index != other.Index) return false; if (Title != other.Title) return false; if (GroupId != other.GroupId) return false; if (Type != other.Type) return false; if (SubType != other.SubType) return false; if (Sort != other.Sort) return false; if (Nodes != other.Nodes) return false; if(!effectId_.Equals(other.effectId_)) return false; if (EnhanceSkillId != other.EnhanceSkillId) return false; if (EnhanceSkillLevel != other.EnhanceSkillLevel) return false; if (EnhancePotentialId != other.EnhancePotentialId) return false; if (EnhancePotentialLevel != other.EnhancePotentialLevel) return false; if (Desc != other.Desc) return false; if (Icon != other.Icon) return false; if (Param1 != other.Param1) return false; if (Param2 != other.Param2) return false; if (Param3 != other.Param3) return false; if (Param4 != other.Param4) return false; if (Param5 != other.Param5) return false; if (Param6 != other.Param6) return false; if (Param7 != other.Param7) return false; if (Param8 != other.Param8) return false; if (Param9 != other.Param9) return false; if (Param10 != other.Param10) 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 (Id != 0) hash ^= Id.GetHashCode(); if (Index != 0) hash ^= Index.GetHashCode(); if (Title.Length != 0) hash ^= Title.GetHashCode(); if (GroupId != 0) hash ^= GroupId.GetHashCode(); if (Type != 0) hash ^= Type.GetHashCode(); if (SubType != 0) hash ^= SubType.GetHashCode(); if (Sort != 0) hash ^= Sort.GetHashCode(); if (Nodes != 0) hash ^= Nodes.GetHashCode(); hash ^= effectId_.GetHashCode(); if (EnhanceSkillId != 0) hash ^= EnhanceSkillId.GetHashCode(); if (EnhanceSkillLevel != 0) hash ^= EnhanceSkillLevel.GetHashCode(); if (EnhancePotentialId != 0) hash ^= EnhancePotentialId.GetHashCode(); if (EnhancePotentialLevel != 0) hash ^= EnhancePotentialLevel.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (Icon.Length != 0) hash ^= Icon.GetHashCode(); if (Param1.Length != 0) hash ^= Param1.GetHashCode(); if (Param2.Length != 0) hash ^= Param2.GetHashCode(); if (Param3.Length != 0) hash ^= Param3.GetHashCode(); if (Param4.Length != 0) hash ^= Param4.GetHashCode(); if (Param5.Length != 0) hash ^= Param5.GetHashCode(); if (Param6.Length != 0) hash ^= Param6.GetHashCode(); if (Param7.Length != 0) hash ^= Param7.GetHashCode(); if (Param8.Length != 0) hash ^= Param8.GetHashCode(); if (Param9.Length != 0) hash ^= Param9.GetHashCode(); if (Param10.Length != 0) hash ^= Param10.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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (Index != 0) { output.WriteRawTag(16); output.WriteInt32(Index); } if (Title.Length != 0) { output.WriteRawTag(26); output.WriteString(Title); } if (GroupId != 0) { output.WriteRawTag(32); output.WriteInt32(GroupId); } if (Type != 0) { output.WriteRawTag(40); output.WriteInt32(Type); } if (SubType != 0) { output.WriteRawTag(48); output.WriteInt32(SubType); } if (Sort != 0) { output.WriteRawTag(56); output.WriteInt32(Sort); } if (Nodes != 0) { output.WriteRawTag(64); output.WriteInt32(Nodes); } effectId_.WriteTo(output, _repeated_effectId_codec); if (EnhanceSkillId != 0) { output.WriteRawTag(80); output.WriteInt32(EnhanceSkillId); } if (EnhanceSkillLevel != 0) { output.WriteRawTag(88); output.WriteInt32(EnhanceSkillLevel); } if (EnhancePotentialId != 0) { output.WriteRawTag(96); output.WriteInt32(EnhancePotentialId); } if (EnhancePotentialLevel != 0) { output.WriteRawTag(104); output.WriteInt32(EnhancePotentialLevel); } if (Desc.Length != 0) { output.WriteRawTag(114); output.WriteString(Desc); } if (Icon.Length != 0) { output.WriteRawTag(122); output.WriteString(Icon); } if (Param1.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(Param4); } if (Param5.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(Param5); } if (Param6.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(Param6); } if (Param7.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Param7); } if (Param8.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(Param8); } if (Param9.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(Param9); } if (Param10.Length != 0) { output.WriteRawTag(202, 1); output.WriteString(Param10); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (Index != 0) { output.WriteRawTag(16); output.WriteInt32(Index); } if (Title.Length != 0) { output.WriteRawTag(26); output.WriteString(Title); } if (GroupId != 0) { output.WriteRawTag(32); output.WriteInt32(GroupId); } if (Type != 0) { output.WriteRawTag(40); output.WriteInt32(Type); } if (SubType != 0) { output.WriteRawTag(48); output.WriteInt32(SubType); } if (Sort != 0) { output.WriteRawTag(56); output.WriteInt32(Sort); } if (Nodes != 0) { output.WriteRawTag(64); output.WriteInt32(Nodes); } effectId_.WriteTo(ref output, _repeated_effectId_codec); if (EnhanceSkillId != 0) { output.WriteRawTag(80); output.WriteInt32(EnhanceSkillId); } if (EnhanceSkillLevel != 0) { output.WriteRawTag(88); output.WriteInt32(EnhanceSkillLevel); } if (EnhancePotentialId != 0) { output.WriteRawTag(96); output.WriteInt32(EnhancePotentialId); } if (EnhancePotentialLevel != 0) { output.WriteRawTag(104); output.WriteInt32(EnhancePotentialLevel); } if (Desc.Length != 0) { output.WriteRawTag(114); output.WriteString(Desc); } if (Icon.Length != 0) { output.WriteRawTag(122); output.WriteString(Icon); } if (Param1.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(Param4); } if (Param5.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(Param5); } if (Param6.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(Param6); } if (Param7.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Param7); } if (Param8.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(Param8); } if (Param9.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(Param9); } if (Param10.Length != 0) { output.WriteRawTag(202, 1); output.WriteString(Param10); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (Index != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); } if (Title.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); } if (GroupId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); } if (Type != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); } if (SubType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubType); } if (Sort != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); } if (Nodes != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nodes); } size += effectId_.CalculateSize(_repeated_effectId_codec); if (EnhanceSkillId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhanceSkillId); } if (EnhanceSkillLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhanceSkillLevel); } if (EnhancePotentialId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhancePotentialId); } if (EnhancePotentialLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhancePotentialLevel); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (Icon.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); } if (Param1.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); } if (Param2.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); } if (Param3.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); } if (Param4.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); } if (Param5.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); } if (Param6.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); } if (Param7.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); } if (Param8.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); } if (Param9.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); } if (Param10.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Talent other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Index != 0) { Index = other.Index; } if (other.Title.Length != 0) { Title = other.Title; } if (other.GroupId != 0) { GroupId = other.GroupId; } if (other.Type != 0) { Type = other.Type; } if (other.SubType != 0) { SubType = other.SubType; } if (other.Sort != 0) { Sort = other.Sort; } if (other.Nodes != 0) { Nodes = other.Nodes; } effectId_.Add(other.effectId_); if (other.EnhanceSkillId != 0) { EnhanceSkillId = other.EnhanceSkillId; } if (other.EnhanceSkillLevel != 0) { EnhanceSkillLevel = other.EnhanceSkillLevel; } if (other.EnhancePotentialId != 0) { EnhancePotentialId = other.EnhancePotentialId; } if (other.EnhancePotentialLevel != 0) { EnhancePotentialLevel = other.EnhancePotentialLevel; } if (other.Desc.Length != 0) { Desc = other.Desc; } if (other.Icon.Length != 0) { Icon = other.Icon; } if (other.Param1.Length != 0) { Param1 = other.Param1; } if (other.Param2.Length != 0) { Param2 = other.Param2; } if (other.Param3.Length != 0) { Param3 = other.Param3; } if (other.Param4.Length != 0) { Param4 = other.Param4; } if (other.Param5.Length != 0) { Param5 = other.Param5; } if (other.Param6.Length != 0) { Param6 = other.Param6; } if (other.Param7.Length != 0) { Param7 = other.Param7; } if (other.Param8.Length != 0) { Param8 = other.Param8; } if (other.Param9.Length != 0) { Param9 = other.Param9; } if (other.Param10.Length != 0) { Param10 = other.Param10; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = input.ReadInt32(); break; } case 16: { Index = input.ReadInt32(); break; } case 26: { Title = input.ReadString(); break; } case 32: { GroupId = input.ReadInt32(); break; } case 40: { Type = input.ReadInt32(); break; } case 48: { SubType = input.ReadInt32(); break; } case 56: { Sort = input.ReadInt32(); break; } case 64: { Nodes = input.ReadInt32(); break; } case 74: case 72: { effectId_.AddEntriesFrom(input, _repeated_effectId_codec); break; } case 80: { EnhanceSkillId = input.ReadInt32(); break; } case 88: { EnhanceSkillLevel = input.ReadInt32(); break; } case 96: { EnhancePotentialId = input.ReadInt32(); break; } case 104: { EnhancePotentialLevel = input.ReadInt32(); break; } case 114: { Desc = input.ReadString(); break; } case 122: { Icon = input.ReadString(); break; } case 130: { Param1 = input.ReadString(); break; } case 138: { Param2 = input.ReadString(); break; } case 146: { Param3 = input.ReadString(); break; } case 154: { Param4 = input.ReadString(); break; } case 162: { Param5 = input.ReadString(); break; } case 170: { Param6 = input.ReadString(); break; } case 178: { Param7 = input.ReadString(); break; } case 186: { Param8 = input.ReadString(); break; } case 194: { Param9 = input.ReadString(); break; } case 202: { Param10 = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadInt32(); break; } case 16: { Index = input.ReadInt32(); break; } case 26: { Title = input.ReadString(); break; } case 32: { GroupId = input.ReadInt32(); break; } case 40: { Type = input.ReadInt32(); break; } case 48: { SubType = input.ReadInt32(); break; } case 56: { Sort = input.ReadInt32(); break; } case 64: { Nodes = input.ReadInt32(); break; } case 74: case 72: { effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); break; } case 80: { EnhanceSkillId = input.ReadInt32(); break; } case 88: { EnhanceSkillLevel = input.ReadInt32(); break; } case 96: { EnhancePotentialId = input.ReadInt32(); break; } case 104: { EnhancePotentialLevel = input.ReadInt32(); break; } case 114: { Desc = input.ReadString(); break; } case 122: { Icon = input.ReadString(); break; } case 130: { Param1 = input.ReadString(); break; } case 138: { Param2 = input.ReadString(); break; } case 146: { Param3 = input.ReadString(); break; } case 154: { Param4 = input.ReadString(); break; } case 162: { Param5 = input.ReadString(); break; } case 170: { Param6 = input.ReadString(); break; } case 178: { Param7 = input.ReadString(); break; } case 186: { Param8 = input.ReadString(); break; } case 194: { Param9 = input.ReadString(); break; } case 202: { Param10 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code