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

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

    static BattleRogueMagicUnitReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChpCYXR0bGVSb2d1ZU1hZ2ljVW5pdC5wcm90byLYAQoUQmF0dGxlUm9ndWVN",
            "YWdpY1VuaXQSFQoNbWFnaWNfdW5pdF9pZBgBIAEoDRINCgVsZXZlbBgCIAEo",
            "DRITCgtIRU1KSERPRUVCTBgDIAEoCBIUCgxkaWNlX3Nsb3RfaWQYBCABKA0S",
            "OwoLSUtEREFMQ0JBRkoYBSADKAsyJi5CYXR0bGVSb2d1ZU1hZ2ljVW5pdC5J",
            "S0REQUxDQkFGSkVudHJ5GjIKEElLRERBTENCQUZKRW50cnkSCwoDa2V5GAEg",
            "ASgNEg0KBXZhbHVlGAIgASgNOgI4AUIeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
            "dmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleRogueMagicUnit), global::EggLink.DanhengServer.Proto.BattleRogueMagicUnit.Parser, new[]{ "MagicUnitId", "Level", "HEMJHDOEEBL", "DiceSlotId", "IKDDALCBAFJ" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public BattleRogueMagicUnit(BattleRogueMagicUnit other) : this() {
      magicUnitId_ = other.magicUnitId_;
      level_ = other.level_;
      hEMJHDOEEBL_ = other.hEMJHDOEEBL_;
      diceSlotId_ = other.diceSlotId_;
      iKDDALCBAFJ_ = other.iKDDALCBAFJ_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

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

    /// <summary>Field number for the "IKDDALCBAFJ" field.</summary>
    public const int IKDDALCBAFJFieldNumber = 5;
    private static readonly pbc::MapField<uint, uint>.Codec _map_iKDDALCBAFJ_codec
        = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 42);
    private readonly pbc::MapField<uint, uint> iKDDALCBAFJ_ = new pbc::MapField<uint, uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<uint, uint> IKDDALCBAFJ {
      get { return iKDDALCBAFJ_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(BattleRogueMagicUnit other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (MagicUnitId != other.MagicUnitId) return false;
      if (Level != other.Level) return false;
      if (HEMJHDOEEBL != other.HEMJHDOEEBL) return false;
      if (DiceSlotId != other.DiceSlotId) return false;
      if (!IKDDALCBAFJ.Equals(other.IKDDALCBAFJ)) 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 (MagicUnitId != 0) hash ^= MagicUnitId.GetHashCode();
      if (Level != 0) hash ^= Level.GetHashCode();
      if (HEMJHDOEEBL != false) hash ^= HEMJHDOEEBL.GetHashCode();
      if (DiceSlotId != 0) hash ^= DiceSlotId.GetHashCode();
      hash ^= IKDDALCBAFJ.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 (MagicUnitId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(MagicUnitId);
      }
      if (Level != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Level);
      }
      if (HEMJHDOEEBL != false) {
        output.WriteRawTag(24);
        output.WriteBool(HEMJHDOEEBL);
      }
      if (DiceSlotId != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(DiceSlotId);
      }
      iKDDALCBAFJ_.WriteTo(output, _map_iKDDALCBAFJ_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 (MagicUnitId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(MagicUnitId);
      }
      if (Level != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(Level);
      }
      if (HEMJHDOEEBL != false) {
        output.WriteRawTag(24);
        output.WriteBool(HEMJHDOEEBL);
      }
      if (DiceSlotId != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(DiceSlotId);
      }
      iKDDALCBAFJ_.WriteTo(ref output, _map_iKDDALCBAFJ_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 (MagicUnitId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MagicUnitId);
      }
      if (Level != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
      }
      if (HEMJHDOEEBL != false) {
        size += 1 + 1;
      }
      if (DiceSlotId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiceSlotId);
      }
      size += iKDDALCBAFJ_.CalculateSize(_map_iKDDALCBAFJ_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(BattleRogueMagicUnit other) {
      if (other == null) {
        return;
      }
      if (other.MagicUnitId != 0) {
        MagicUnitId = other.MagicUnitId;
      }
      if (other.Level != 0) {
        Level = other.Level;
      }
      if (other.HEMJHDOEEBL != false) {
        HEMJHDOEEBL = other.HEMJHDOEEBL;
      }
      if (other.DiceSlotId != 0) {
        DiceSlotId = other.DiceSlotId;
      }
      iKDDALCBAFJ_.MergeFrom(other.iKDDALCBAFJ_);
      _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: {
            MagicUnitId = input.ReadUInt32();
            break;
          }
          case 16: {
            Level = input.ReadUInt32();
            break;
          }
          case 24: {
            HEMJHDOEEBL = input.ReadBool();
            break;
          }
          case 32: {
            DiceSlotId = input.ReadUInt32();
            break;
          }
          case 42: {
            iKDDALCBAFJ_.AddEntriesFrom(input, _map_iKDDALCBAFJ_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: {
            MagicUnitId = input.ReadUInt32();
            break;
          }
          case 16: {
            Level = input.ReadUInt32();
            break;
          }
          case 24: {
            HEMJHDOEEBL = input.ReadBool();
            break;
          }
          case 32: {
            DiceSlotId = input.ReadUInt32();
            break;
          }
          case 42: {
            iKDDALCBAFJ_.AddEntriesFrom(ref input, _map_iKDDALCBAFJ_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
