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

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

    static GridFightDropItemInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChtHcmlkRmlnaHREcm9wSXRlbUluZm8ucHJvdG8aF0dyaWRGaWdodERyb3BU",
            "eXBlLnByb3RvGh1HcmlkRHJvcEl0ZW1EaXNwbGF5SW5mby5wcm90byKSAQoV",
            "R3JpZEZpZ2h0RHJvcEl0ZW1JbmZvEiUKCWRyb3BfdHlwZRgBIAEoDjISLkdy",
            "aWRGaWdodERyb3BUeXBlEhQKDGRyb3BfaXRlbV9pZBgCIAEoDRILCgNudW0Y",
            "AyABKA0SLwoNZGlzcGxheV92YWx1ZRgFIAEoCzIYLkdyaWREcm9wSXRlbURp",
            "c3BsYXlJbmZvQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnBy",
            "b3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightDropTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridDropItemDisplayInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightDropItemInfo), global::EggLink.DanhengServer.Proto.GridFightDropItemInfo.Parser, new[]{ "DropType", "DropItemId", "Num", "DisplayValue" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightDropItemInfo(GridFightDropItemInfo other) : this() {
      dropType_ = other.dropType_;
      dropItemId_ = other.dropItemId_;
      num_ = other.num_;
      displayValue_ = other.displayValue_ != null ? other.displayValue_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "drop_type" field.</summary>
    public const int DropTypeFieldNumber = 1;
    private global::EggLink.DanhengServer.Proto.GridFightDropType dropType_ = global::EggLink.DanhengServer.Proto.GridFightDropType.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightDropType DropType {
      get { return dropType_; }
      set {
        dropType_ = value;
      }
    }

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

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

    /// <summary>Field number for the "display_value" field.</summary>
    public const int DisplayValueFieldNumber = 5;
    private global::EggLink.DanhengServer.Proto.GridDropItemDisplayInfo displayValue_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridDropItemDisplayInfo DisplayValue {
      get { return displayValue_; }
      set {
        displayValue_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridFightDropItemInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (DropType != other.DropType) return false;
      if (DropItemId != other.DropItemId) return false;
      if (Num != other.Num) return false;
      if (!object.Equals(DisplayValue, other.DisplayValue)) 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 (DropType != global::EggLink.DanhengServer.Proto.GridFightDropType.None) hash ^= DropType.GetHashCode();
      if (DropItemId != 0) hash ^= DropItemId.GetHashCode();
      if (Num != 0) hash ^= Num.GetHashCode();
      if (displayValue_ != null) hash ^= DisplayValue.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 (DropType != global::EggLink.DanhengServer.Proto.GridFightDropType.None) {
        output.WriteRawTag(8);
        output.WriteEnum((int) DropType);
      }
      if (DropItemId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(DropItemId);
      }
      if (Num != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Num);
      }
      if (displayValue_ != null) {
        output.WriteRawTag(42);
        output.WriteMessage(DisplayValue);
      }
      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 (DropType != global::EggLink.DanhengServer.Proto.GridFightDropType.None) {
        output.WriteRawTag(8);
        output.WriteEnum((int) DropType);
      }
      if (DropItemId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(DropItemId);
      }
      if (Num != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Num);
      }
      if (displayValue_ != null) {
        output.WriteRawTag(42);
        output.WriteMessage(DisplayValue);
      }
      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 (DropType != global::EggLink.DanhengServer.Proto.GridFightDropType.None) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DropType);
      }
      if (DropItemId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DropItemId);
      }
      if (Num != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Num);
      }
      if (displayValue_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(DisplayValue);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridFightDropItemInfo other) {
      if (other == null) {
        return;
      }
      if (other.DropType != global::EggLink.DanhengServer.Proto.GridFightDropType.None) {
        DropType = other.DropType;
      }
      if (other.DropItemId != 0) {
        DropItemId = other.DropItemId;
      }
      if (other.Num != 0) {
        Num = other.Num;
      }
      if (other.displayValue_ != null) {
        if (displayValue_ == null) {
          DisplayValue = new global::EggLink.DanhengServer.Proto.GridDropItemDisplayInfo();
        }
        DisplayValue.MergeFrom(other.DisplayValue);
      }
      _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: {
            DropType = (global::EggLink.DanhengServer.Proto.GridFightDropType) input.ReadEnum();
            break;
          }
          case 16: {
            DropItemId = input.ReadUInt32();
            break;
          }
          case 24: {
            Num = input.ReadUInt32();
            break;
          }
          case 42: {
            if (displayValue_ == null) {
              DisplayValue = new global::EggLink.DanhengServer.Proto.GridDropItemDisplayInfo();
            }
            input.ReadMessage(DisplayValue);
            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: {
            DropType = (global::EggLink.DanhengServer.Proto.GridFightDropType) input.ReadEnum();
            break;
          }
          case 16: {
            DropItemId = input.ReadUInt32();
            break;
          }
          case 24: {
            Num = input.ReadUInt32();
            break;
          }
          case 42: {
            if (displayValue_ == null) {
              DisplayValue = new global::EggLink.DanhengServer.Proto.GridDropItemDisplayInfo();
            }
            input.ReadMessage(DisplayValue);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
