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

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

    static RogueMagicAreaInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChhSb2d1ZU1hZ2ljQXJlYUluZm8ucHJvdG8aEU9MRkdCQU1FRkpJLnByb3Rv",
            "GhFLT0lJQ01JRUFFRi5wcm90byLsAQoSUm9ndWVNYWdpY0FyZWFJbmZvEhMK",
            "C2lzX3VubG9ja2VkGAQgASgIEhMKC0lGUE9JTE9QRkFHGAkgASgNEhcKD2lz",
            "X3Rha2VuX3Jld2FyZBgMIAEoCBImCh51bmxvY2tlZF90b3Vybl9kaWZmaWN1",
            "bHR5X2xpc3QYCCADKA0SIQoLcmVjb3JkX2luZm8YCyABKAsyDC5PTEZHQkFN",
            "RUZKSRIkCg5sZXZlbF9zdHRfaW5mbxgOIAEoCzIMLktPSUlDTUlFQUVGEhEK",
            "CWNvbXBsZXRlZBgGIAEoCBIPCgdhcmVhX2lkGAEgASgNQh6qAhtFZ2dMaW5r",
            "LkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.OLFGBAMEFJIReflection.Descriptor, global::EggLink.DanhengServer.Proto.KOIICMIEAEFReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicAreaInfo), global::EggLink.DanhengServer.Proto.RogueMagicAreaInfo.Parser, new[]{ "IsUnlocked", "IFPOILOPFAG", "IsTakenReward", "UnlockedTournDifficultyList", "RecordInfo", "LevelSttInfo", "Completed", "AreaId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RogueMagicAreaInfo(RogueMagicAreaInfo other) : this() {
      isUnlocked_ = other.isUnlocked_;
      iFPOILOPFAG_ = other.iFPOILOPFAG_;
      isTakenReward_ = other.isTakenReward_;
      unlockedTournDifficultyList_ = other.unlockedTournDifficultyList_.Clone();
      recordInfo_ = other.recordInfo_ != null ? other.recordInfo_.Clone() : null;
      levelSttInfo_ = other.levelSttInfo_ != null ? other.levelSttInfo_.Clone() : null;
      completed_ = other.completed_;
      areaId_ = other.areaId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

    /// <summary>Field number for the "unlocked_tourn_difficulty_list" field.</summary>
    public const int UnlockedTournDifficultyListFieldNumber = 8;
    private static readonly pb::FieldCodec<uint> _repeated_unlockedTournDifficultyList_codec
        = pb::FieldCodec.ForUInt32(66);
    private readonly pbc::RepeatedField<uint> unlockedTournDifficultyList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> UnlockedTournDifficultyList {
      get { return unlockedTournDifficultyList_; }
    }

    /// <summary>Field number for the "record_info" field.</summary>
    public const int RecordInfoFieldNumber = 11;
    private global::EggLink.DanhengServer.Proto.OLFGBAMEFJI recordInfo_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.OLFGBAMEFJI RecordInfo {
      get { return recordInfo_; }
      set {
        recordInfo_ = value;
      }
    }

    /// <summary>Field number for the "level_stt_info" field.</summary>
    public const int LevelSttInfoFieldNumber = 14;
    private global::EggLink.DanhengServer.Proto.KOIICMIEAEF levelSttInfo_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.KOIICMIEAEF LevelSttInfo {
      get { return levelSttInfo_; }
      set {
        levelSttInfo_ = value;
      }
    }

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RogueMagicAreaInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (IsUnlocked != other.IsUnlocked) return false;
      if (IFPOILOPFAG != other.IFPOILOPFAG) return false;
      if (IsTakenReward != other.IsTakenReward) return false;
      if(!unlockedTournDifficultyList_.Equals(other.unlockedTournDifficultyList_)) return false;
      if (!object.Equals(RecordInfo, other.RecordInfo)) return false;
      if (!object.Equals(LevelSttInfo, other.LevelSttInfo)) return false;
      if (Completed != other.Completed) return false;
      if (AreaId != other.AreaId) 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 (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
      if (IFPOILOPFAG != 0) hash ^= IFPOILOPFAG.GetHashCode();
      if (IsTakenReward != false) hash ^= IsTakenReward.GetHashCode();
      hash ^= unlockedTournDifficultyList_.GetHashCode();
      if (recordInfo_ != null) hash ^= RecordInfo.GetHashCode();
      if (levelSttInfo_ != null) hash ^= LevelSttInfo.GetHashCode();
      if (Completed != false) hash ^= Completed.GetHashCode();
      if (AreaId != 0) hash ^= AreaId.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 (AreaId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(AreaId);
      }
      if (IsUnlocked != false) {
        output.WriteRawTag(32);
        output.WriteBool(IsUnlocked);
      }
      if (Completed != false) {
        output.WriteRawTag(48);
        output.WriteBool(Completed);
      }
      unlockedTournDifficultyList_.WriteTo(output, _repeated_unlockedTournDifficultyList_codec);
      if (IFPOILOPFAG != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(IFPOILOPFAG);
      }
      if (recordInfo_ != null) {
        output.WriteRawTag(90);
        output.WriteMessage(RecordInfo);
      }
      if (IsTakenReward != false) {
        output.WriteRawTag(96);
        output.WriteBool(IsTakenReward);
      }
      if (levelSttInfo_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(LevelSttInfo);
      }
      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 (AreaId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(AreaId);
      }
      if (IsUnlocked != false) {
        output.WriteRawTag(32);
        output.WriteBool(IsUnlocked);
      }
      if (Completed != false) {
        output.WriteRawTag(48);
        output.WriteBool(Completed);
      }
      unlockedTournDifficultyList_.WriteTo(ref output, _repeated_unlockedTournDifficultyList_codec);
      if (IFPOILOPFAG != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(IFPOILOPFAG);
      }
      if (recordInfo_ != null) {
        output.WriteRawTag(90);
        output.WriteMessage(RecordInfo);
      }
      if (IsTakenReward != false) {
        output.WriteRawTag(96);
        output.WriteBool(IsTakenReward);
      }
      if (levelSttInfo_ != null) {
        output.WriteRawTag(114);
        output.WriteMessage(LevelSttInfo);
      }
      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 (IsUnlocked != false) {
        size += 1 + 1;
      }
      if (IFPOILOPFAG != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IFPOILOPFAG);
      }
      if (IsTakenReward != false) {
        size += 1 + 1;
      }
      size += unlockedTournDifficultyList_.CalculateSize(_repeated_unlockedTournDifficultyList_codec);
      if (recordInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecordInfo);
      }
      if (levelSttInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(LevelSttInfo);
      }
      if (Completed != false) {
        size += 1 + 1;
      }
      if (AreaId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RogueMagicAreaInfo other) {
      if (other == null) {
        return;
      }
      if (other.IsUnlocked != false) {
        IsUnlocked = other.IsUnlocked;
      }
      if (other.IFPOILOPFAG != 0) {
        IFPOILOPFAG = other.IFPOILOPFAG;
      }
      if (other.IsTakenReward != false) {
        IsTakenReward = other.IsTakenReward;
      }
      unlockedTournDifficultyList_.Add(other.unlockedTournDifficultyList_);
      if (other.recordInfo_ != null) {
        if (recordInfo_ == null) {
          RecordInfo = new global::EggLink.DanhengServer.Proto.OLFGBAMEFJI();
        }
        RecordInfo.MergeFrom(other.RecordInfo);
      }
      if (other.levelSttInfo_ != null) {
        if (levelSttInfo_ == null) {
          LevelSttInfo = new global::EggLink.DanhengServer.Proto.KOIICMIEAEF();
        }
        LevelSttInfo.MergeFrom(other.LevelSttInfo);
      }
      if (other.Completed != false) {
        Completed = other.Completed;
      }
      if (other.AreaId != 0) {
        AreaId = other.AreaId;
      }
      _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: {
            AreaId = input.ReadUInt32();
            break;
          }
          case 32: {
            IsUnlocked = input.ReadBool();
            break;
          }
          case 48: {
            Completed = input.ReadBool();
            break;
          }
          case 66:
          case 64: {
            unlockedTournDifficultyList_.AddEntriesFrom(input, _repeated_unlockedTournDifficultyList_codec);
            break;
          }
          case 72: {
            IFPOILOPFAG = input.ReadUInt32();
            break;
          }
          case 90: {
            if (recordInfo_ == null) {
              RecordInfo = new global::EggLink.DanhengServer.Proto.OLFGBAMEFJI();
            }
            input.ReadMessage(RecordInfo);
            break;
          }
          case 96: {
            IsTakenReward = input.ReadBool();
            break;
          }
          case 114: {
            if (levelSttInfo_ == null) {
              LevelSttInfo = new global::EggLink.DanhengServer.Proto.KOIICMIEAEF();
            }
            input.ReadMessage(LevelSttInfo);
            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: {
            AreaId = input.ReadUInt32();
            break;
          }
          case 32: {
            IsUnlocked = input.ReadBool();
            break;
          }
          case 48: {
            Completed = input.ReadBool();
            break;
          }
          case 66:
          case 64: {
            unlockedTournDifficultyList_.AddEntriesFrom(ref input, _repeated_unlockedTournDifficultyList_codec);
            break;
          }
          case 72: {
            IFPOILOPFAG = input.ReadUInt32();
            break;
          }
          case 90: {
            if (recordInfo_ == null) {
              RecordInfo = new global::EggLink.DanhengServer.Proto.OLFGBAMEFJI();
            }
            input.ReadMessage(RecordInfo);
            break;
          }
          case 96: {
            IsTakenReward = input.ReadBool();
            break;
          }
          case 114: {
            if (levelSttInfo_ == null) {
              LevelSttInfo = new global::EggLink.DanhengServer.Proto.KOIICMIEAEF();
            }
            input.ReadMessage(LevelSttInfo);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
