namespace RolemasterDb.CriticalParsing;

public sealed class ParsedCriticalBranch(
    string branchKind,
    string? conditionKey,
    string conditionText,
    string rawText,
    string descriptionText,
    string? rawAffixText,
    IReadOnlyList<ParsedCriticalEffect> effects,
    int sortOrder)
{
    public string BranchKind { get; } = branchKind;
    public string? ConditionKey { get; } = conditionKey;
    public string ConditionText { get; } = conditionText;
    public string RawText { get; } = rawText;
    public string DescriptionText { get; } = descriptionText;
    public string? RawAffixText { get; } = rawAffixText;
    public IReadOnlyList<ParsedCriticalEffect> Effects { get; } = effects;
    public int SortOrder { get; } = sortOrder;
}
