// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: DiscPassiveSkill.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 DiscPassiveSkill.proto public static partial class DiscPassiveSkillReflection { #region Descriptor /// File descriptor for DiscPassiveSkill.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DiscPassiveSkillReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZEaXNjUGFzc2l2ZVNraWxsLnByb3RvIqUEChBEaXNjUGFzc2l2ZVNraWxs", "EgoKAmlkGAEgASgFEhAKCGdyb3VwX2lkGAIgASgFEg0KBWxldmVsGAMgASgF", "Eg0KBWJyZWFrGAQgASgFEhEKCW1haW5fbm90ZRgFIAEoBRIVCg1hY3RpdmVf", "cGFyYW0xGAYgASgJEhIKCmVmZmVjdF9pZDEYByADKAUSFQoNYWN0aXZlX3Bh", "cmFtMhgIIAEoCRISCgplZmZlY3RfaWQyGAkgAygFEhUKDWFjdGl2ZV9wYXJh", "bTMYCiABKAkSEgoKZWZmZWN0X2lkMxgLIAMoBRIVCg1hY3RpdmVfcGFyYW00", "GAwgASgJEhIKCmVmZmVjdF9pZDQYDSADKAUSFQoNYWN0aXZlX3BhcmFtNRgO", "IAEoCRISCgplZmZlY3RfaWQ1GA8gAygFEhMKC2xheWVyX3Njb3JlGBAgAygF", "EgwKBG5hbWUYESABKAkSDAoEaWNvbhgSIAEoCRIPCgdpY29uX2JnGBMgASgJ", "Eg0KBWRlc2MxGBQgASgJEg0KBWRlc2MyGBUgASgJEg0KBWRlc2MzGBYgASgJ", "Eg0KBWRlc2M0GBcgASgJEg0KBWRlc2M1GBggASgJEg4KBnBhcmFtMRgZIAEo", "CRIOCgZwYXJhbTIYGiABKAkSDgoGcGFyYW0zGBsgASgJEg4KBnBhcmFtNBgc", "IAEoCRIOCgZwYXJhbTUYHSABKAkSDgoGcGFyYW02GB4gASgJQg6qAgtOb3Zh", "LkNsaWVudGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPassiveSkill), global::Nova.Client.DiscPassiveSkill.Parser, new[]{ "Id", "GroupId", "Level", "Break", "MainNote", "ActiveParam1", "EffectId1", "ActiveParam2", "EffectId2", "ActiveParam3", "EffectId3", "ActiveParam4", "EffectId4", "ActiveParam5", "EffectId5", "LayerScore", "Name", "Icon", "IconBg", "Desc1", "Desc2", "Desc3", "Desc4", "Desc5", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DiscPassiveSkill : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscPassiveSkill()); 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.DiscPassiveSkillReflection.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 DiscPassiveSkill() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DiscPassiveSkill(DiscPassiveSkill other) : this() { id_ = other.id_; groupId_ = other.groupId_; level_ = other.level_; break_ = other.break_; mainNote_ = other.mainNote_; activeParam1_ = other.activeParam1_; effectId1_ = other.effectId1_.Clone(); activeParam2_ = other.activeParam2_; effectId2_ = other.effectId2_.Clone(); activeParam3_ = other.activeParam3_; effectId3_ = other.effectId3_.Clone(); activeParam4_ = other.activeParam4_; effectId4_ = other.effectId4_.Clone(); activeParam5_ = other.activeParam5_; effectId5_ = other.effectId5_.Clone(); layerScore_ = other.layerScore_.Clone(); name_ = other.name_; icon_ = other.icon_; iconBg_ = other.iconBg_; desc1_ = other.desc1_; desc2_ = other.desc2_; desc3_ = other.desc3_; desc4_ = other.desc4_; desc5_ = other.desc5_; param1_ = other.param1_; param2_ = other.param2_; param3_ = other.param3_; param4_ = other.param4_; param5_ = other.param5_; param6_ = other.param6_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DiscPassiveSkill Clone() { return new DiscPassiveSkill(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 "group_id" field. public const int GroupIdFieldNumber = 2; 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 "level" field. public const int LevelFieldNumber = 3; private int level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Level { get { return level_; } set { level_ = value; } } /// Field number for the "break" field. public const int BreakFieldNumber = 4; private int break_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Break { get { return break_; } set { break_ = value; } } /// Field number for the "main_note" field. public const int MainNoteFieldNumber = 5; private int mainNote_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MainNote { get { return mainNote_; } set { mainNote_ = value; } } /// Field number for the "active_param1" field. public const int ActiveParam1FieldNumber = 6; private string activeParam1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ActiveParam1 { get { return activeParam1_; } set { activeParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "effect_id1" field. public const int EffectId1FieldNumber = 7; private static readonly pb::FieldCodec _repeated_effectId1_codec = pb::FieldCodec.ForInt32(58); private readonly pbc::RepeatedField effectId1_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EffectId1 { get { return effectId1_; } } /// Field number for the "active_param2" field. public const int ActiveParam2FieldNumber = 8; private string activeParam2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ActiveParam2 { get { return activeParam2_; } set { activeParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "effect_id2" field. public const int EffectId2FieldNumber = 9; private static readonly pb::FieldCodec _repeated_effectId2_codec = pb::FieldCodec.ForInt32(74); private readonly pbc::RepeatedField effectId2_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EffectId2 { get { return effectId2_; } } /// Field number for the "active_param3" field. public const int ActiveParam3FieldNumber = 10; private string activeParam3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ActiveParam3 { get { return activeParam3_; } set { activeParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "effect_id3" field. public const int EffectId3FieldNumber = 11; private static readonly pb::FieldCodec _repeated_effectId3_codec = pb::FieldCodec.ForInt32(90); private readonly pbc::RepeatedField effectId3_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EffectId3 { get { return effectId3_; } } /// Field number for the "active_param4" field. public const int ActiveParam4FieldNumber = 12; private string activeParam4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ActiveParam4 { get { return activeParam4_; } set { activeParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "effect_id4" field. public const int EffectId4FieldNumber = 13; private static readonly pb::FieldCodec _repeated_effectId4_codec = pb::FieldCodec.ForInt32(106); private readonly pbc::RepeatedField effectId4_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EffectId4 { get { return effectId4_; } } /// Field number for the "active_param5" field. public const int ActiveParam5FieldNumber = 14; private string activeParam5_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ActiveParam5 { get { return activeParam5_; } set { activeParam5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "effect_id5" field. public const int EffectId5FieldNumber = 15; private static readonly pb::FieldCodec _repeated_effectId5_codec = pb::FieldCodec.ForInt32(122); private readonly pbc::RepeatedField effectId5_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField EffectId5 { get { return effectId5_; } } /// Field number for the "layer_score" field. public const int LayerScoreFieldNumber = 16; private static readonly pb::FieldCodec _repeated_layerScore_codec = pb::FieldCodec.ForInt32(130); private readonly pbc::RepeatedField layerScore_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LayerScore { get { return layerScore_; } } /// Field number for the "name" field. public const int NameFieldNumber = 17; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "icon" field. public const int IconFieldNumber = 18; 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 "icon_bg" field. public const int IconBgFieldNumber = 19; private string iconBg_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string IconBg { get { return iconBg_; } set { iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc1" field. public const int Desc1FieldNumber = 20; private string desc1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc1 { get { return desc1_; } set { desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc2" field. public const int Desc2FieldNumber = 21; private string desc2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc2 { get { return desc2_; } set { desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc3" field. public const int Desc3FieldNumber = 22; private string desc3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc3 { get { return desc3_; } set { desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc4" field. public const int Desc4FieldNumber = 23; private string desc4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc4 { get { return desc4_; } set { desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc5" field. public const int Desc5FieldNumber = 24; private string desc5_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc5 { get { return desc5_; } set { desc5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param1" field. public const int Param1FieldNumber = 25; 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 = 26; 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 = 27; 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 = 28; 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 = 29; 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 = 30; 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"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DiscPassiveSkill); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DiscPassiveSkill other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (GroupId != other.GroupId) return false; if (Level != other.Level) return false; if (Break != other.Break) return false; if (MainNote != other.MainNote) return false; if (ActiveParam1 != other.ActiveParam1) return false; if(!effectId1_.Equals(other.effectId1_)) return false; if (ActiveParam2 != other.ActiveParam2) return false; if(!effectId2_.Equals(other.effectId2_)) return false; if (ActiveParam3 != other.ActiveParam3) return false; if(!effectId3_.Equals(other.effectId3_)) return false; if (ActiveParam4 != other.ActiveParam4) return false; if(!effectId4_.Equals(other.effectId4_)) return false; if (ActiveParam5 != other.ActiveParam5) return false; if(!effectId5_.Equals(other.effectId5_)) return false; if(!layerScore_.Equals(other.layerScore_)) return false; if (Name != other.Name) return false; if (Icon != other.Icon) return false; if (IconBg != other.IconBg) return false; if (Desc1 != other.Desc1) return false; if (Desc2 != other.Desc2) return false; if (Desc3 != other.Desc3) return false; if (Desc4 != other.Desc4) return false; if (Desc5 != other.Desc5) 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; 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 (GroupId != 0) hash ^= GroupId.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (Break != 0) hash ^= Break.GetHashCode(); if (MainNote != 0) hash ^= MainNote.GetHashCode(); if (ActiveParam1.Length != 0) hash ^= ActiveParam1.GetHashCode(); hash ^= effectId1_.GetHashCode(); if (ActiveParam2.Length != 0) hash ^= ActiveParam2.GetHashCode(); hash ^= effectId2_.GetHashCode(); if (ActiveParam3.Length != 0) hash ^= ActiveParam3.GetHashCode(); hash ^= effectId3_.GetHashCode(); if (ActiveParam4.Length != 0) hash ^= ActiveParam4.GetHashCode(); hash ^= effectId4_.GetHashCode(); if (ActiveParam5.Length != 0) hash ^= ActiveParam5.GetHashCode(); hash ^= effectId5_.GetHashCode(); hash ^= layerScore_.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Icon.Length != 0) hash ^= Icon.GetHashCode(); if (IconBg.Length != 0) hash ^= IconBg.GetHashCode(); if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); if (Desc4.Length != 0) hash ^= Desc4.GetHashCode(); if (Desc5.Length != 0) hash ^= Desc5.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 (_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 (GroupId != 0) { output.WriteRawTag(16); output.WriteInt32(GroupId); } if (Level != 0) { output.WriteRawTag(24); output.WriteInt32(Level); } if (Break != 0) { output.WriteRawTag(32); output.WriteInt32(Break); } if (MainNote != 0) { output.WriteRawTag(40); output.WriteInt32(MainNote); } if (ActiveParam1.Length != 0) { output.WriteRawTag(50); output.WriteString(ActiveParam1); } effectId1_.WriteTo(output, _repeated_effectId1_codec); if (ActiveParam2.Length != 0) { output.WriteRawTag(66); output.WriteString(ActiveParam2); } effectId2_.WriteTo(output, _repeated_effectId2_codec); if (ActiveParam3.Length != 0) { output.WriteRawTag(82); output.WriteString(ActiveParam3); } effectId3_.WriteTo(output, _repeated_effectId3_codec); if (ActiveParam4.Length != 0) { output.WriteRawTag(98); output.WriteString(ActiveParam4); } effectId4_.WriteTo(output, _repeated_effectId4_codec); if (ActiveParam5.Length != 0) { output.WriteRawTag(114); output.WriteString(ActiveParam5); } effectId5_.WriteTo(output, _repeated_effectId5_codec); layerScore_.WriteTo(output, _repeated_layerScore_codec); if (Name.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(Name); } if (Icon.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(Icon); } if (IconBg.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(IconBg); } if (Desc1.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(Desc1); } if (Desc2.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(Desc2); } if (Desc3.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Desc3); } if (Desc4.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(Desc4); } if (Desc5.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(Desc5); } if (Param1.Length != 0) { output.WriteRawTag(202, 1); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(210, 1); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(218, 1); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(226, 1); output.WriteString(Param4); } if (Param5.Length != 0) { output.WriteRawTag(234, 1); output.WriteString(Param5); } if (Param6.Length != 0) { output.WriteRawTag(242, 1); output.WriteString(Param6); } 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 (GroupId != 0) { output.WriteRawTag(16); output.WriteInt32(GroupId); } if (Level != 0) { output.WriteRawTag(24); output.WriteInt32(Level); } if (Break != 0) { output.WriteRawTag(32); output.WriteInt32(Break); } if (MainNote != 0) { output.WriteRawTag(40); output.WriteInt32(MainNote); } if (ActiveParam1.Length != 0) { output.WriteRawTag(50); output.WriteString(ActiveParam1); } effectId1_.WriteTo(ref output, _repeated_effectId1_codec); if (ActiveParam2.Length != 0) { output.WriteRawTag(66); output.WriteString(ActiveParam2); } effectId2_.WriteTo(ref output, _repeated_effectId2_codec); if (ActiveParam3.Length != 0) { output.WriteRawTag(82); output.WriteString(ActiveParam3); } effectId3_.WriteTo(ref output, _repeated_effectId3_codec); if (ActiveParam4.Length != 0) { output.WriteRawTag(98); output.WriteString(ActiveParam4); } effectId4_.WriteTo(ref output, _repeated_effectId4_codec); if (ActiveParam5.Length != 0) { output.WriteRawTag(114); output.WriteString(ActiveParam5); } effectId5_.WriteTo(ref output, _repeated_effectId5_codec); layerScore_.WriteTo(ref output, _repeated_layerScore_codec); if (Name.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(Name); } if (Icon.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(Icon); } if (IconBg.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(IconBg); } if (Desc1.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(Desc1); } if (Desc2.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(Desc2); } if (Desc3.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Desc3); } if (Desc4.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(Desc4); } if (Desc5.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(Desc5); } if (Param1.Length != 0) { output.WriteRawTag(202, 1); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(210, 1); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(218, 1); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(226, 1); output.WriteString(Param4); } if (Param5.Length != 0) { output.WriteRawTag(234, 1); output.WriteString(Param5); } if (Param6.Length != 0) { output.WriteRawTag(242, 1); output.WriteString(Param6); } 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 (GroupId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } if (Break != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Break); } if (MainNote != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainNote); } if (ActiveParam1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam1); } size += effectId1_.CalculateSize(_repeated_effectId1_codec); if (ActiveParam2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam2); } size += effectId2_.CalculateSize(_repeated_effectId2_codec); if (ActiveParam3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam3); } size += effectId3_.CalculateSize(_repeated_effectId3_codec); if (ActiveParam4.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam4); } size += effectId4_.CalculateSize(_repeated_effectId4_codec); if (ActiveParam5.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam5); } size += effectId5_.CalculateSize(_repeated_effectId5_codec); size += layerScore_.CalculateSize(_repeated_layerScore_codec); if (Name.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Icon.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); } if (IconBg.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(IconBg); } if (Desc1.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc1); } if (Desc2.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc2); } if (Desc3.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc3); } if (Desc4.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc4); } if (Desc5.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc5); } 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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DiscPassiveSkill other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.GroupId != 0) { GroupId = other.GroupId; } if (other.Level != 0) { Level = other.Level; } if (other.Break != 0) { Break = other.Break; } if (other.MainNote != 0) { MainNote = other.MainNote; } if (other.ActiveParam1.Length != 0) { ActiveParam1 = other.ActiveParam1; } effectId1_.Add(other.effectId1_); if (other.ActiveParam2.Length != 0) { ActiveParam2 = other.ActiveParam2; } effectId2_.Add(other.effectId2_); if (other.ActiveParam3.Length != 0) { ActiveParam3 = other.ActiveParam3; } effectId3_.Add(other.effectId3_); if (other.ActiveParam4.Length != 0) { ActiveParam4 = other.ActiveParam4; } effectId4_.Add(other.effectId4_); if (other.ActiveParam5.Length != 0) { ActiveParam5 = other.ActiveParam5; } effectId5_.Add(other.effectId5_); layerScore_.Add(other.layerScore_); if (other.Name.Length != 0) { Name = other.Name; } if (other.Icon.Length != 0) { Icon = other.Icon; } if (other.IconBg.Length != 0) { IconBg = other.IconBg; } if (other.Desc1.Length != 0) { Desc1 = other.Desc1; } if (other.Desc2.Length != 0) { Desc2 = other.Desc2; } if (other.Desc3.Length != 0) { Desc3 = other.Desc3; } if (other.Desc4.Length != 0) { Desc4 = other.Desc4; } if (other.Desc5.Length != 0) { Desc5 = other.Desc5; } 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; } _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: { GroupId = input.ReadInt32(); break; } case 24: { Level = input.ReadInt32(); break; } case 32: { Break = input.ReadInt32(); break; } case 40: { MainNote = input.ReadInt32(); break; } case 50: { ActiveParam1 = input.ReadString(); break; } case 58: case 56: { effectId1_.AddEntriesFrom(input, _repeated_effectId1_codec); break; } case 66: { ActiveParam2 = input.ReadString(); break; } case 74: case 72: { effectId2_.AddEntriesFrom(input, _repeated_effectId2_codec); break; } case 82: { ActiveParam3 = input.ReadString(); break; } case 90: case 88: { effectId3_.AddEntriesFrom(input, _repeated_effectId3_codec); break; } case 98: { ActiveParam4 = input.ReadString(); break; } case 106: case 104: { effectId4_.AddEntriesFrom(input, _repeated_effectId4_codec); break; } case 114: { ActiveParam5 = input.ReadString(); break; } case 122: case 120: { effectId5_.AddEntriesFrom(input, _repeated_effectId5_codec); break; } case 130: case 128: { layerScore_.AddEntriesFrom(input, _repeated_layerScore_codec); break; } case 138: { Name = input.ReadString(); break; } case 146: { Icon = input.ReadString(); break; } case 154: { IconBg = input.ReadString(); break; } case 162: { Desc1 = input.ReadString(); break; } case 170: { Desc2 = input.ReadString(); break; } case 178: { Desc3 = input.ReadString(); break; } case 186: { Desc4 = input.ReadString(); break; } case 194: { Desc5 = input.ReadString(); break; } case 202: { Param1 = input.ReadString(); break; } case 210: { Param2 = input.ReadString(); break; } case 218: { Param3 = input.ReadString(); break; } case 226: { Param4 = input.ReadString(); break; } case 234: { Param5 = input.ReadString(); break; } case 242: { Param6 = 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: { GroupId = input.ReadInt32(); break; } case 24: { Level = input.ReadInt32(); break; } case 32: { Break = input.ReadInt32(); break; } case 40: { MainNote = input.ReadInt32(); break; } case 50: { ActiveParam1 = input.ReadString(); break; } case 58: case 56: { effectId1_.AddEntriesFrom(ref input, _repeated_effectId1_codec); break; } case 66: { ActiveParam2 = input.ReadString(); break; } case 74: case 72: { effectId2_.AddEntriesFrom(ref input, _repeated_effectId2_codec); break; } case 82: { ActiveParam3 = input.ReadString(); break; } case 90: case 88: { effectId3_.AddEntriesFrom(ref input, _repeated_effectId3_codec); break; } case 98: { ActiveParam4 = input.ReadString(); break; } case 106: case 104: { effectId4_.AddEntriesFrom(ref input, _repeated_effectId4_codec); break; } case 114: { ActiveParam5 = input.ReadString(); break; } case 122: case 120: { effectId5_.AddEntriesFrom(ref input, _repeated_effectId5_codec); break; } case 130: case 128: { layerScore_.AddEntriesFrom(ref input, _repeated_layerScore_codec); break; } case 138: { Name = input.ReadString(); break; } case 146: { Icon = input.ReadString(); break; } case 154: { IconBg = input.ReadString(); break; } case 162: { Desc1 = input.ReadString(); break; } case 170: { Desc2 = input.ReadString(); break; } case 178: { Desc3 = input.ReadString(); break; } case 186: { Desc4 = input.ReadString(); break; } case 194: { Desc5 = input.ReadString(); break; } case 202: { Param1 = input.ReadString(); break; } case 210: { Param2 = input.ReadString(); break; } case 218: { Param3 = input.ReadString(); break; } case 226: { Param4 = input.ReadString(); break; } case 234: { Param5 = input.ReadString(); break; } case 242: { Param6 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code