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

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

    static GameCombatFriendlyFireConfigurationDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ck5yZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vZ2FtZV9jb21iYXRfZnJp",
            "ZW5kbHlfZmlyZV9jb25maWd1cmF0aW9uX2RhdGEucHJvdG8SCHJlY19yb29t",
            "Iu0BCidHYW1lQ29tYmF0RnJpZW5kbHlGaXJlQ29uZmlndXJhdGlvbkRhdGES",
            "MAoocGxheWVyX29uX3BsYXllcl9mcmllbmRseV9maXJlX3N1cHBvcnRlZBgB",
            "IAEoCBIvCidwbGF5ZXJfb25fZW5lbXlfZnJpZW5kbHlfZmlyZV9zdXBwb3J0",
            "ZWQYAiABKAgSLwonZW5lbXlfb25fcGxheWVyX2ZyaWVuZGx5X2ZpcmVfc3Vw",
            "cG9ydGVkGAMgASgIEi4KJmVuZW15X29uX2VuZW15X2ZyaWVuZGx5X2ZpcmVf",
            "c3VwcG9ydGVkGAQgASgIQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.GameCombatFriendlyFireConfigurationData), global::RecRoom.Protobuf.GameCombatFriendlyFireConfigurationData.Parser, new[]{ "PlayerOnPlayerFriendlyFireSupported", "PlayerOnEnemyFriendlyFireSupported", "EnemyOnPlayerFriendlyFireSupported", "EnemyOnEnemyFriendlyFireSupported" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GameCombatFriendlyFireConfigurationData(GameCombatFriendlyFireConfigurationData other) : this() {
      playerOnPlayerFriendlyFireSupported_ = other.playerOnPlayerFriendlyFireSupported_;
      playerOnEnemyFriendlyFireSupported_ = other.playerOnEnemyFriendlyFireSupported_;
      enemyOnPlayerFriendlyFireSupported_ = other.enemyOnPlayerFriendlyFireSupported_;
      enemyOnEnemyFriendlyFireSupported_ = other.enemyOnEnemyFriendlyFireSupported_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "player_on_player_friendly_fire_supported" field.</summary>
    public const int PlayerOnPlayerFriendlyFireSupportedFieldNumber = 1;
    private bool playerOnPlayerFriendlyFireSupported_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool PlayerOnPlayerFriendlyFireSupported {
      get { return playerOnPlayerFriendlyFireSupported_; }
      set {
        playerOnPlayerFriendlyFireSupported_ = value;
      }
    }

    /// <summary>Field number for the "player_on_enemy_friendly_fire_supported" field.</summary>
    public const int PlayerOnEnemyFriendlyFireSupportedFieldNumber = 2;
    private bool playerOnEnemyFriendlyFireSupported_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool PlayerOnEnemyFriendlyFireSupported {
      get { return playerOnEnemyFriendlyFireSupported_; }
      set {
        playerOnEnemyFriendlyFireSupported_ = value;
      }
    }

    /// <summary>Field number for the "enemy_on_player_friendly_fire_supported" field.</summary>
    public const int EnemyOnPlayerFriendlyFireSupportedFieldNumber = 3;
    private bool enemyOnPlayerFriendlyFireSupported_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool EnemyOnPlayerFriendlyFireSupported {
      get { return enemyOnPlayerFriendlyFireSupported_; }
      set {
        enemyOnPlayerFriendlyFireSupported_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GameCombatFriendlyFireConfigurationData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (PlayerOnPlayerFriendlyFireSupported != other.PlayerOnPlayerFriendlyFireSupported) return false;
      if (PlayerOnEnemyFriendlyFireSupported != other.PlayerOnEnemyFriendlyFireSupported) return false;
      if (EnemyOnPlayerFriendlyFireSupported != other.EnemyOnPlayerFriendlyFireSupported) return false;
      if (EnemyOnEnemyFriendlyFireSupported != other.EnemyOnEnemyFriendlyFireSupported) 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 (PlayerOnPlayerFriendlyFireSupported != false) hash ^= PlayerOnPlayerFriendlyFireSupported.GetHashCode();
      if (PlayerOnEnemyFriendlyFireSupported != false) hash ^= PlayerOnEnemyFriendlyFireSupported.GetHashCode();
      if (EnemyOnPlayerFriendlyFireSupported != false) hash ^= EnemyOnPlayerFriendlyFireSupported.GetHashCode();
      if (EnemyOnEnemyFriendlyFireSupported != false) hash ^= EnemyOnEnemyFriendlyFireSupported.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 (PlayerOnPlayerFriendlyFireSupported != false) {
        output.WriteRawTag(8);
        output.WriteBool(PlayerOnPlayerFriendlyFireSupported);
      }
      if (PlayerOnEnemyFriendlyFireSupported != false) {
        output.WriteRawTag(16);
        output.WriteBool(PlayerOnEnemyFriendlyFireSupported);
      }
      if (EnemyOnPlayerFriendlyFireSupported != false) {
        output.WriteRawTag(24);
        output.WriteBool(EnemyOnPlayerFriendlyFireSupported);
      }
      if (EnemyOnEnemyFriendlyFireSupported != false) {
        output.WriteRawTag(32);
        output.WriteBool(EnemyOnEnemyFriendlyFireSupported);
      }
      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 (PlayerOnPlayerFriendlyFireSupported != false) {
        output.WriteRawTag(8);
        output.WriteBool(PlayerOnPlayerFriendlyFireSupported);
      }
      if (PlayerOnEnemyFriendlyFireSupported != false) {
        output.WriteRawTag(16);
        output.WriteBool(PlayerOnEnemyFriendlyFireSupported);
      }
      if (EnemyOnPlayerFriendlyFireSupported != false) {
        output.WriteRawTag(24);
        output.WriteBool(EnemyOnPlayerFriendlyFireSupported);
      }
      if (EnemyOnEnemyFriendlyFireSupported != false) {
        output.WriteRawTag(32);
        output.WriteBool(EnemyOnEnemyFriendlyFireSupported);
      }
      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 (PlayerOnPlayerFriendlyFireSupported != false) {
        size += 1 + 1;
      }
      if (PlayerOnEnemyFriendlyFireSupported != false) {
        size += 1 + 1;
      }
      if (EnemyOnPlayerFriendlyFireSupported != false) {
        size += 1 + 1;
      }
      if (EnemyOnEnemyFriendlyFireSupported != false) {
        size += 1 + 1;
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GameCombatFriendlyFireConfigurationData other) {
      if (other == null) {
        return;
      }
      if (other.PlayerOnPlayerFriendlyFireSupported != false) {
        PlayerOnPlayerFriendlyFireSupported = other.PlayerOnPlayerFriendlyFireSupported;
      }
      if (other.PlayerOnEnemyFriendlyFireSupported != false) {
        PlayerOnEnemyFriendlyFireSupported = other.PlayerOnEnemyFriendlyFireSupported;
      }
      if (other.EnemyOnPlayerFriendlyFireSupported != false) {
        EnemyOnPlayerFriendlyFireSupported = other.EnemyOnPlayerFriendlyFireSupported;
      }
      if (other.EnemyOnEnemyFriendlyFireSupported != false) {
        EnemyOnEnemyFriendlyFireSupported = other.EnemyOnEnemyFriendlyFireSupported;
      }
      _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 8: {
            PlayerOnPlayerFriendlyFireSupported = input.ReadBool();
            break;
          }
          case 16: {
            PlayerOnEnemyFriendlyFireSupported = input.ReadBool();
            break;
          }
          case 24: {
            EnemyOnPlayerFriendlyFireSupported = input.ReadBool();
            break;
          }
          case 32: {
            EnemyOnEnemyFriendlyFireSupported = input.ReadBool();
            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 8: {
            PlayerOnPlayerFriendlyFireSupported = input.ReadBool();
            break;
          }
          case 16: {
            PlayerOnEnemyFriendlyFireSupported = input.ReadBool();
            break;
          }
          case 24: {
            EnemyOnPlayerFriendlyFireSupported = input.ReadBool();
            break;
          }
          case 32: {
            EnemyOnEnemyFriendlyFireSupported = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
