// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: GridFightSupplyActionInfo.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 GridFightSupplyActionInfo.proto</summary>
  public static partial class GridFightSupplyActionInfoReflection {

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

    static GridFightSupplyActionInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch9HcmlkRmlnaHRTdXBwbHlBY3Rpb25JbmZvLnByb3RvGh1HcmlkRmlnaHRT",
            "dXBwbHlSb2xlSW5mby5wcm90byK1AQoZR3JpZEZpZ2h0U3VwcGx5QWN0aW9u",
            "SW5mbxIWCg5jdXJfcm9sbF9jb3VudBgFIAEoDRI3ChVzdXBwbHlfcm9sZV9p",
            "bmZvX2xpc3QYAyADKAsyGC5HcmlkRmlnaHRTdXBwbHlSb2xlSW5mbxIYChBt",
            "YXhfcmVyb2xsX2NvdW50GAYgASgNEhgKEG1heF9zZWxlY3RfY291bnQYDiAB",
            "KA0SEwoLSkxISUtDSElFREoYDSABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
            "cnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightSupplyRoleInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightSupplyActionInfo), global::EggLink.DanhengServer.Proto.GridFightSupplyActionInfo.Parser, new[]{ "CurRollCount", "SupplyRoleInfoList", "MaxRerollCount", "MaxSelectCount", "JLHIKCHIEDJ" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightSupplyActionInfo(GridFightSupplyActionInfo other) : this() {
      curRollCount_ = other.curRollCount_;
      supplyRoleInfoList_ = other.supplyRoleInfoList_.Clone();
      maxRerollCount_ = other.maxRerollCount_;
      maxSelectCount_ = other.maxSelectCount_;
      jLHIKCHIEDJ_ = other.jLHIKCHIEDJ_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "cur_roll_count" field.</summary>
    public const int CurRollCountFieldNumber = 5;
    private uint curRollCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint CurRollCount {
      get { return curRollCount_; }
      set {
        curRollCount_ = value;
      }
    }

    /// <summary>Field number for the "supply_role_info_list" field.</summary>
    public const int SupplyRoleInfoListFieldNumber = 3;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightSupplyRoleInfo> _repeated_supplyRoleInfoList_codec
        = pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.GridFightSupplyRoleInfo.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightSupplyRoleInfo> supplyRoleInfoList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightSupplyRoleInfo>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightSupplyRoleInfo> SupplyRoleInfoList {
      get { return supplyRoleInfoList_; }
    }

    /// <summary>Field number for the "max_reroll_count" field.</summary>
    public const int MaxRerollCountFieldNumber = 6;
    private uint maxRerollCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint MaxRerollCount {
      get { return maxRerollCount_; }
      set {
        maxRerollCount_ = value;
      }
    }

    /// <summary>Field number for the "max_select_count" field.</summary>
    public const int MaxSelectCountFieldNumber = 14;
    private uint maxSelectCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint MaxSelectCount {
      get { return maxSelectCount_; }
      set {
        maxSelectCount_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridFightSupplyActionInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (CurRollCount != other.CurRollCount) return false;
      if(!supplyRoleInfoList_.Equals(other.supplyRoleInfoList_)) return false;
      if (MaxRerollCount != other.MaxRerollCount) return false;
      if (MaxSelectCount != other.MaxSelectCount) return false;
      if (JLHIKCHIEDJ != other.JLHIKCHIEDJ) 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 (CurRollCount != 0) hash ^= CurRollCount.GetHashCode();
      hash ^= supplyRoleInfoList_.GetHashCode();
      if (MaxRerollCount != 0) hash ^= MaxRerollCount.GetHashCode();
      if (MaxSelectCount != 0) hash ^= MaxSelectCount.GetHashCode();
      if (JLHIKCHIEDJ != 0) hash ^= JLHIKCHIEDJ.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
      supplyRoleInfoList_.WriteTo(output, _repeated_supplyRoleInfoList_codec);
      if (CurRollCount != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CurRollCount);
      }
      if (MaxRerollCount != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(MaxRerollCount);
      }
      if (JLHIKCHIEDJ != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(JLHIKCHIEDJ);
      }
      if (MaxSelectCount != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(MaxSelectCount);
      }
      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) {
      supplyRoleInfoList_.WriteTo(ref output, _repeated_supplyRoleInfoList_codec);
      if (CurRollCount != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CurRollCount);
      }
      if (MaxRerollCount != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(MaxRerollCount);
      }
      if (JLHIKCHIEDJ != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(JLHIKCHIEDJ);
      }
      if (MaxSelectCount != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(MaxSelectCount);
      }
      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 (CurRollCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurRollCount);
      }
      size += supplyRoleInfoList_.CalculateSize(_repeated_supplyRoleInfoList_codec);
      if (MaxRerollCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxRerollCount);
      }
      if (MaxSelectCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxSelectCount);
      }
      if (JLHIKCHIEDJ != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JLHIKCHIEDJ);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridFightSupplyActionInfo other) {
      if (other == null) {
        return;
      }
      if (other.CurRollCount != 0) {
        CurRollCount = other.CurRollCount;
      }
      supplyRoleInfoList_.Add(other.supplyRoleInfoList_);
      if (other.MaxRerollCount != 0) {
        MaxRerollCount = other.MaxRerollCount;
      }
      if (other.MaxSelectCount != 0) {
        MaxSelectCount = other.MaxSelectCount;
      }
      if (other.JLHIKCHIEDJ != 0) {
        JLHIKCHIEDJ = other.JLHIKCHIEDJ;
      }
      _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 26: {
            supplyRoleInfoList_.AddEntriesFrom(input, _repeated_supplyRoleInfoList_codec);
            break;
          }
          case 40: {
            CurRollCount = input.ReadUInt32();
            break;
          }
          case 48: {
            MaxRerollCount = input.ReadUInt32();
            break;
          }
          case 104: {
            JLHIKCHIEDJ = input.ReadUInt32();
            break;
          }
          case 112: {
            MaxSelectCount = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 26: {
            supplyRoleInfoList_.AddEntriesFrom(ref input, _repeated_supplyRoleInfoList_codec);
            break;
          }
          case 40: {
            CurRollCount = input.ReadUInt32();
            break;
          }
          case 48: {
            MaxRerollCount = input.ReadUInt32();
            break;
          }
          case 104: {
            JLHIKCHIEDJ = input.ReadUInt32();
            break;
          }
          case 112: {
            MaxSelectCount = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
