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

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

    static RogueCommonBuffSelectInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch9Sb2d1ZUNvbW1vbkJ1ZmZTZWxlY3RJbmZvLnByb3RvGhJJdGVtQ29zdERh",
            "dGEucHJvdG8aJVJvZ3VlQ29tbW9uQnVmZlNlbGVjdFNvdXJjZVR5cGUucHJv",
            "dG8aFVJvZ3VlQ29tbW9uQnVmZi5wcm90byLHAwoZUm9ndWVDb21tb25CdWZm",
            "U2VsZWN0SW5mbxIbChNyb2xsX2J1ZmZfbWF4X2NvdW50GAIgASgNEj4KFG1v",
            "ZGlmaWVyX3NvdXJjZV90eXBlGAEgASgOMiAuUm9ndWVDb21tb25CdWZmU2Vs",
            "ZWN0U291cmNlVHlwZRIcChRmaXJzdF9idWZmX3R5cGVfbGlzdBgKIAMoDRIQ",
            "CghjYW5fcm9sbBgJIAEoCBIcChRyb2xsX2J1ZmZfZnJlZV9jb3VudBgDIAEo",
            "DRIqChNyb2xsX2J1ZmZfY29zdF9kYXRhGAYgASgLMg0uSXRlbUNvc3REYXRh",
            "EiQKHGhhbmRib29rX3VubG9ja19idWZmX2lkX2xpc3QYCyADKA0SHgoWY2Vy",
            "dGFpbl9zZWxlY3RfYnVmZl9pZBgFIAEoDRIXCg9yb2xsX2J1ZmZfY291bnQY",
            "BCABKA0SGgoSc291cmNlX3RvdGFsX2NvdW50GAwgASgNEhYKDnNvdXJjZV9o",
            "aW50X2lkGA0gASgNEiYKDHNlbGVjdF9idWZmcxgPIAMoCzIQLlJvZ3VlQ29t",
            "bW9uQnVmZhIYChBzb3VyY2VfY3VyX2NvdW50GA4gASgNQh6qAhtFZ2dMaW5r",
            "LkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemCostDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonBuffReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectInfo), global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectInfo.Parser, new[]{ "RollBuffMaxCount", "ModifierSourceType", "FirstBuffTypeList", "CanRoll", "RollBuffFreeCount", "RollBuffCostData", "HandbookUnlockBuffIdList", "CertainSelectBuffId", "RollBuffCount", "SourceTotalCount", "SourceHintId", "SelectBuffs", "SourceCurCount" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RogueCommonBuffSelectInfo(RogueCommonBuffSelectInfo other) : this() {
      rollBuffMaxCount_ = other.rollBuffMaxCount_;
      modifierSourceType_ = other.modifierSourceType_;
      firstBuffTypeList_ = other.firstBuffTypeList_.Clone();
      canRoll_ = other.canRoll_;
      rollBuffFreeCount_ = other.rollBuffFreeCount_;
      rollBuffCostData_ = other.rollBuffCostData_ != null ? other.rollBuffCostData_.Clone() : null;
      handbookUnlockBuffIdList_ = other.handbookUnlockBuffIdList_.Clone();
      certainSelectBuffId_ = other.certainSelectBuffId_;
      rollBuffCount_ = other.rollBuffCount_;
      sourceTotalCount_ = other.sourceTotalCount_;
      sourceHintId_ = other.sourceHintId_;
      selectBuffs_ = other.selectBuffs_.Clone();
      sourceCurCount_ = other.sourceCurCount_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "modifier_source_type" field.</summary>
    public const int ModifierSourceTypeFieldNumber = 1;
    private global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType modifierSourceType_ = global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType ModifierSourceType {
      get { return modifierSourceType_; }
      set {
        modifierSourceType_ = value;
      }
    }

    /// <summary>Field number for the "first_buff_type_list" field.</summary>
    public const int FirstBuffTypeListFieldNumber = 10;
    private static readonly pb::FieldCodec<uint> _repeated_firstBuffTypeList_codec
        = pb::FieldCodec.ForUInt32(82);
    private readonly pbc::RepeatedField<uint> firstBuffTypeList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> FirstBuffTypeList {
      get { return firstBuffTypeList_; }
    }

    /// <summary>Field number for the "can_roll" field.</summary>
    public const int CanRollFieldNumber = 9;
    private bool canRoll_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool CanRoll {
      get { return canRoll_; }
      set {
        canRoll_ = value;
      }
    }

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

    /// <summary>Field number for the "roll_buff_cost_data" field.</summary>
    public const int RollBuffCostDataFieldNumber = 6;
    private global::EggLink.DanhengServer.Proto.ItemCostData rollBuffCostData_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.ItemCostData RollBuffCostData {
      get { return rollBuffCostData_; }
      set {
        rollBuffCostData_ = value;
      }
    }

    /// <summary>Field number for the "handbook_unlock_buff_id_list" field.</summary>
    public const int HandbookUnlockBuffIdListFieldNumber = 11;
    private static readonly pb::FieldCodec<uint> _repeated_handbookUnlockBuffIdList_codec
        = pb::FieldCodec.ForUInt32(90);
    private readonly pbc::RepeatedField<uint> handbookUnlockBuffIdList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> HandbookUnlockBuffIdList {
      get { return handbookUnlockBuffIdList_; }
    }

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

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

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

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

    /// <summary>Field number for the "select_buffs" field.</summary>
    public const int SelectBuffsFieldNumber = 15;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueCommonBuff> _repeated_selectBuffs_codec
        = pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.RogueCommonBuff.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonBuff> selectBuffs_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonBuff>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonBuff> SelectBuffs {
      get { return selectBuffs_; }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RogueCommonBuffSelectInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (RollBuffMaxCount != other.RollBuffMaxCount) return false;
      if (ModifierSourceType != other.ModifierSourceType) return false;
      if(!firstBuffTypeList_.Equals(other.firstBuffTypeList_)) return false;
      if (CanRoll != other.CanRoll) return false;
      if (RollBuffFreeCount != other.RollBuffFreeCount) return false;
      if (!object.Equals(RollBuffCostData, other.RollBuffCostData)) return false;
      if(!handbookUnlockBuffIdList_.Equals(other.handbookUnlockBuffIdList_)) return false;
      if (CertainSelectBuffId != other.CertainSelectBuffId) return false;
      if (RollBuffCount != other.RollBuffCount) return false;
      if (SourceTotalCount != other.SourceTotalCount) return false;
      if (SourceHintId != other.SourceHintId) return false;
      if(!selectBuffs_.Equals(other.selectBuffs_)) return false;
      if (SourceCurCount != other.SourceCurCount) 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 (RollBuffMaxCount != 0) hash ^= RollBuffMaxCount.GetHashCode();
      if (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) hash ^= ModifierSourceType.GetHashCode();
      hash ^= firstBuffTypeList_.GetHashCode();
      if (CanRoll != false) hash ^= CanRoll.GetHashCode();
      if (RollBuffFreeCount != 0) hash ^= RollBuffFreeCount.GetHashCode();
      if (rollBuffCostData_ != null) hash ^= RollBuffCostData.GetHashCode();
      hash ^= handbookUnlockBuffIdList_.GetHashCode();
      if (CertainSelectBuffId != 0) hash ^= CertainSelectBuffId.GetHashCode();
      if (RollBuffCount != 0) hash ^= RollBuffCount.GetHashCode();
      if (SourceTotalCount != 0) hash ^= SourceTotalCount.GetHashCode();
      if (SourceHintId != 0) hash ^= SourceHintId.GetHashCode();
      hash ^= selectBuffs_.GetHashCode();
      if (SourceCurCount != 0) hash ^= SourceCurCount.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 (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
        output.WriteRawTag(8);
        output.WriteEnum((int) ModifierSourceType);
      }
      if (RollBuffMaxCount != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(RollBuffMaxCount);
      }
      if (RollBuffFreeCount != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(RollBuffFreeCount);
      }
      if (RollBuffCount != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(RollBuffCount);
      }
      if (CertainSelectBuffId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CertainSelectBuffId);
      }
      if (rollBuffCostData_ != null) {
        output.WriteRawTag(50);
        output.WriteMessage(RollBuffCostData);
      }
      if (CanRoll != false) {
        output.WriteRawTag(72);
        output.WriteBool(CanRoll);
      }
      firstBuffTypeList_.WriteTo(output, _repeated_firstBuffTypeList_codec);
      handbookUnlockBuffIdList_.WriteTo(output, _repeated_handbookUnlockBuffIdList_codec);
      if (SourceTotalCount != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(SourceTotalCount);
      }
      if (SourceHintId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(SourceHintId);
      }
      if (SourceCurCount != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(SourceCurCount);
      }
      selectBuffs_.WriteTo(output, _repeated_selectBuffs_codec);
      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 (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
        output.WriteRawTag(8);
        output.WriteEnum((int) ModifierSourceType);
      }
      if (RollBuffMaxCount != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(RollBuffMaxCount);
      }
      if (RollBuffFreeCount != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(RollBuffFreeCount);
      }
      if (RollBuffCount != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(RollBuffCount);
      }
      if (CertainSelectBuffId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CertainSelectBuffId);
      }
      if (rollBuffCostData_ != null) {
        output.WriteRawTag(50);
        output.WriteMessage(RollBuffCostData);
      }
      if (CanRoll != false) {
        output.WriteRawTag(72);
        output.WriteBool(CanRoll);
      }
      firstBuffTypeList_.WriteTo(ref output, _repeated_firstBuffTypeList_codec);
      handbookUnlockBuffIdList_.WriteTo(ref output, _repeated_handbookUnlockBuffIdList_codec);
      if (SourceTotalCount != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(SourceTotalCount);
      }
      if (SourceHintId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(SourceHintId);
      }
      if (SourceCurCount != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(SourceCurCount);
      }
      selectBuffs_.WriteTo(ref output, _repeated_selectBuffs_codec);
      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 (RollBuffMaxCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffMaxCount);
      }
      if (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ModifierSourceType);
      }
      size += firstBuffTypeList_.CalculateSize(_repeated_firstBuffTypeList_codec);
      if (CanRoll != false) {
        size += 1 + 1;
      }
      if (RollBuffFreeCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffFreeCount);
      }
      if (rollBuffCostData_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(RollBuffCostData);
      }
      size += handbookUnlockBuffIdList_.CalculateSize(_repeated_handbookUnlockBuffIdList_codec);
      if (CertainSelectBuffId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CertainSelectBuffId);
      }
      if (RollBuffCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffCount);
      }
      if (SourceTotalCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceTotalCount);
      }
      if (SourceHintId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceHintId);
      }
      size += selectBuffs_.CalculateSize(_repeated_selectBuffs_codec);
      if (SourceCurCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceCurCount);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RogueCommonBuffSelectInfo other) {
      if (other == null) {
        return;
      }
      if (other.RollBuffMaxCount != 0) {
        RollBuffMaxCount = other.RollBuffMaxCount;
      }
      if (other.ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) {
        ModifierSourceType = other.ModifierSourceType;
      }
      firstBuffTypeList_.Add(other.firstBuffTypeList_);
      if (other.CanRoll != false) {
        CanRoll = other.CanRoll;
      }
      if (other.RollBuffFreeCount != 0) {
        RollBuffFreeCount = other.RollBuffFreeCount;
      }
      if (other.rollBuffCostData_ != null) {
        if (rollBuffCostData_ == null) {
          RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData();
        }
        RollBuffCostData.MergeFrom(other.RollBuffCostData);
      }
      handbookUnlockBuffIdList_.Add(other.handbookUnlockBuffIdList_);
      if (other.CertainSelectBuffId != 0) {
        CertainSelectBuffId = other.CertainSelectBuffId;
      }
      if (other.RollBuffCount != 0) {
        RollBuffCount = other.RollBuffCount;
      }
      if (other.SourceTotalCount != 0) {
        SourceTotalCount = other.SourceTotalCount;
      }
      if (other.SourceHintId != 0) {
        SourceHintId = other.SourceHintId;
      }
      selectBuffs_.Add(other.selectBuffs_);
      if (other.SourceCurCount != 0) {
        SourceCurCount = other.SourceCurCount;
      }
      _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: {
            ModifierSourceType = (global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType) input.ReadEnum();
            break;
          }
          case 16: {
            RollBuffMaxCount = input.ReadUInt32();
            break;
          }
          case 24: {
            RollBuffFreeCount = input.ReadUInt32();
            break;
          }
          case 32: {
            RollBuffCount = input.ReadUInt32();
            break;
          }
          case 40: {
            CertainSelectBuffId = input.ReadUInt32();
            break;
          }
          case 50: {
            if (rollBuffCostData_ == null) {
              RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData();
            }
            input.ReadMessage(RollBuffCostData);
            break;
          }
          case 72: {
            CanRoll = input.ReadBool();
            break;
          }
          case 82:
          case 80: {
            firstBuffTypeList_.AddEntriesFrom(input, _repeated_firstBuffTypeList_codec);
            break;
          }
          case 90:
          case 88: {
            handbookUnlockBuffIdList_.AddEntriesFrom(input, _repeated_handbookUnlockBuffIdList_codec);
            break;
          }
          case 96: {
            SourceTotalCount = input.ReadUInt32();
            break;
          }
          case 104: {
            SourceHintId = input.ReadUInt32();
            break;
          }
          case 112: {
            SourceCurCount = input.ReadUInt32();
            break;
          }
          case 122: {
            selectBuffs_.AddEntriesFrom(input, _repeated_selectBuffs_codec);
            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: {
            ModifierSourceType = (global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType) input.ReadEnum();
            break;
          }
          case 16: {
            RollBuffMaxCount = input.ReadUInt32();
            break;
          }
          case 24: {
            RollBuffFreeCount = input.ReadUInt32();
            break;
          }
          case 32: {
            RollBuffCount = input.ReadUInt32();
            break;
          }
          case 40: {
            CertainSelectBuffId = input.ReadUInt32();
            break;
          }
          case 50: {
            if (rollBuffCostData_ == null) {
              RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData();
            }
            input.ReadMessage(RollBuffCostData);
            break;
          }
          case 72: {
            CanRoll = input.ReadBool();
            break;
          }
          case 82:
          case 80: {
            firstBuffTypeList_.AddEntriesFrom(ref input, _repeated_firstBuffTypeList_codec);
            break;
          }
          case 90:
          case 88: {
            handbookUnlockBuffIdList_.AddEntriesFrom(ref input, _repeated_handbookUnlockBuffIdList_codec);
            break;
          }
          case 96: {
            SourceTotalCount = input.ReadUInt32();
            break;
          }
          case 104: {
            SourceHintId = input.ReadUInt32();
            break;
          }
          case 112: {
            SourceCurCount = input.ReadUInt32();
            break;
          }
          case 122: {
            selectBuffs_.AddEntriesFrom(ref input, _repeated_selectBuffs_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
