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

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

    static RogueMagicRoomInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChhSb2d1ZU1hZ2ljUm9vbUluZm8ucHJvdG8aGlJvZ3VlTWFnaWNSb29tU3Rh",
            "dHVzLnByb3RvInUKElJvZ3VlTWFnaWNSb29tSW5mbxIlCgZzdGF0dXMYCyAB",
            "KA4yFS5Sb2d1ZU1hZ2ljUm9vbVN0YXR1cxITCgtFSVBOTkVKTk5LShgPIAEo",
            "DRISCgpyb29tX2luZGV4GAkgASgNEg8KB3Jvb21faWQYBSABKA1CHqoCG0Vn",
            "Z0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicRoomStatusReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicRoomInfo), global::EggLink.DanhengServer.Proto.RogueMagicRoomInfo.Parser, new[]{ "Status", "EIPNNEJNNKJ", "RoomIndex", "RoomId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RogueMagicRoomInfo(RogueMagicRoomInfo other) : this() {
      status_ = other.status_;
      eIPNNEJNNKJ_ = other.eIPNNEJNNKJ_;
      roomIndex_ = other.roomIndex_;
      roomId_ = other.roomId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "status" field.</summary>
    public const int StatusFieldNumber = 11;
    private global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus status_ = global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus Status {
      get { return status_; }
      set {
        status_ = value;
      }
    }

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

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RogueMagicRoomInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Status != other.Status) return false;
      if (EIPNNEJNNKJ != other.EIPNNEJNNKJ) return false;
      if (RoomIndex != other.RoomIndex) return false;
      if (RoomId != other.RoomId) 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 (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) hash ^= Status.GetHashCode();
      if (EIPNNEJNNKJ != 0) hash ^= EIPNNEJNNKJ.GetHashCode();
      if (RoomIndex != 0) hash ^= RoomIndex.GetHashCode();
      if (RoomId != 0) hash ^= RoomId.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 (RoomId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(RoomId);
      }
      if (RoomIndex != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(RoomIndex);
      }
      if (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
        output.WriteRawTag(88);
        output.WriteEnum((int) Status);
      }
      if (EIPNNEJNNKJ != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(EIPNNEJNNKJ);
      }
      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 (RoomId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(RoomId);
      }
      if (RoomIndex != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(RoomIndex);
      }
      if (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
        output.WriteRawTag(88);
        output.WriteEnum((int) Status);
      }
      if (EIPNNEJNNKJ != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(EIPNNEJNNKJ);
      }
      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 (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
      }
      if (EIPNNEJNNKJ != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EIPNNEJNNKJ);
      }
      if (RoomIndex != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomIndex);
      }
      if (RoomId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RogueMagicRoomInfo other) {
      if (other == null) {
        return;
      }
      if (other.Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
        Status = other.Status;
      }
      if (other.EIPNNEJNNKJ != 0) {
        EIPNNEJNNKJ = other.EIPNNEJNNKJ;
      }
      if (other.RoomIndex != 0) {
        RoomIndex = other.RoomIndex;
      }
      if (other.RoomId != 0) {
        RoomId = other.RoomId;
      }
      _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 40: {
            RoomId = input.ReadUInt32();
            break;
          }
          case 72: {
            RoomIndex = input.ReadUInt32();
            break;
          }
          case 88: {
            Status = (global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus) input.ReadEnum();
            break;
          }
          case 120: {
            EIPNNEJNNKJ = 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 40: {
            RoomId = input.ReadUInt32();
            break;
          }
          case 72: {
            RoomIndex = input.ReadUInt32();
            break;
          }
          case 88: {
            Status = (global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus) input.ReadEnum();
            break;
          }
          case 120: {
            EIPNNEJNNKJ = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
