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

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

    static RogueMagicGameItemInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChxSb2d1ZU1hZ2ljR2FtZUl0ZW1JbmZvLnByb3RvGh9Sb2d1ZU1hZ2ljR2Ft",
            "ZVNjZXB0ZXJJbmZvLnByb3RvGhxSb2d1ZU1hZ2ljR2FtZVVuaXRJbmZvLnBy",
            "b3RvIsABChZSb2d1ZU1hZ2ljR2FtZUl0ZW1JbmZvEjsKGnJvZ3VlX21hZ2lj",
            "X3VuaXRfaW5mb19saXN0GAMgAygLMhcuUm9ndWVNYWdpY0dhbWVVbml0SW5m",
            "bxIXCg9nYW1lX3N0eWxlX3R5cGUYBSABKA0SOwoXbWFnaWNfc2NlcHRlcl9p",
            "bmZvX2xpc3QYCiADKAsyGi5Sb2d1ZU1hZ2ljR2FtZVNjZXB0ZXJJbmZvEhMK",
            "C0pGQ05BSk1JSENJGAggASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
            "UHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicGameUnitInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicGameItemInfo), global::EggLink.DanhengServer.Proto.RogueMagicGameItemInfo.Parser, new[]{ "RogueMagicUnitInfoList", "GameStyleType", "MagicScepterInfoList", "JFCNAJMIHCI" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RogueMagicGameItemInfo(RogueMagicGameItemInfo other) : this() {
      rogueMagicUnitInfoList_ = other.rogueMagicUnitInfoList_.Clone();
      gameStyleType_ = other.gameStyleType_;
      magicScepterInfoList_ = other.magicScepterInfoList_.Clone();
      jFCNAJMIHCI_ = other.jFCNAJMIHCI_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

    /// <summary>Field number for the "magic_scepter_info_list" field.</summary>
    public const int MagicScepterInfoListFieldNumber = 10;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfo> _repeated_magicScepterInfoList_codec
        = pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfo.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfo> magicScepterInfoList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfo>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfo> MagicScepterInfoList {
      get { return magicScepterInfoList_; }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RogueMagicGameItemInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!rogueMagicUnitInfoList_.Equals(other.rogueMagicUnitInfoList_)) return false;
      if (GameStyleType != other.GameStyleType) return false;
      if(!magicScepterInfoList_.Equals(other.magicScepterInfoList_)) return false;
      if (JFCNAJMIHCI != other.JFCNAJMIHCI) 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;
      hash ^= rogueMagicUnitInfoList_.GetHashCode();
      if (GameStyleType != 0) hash ^= GameStyleType.GetHashCode();
      hash ^= magicScepterInfoList_.GetHashCode();
      if (JFCNAJMIHCI != false) hash ^= JFCNAJMIHCI.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
      rogueMagicUnitInfoList_.WriteTo(output, _repeated_rogueMagicUnitInfoList_codec);
      if (GameStyleType != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(GameStyleType);
      }
      if (JFCNAJMIHCI != false) {
        output.WriteRawTag(64);
        output.WriteBool(JFCNAJMIHCI);
      }
      magicScepterInfoList_.WriteTo(output, _repeated_magicScepterInfoList_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) {
      rogueMagicUnitInfoList_.WriteTo(ref output, _repeated_rogueMagicUnitInfoList_codec);
      if (GameStyleType != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(GameStyleType);
      }
      if (JFCNAJMIHCI != false) {
        output.WriteRawTag(64);
        output.WriteBool(JFCNAJMIHCI);
      }
      magicScepterInfoList_.WriteTo(ref output, _repeated_magicScepterInfoList_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;
      size += rogueMagicUnitInfoList_.CalculateSize(_repeated_rogueMagicUnitInfoList_codec);
      if (GameStyleType != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameStyleType);
      }
      size += magicScepterInfoList_.CalculateSize(_repeated_magicScepterInfoList_codec);
      if (JFCNAJMIHCI != false) {
        size += 1 + 1;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RogueMagicGameItemInfo other) {
      if (other == null) {
        return;
      }
      rogueMagicUnitInfoList_.Add(other.rogueMagicUnitInfoList_);
      if (other.GameStyleType != 0) {
        GameStyleType = other.GameStyleType;
      }
      magicScepterInfoList_.Add(other.magicScepterInfoList_);
      if (other.JFCNAJMIHCI != false) {
        JFCNAJMIHCI = other.JFCNAJMIHCI;
      }
      _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: {
            rogueMagicUnitInfoList_.AddEntriesFrom(input, _repeated_rogueMagicUnitInfoList_codec);
            break;
          }
          case 40: {
            GameStyleType = input.ReadUInt32();
            break;
          }
          case 64: {
            JFCNAJMIHCI = input.ReadBool();
            break;
          }
          case 82: {
            magicScepterInfoList_.AddEntriesFrom(input, _repeated_magicScepterInfoList_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 26: {
            rogueMagicUnitInfoList_.AddEntriesFrom(ref input, _repeated_rogueMagicUnitInfoList_codec);
            break;
          }
          case 40: {
            GameStyleType = input.ReadUInt32();
            break;
          }
          case 64: {
            JFCNAJMIHCI = input.ReadBool();
            break;
          }
          case 82: {
            magicScepterInfoList_.AddEntriesFrom(ref input, _repeated_magicScepterInfoList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
