namespace RolemasterDb.ImportTool.Parsing;

public sealed class ParsedCriticalResult(
    string? groupKey,
    string columnKey,
    string rollBandLabel,
    string rawCellText,
    string descriptionText,
    string? rawAffixText,
    IReadOnlyList<ParsedCriticalEffect> effects,
    IReadOnlyList<ParsedCriticalBranch> branches)
{
    public string? GroupKey { get; } = groupKey;
    public string ColumnKey { get; } = columnKey;
    public string RollBandLabel { get; } = rollBandLabel;
    public string RawCellText { get; } = rawCellText;
    public string DescriptionText { get; } = descriptionText;
    public string? RawAffixText { get; } = rawAffixText;
    public IReadOnlyList<ParsedCriticalEffect> Effects { get; } = effects;
    public IReadOnlyList<ParsedCriticalBranch> Branches { get; } = branches;
}
