// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: PotentialPassiveSkill.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 PotentialPassiveSkill.proto public static partial class PotentialPassiveSkillReflection { #region Descriptor /// File descriptor for PotentialPassiveSkill.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static PotentialPassiveSkillReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChtQb3RlbnRpYWxQYXNzaXZlU2tpbGwucHJvdG8i/QEKFVBvdGVudGlhbFBh", "c3NpdmVTa2lsbBIKCgJpZBgBIAEoBRIRCglzaGFyZV9jX2QYAiABKAgSEwoL", "c2hhcmVfdGltZXMYAyABKAgSEgoKZWZmZWN0X2lkMRgEIAEoBRISCgplZmZl", "Y3RfaWQyGAUgASgFEhIKCmVmZmVjdF9pZDMYBiABKAUSEgoKZWZmZWN0X2lk", "NBgHIAEoBRISCgpicmllZl9kZXNjGAggASgJEgwKBGRlc2MYCSABKAkSDgoG", "cGFyYW0xGAogASgJEg4KBnBhcmFtMhgLIAEoCRIOCgZwYXJhbTMYDCABKAkS", "DgoGcGFyYW00GA0gASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PotentialPassiveSkill), global::Nova.Client.PotentialPassiveSkill.Parser, new[]{ "Id", "ShareCD", "ShareTimes", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "BriefDesc", "Desc", "Param1", "Param2", "Param3", "Param4" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class PotentialPassiveSkill : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PotentialPassiveSkill()); 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.PotentialPassiveSkillReflection.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 PotentialPassiveSkill() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PotentialPassiveSkill(PotentialPassiveSkill other) : this() { id_ = other.id_; shareCD_ = other.shareCD_; shareTimes_ = other.shareTimes_; effectId1_ = other.effectId1_; effectId2_ = other.effectId2_; effectId3_ = other.effectId3_; effectId4_ = other.effectId4_; briefDesc_ = other.briefDesc_; desc_ = other.desc_; param1_ = other.param1_; param2_ = other.param2_; param3_ = other.param3_; param4_ = other.param4_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PotentialPassiveSkill Clone() { return new PotentialPassiveSkill(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 "share_c_d" field. public const int ShareCDFieldNumber = 2; private bool shareCD_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShareCD { get { return shareCD_; } set { shareCD_ = value; } } /// Field number for the "share_times" field. public const int ShareTimesFieldNumber = 3; private bool shareTimes_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShareTimes { get { return shareTimes_; } set { shareTimes_ = value; } } /// Field number for the "effect_id1" field. public const int EffectId1FieldNumber = 4; private int effectId1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId1 { get { return effectId1_; } set { effectId1_ = value; } } /// Field number for the "effect_id2" field. public const int EffectId2FieldNumber = 5; private int effectId2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId2 { get { return effectId2_; } set { effectId2_ = value; } } /// Field number for the "effect_id3" field. public const int EffectId3FieldNumber = 6; private int effectId3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId3 { get { return effectId3_; } set { effectId3_ = value; } } /// Field number for the "effect_id4" field. public const int EffectId4FieldNumber = 7; private int effectId4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId4 { get { return effectId4_; } set { effectId4_ = value; } } /// Field number for the "brief_desc" field. public const int BriefDescFieldNumber = 8; private string briefDesc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BriefDesc { get { return briefDesc_; } set { briefDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc" field. public const int DescFieldNumber = 9; 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 "param1" field. public const int Param1FieldNumber = 10; 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 = 11; 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 = 12; 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 = 13; 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"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PotentialPassiveSkill); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PotentialPassiveSkill other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (ShareCD != other.ShareCD) return false; if (ShareTimes != other.ShareTimes) return false; if (EffectId1 != other.EffectId1) return false; if (EffectId2 != other.EffectId2) return false; if (EffectId3 != other.EffectId3) return false; if (EffectId4 != other.EffectId4) return false; if (BriefDesc != other.BriefDesc) return false; if (Desc != other.Desc) 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; 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 (ShareCD != false) hash ^= ShareCD.GetHashCode(); if (ShareTimes != false) hash ^= ShareTimes.GetHashCode(); if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); if (BriefDesc.Length != 0) hash ^= BriefDesc.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.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 (_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 (ShareCD != false) { output.WriteRawTag(16); output.WriteBool(ShareCD); } if (ShareTimes != false) { output.WriteRawTag(24); output.WriteBool(ShareTimes); } if (EffectId1 != 0) { output.WriteRawTag(32); output.WriteInt32(EffectId1); } if (EffectId2 != 0) { output.WriteRawTag(40); output.WriteInt32(EffectId2); } if (EffectId3 != 0) { output.WriteRawTag(48); output.WriteInt32(EffectId3); } if (EffectId4 != 0) { output.WriteRawTag(56); output.WriteInt32(EffectId4); } if (BriefDesc.Length != 0) { output.WriteRawTag(66); output.WriteString(BriefDesc); } if (Desc.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc); } if (Param1.Length != 0) { output.WriteRawTag(82); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(90); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(98); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(106); output.WriteString(Param4); } 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 (ShareCD != false) { output.WriteRawTag(16); output.WriteBool(ShareCD); } if (ShareTimes != false) { output.WriteRawTag(24); output.WriteBool(ShareTimes); } if (EffectId1 != 0) { output.WriteRawTag(32); output.WriteInt32(EffectId1); } if (EffectId2 != 0) { output.WriteRawTag(40); output.WriteInt32(EffectId2); } if (EffectId3 != 0) { output.WriteRawTag(48); output.WriteInt32(EffectId3); } if (EffectId4 != 0) { output.WriteRawTag(56); output.WriteInt32(EffectId4); } if (BriefDesc.Length != 0) { output.WriteRawTag(66); output.WriteString(BriefDesc); } if (Desc.Length != 0) { output.WriteRawTag(74); output.WriteString(Desc); } if (Param1.Length != 0) { output.WriteRawTag(82); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(90); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(98); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(106); output.WriteString(Param4); } 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 (ShareCD != false) { size += 1 + 1; } if (ShareTimes != false) { size += 1 + 1; } if (EffectId1 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); } if (EffectId2 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); } if (EffectId3 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); } if (EffectId4 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); } if (BriefDesc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(BriefDesc); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (Param1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); } if (Param2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); } if (Param3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); } if (Param4.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PotentialPassiveSkill other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.ShareCD != false) { ShareCD = other.ShareCD; } if (other.ShareTimes != false) { ShareTimes = other.ShareTimes; } if (other.EffectId1 != 0) { EffectId1 = other.EffectId1; } if (other.EffectId2 != 0) { EffectId2 = other.EffectId2; } if (other.EffectId3 != 0) { EffectId3 = other.EffectId3; } if (other.EffectId4 != 0) { EffectId4 = other.EffectId4; } if (other.BriefDesc.Length != 0) { BriefDesc = other.BriefDesc; } if (other.Desc.Length != 0) { Desc = other.Desc; } 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; } _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: { ShareCD = input.ReadBool(); break; } case 24: { ShareTimes = input.ReadBool(); break; } case 32: { EffectId1 = input.ReadInt32(); break; } case 40: { EffectId2 = input.ReadInt32(); break; } case 48: { EffectId3 = input.ReadInt32(); break; } case 56: { EffectId4 = input.ReadInt32(); break; } case 66: { BriefDesc = input.ReadString(); break; } case 74: { Desc = input.ReadString(); break; } case 82: { Param1 = input.ReadString(); break; } case 90: { Param2 = input.ReadString(); break; } case 98: { Param3 = input.ReadString(); break; } case 106: { Param4 = 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: { ShareCD = input.ReadBool(); break; } case 24: { ShareTimes = input.ReadBool(); break; } case 32: { EffectId1 = input.ReadInt32(); break; } case 40: { EffectId2 = input.ReadInt32(); break; } case 48: { EffectId3 = input.ReadInt32(); break; } case 56: { EffectId4 = input.ReadInt32(); break; } case 66: { BriefDesc = input.ReadString(); break; } case 74: { Desc = input.ReadString(); break; } case 82: { Param1 = input.ReadString(); break; } case 90: { Param2 = input.ReadString(); break; } case 98: { Param3 = input.ReadString(); break; } case 106: { Param4 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code