// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: GridFightTraitBattleStt.proto
// </auto-generated>
#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 {

  /// <summary>Holder for reflection information generated from GridFightTraitBattleStt.proto</summary>
  public static partial class GridFightTraitBattleSttReflection {

    #region Descriptor
    /// <summary>File descriptor for GridFightTraitBattleStt.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static GridFightTraitBattleSttReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch1HcmlkRmlnaHRUcmFpdEJhdHRsZVN0dC5wcm90bxojR3JpZEZpZ2h0VHJh",
            "aXRFZmZlY3RCYXR0bGVTdHQucHJvdG8ikAEKF0dyaWRGaWdodFRyYWl0QmF0",
            "dGxlU3R0EhAKCHRyYWl0X2lkGAEgASgNEj4KFnRyYWl0X2VmZmVjdF9pbmZv",
            "X2xpc3QYAiADKAsyHi5HcmlkRmlnaHRUcmFpdEVmZmVjdEJhdHRsZVN0dBIO",
            "CgZkYW1hZ2UYAyABKAESEwoLQkNERkZMT0ZFTkcYBCABKAFCHqoCG0VnZ0xp",
            "bmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightTraitEffectBattleSttReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightTraitBattleStt), global::EggLink.DanhengServer.Proto.GridFightTraitBattleStt.Parser, new[]{ "TraitId", "TraitEffectInfoList", "Damage", "BCDFFLOFENG" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class GridFightTraitBattleStt : pb::IMessage<GridFightTraitBattleStt>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<GridFightTraitBattleStt> _parser = new pb::MessageParser<GridFightTraitBattleStt>(() => new GridFightTraitBattleStt());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<GridFightTraitBattleStt> 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.GridFightTraitBattleSttReflection.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 GridFightTraitBattleStt() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightTraitBattleStt(GridFightTraitBattleStt other) : this() {
      traitId_ = other.traitId_;
      traitEffectInfoList_ = other.traitEffectInfoList_.Clone();
      damage_ = other.damage_;
      bCDFFLOFENG_ = other.bCDFFLOFENG_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightTraitBattleStt Clone() {
      return new GridFightTraitBattleStt(this);
    }

    /// <summary>Field number for the "trait_id" field.</summary>
    public const int TraitIdFieldNumber = 1;
    private uint traitId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint TraitId {
      get { return traitId_; }
      set {
        traitId_ = value;
      }
    }

    /// <summary>Field number for the "trait_effect_info_list" field.</summary>
    public const int TraitEffectInfoListFieldNumber = 2;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightTraitEffectBattleStt> _repeated_traitEffectInfoList_codec
        = pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.GridFightTraitEffectBattleStt.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightTraitEffectBattleStt> traitEffectInfoList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightTraitEffectBattleStt>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightTraitEffectBattleStt> TraitEffectInfoList {
      get { return traitEffectInfoList_; }
    }

    /// <summary>Field number for the "damage" field.</summary>
    public const int DamageFieldNumber = 3;
    private double damage_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public double Damage {
      get { return damage_; }
      set {
        damage_ = value;
      }
    }

    /// <summary>Field number for the "BCDFFLOFENG" field.</summary>
    public const int BCDFFLOFENGFieldNumber = 4;
    private double bCDFFLOFENG_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public double BCDFFLOFENG {
      get { return bCDFFLOFENG_; }
      set {
        bCDFFLOFENG_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as GridFightTraitBattleStt);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridFightTraitBattleStt other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraitId != other.TraitId) return false;
      if(!traitEffectInfoList_.Equals(other.traitEffectInfoList_)) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Damage, other.Damage)) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BCDFFLOFENG, other.BCDFFLOFENG)) 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 (TraitId != 0) hash ^= TraitId.GetHashCode();
      hash ^= traitEffectInfoList_.GetHashCode();
      if (Damage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Damage);
      if (BCDFFLOFENG != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BCDFFLOFENG);
      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 (TraitId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(TraitId);
      }
      traitEffectInfoList_.WriteTo(output, _repeated_traitEffectInfoList_codec);
      if (Damage != 0D) {
        output.WriteRawTag(25);
        output.WriteDouble(Damage);
      }
      if (BCDFFLOFENG != 0D) {
        output.WriteRawTag(33);
        output.WriteDouble(BCDFFLOFENG);
      }
      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 (TraitId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(TraitId);
      }
      traitEffectInfoList_.WriteTo(ref output, _repeated_traitEffectInfoList_codec);
      if (Damage != 0D) {
        output.WriteRawTag(25);
        output.WriteDouble(Damage);
      }
      if (BCDFFLOFENG != 0D) {
        output.WriteRawTag(33);
        output.WriteDouble(BCDFFLOFENG);
      }
      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 (TraitId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TraitId);
      }
      size += traitEffectInfoList_.CalculateSize(_repeated_traitEffectInfoList_codec);
      if (Damage != 0D) {
        size += 1 + 8;
      }
      if (BCDFFLOFENG != 0D) {
        size += 1 + 8;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridFightTraitBattleStt other) {
      if (other == null) {
        return;
      }
      if (other.TraitId != 0) {
        TraitId = other.TraitId;
      }
      traitEffectInfoList_.Add(other.traitEffectInfoList_);
      if (other.Damage != 0D) {
        Damage = other.Damage;
      }
      if (other.BCDFFLOFENG != 0D) {
        BCDFFLOFENG = other.BCDFFLOFENG;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            TraitId = input.ReadUInt32();
            break;
          }
          case 18: {
            traitEffectInfoList_.AddEntriesFrom(input, _repeated_traitEffectInfoList_codec);
            break;
          }
          case 25: {
            Damage = input.ReadDouble();
            break;
          }
          case 33: {
            BCDFFLOFENG = input.ReadDouble();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            TraitId = input.ReadUInt32();
            break;
          }
          case 18: {
            traitEffectInfoList_.AddEntriesFrom(ref input, _repeated_traitEffectInfoList_codec);
            break;
          }
          case 25: {
            Damage = input.ReadDouble();
            break;
          }
          case 33: {
            BCDFFLOFENG = input.ReadDouble();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
