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

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

    static GridEncounterMonsterWaveReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch5HcmlkRW5jb3VudGVyTW9uc3RlcldhdmUucHJvdG8aGkdyaWRGaWdodE1v",
            "bnN0ZXJJbmZvLnByb3RvImUKGEdyaWRFbmNvdW50ZXJNb25zdGVyV2F2ZRIW",
            "Cg5lbmNvdW50ZXJfd2F2ZRgBIAEoDRIxChJmaWdodF9tb25zdGVyX2xpc3QY",
            "AyADKAsyFS5HcmlkRmlnaHRNb25zdGVySW5mb0IeqgIbRWdnTGluay5EYW5o",
            "ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightMonsterInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridEncounterMonsterWave), global::EggLink.DanhengServer.Proto.GridEncounterMonsterWave.Parser, new[]{ "EncounterWave", "FightMonsterList" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridEncounterMonsterWave(GridEncounterMonsterWave other) : this() {
      encounterWave_ = other.encounterWave_;
      fightMonsterList_ = other.fightMonsterList_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridEncounterMonsterWave other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (EncounterWave != other.EncounterWave) return false;
      if(!fightMonsterList_.Equals(other.fightMonsterList_)) 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 (EncounterWave != 0) hash ^= EncounterWave.GetHashCode();
      hash ^= fightMonsterList_.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 (EncounterWave != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(EncounterWave);
      }
      fightMonsterList_.WriteTo(output, _repeated_fightMonsterList_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 (EncounterWave != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(EncounterWave);
      }
      fightMonsterList_.WriteTo(ref output, _repeated_fightMonsterList_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 (EncounterWave != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EncounterWave);
      }
      size += fightMonsterList_.CalculateSize(_repeated_fightMonsterList_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridEncounterMonsterWave other) {
      if (other == null) {
        return;
      }
      if (other.EncounterWave != 0) {
        EncounterWave = other.EncounterWave;
      }
      fightMonsterList_.Add(other.fightMonsterList_);
      _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: {
            EncounterWave = input.ReadUInt32();
            break;
          }
          case 26: {
            fightMonsterList_.AddEntriesFrom(input, _repeated_fightMonsterList_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: {
            EncounterWave = input.ReadUInt32();
            break;
          }
          case 26: {
            fightMonsterList_.AddEntriesFrom(ref input, _repeated_fightMonsterList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
