namespace PKHeX.Core;
///
/// Legality Check Parse object containing information about a single ribbon.
///
internal sealed class RibbonResult
{
/// Ribbon Display Name
public string Name { get; private set; }
/// Ribbon should not be present.
/// If this is false, the Ribbon is missing.
public bool Invalid { get; }
public RibbonResult(string prop, bool invalid = true)
{
Name = RibbonStrings.GetName(prop);
Invalid = invalid;
}
///
/// Merges the result name with another provided result.
///
public void Combine(RibbonResult other)
{
Name += $" / {other.Name}";
}
}