Code/HumanoidRetargeter/Core/Target/KvBool.cs

This is a C# class designed to act as a boolean value within a Key-Value data structure. It stores and exposes a read-only boolean property, initialized via its constructor.

#nullable enable annotations

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;

namespace HumanoidRetargeter.Core.Target;

/// <summary>A KV3 boolean.</summary>
public sealed class KvBool : KvValue
{
    /// <summary>The boolean value.</summary>
    public bool Value { get; }

    /// <summary>Creates a boolean value.</summary>
    public KvBool(bool value) => Value = value;
}