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

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

    static NpcExtraInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChJOcGNFeHRyYUluZm8ucHJvdG8aFk5wY1JvZ3VlR2FtZUluZm8ucHJvdG8a",
            "EUtLRktLUFBMREFJLnByb3RvGhFDTEZBQ0JDR0lGTC5wcm90byKVAQoMTnBj",
            "RXh0cmFJbmZvEiwKD3JvZ3VlX2dhbWVfaW5mbxgGIAEoCzIRLk5wY1JvZ3Vl",
            "R2FtZUluZm9IABIjCgtKS0pPUE1FRkNCTxgKIAEoCzIMLktLRktLUFBMREFJ",
            "SAASIwoLUE5CSkpCSk5NR0wYCCABKAsyDC5DTEZBQ0JDR0lGTEgAQg0KC01N",
            "QUFCTlBGTEJCQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnBy",
            "b3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.NpcRogueGameInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.KKFKKPPLDAIReflection.Descriptor, global::EggLink.DanhengServer.Proto.CLFACBCGIFLReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.NpcExtraInfo), global::EggLink.DanhengServer.Proto.NpcExtraInfo.Parser, new[]{ "RogueGameInfo", "JKJOPMEFCBO", "PNBJJBJNMGL" }, new[]{ "MMAABNPFLBB" }, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public NpcExtraInfo(NpcExtraInfo other) : this() {
      switch (other.MMAABNPFLBBCase) {
        case MMAABNPFLBBOneofCase.RogueGameInfo:
          RogueGameInfo = other.RogueGameInfo.Clone();
          break;
        case MMAABNPFLBBOneofCase.JKJOPMEFCBO:
          JKJOPMEFCBO = other.JKJOPMEFCBO.Clone();
          break;
        case MMAABNPFLBBOneofCase.PNBJJBJNMGL:
          PNBJJBJNMGL = other.PNBJJBJNMGL.Clone();
          break;
      }

      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "rogue_game_info" field.</summary>
    public const int RogueGameInfoFieldNumber = 6;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.NpcRogueGameInfo RogueGameInfo {
      get { return mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.RogueGameInfo ? (global::EggLink.DanhengServer.Proto.NpcRogueGameInfo) mMAABNPFLBB_ : null; }
      set {
        mMAABNPFLBB_ = value;
        mMAABNPFLBBCase_ = value == null ? MMAABNPFLBBOneofCase.None : MMAABNPFLBBOneofCase.RogueGameInfo;
      }
    }

    /// <summary>Field number for the "JKJOPMEFCBO" field.</summary>
    public const int JKJOPMEFCBOFieldNumber = 10;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.KKFKKPPLDAI JKJOPMEFCBO {
      get { return mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.JKJOPMEFCBO ? (global::EggLink.DanhengServer.Proto.KKFKKPPLDAI) mMAABNPFLBB_ : null; }
      set {
        mMAABNPFLBB_ = value;
        mMAABNPFLBBCase_ = value == null ? MMAABNPFLBBOneofCase.None : MMAABNPFLBBOneofCase.JKJOPMEFCBO;
      }
    }

    /// <summary>Field number for the "PNBJJBJNMGL" field.</summary>
    public const int PNBJJBJNMGLFieldNumber = 8;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.CLFACBCGIFL PNBJJBJNMGL {
      get { return mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.PNBJJBJNMGL ? (global::EggLink.DanhengServer.Proto.CLFACBCGIFL) mMAABNPFLBB_ : null; }
      set {
        mMAABNPFLBB_ = value;
        mMAABNPFLBBCase_ = value == null ? MMAABNPFLBBOneofCase.None : MMAABNPFLBBOneofCase.PNBJJBJNMGL;
      }
    }

    private object mMAABNPFLBB_;
    /// <summary>Enum of possible cases for the "MMAABNPFLBB" oneof.</summary>
    public enum MMAABNPFLBBOneofCase {
      None = 0,
      RogueGameInfo = 6,
      JKJOPMEFCBO = 10,
      PNBJJBJNMGL = 8,
    }
    private MMAABNPFLBBOneofCase mMAABNPFLBBCase_ = MMAABNPFLBBOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MMAABNPFLBBOneofCase MMAABNPFLBBCase {
      get { return mMAABNPFLBBCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearMMAABNPFLBB() {
      mMAABNPFLBBCase_ = MMAABNPFLBBOneofCase.None;
      mMAABNPFLBB_ = null;
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(NpcExtraInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(RogueGameInfo, other.RogueGameInfo)) return false;
      if (!object.Equals(JKJOPMEFCBO, other.JKJOPMEFCBO)) return false;
      if (!object.Equals(PNBJJBJNMGL, other.PNBJJBJNMGL)) return false;
      if (MMAABNPFLBBCase != other.MMAABNPFLBBCase) 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 (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.RogueGameInfo) hash ^= RogueGameInfo.GetHashCode();
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.JKJOPMEFCBO) hash ^= JKJOPMEFCBO.GetHashCode();
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.PNBJJBJNMGL) hash ^= PNBJJBJNMGL.GetHashCode();
      hash ^= (int) mMAABNPFLBBCase_;
      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 (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.RogueGameInfo) {
        output.WriteRawTag(50);
        output.WriteMessage(RogueGameInfo);
      }
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.PNBJJBJNMGL) {
        output.WriteRawTag(66);
        output.WriteMessage(PNBJJBJNMGL);
      }
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.JKJOPMEFCBO) {
        output.WriteRawTag(82);
        output.WriteMessage(JKJOPMEFCBO);
      }
      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 (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.RogueGameInfo) {
        output.WriteRawTag(50);
        output.WriteMessage(RogueGameInfo);
      }
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.PNBJJBJNMGL) {
        output.WriteRawTag(66);
        output.WriteMessage(PNBJJBJNMGL);
      }
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.JKJOPMEFCBO) {
        output.WriteRawTag(82);
        output.WriteMessage(JKJOPMEFCBO);
      }
      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 (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.RogueGameInfo) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueGameInfo);
      }
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.JKJOPMEFCBO) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(JKJOPMEFCBO);
      }
      if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.PNBJJBJNMGL) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PNBJJBJNMGL);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(NpcExtraInfo other) {
      if (other == null) {
        return;
      }
      switch (other.MMAABNPFLBBCase) {
        case MMAABNPFLBBOneofCase.RogueGameInfo:
          if (RogueGameInfo == null) {
            RogueGameInfo = new global::EggLink.DanhengServer.Proto.NpcRogueGameInfo();
          }
          RogueGameInfo.MergeFrom(other.RogueGameInfo);
          break;
        case MMAABNPFLBBOneofCase.JKJOPMEFCBO:
          if (JKJOPMEFCBO == null) {
            JKJOPMEFCBO = new global::EggLink.DanhengServer.Proto.KKFKKPPLDAI();
          }
          JKJOPMEFCBO.MergeFrom(other.JKJOPMEFCBO);
          break;
        case MMAABNPFLBBOneofCase.PNBJJBJNMGL:
          if (PNBJJBJNMGL == null) {
            PNBJJBJNMGL = new global::EggLink.DanhengServer.Proto.CLFACBCGIFL();
          }
          PNBJJBJNMGL.MergeFrom(other.PNBJJBJNMGL);
          break;
      }

      _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 50: {
            global::EggLink.DanhengServer.Proto.NpcRogueGameInfo subBuilder = new global::EggLink.DanhengServer.Proto.NpcRogueGameInfo();
            if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.RogueGameInfo) {
              subBuilder.MergeFrom(RogueGameInfo);
            }
            input.ReadMessage(subBuilder);
            RogueGameInfo = subBuilder;
            break;
          }
          case 66: {
            global::EggLink.DanhengServer.Proto.CLFACBCGIFL subBuilder = new global::EggLink.DanhengServer.Proto.CLFACBCGIFL();
            if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.PNBJJBJNMGL) {
              subBuilder.MergeFrom(PNBJJBJNMGL);
            }
            input.ReadMessage(subBuilder);
            PNBJJBJNMGL = subBuilder;
            break;
          }
          case 82: {
            global::EggLink.DanhengServer.Proto.KKFKKPPLDAI subBuilder = new global::EggLink.DanhengServer.Proto.KKFKKPPLDAI();
            if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.JKJOPMEFCBO) {
              subBuilder.MergeFrom(JKJOPMEFCBO);
            }
            input.ReadMessage(subBuilder);
            JKJOPMEFCBO = subBuilder;
            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 50: {
            global::EggLink.DanhengServer.Proto.NpcRogueGameInfo subBuilder = new global::EggLink.DanhengServer.Proto.NpcRogueGameInfo();
            if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.RogueGameInfo) {
              subBuilder.MergeFrom(RogueGameInfo);
            }
            input.ReadMessage(subBuilder);
            RogueGameInfo = subBuilder;
            break;
          }
          case 66: {
            global::EggLink.DanhengServer.Proto.CLFACBCGIFL subBuilder = new global::EggLink.DanhengServer.Proto.CLFACBCGIFL();
            if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.PNBJJBJNMGL) {
              subBuilder.MergeFrom(PNBJJBJNMGL);
            }
            input.ReadMessage(subBuilder);
            PNBJJBJNMGL = subBuilder;
            break;
          }
          case 82: {
            global::EggLink.DanhengServer.Proto.KKFKKPPLDAI subBuilder = new global::EggLink.DanhengServer.Proto.KKFKKPPLDAI();
            if (mMAABNPFLBBCase_ == MMAABNPFLBBOneofCase.JKJOPMEFCBO) {
              subBuilder.MergeFrom(JKJOPMEFCBO);
            }
            input.ReadMessage(subBuilder);
            JKJOPMEFCBO = subBuilder;
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
