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

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

    static RoleTrackEquipmentInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChxSb2xlVHJhY2tFcXVpcG1lbnRJbmZvLnByb3RvGh9HcmlkRmlnaHRFcXVp",
            "cFRyYWNrU291cmNlLnByb3RvIrEBChZSb2xlVHJhY2tFcXVpcG1lbnRJbmZv",
            "EhYKDnRyYWNrX3ByaW9yaXR5GA0gASgNEioKBnNvdXJjZRgOIAEoDjIaLkdy",
            "aWRGaWdodEVxdWlwVHJhY2tTb3VyY2USHAoUZ3JpZF9maWdodF9pdGVtX2xp",
            "c3QYAiADKA0SFQoNdHJhY2tfcm9sZV9pZBgGIAEoDRIeChZ0cmFja19lcXVp",
            "cHBlZF9pZF9saXN0GAkgAygNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
            "UHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightEquipTrackSourceReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RoleTrackEquipmentInfo), global::EggLink.DanhengServer.Proto.RoleTrackEquipmentInfo.Parser, new[]{ "TrackPriority", "Source", "GridFightItemList", "TrackRoleId", "TrackEquippedIdList" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RoleTrackEquipmentInfo(RoleTrackEquipmentInfo other) : this() {
      trackPriority_ = other.trackPriority_;
      source_ = other.source_;
      gridFightItemList_ = other.gridFightItemList_.Clone();
      trackRoleId_ = other.trackRoleId_;
      trackEquippedIdList_ = other.trackEquippedIdList_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "source" field.</summary>
    public const int SourceFieldNumber = 14;
    private global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource source_ = global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource.KGridFightEquipTrackSourceNone;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource Source {
      get { return source_; }
      set {
        source_ = value;
      }
    }

    /// <summary>Field number for the "grid_fight_item_list" field.</summary>
    public const int GridFightItemListFieldNumber = 2;
    private static readonly pb::FieldCodec<uint> _repeated_gridFightItemList_codec
        = pb::FieldCodec.ForUInt32(18);
    private readonly pbc::RepeatedField<uint> gridFightItemList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> GridFightItemList {
      get { return gridFightItemList_; }
    }

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

    /// <summary>Field number for the "track_equipped_id_list" field.</summary>
    public const int TrackEquippedIdListFieldNumber = 9;
    private static readonly pb::FieldCodec<uint> _repeated_trackEquippedIdList_codec
        = pb::FieldCodec.ForUInt32(74);
    private readonly pbc::RepeatedField<uint> trackEquippedIdList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> TrackEquippedIdList {
      get { return trackEquippedIdList_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RoleTrackEquipmentInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TrackPriority != other.TrackPriority) return false;
      if (Source != other.Source) return false;
      if(!gridFightItemList_.Equals(other.gridFightItemList_)) return false;
      if (TrackRoleId != other.TrackRoleId) return false;
      if(!trackEquippedIdList_.Equals(other.trackEquippedIdList_)) 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 (TrackPriority != 0) hash ^= TrackPriority.GetHashCode();
      if (Source != global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource.KGridFightEquipTrackSourceNone) hash ^= Source.GetHashCode();
      hash ^= gridFightItemList_.GetHashCode();
      if (TrackRoleId != 0) hash ^= TrackRoleId.GetHashCode();
      hash ^= trackEquippedIdList_.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
      gridFightItemList_.WriteTo(output, _repeated_gridFightItemList_codec);
      if (TrackRoleId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(TrackRoleId);
      }
      trackEquippedIdList_.WriteTo(output, _repeated_trackEquippedIdList_codec);
      if (TrackPriority != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(TrackPriority);
      }
      if (Source != global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource.KGridFightEquipTrackSourceNone) {
        output.WriteRawTag(112);
        output.WriteEnum((int) Source);
      }
      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) {
      gridFightItemList_.WriteTo(ref output, _repeated_gridFightItemList_codec);
      if (TrackRoleId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(TrackRoleId);
      }
      trackEquippedIdList_.WriteTo(ref output, _repeated_trackEquippedIdList_codec);
      if (TrackPriority != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(TrackPriority);
      }
      if (Source != global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource.KGridFightEquipTrackSourceNone) {
        output.WriteRawTag(112);
        output.WriteEnum((int) Source);
      }
      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 (TrackPriority != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrackPriority);
      }
      if (Source != global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource.KGridFightEquipTrackSourceNone) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source);
      }
      size += gridFightItemList_.CalculateSize(_repeated_gridFightItemList_codec);
      if (TrackRoleId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrackRoleId);
      }
      size += trackEquippedIdList_.CalculateSize(_repeated_trackEquippedIdList_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RoleTrackEquipmentInfo other) {
      if (other == null) {
        return;
      }
      if (other.TrackPriority != 0) {
        TrackPriority = other.TrackPriority;
      }
      if (other.Source != global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource.KGridFightEquipTrackSourceNone) {
        Source = other.Source;
      }
      gridFightItemList_.Add(other.gridFightItemList_);
      if (other.TrackRoleId != 0) {
        TrackRoleId = other.TrackRoleId;
      }
      trackEquippedIdList_.Add(other.trackEquippedIdList_);
      _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 18:
          case 16: {
            gridFightItemList_.AddEntriesFrom(input, _repeated_gridFightItemList_codec);
            break;
          }
          case 48: {
            TrackRoleId = input.ReadUInt32();
            break;
          }
          case 74:
          case 72: {
            trackEquippedIdList_.AddEntriesFrom(input, _repeated_trackEquippedIdList_codec);
            break;
          }
          case 104: {
            TrackPriority = input.ReadUInt32();
            break;
          }
          case 112: {
            Source = (global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource) input.ReadEnum();
            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 18:
          case 16: {
            gridFightItemList_.AddEntriesFrom(ref input, _repeated_gridFightItemList_codec);
            break;
          }
          case 48: {
            TrackRoleId = input.ReadUInt32();
            break;
          }
          case 74:
          case 72: {
            trackEquippedIdList_.AddEntriesFrom(ref input, _repeated_trackEquippedIdList_codec);
            break;
          }
          case 104: {
            TrackPriority = input.ReadUInt32();
            break;
          }
          case 112: {
            Source = (global::EggLink.DanhengServer.Proto.GridFightEquipTrackSource) input.ReadEnum();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
