// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: rec_room/persistence/health_potion_data.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 RecRoom.Protobuf {

  /// <summary>Holder for reflection information generated from rec_room/persistence/health_potion_data.proto</summary>
  public static partial class HealthPotionDataReflection {

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

    static HealthPotionDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ci1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9oZWFsdGhfcG90aW9uX2RhdGEucHJv",
            "dG8SCHJlY19yb29tIpIBChBIZWFsdGhQb3Rpb25EYXRhEh0KFWhlYWx0aF9y",
            "ZXN0b3JlX2Ftb3VudBgBIAEoAhIfChdoZWFsdGhfcmVzdG9yZV9kdXJhdGlv",
            "bhgCIAEoAhIdChVzaGllbGRfcmVzdG9yZV9hbW91bnQYAyABKAISHwoXc2hp",
            "ZWxkX3Jlc3RvcmVfZHVyYXRpb24YBCABKAJCE6oCEFJlY1Jvb20uUHJvdG9i",
            "dWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.HealthPotionData), global::RecRoom.Protobuf.HealthPotionData.Parser, new[]{ "HealthRestoreAmount", "HealthRestoreDuration", "ShieldRestoreAmount", "ShieldRestoreDuration" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class HealthPotionData : pb::IMessage<HealthPotionData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<HealthPotionData> _parser = new pb::MessageParser<HealthPotionData>(() => new HealthPotionData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<HealthPotionData> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::RecRoom.Protobuf.HealthPotionDataReflection.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 HealthPotionData() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public HealthPotionData(HealthPotionData other) : this() {
      healthRestoreAmount_ = other.healthRestoreAmount_;
      healthRestoreDuration_ = other.healthRestoreDuration_;
      shieldRestoreAmount_ = other.shieldRestoreAmount_;
      shieldRestoreDuration_ = other.shieldRestoreDuration_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "health_restore_amount" field.</summary>
    public const int HealthRestoreAmountFieldNumber = 1;
    private float healthRestoreAmount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public float HealthRestoreAmount {
      get { return healthRestoreAmount_; }
      set {
        healthRestoreAmount_ = value;
      }
    }

    /// <summary>Field number for the "health_restore_duration" field.</summary>
    public const int HealthRestoreDurationFieldNumber = 2;
    private float healthRestoreDuration_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public float HealthRestoreDuration {
      get { return healthRestoreDuration_; }
      set {
        healthRestoreDuration_ = value;
      }
    }

    /// <summary>Field number for the "shield_restore_amount" field.</summary>
    public const int ShieldRestoreAmountFieldNumber = 3;
    private float shieldRestoreAmount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public float ShieldRestoreAmount {
      get { return shieldRestoreAmount_; }
      set {
        shieldRestoreAmount_ = value;
      }
    }

    /// <summary>Field number for the "shield_restore_duration" field.</summary>
    public const int ShieldRestoreDurationFieldNumber = 4;
    private float shieldRestoreDuration_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public float ShieldRestoreDuration {
      get { return shieldRestoreDuration_; }
      set {
        shieldRestoreDuration_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(HealthPotionData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HealthRestoreAmount, other.HealthRestoreAmount)) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(HealthRestoreDuration, other.HealthRestoreDuration)) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShieldRestoreAmount, other.ShieldRestoreAmount)) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShieldRestoreDuration, other.ShieldRestoreDuration)) 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 (HealthRestoreAmount != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HealthRestoreAmount);
      if (HealthRestoreDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(HealthRestoreDuration);
      if (ShieldRestoreAmount != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShieldRestoreAmount);
      if (ShieldRestoreDuration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShieldRestoreDuration);
      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 (HealthRestoreAmount != 0F) {
        output.WriteRawTag(13);
        output.WriteFloat(HealthRestoreAmount);
      }
      if (HealthRestoreDuration != 0F) {
        output.WriteRawTag(21);
        output.WriteFloat(HealthRestoreDuration);
      }
      if (ShieldRestoreAmount != 0F) {
        output.WriteRawTag(29);
        output.WriteFloat(ShieldRestoreAmount);
      }
      if (ShieldRestoreDuration != 0F) {
        output.WriteRawTag(37);
        output.WriteFloat(ShieldRestoreDuration);
      }
      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 (HealthRestoreAmount != 0F) {
        output.WriteRawTag(13);
        output.WriteFloat(HealthRestoreAmount);
      }
      if (HealthRestoreDuration != 0F) {
        output.WriteRawTag(21);
        output.WriteFloat(HealthRestoreDuration);
      }
      if (ShieldRestoreAmount != 0F) {
        output.WriteRawTag(29);
        output.WriteFloat(ShieldRestoreAmount);
      }
      if (ShieldRestoreDuration != 0F) {
        output.WriteRawTag(37);
        output.WriteFloat(ShieldRestoreDuration);
      }
      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 (HealthRestoreAmount != 0F) {
        size += 1 + 4;
      }
      if (HealthRestoreDuration != 0F) {
        size += 1 + 4;
      }
      if (ShieldRestoreAmount != 0F) {
        size += 1 + 4;
      }
      if (ShieldRestoreDuration != 0F) {
        size += 1 + 4;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(HealthPotionData other) {
      if (other == null) {
        return;
      }
      if (other.HealthRestoreAmount != 0F) {
        HealthRestoreAmount = other.HealthRestoreAmount;
      }
      if (other.HealthRestoreDuration != 0F) {
        HealthRestoreDuration = other.HealthRestoreDuration;
      }
      if (other.ShieldRestoreAmount != 0F) {
        ShieldRestoreAmount = other.ShieldRestoreAmount;
      }
      if (other.ShieldRestoreDuration != 0F) {
        ShieldRestoreDuration = other.ShieldRestoreDuration;
      }
      _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) {
      if ((tag & 7) == 4) {
        // Abort on any end group tag.
        return;
      }
      switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 13: {
            HealthRestoreAmount = input.ReadFloat();
            break;
          }
          case 21: {
            HealthRestoreDuration = input.ReadFloat();
            break;
          }
          case 29: {
            ShieldRestoreAmount = input.ReadFloat();
            break;
          }
          case 37: {
            ShieldRestoreDuration = input.ReadFloat();
            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) {
      if ((tag & 7) == 4) {
        // Abort on any end group tag.
        return;
      }
      switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 13: {
            HealthRestoreAmount = input.ReadFloat();
            break;
          }
          case 21: {
            HealthRestoreDuration = input.ReadFloat();
            break;
          }
          case 29: {
            ShieldRestoreAmount = input.ReadFloat();
            break;
          }
          case 37: {
            ShieldRestoreDuration = input.ReadFloat();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
